Home
last modified time | relevance | path

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

/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()
/arch/ia64/scripts/
Dcheck-segrel.lds6 .data : { *(.data) } :dat
11 dat PT_LOAD;
/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 …]
/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()
/arch/mips/include/asm/octeon/
Dcvmx-mdio.h321 return smi_rd.s.dat; in cvmx_mdio_read()
349 smi_wr.s.dat = val; in cvmx_mdio_write()
395 smi_wr.s.dat = location; in cvmx_mdio_45_read()
434 return smi_rd.s.dat; in cvmx_mdio_45_read()
470 smi_wr.s.dat = location; in cvmx_mdio_45_write()
487 smi_wr.s.dat = val; in cvmx_mdio_45_write()
Dcvmx-rnm-defs.h106 uint64_t dat:64; member
124 uint64_t dat:64; member
Dcvmx-smix-defs.h134 uint64_t dat:16; member
157 uint64_t dat:16; member
Dcvmx-gpio-defs.h162 uint64_t dat:24; member
168 uint64_t dat:16; member
Dcvmx-srxx-defs.h119 uint64_t dat:64; member
Dcvmx-led-defs.h189 uint64_t dat:32; member
Dcvmx.h471 return read_cmd.s.dat; in cvmx_fuse_read_byte()
Dcvmx-mio-defs.h690 uint64_t dat:64; member
811 uint64_t dat:64; member
819 uint64_t dat:64; member
909 uint64_t dat:64; member
1413 uint64_t dat:8; member
1422 uint64_t dat:8; member
1567 uint64_t dat:63; member
/arch/arm/mach-s5p64x0/
Dgpiolib.c109 unsigned long dat; in s5p64x0_gpiolib_rbank_4bit2_output() local
135 dat = __raw_readl(base + GPIODAT_OFF); in s5p64x0_gpiolib_rbank_4bit2_output()
137 dat |= 1 << offset; in s5p64x0_gpiolib_rbank_4bit2_output()
139 dat &= ~(1 << offset); in s5p64x0_gpiolib_rbank_4bit2_output()
142 __raw_writel(dat, base + GPIODAT_OFF); in s5p64x0_gpiolib_rbank_4bit2_output()
/arch/powerpc/sysdev/
Dcpm1.c293 __be16 dir, par, odr_sor, dat, intr; member
298 __be32 dir, par, odr, dat; member
302 __be32 dir, par, sor, odr, dat; member
542 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
553 return !!(in_be16(&iop->dat) & pin_mask); in cpm1_gpio16_get()
567 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
663 cpm1_gc->cpdata = in_be32(&iop->dat); in cpm1_gpio32_save_regs()
674 return !!(in_be32(&iop->dat) & pin_mask); in cpm1_gpio32_get()
688 out_be32(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio32_set()
Dcpm_common.c225 u32 dir, par, sor, odr, dat; member
248 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs()
259 return !!(in_be32(&iop->dat) & pin_mask); in cpm2_gpio32_get()
273 out_be32(&iop->dat, cpm2_gc->cpdata); in __cpm2_gpio32_set()
Dcpm2.c330 u32 dir, par, sor, odr, dat; member
/arch/arm/plat-omap/include/plat/
Dgpmc.h159 int gpmc_calculate_ecc(int cs, const u_char *dat, u_char *ecc_code);
/arch/arm/boot/dts/
Dpicoxcell-pc3x3.dtsi263 regoffset-dat = <0x50>;
274 regoffset-dat = <0x54>;
285 regoffset-dat = <0x5c>;
Dpicoxcell-pc3x2.dtsi180 regoffset-dat = <0x50>;
191 regoffset-dat = <0x54>;
/arch/arm/mach-pxa/
Dem-x270.c289 static void em_x270_nand_cmd_ctl(struct mtd_info *mtd, int dat, in em_x270_nand_cmd_ctl() argument
314 if (dat != NAND_CMD_NONE) in em_x270_nand_cmd_ctl()
315 writel(dat, this->IO_ADDR_W); in em_x270_nand_cmd_ctl()
/arch/ia64/kvm/
Dvcpu.h636 static inline int highest_bits(int *dat) in highest_bits() argument
643 bits = dat[i]; in highest_bits()
Dkvm-ia64.c1919 static int find_highest_bits(int *dat) in find_highest_bits() argument
1926 bits = dat[i]; in find_highest_bits()
/arch/mips/include/asm/txx9/
Dtx4939.h107 __u32 dat; member
/arch/arm/mach-omap2/
Dgpmc.c905 int gpmc_calculate_ecc(int cs, const u_char *dat, u_char *ecc_code) in gpmc_calculate_ecc() argument