Home
last modified time | relevance | path

Searched refs:dat (Results 1 – 25 of 110) sorted by relevance

12345

/linux-3.4.99/fs/nilfs2/
Ddat.c42 static inline struct nilfs_dat_info *NILFS_DAT_I(struct inode *dat) in NILFS_DAT_I() argument
44 return (struct nilfs_dat_info *)NILFS_MDT(dat); in NILFS_DAT_I()
47 static int nilfs_dat_prepare_entry(struct inode *dat, in nilfs_dat_prepare_entry() argument
50 return nilfs_palloc_get_entry_block(dat, req->pr_entry_nr, in nilfs_dat_prepare_entry()
54 static void nilfs_dat_commit_entry(struct inode *dat, in nilfs_dat_commit_entry() argument
58 nilfs_mdt_mark_dirty(dat); in nilfs_dat_commit_entry()
62 static void nilfs_dat_abort_entry(struct inode *dat, in nilfs_dat_abort_entry() argument
68 int nilfs_dat_prepare_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_alloc() argument
72 ret = nilfs_palloc_prepare_alloc_entry(dat, req); in nilfs_dat_prepare_alloc()
76 ret = nilfs_dat_prepare_entry(dat, req, 1); in nilfs_dat_prepare_alloc()
[all …]
Dbmap.h179 struct inode *dat) in nilfs_bmap_prepare_alloc_ptr() argument
181 if (dat) in nilfs_bmap_prepare_alloc_ptr()
182 return nilfs_dat_prepare_alloc(dat, &req->bpr_req); in nilfs_bmap_prepare_alloc_ptr()
190 struct inode *dat) in nilfs_bmap_commit_alloc_ptr() argument
192 if (dat) in nilfs_bmap_commit_alloc_ptr()
193 nilfs_dat_commit_alloc(dat, &req->bpr_req); in nilfs_bmap_commit_alloc_ptr()
198 struct inode *dat) in nilfs_bmap_abort_alloc_ptr() argument
200 if (dat) in nilfs_bmap_abort_alloc_ptr()
201 nilfs_dat_abort_alloc(dat, &req->bpr_req); in nilfs_bmap_abort_alloc_ptr()
208 struct inode *dat) in nilfs_bmap_prepare_end_ptr() argument
[all …]
Ddirect.c67 struct inode *dat = NULL; in nilfs_direct_lookup_contig() local
79 dat = nilfs_bmap_get_dat(direct); in nilfs_direct_lookup_contig()
80 ret = nilfs_dat_translate(dat, ptr, &blocknr); in nilfs_direct_lookup_contig()
91 if (dat) { in nilfs_direct_lookup_contig()
92 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_direct_lookup_contig()
121 struct inode *dat = NULL; in nilfs_direct_insert() local
132 dat = nilfs_bmap_get_dat(bmap); in nilfs_direct_insert()
134 ret = nilfs_bmap_prepare_alloc_ptr(bmap, &req, dat); in nilfs_direct_insert()
140 nilfs_bmap_commit_alloc_ptr(bmap, &req, dat); in nilfs_direct_insert()
157 struct inode *dat; in nilfs_direct_delete() local
[all …]
Dbtree.c628 struct inode *dat = NULL; in nilfs_btree_lookup_contig() local
644 dat = nilfs_bmap_get_dat(btree); in nilfs_btree_lookup_contig()
645 ret = nilfs_dat_translate(dat, ptr, &blocknr); in nilfs_btree_lookup_contig()
663 if (dat) { in nilfs_btree_lookup_contig()
664 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_btree_lookup_contig()
991 struct inode *dat = NULL; in nilfs_btree_prepare_insert() local
1000 dat = nilfs_bmap_get_dat(btree); in nilfs_btree_prepare_insert()
1003 ret = nilfs_bmap_prepare_alloc_ptr(btree, &path[level].bp_newreq, dat); in nilfs_btree_prepare_insert()
1062 &path[level].bp_newreq, dat); in nilfs_btree_prepare_insert()
1090 ret = nilfs_bmap_prepare_alloc_ptr(btree, &path[level].bp_newreq, dat); in nilfs_btree_prepare_insert()
[all …]
/linux-3.4.99/drivers/media/video/
Dsaa7146.h95 #define saawrite(dat,adr) writel((dat), saa->saa7146_adr+(adr)) argument
98 #define saawrite(dat,adr) writel((dat), saa->saa7146_mem+(adr)) argument
102 #define saaand(dat,adr) saawrite((dat) & saaread(adr), adr) argument
103 #define saaor(dat,adr) saawrite((dat) | saaread(adr), adr) argument
104 #define saaaor(dat,mask,adr) saawrite((dat) | ((mask) & saaread(adr)), adr) argument
/linux-3.4.99/drivers/video/
Dcfbfillrect.c150 unsigned long val = pat, dat; in bitfill_aligned_rev() local
163 dat = FB_READL(dst); in bitfill_aligned_rev()
164 FB_WRITEL(comp(dat ^ val, dat, first), dst); in bitfill_aligned_rev()
169 dat = FB_READL(dst); in bitfill_aligned_rev()
170 FB_WRITEL(comp(dat ^ val, dat, first), dst); in bitfill_aligned_rev()
202 dat = FB_READL(dst); in bitfill_aligned_rev()
203 FB_WRITEL(comp(dat ^ val, dat, last), dst); in bitfill_aligned_rev()
221 unsigned long first, last, dat; in bitfill_unaligned_rev() local
233 dat = FB_READL(dst); in bitfill_unaligned_rev()
234 FB_WRITEL(comp(dat ^ pat, dat, first), dst); in bitfill_unaligned_rev()
[all …]
/linux-3.4.99/kernel/
Drtmutex-tester.c139 int tid, op, dat; in schedule_rt_mutex_test() local
153 dat = td->opdata; in schedule_rt_mutex_test()
160 if (mutex != &mutexes[dat]) in schedule_rt_mutex_test()
163 if (td->mutexes[dat] != 1) in schedule_rt_mutex_test()
166 td->mutexes[dat] = 2; in schedule_rt_mutex_test()
180 if (mutex != &mutexes[dat]) in schedule_rt_mutex_test()
183 if (td->mutexes[dat] != 2) in schedule_rt_mutex_test()
186 td->mutexes[dat] = 3; in schedule_rt_mutex_test()
192 if (mutex != &mutexes[dat]) in schedule_rt_mutex_test()
195 if (td->mutexes[dat] != 2) in schedule_rt_mutex_test()
[all …]
/linux-3.4.99/sound/soc/txx9/
Dtxx9aclc-ac97.c53 u32 dat; in txx9aclc_ac97_read() local
58 dat = (reg << ACREGACC_REG_SHIFT) | ACREGACC_READ; in txx9aclc_ac97_read()
59 __raw_writel(dat, base + ACREGACC); in txx9aclc_ac97_read()
64 dat = 0xffff; in txx9aclc_ac97_read()
67 dat = __raw_readl(base + ACREGACC); in txx9aclc_ac97_read()
68 if (((dat >> ACREGACC_REG_SHIFT) & 0xff) != reg) { in txx9aclc_ac97_read()
70 dat, reg); in txx9aclc_ac97_read()
71 dat = 0xffff; in txx9aclc_ac97_read()
74 dat = (dat >> ACREGACC_DAT_SHIFT) & 0xffff; in txx9aclc_ac97_read()
77 return dat; in txx9aclc_ac97_read()
/linux-3.4.99/arch/arm/mach-omap1/
Dboard-sx1-mmc.c28 u8 dat = 0; in mmc_set_power() local
30 err = sx1_i2c_read_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, &dat); in mmc_set_power()
35 dat |= SOFIA_MMC_POWER; in mmc_set_power()
37 dat &= ~SOFIA_MMC_POWER; in mmc_set_power()
39 return sx1_i2c_write_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, dat); in mmc_set_power()
Dboard-sx1.c135 u8 dat = 0; in sx1_setmmipower() local
136 err = sx1_i2c_read_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, &dat); in sx1_setmmipower()
140 dat |= SOFIA_MMILIGHT_POWER; in sx1_setmmipower()
142 dat &= ~SOFIA_MMILIGHT_POWER; in sx1_setmmipower()
143 return sx1_i2c_write_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, dat); in sx1_setmmipower()
150 u8 dat = 0; in sx1_setusbpower() local
151 err = sx1_i2c_read_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, &dat); in sx1_setusbpower()
155 dat |= SOFIA_USB_POWER; in sx1_setusbpower()
157 dat &= ~SOFIA_USB_POWER; in sx1_setusbpower()
158 return sx1_i2c_write_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, dat); in sx1_setusbpower()
/linux-3.4.99/drivers/staging/iio/impedance-analyzer/
Dad5933.c156 unsigned char dat = st->ctrl_hb | cmd; in ad5933_cmd() local
159 AD5933_REG_CONTROL_HB, 1, &dat); in ad5933_cmd()
164 unsigned char dat = st->ctrl_lb | AD5933_CTRL_RESET; in ad5933_reset() local
166 AD5933_REG_CONTROL_LB, 1, &dat); in ad5933_reset()
194 } dat; in ad5933_set_freq() local
210 dat.d32 = cpu_to_be32(freqreg); in ad5933_set_freq()
211 return ad5933_i2c_write(st->client, reg, 3, &dat.d8[1]); in ad5933_set_freq()
216 unsigned short dat; in ad5933_setup() local
232 dat = cpu_to_be16(st->settling_cycles); in ad5933_setup()
235 AD5933_REG_SETTLING_CYCLES, 2, (u8 *)&dat); in ad5933_setup()
[all …]
/linux-3.4.99/drivers/staging/sm7xx/
Dsmtcfb.h42 #define smtc_mmiowb(dat, reg) writeb(dat, smtc_RegBaseAddress + reg) argument
43 #define smtc_mmioww(dat, reg) writew(dat, smtc_RegBaseAddress + reg) argument
44 #define smtc_mmiowl(dat, reg) writel(dat, smtc_RegBaseAddress + reg) argument
/linux-3.4.99/drivers/net/ethernet/freescale/fs_enet/
Dmii-bitbang.c33 __be32 __iomem *dat; member
74 return bb_read(bitbang->dat, bitbang->mdio_msk); in mdio_read()
82 bb_set(bitbang->dat, bitbang->mdio_msk); in mdio()
84 bb_clr(bitbang->dat, bitbang->mdio_msk); in mdio()
87 in_be32(bitbang->dat); in mdio()
95 bb_set(bitbang->dat, bitbang->mdc_msk); in mdc()
97 bb_clr(bitbang->dat, bitbang->mdc_msk); in mdc()
100 in_be32(bitbang->dat); in mdc()
146 bitbang->dat = bitbang->dir + 4; in fs_mii_bitbang_init()
/linux-3.4.99/drivers/mtd/nand/
Djz4740_nand.c77 static void jz_nand_cmd_ctrl(struct mtd_info *mtd, int dat, unsigned int ctrl) in jz_nand_cmd_ctrl() argument
99 if (dat != NAND_CMD_NONE) in jz_nand_cmd_ctrl()
100 writeb(dat, chip->IO_ADDR_W); in jz_nand_cmd_ctrl()
137 static int jz_nand_calculate_ecc_rs(struct mtd_info *mtd, const uint8_t *dat, in jz_nand_calculate_ecc_rs() argument
172 static void jz_nand_correct_data(uint8_t *dat, int index, int mask) in jz_nand_correct_data() argument
179 data = dat[index]; in jz_nand_correct_data()
180 data |= dat[index+1] << 8; in jz_nand_correct_data()
186 dat[index] = data & 0xff; in jz_nand_correct_data()
187 dat[index+1] = (data >> 8) & 0xff; in jz_nand_correct_data()
190 static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat, in jz_nand_correct_ecc_rs() argument
[all …]
/linux-3.4.99/include/linux/mtd/
Dnand_ecc.h23 void __nand_calculate_ecc(const u_char *dat, unsigned int eccsize,
29 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
34 int __nand_correct_data(u_char *dat, u_char *read_ecc, u_char *calc_ecc,
40 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dnand_bch.h24 int nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
30 int nand_bch_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc,
48 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc() argument
/linux-3.4.99/arch/mips/txx9/generic/
Dpci.c309 unsigned char dat; in quirk_slc90e66_ide() local
315 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &dat); in quirk_slc90e66_ide()
316 printk(KERN_INFO "PCI: %s: IRQ %02x", pci_name(dev), dat); in quirk_slc90e66_ide()
319 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
320 pci_write_config_byte(dev, regs[i], dat | 0x80); in quirk_slc90e66_ide()
321 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
322 printk(KERN_CONT " IDETIM%d %02x", i, dat); in quirk_slc90e66_ide()
324 pci_read_config_byte(dev, 0x5c, &dat); in quirk_slc90e66_ide()
334 dat |= 0x01; in quirk_slc90e66_ide()
335 pci_write_config_byte(dev, regs[i], dat); in quirk_slc90e66_ide()
[all …]
/linux-3.4.99/drivers/media/video/zoran/
Dzoran.h394 #define btwrite(dat,adr) writel((dat), zr->zr36057_mem+(adr)) argument
397 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument
398 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument
399 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
/linux-3.4.99/arch/mips/txx9/rbtx4938/
Dsetup.c119 unsigned char dat[17]; in rbtx4938_ethaddr_init() local
124 if (spi_eeprom_read(SPI_BUSNO, SEEPROM1_CS, 0, dat, sizeof(dat))) { in rbtx4938_ethaddr_init()
128 if (strcmp(dat, "MAC") != 0) in rbtx4938_ethaddr_init()
130 for (i = 0, sum = 0; i < sizeof(dat); i++) in rbtx4938_ethaddr_init()
131 sum += dat[i]; in rbtx4938_ethaddr_init()
135 tx4938_ethaddr_init(&dat[4], &dat[4 + 6]); in rbtx4938_ethaddr_init()
/linux-3.4.99/drivers/leds/
Dleds-atmel-pwm.c55 const struct gpio_led *dat = pdata->leds + i; in pwmled_probe() local
58 led->cdev.name = dat->name; in pwmled_probe()
61 led->cdev.default_trigger = dat->default_trigger; in pwmled_probe()
63 led->active_low = dat->active_low; in pwmled_probe()
65 status = pwm_channel_alloc(dat->gpio, &led->pwmc); in pwmled_probe()
/linux-3.4.99/drivers/media/dvb/bt8xx/
Dbt878.h152 #define bmtwrite(dat,adr) io_st_le32((adr),(dat)) argument
155 #define bmtwrite(dat,adr) writel((dat), (adr)) argument
/linux-3.4.99/net/sched/
Dsch_teql.c99 struct teql_sched_data *dat = qdisc_priv(sch); in teql_dequeue() local
103 skb = __skb_dequeue(&dat->q); in teql_dequeue()
104 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
108 dat->m->slaves = sch; in teql_dequeue()
114 sch->q.qlen = dat->q.qlen + dat_queue->qdisc->q.qlen; in teql_dequeue()
135 struct teql_sched_data *dat = qdisc_priv(sch); in teql_reset() local
137 skb_queue_purge(&dat->q); in teql_reset()
139 teql_neigh_release(xchg(&dat->ncache, NULL)); in teql_reset()
146 struct teql_sched_data *dat = qdisc_priv(sch); in teql_destroy() local
147 struct teql_master *master = dat->m; in teql_destroy()
[all …]
/linux-3.4.99/drivers/media/dvb/dvb-usb/
Daf9005-remote.c91 u8 cust, dat, invdat; in af9005_rc_decode() local
127 dat = (result >> 8) & 0xff; in af9005_rc_decode()
129 if (dat != invdat) { in af9005_rc_decode()
135 && rc5_data(&rc_map_af9005_table[i]) == dat) { in af9005_rc_decode()
/linux-3.4.99/drivers/media/video/bt8xx/
Dbttvp.h521 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr)) argument
524 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument
525 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument
526 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
/linux-3.4.99/drivers/media/common/tuners/
Dmax2165.c110 u8 dat[3]; in max2165_read_rom_table() local
115 max2165_read_reg(priv, REG_ROM_TABLE_DATA, &dat[i]); in max2165_read_rom_table()
118 priv->tf_ntch_low_cfg = dat[0] >> 4; in max2165_read_rom_table()
119 priv->tf_ntch_hi_cfg = dat[0] & 0x0F; in max2165_read_rom_table()
120 priv->tf_balun_low_ref = dat[1] & 0x0F; in max2165_read_rom_table()
121 priv->tf_balun_hi_ref = dat[1] >> 4; in max2165_read_rom_table()
122 priv->bb_filter_7mhz_cfg = dat[2] & 0x0F; in max2165_read_rom_table()
123 priv->bb_filter_8mhz_cfg = dat[2] >> 4; in max2165_read_rom_table()

12345