/drivers/video/fbdev/core/ |
D | cfbfillrect.c | 150 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 …]
|
/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 157 unsigned char dat = st->ctrl_hb | cmd; in ad5933_cmd() local 160 AD5933_REG_CONTROL_HB, 1, &dat); in ad5933_cmd() 165 unsigned char dat = st->ctrl_lb | AD5933_CTRL_RESET; in ad5933_reset() local 168 AD5933_REG_CONTROL_LB, 1, &dat); in ad5933_reset() 196 } dat; in ad5933_set_freq() local 212 dat.d32 = cpu_to_be32(freqreg); in ad5933_set_freq() 213 return ad5933_i2c_write(st->client, reg, 3, &dat.d8[1]); in ad5933_set_freq() 218 __be16 dat; in ad5933_setup() local 234 dat = cpu_to_be16(st->settling_cycles); in ad5933_setup() 238 2, (u8 *)&dat); in ad5933_setup() [all …]
|
/drivers/gpio/ |
D | gpio-clps711x.c | 16 void __iomem *dat, *dir; in clps711x_gpio_probe() local 31 dat = devm_platform_ioremap_resource(pdev, 0); in clps711x_gpio_probe() 32 if (IS_ERR(dat)) in clps711x_gpio_probe() 33 return PTR_ERR(dat); in clps711x_gpio_probe() 42 err = bgpio_init(gc, &pdev->dev, 1, dat, NULL, NULL, in clps711x_gpio_probe() 46 err = bgpio_init(gc, &pdev->dev, 1, dat, NULL, NULL, in clps711x_gpio_probe()
|
D | gpio-74xx-mmio.c | 113 void __iomem *dat; in mmio_74xx_gpio_probe() local 122 dat = devm_platform_ioremap_resource(pdev, 0); in mmio_74xx_gpio_probe() 123 if (IS_ERR(dat)) in mmio_74xx_gpio_probe() 124 return PTR_ERR(dat); in mmio_74xx_gpio_probe() 128 dat, NULL, NULL, NULL, NULL, 0); in mmio_74xx_gpio_probe()
|
D | gpio-mmio.c | 489 void __iomem *dat, in bgpio_setup_io() argument 495 gc->reg_dat = dat; in bgpio_setup_io() 600 unsigned long sz, void __iomem *dat, void __iomem *set, in bgpio_init() argument 621 ret = bgpio_setup_io(gc, dat, set, clr, flags); in bgpio_init() 728 void __iomem *dat; in bgpio_pdev_probe() local 754 dat = bgpio_map(pdev, "dat", sz); in bgpio_pdev_probe() 755 if (IS_ERR(dat)) in bgpio_pdev_probe() 756 return PTR_ERR(dat); in bgpio_pdev_probe() 778 err = bgpio_init(gc, dev, sz, dat, set, clr, dirout, dirin, flags); in bgpio_pdev_probe()
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-bitbang.c | 33 __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() 145 bitbang->dat = bitbang->dir + 4; in fs_mii_bitbang_init()
|
/drivers/i2c/busses/ |
D | i2c-cbus-gpio.c | 41 struct gpio_desc *dat; member 52 gpiod_set_value(host->dat, bit ? 1 : 0); in cbus_send_bit() 80 ret = gpiod_get_value(host->dat); in cbus_receive_bit() 127 gpiod_direction_output(host->dat, 1); in cbus_transfer() 142 ret = gpiod_direction_input(host->dat); in cbus_transfer() 231 chost->dat = devm_gpiod_get_index(&pdev->dev, NULL, 1, GPIOD_IN); in cbus_i2c_probe() 232 if (IS_ERR(chost->dat)) in cbus_i2c_probe() 233 return PTR_ERR(chost->dat); in cbus_i2c_probe() 238 gpiod_set_consumer_name(chost->dat, "CBUS dat"); in cbus_i2c_probe()
|
/drivers/media/pci/zoran/ |
D | zoran.h | 305 #define btwrite(dat, adr) writel((dat), zr->zr36057_mem + (adr)) argument 308 #define btand(dat, adr) btwrite((dat) & btread(adr), (adr)) argument 309 #define btor(dat, adr) btwrite((dat) | btread(adr), (adr)) argument 310 #define btaor(dat, mask, adr) btwrite((dat) | ((mask) & btread(adr)), (adr)) argument
|
/drivers/media/pci/bt8xx/ |
D | bttvp.h | 516 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr)) argument 519 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument 520 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument 521 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
|
D | bt878.c | 51 #define btwrite(dat,adr) bmtwrite((dat), (bt->bt878_mem+(adr))) argument 54 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument 55 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument 56 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
|
D | bt878.h | 133 #define bmtwrite(dat,adr) writel((dat), (adr)) argument
|
/drivers/media/tuners/ |
D | max2165.c | 96 u8 dat[3]; in max2165_read_rom_table() local 101 max2165_read_reg(priv, REG_ROM_TABLE_DATA, &dat[i]); in max2165_read_rom_table() 104 priv->tf_ntch_low_cfg = dat[0] >> 4; in max2165_read_rom_table() 105 priv->tf_ntch_hi_cfg = dat[0] & 0x0F; in max2165_read_rom_table() 106 priv->tf_balun_low_ref = dat[1] & 0x0F; in max2165_read_rom_table() 107 priv->tf_balun_hi_ref = dat[1] >> 4; in max2165_read_rom_table() 108 priv->bb_filter_7mhz_cfg = dat[2] & 0x0F; in max2165_read_rom_table() 109 priv->bb_filter_8mhz_cfg = dat[2] >> 4; in max2165_read_rom_table()
|
/drivers/net/can/softing/ |
D | softing_fw.c | 138 const uint8_t *mem, *end, *dat; in softing_load_fw() local 156 ret = fw_parse(&mem, &type, &addr, &len, &dat); in softing_load_fw() 161 if (strncmp("Structured Binary Format, Softing GmbH" , dat, len)) { in softing_load_fw() 167 ret = fw_parse(&mem, &type, &addr, &len, &dat); in softing_load_fw() 184 memcpy_toio(&dpram[addr + offset], dat, len); in softing_load_fw() 199 if (memcmp(buf, dat, len)) { in softing_load_fw() 221 const uint8_t *mem, *end, *dat; in softing_load_app_fw() local 240 ret = fw_parse(&mem, &type, &addr, &len, &dat); in softing_load_app_fw() 249 if (strncmp("Structured Binary Format, Softing GmbH", dat, len)) { in softing_load_app_fw() 251 len, dat); in softing_load_app_fw() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | af9005-remote.c | 78 u8 cust, dat, invdat; in af9005_rc_decode() local 114 dat = (result >> 8) & 0xff; in af9005_rc_decode() 116 if (dat != invdat) { in af9005_rc_decode() 122 && rc5_data(&rc_map_af9005_table[i]) == dat) { in af9005_rc_decode()
|
/drivers/char/hw_random/ |
D | cavium-rng-vf.c | 146 static int cavium_rng_read(struct hwrng *rng, void *dat, size_t max, bool wait) in cavium_rng_read() argument 157 *((u64 *)dat) = readq(p->result); in cavium_rng_read() 159 dat += 8; in cavium_rng_read() 162 *((u8 *)dat) = readb(p->result); in cavium_rng_read() 164 dat++; in cavium_rng_read()
|
/drivers/media/dvb-frontends/ |
D | atbm8830.c | 111 u8 dat; in set_if_freq() local 126 atbm8830_read_reg(priv, REG_ADC_CONFIG, &dat); in set_if_freq() 127 dat &= 0xFC; in set_if_freq() 128 atbm8830_write_reg(priv, REG_ADC_CONFIG, dat); in set_if_freq() 133 atbm8830_read_reg(priv, REG_ADC_CONFIG, &dat); in set_if_freq() 134 dat &= 0xFC; in set_if_freq() 135 dat |= 0x02; in set_if_freq() 136 atbm8830_write_reg(priv, REG_ADC_CONFIG, dat); in set_if_freq()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-i2c-core.c | 188 u8 dat[4]; in i2c_24xxx_ir() local 218 dat[0] = hdw->cmd_buffer[0]; in i2c_24xxx_ir() 219 dat[1] = hdw->cmd_buffer[1]; in i2c_24xxx_ir() 220 dat[2] = hdw->cmd_buffer[2]; in i2c_24xxx_ir() 221 dat[3] = hdw->cmd_buffer[3]; in i2c_24xxx_ir() 230 if (dat[0] != 1) { in i2c_24xxx_ir() 238 val = dat[1]; in i2c_24xxx_ir() 240 val |= dat[2]; in i2c_24xxx_ir()
|
D | pvrusb2-encoder.c | 333 u32 dat[1]; in pvr2_encoder_prep_config() 334 dat[0] = 0x80000640; in pvr2_encoder_prep_config() 335 pvr2_encoder_write_words(hdw,0x01fe,dat,1); in pvr2_encoder_prep_config() 336 pvr2_encoder_write_words(hdw,0x023e,dat,1); in pvr2_encoder_prep_config()
|
/drivers/media/pci/mantis/ |
D | mantis_common.h | 45 #define mwrite(dat, addr) writel((dat), addr) argument 48 #define mmwrite(dat, addr) mwrite((dat), (mantis->mmio + (addr))) argument
|
/drivers/net/mdio/ |
D | mdio-cavium.c | 38 smi_wr.s.dat = regnum & 0xffff; in cavium_mdiobus_c45_addr() 97 return smi_rd.s.dat; in cavium_mdiobus_read() 124 smi_wr.s.dat = val; in cavium_mdiobus_write()
|
D | mdio-cavium.h | 75 OCT_MDIO_BITFIELD_FIELD(u64 dat:16, 86 OCT_MDIO_BITFIELD_FIELD(u64 dat:16,
|
/drivers/mtd/nand/raw/ |
D | r852.c | 315 static void r852_cmdctl(struct nand_chip *chip, int dat, unsigned int ctrl) in r852_cmdctl() argument 339 if (dat == NAND_CMD_ERASE1) in r852_cmdctl() 347 if (dat == NAND_CMD_SEQIN && (dev->ctlreg & R852_CTL_COMMAND)) { in r852_cmdctl() 352 if (dat != NAND_CMD_NONE) in r852_cmdctl() 353 r852_write_reg(dev, R852_DATALINE, dat); in r852_cmdctl() 430 static int r852_ecc_calculate(struct nand_chip *chip, const uint8_t *dat, in r852_ecc_calculate() argument 462 static int r852_ecc_correct(struct nand_chip *chip, uint8_t *dat, in r852_ecc_correct() argument 502 dat[err_byte] ^= in r852_ecc_correct() 507 dat += 256; in r852_ecc_correct()
|
/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.h | 229 #define frame_set_data(frm, dat) (frm->data = dat) argument 235 #define frame_set_privdata(frm, dat) (frm->privdata = dat) argument
|
/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 450 u32 dat; in stm32_counter_read_raw() local 454 regmap_read(priv->regmap, TIM_CNT, &dat); in stm32_counter_read_raw() 455 *val = dat; in stm32_counter_read_raw() 459 regmap_read(priv->regmap, TIM_CR1, &dat); in stm32_counter_read_raw() 460 *val = (dat & TIM_CR1_CEN) ? 1 : 0; in stm32_counter_read_raw() 464 regmap_read(priv->regmap, TIM_SMCR, &dat); in stm32_counter_read_raw() 465 dat &= TIM_SMCR_SMS; in stm32_counter_read_raw() 471 if (dat == 3) in stm32_counter_read_raw()
|
/drivers/video/fbdev/ |
D | sm712.h | 27 #define smtc_mmiowb(dat, reg) writeb(dat, smtc_regbaseaddress + reg) argument
|