/drivers/gpu/drm/ast/ |
D | ast_cursor.c | 110 } srcdata32[2], data32; in update_cursor_image() local 134 data32.b[0] = srcdata32[0].b[1] | (srcdata32[0].b[0] >> 4); in update_cursor_image() 135 data32.b[1] = srcdata32[0].b[3] | (srcdata32[0].b[2] >> 4); in update_cursor_image() 136 data32.b[2] = srcdata32[1].b[1] | (srcdata32[1].b[0] >> 4); in update_cursor_image() 137 data32.b[3] = srcdata32[1].b[3] | (srcdata32[1].b[2] >> 4); in update_cursor_image() 139 writel(data32.ul, dstxor); in update_cursor_image() 140 csum += data32.ul; in update_cursor_image()
|
/drivers/atm/ |
D | solos-pci.c | 521 uint32_t data32; in geos_gpio_store() local 527 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store() 529 data32 |= 1 << gattr->offset; in geos_gpio_store() 530 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store() 532 data32 &= ~(1 << gattr->offset); in geos_gpio_store() 533 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store() 546 uint32_t data32; in geos_gpio_show() local 548 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show() 549 data32 = (data32 >> gattr->offset) & 1; in geos_gpio_show() 551 return sprintf(buf, "%d\n", data32); in geos_gpio_show() [all …]
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 150 u32 data32; in mv88e1xxx_crossover_set() local 153 MV88E1XXX_SPECIFIC_CNTRL_REGISTER, &data32); in mv88e1xxx_crossover_set() 154 data32 &= ~V_PSCR_MDI_XOVER_MODE(M_PSCR_MDI_XOVER_MODE); in mv88e1xxx_crossover_set() 155 data32 |= V_PSCR_MDI_XOVER_MODE(crossover); in mv88e1xxx_crossover_set() 157 MV88E1XXX_SPECIFIC_CNTRL_REGISTER, data32); in mv88e1xxx_crossover_set()
|
D | pm3393.c | 94 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument 96 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 100 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument 102 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
|
/drivers/scsi/ |
D | a100u2w.c | 367 u32 data32; in orc_load_firmware() local 390 data32_ptr = (u8 *) & data32; in orc_load_firmware() 391 data32 = cpu_to_le32(0); /* Initial FW address to 0 */ in orc_load_firmware() 399 outl(le32_to_cpu(data32), host->base + ORC_FWBASEADR); /* Write FW address */ in orc_load_firmware() 404 bios_addr = (u16) le32_to_cpu(data32); /* FW code locate at BIOS address + ? */ in orc_load_firmware() 405 for (i = 0, data32_ptr = (u8 *) & data32; /* Download the code */ in orc_load_firmware() 411 outl(le32_to_cpu(data32), host->base + ORC_RISCRAM); /* Write every 4 bytes */ in orc_load_firmware() 412 data32_ptr = (u8 *) & data32; in orc_load_firmware() 420 for (i = 0, data32_ptr = (u8 *) & data32; /* Check the code */ in orc_load_firmware() 426 if (inl(host->base + ORC_RISCRAM) != le32_to_cpu(data32)) { in orc_load_firmware() [all …]
|
/drivers/net/wan/ |
D | ixp4xx_hss.c | 277 struct { u32 data32; }; member 284 struct { u32 data32; }; 378 msg.data32 >>= 2; in hss_config_set_lut() 379 msg.data32 |= TDMMAP_HDLC << 30; in hss_config_set_lut() 399 msg.data32 = PCR_FRM_PULSE_DISABLED | PCR_MSB_ENDIAN | in hss_config() 402 msg.data32 |= PCR_SYNC_CLK_DIR_OUTPUT; in hss_config() 406 msg.data32 ^= PCR_TX_DATA_ENABLE | PCR_DCLK_EDGE_RISING; in hss_config() 413 msg.data32 = (port->loopback ? CCR_LOOPBACK : 0) | in hss_config() 421 msg.data32 = port->clock_reg; in hss_config() 449 msg.cmd != PORT_CONFIG_LOAD || msg.data32) { in hss_config() [all …]
|
/drivers/i2c/ |
D | i2c-dev.c | 568 struct i2c_smbus_ioctl_data32 data32; in compat_i2cdev_ioctl() local 569 if (copy_from_user(&data32, in compat_i2cdev_ioctl() 571 sizeof(data32))) in compat_i2cdev_ioctl() 573 return i2cdev_ioctl_smbus(client, data32.read_write, in compat_i2cdev_ioctl() 574 data32.command, in compat_i2cdev_ioctl() 575 data32.size, in compat_i2cdev_ioctl() 576 compat_ptr(data32.data)); in compat_i2cdev_ioctl()
|
/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 621 u32 data32; in mlxbf_i2c_smbus_write_data() local 634 data32 = *((u32 *)(data + offset)); in mlxbf_i2c_smbus_write_data() 635 iowrite32be(data32, priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_write_data() 642 u32 data32, mask; in mlxbf_i2c_smbus_read_data() local 656 data32 = ioread32be(priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_read_data() 657 *((u32 *)(data + offset)) = data32; in mlxbf_i2c_smbus_read_data() 663 data32 = ioread32be(priv->smbus->io + addr + offset); in mlxbf_i2c_smbus_read_data() 666 data[offset + byte] = data32 & GENMASK(7, 0); in mlxbf_i2c_smbus_read_data() 667 data32 = ror32(data32, MLXBF_I2C_SHIFT_8); in mlxbf_i2c_smbus_read_data() 1867 u32 control32, data32; in mlxbf_smbus_irq_send() local [all …]
|
D | i2c-tegra.c | 348 u32 *data32 = data; in i2c_writesl_vi() local 357 i2c_writel(i2c_dev, *data32++, reg); in i2c_writesl_vi()
|
/drivers/input/tablet/ |
D | gtco.c | 213 __u32 data32 = 0; in parse_hid_report_descriptor() local 252 data32 = get_unaligned_le32(&report[i]); in parse_hid_report_descriptor() 413 indentstr, tag, maintype, size, globtype, data32); in parse_hid_report_descriptor() 496 indentstr, globtype, tag, size, data32); in parse_hid_report_descriptor() 497 globalval[tag] = data32; in parse_hid_report_descriptor() 540 indentstr, tag, globtype, size, data32); in parse_hid_report_descriptor()
|
/drivers/pci/controller/ |
D | pcie-altera.c | 478 u32 data32; in _altera_pcie_cfg_write() local 488 data32 = (value & 0xff) << shift; in _altera_pcie_cfg_write() 492 data32 = (value & 0xffff) << shift; in _altera_pcie_cfg_write() 496 data32 = value; in _altera_pcie_cfg_write() 502 byte_en, data32); in _altera_pcie_cfg_write()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.c | 1311 u32 data32; in setup_cn23xx_octeon_pf_device() local 1314 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_0, &data32); in setup_cn23xx_octeon_pf_device() 1315 BAR0 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device() 1316 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_1, &data32); in setup_cn23xx_octeon_pf_device() 1317 BAR0 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device() 1318 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_2, &data32); in setup_cn23xx_octeon_pf_device() 1319 BAR1 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device() 1320 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_3, &data32); in setup_cn23xx_octeon_pf_device() 1321 BAR1 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device()
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 2235 u32 data32; in rtw_wx_read32() local 2263 data32 = rtw_read8(padapter, addr); in rtw_wx_read32() 2264 sprintf(extra, "0x%02X", data32); in rtw_wx_read32() 2267 data32 = rtw_read16(padapter, addr); in rtw_wx_read32() 2268 sprintf(extra, "0x%04X", data32); in rtw_wx_read32() 2271 data32 = rtw_read32(padapter, addr); in rtw_wx_read32() 2272 sprintf(extra, "0x%08X", data32); in rtw_wx_read32() 2294 u32 data32; in rtw_wx_write32() local 2300 data32 = 0; in rtw_wx_write32() 2301 sscanf(extra, "%d,%x,%x", &bytes, &addr, &data32); in rtw_wx_write32() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 1822 u32 data32; in r8711_wx_read32() local 1825 data32 = r8712_read32(padapter, addr); in r8711_wx_read32() 1826 put_user(data32, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32() 1827 wrqu->data.length = (data32 & 0xffff0000) >> 16; in r8711_wx_read32() 1828 wrqu->data.flags = data32 & 0xffff; in r8711_wx_read32() 1839 u32 data32; in r8711_wx_write32() local 1842 data32 = ((u32)wrqu->data.length << 16) | (u32)wrqu->data.flags; in r8711_wx_write32() 1843 r8712_write32(padapter, addr, data32); in r8711_wx_write32()
|
/drivers/media/usb/as102/ |
D | as10x_cmd.h | 395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
|
/drivers/net/ppp/ |
D | ppp_generic.c | 893 struct ppp_option_data32 data32; in ppp_compat_ioctl() local 894 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl() 898 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl() 899 .length = data32.length, in ppp_compat_ioctl() 900 .transmit = data32.transmit in ppp_compat_ioctl()
|
/drivers/staging/media/atomisp/i2c/ |
D | atomisp-mt9m114.c | 289 __be32 *data32; in __mt9m114_buf_reg_array() local 308 data32 = (__be32 *)&ctrl->buffer.data[ctrl->index]; in __mt9m114_buf_reg_array() 309 *data32 = cpu_to_be32(next->val); in __mt9m114_buf_reg_array()
|
/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_i2c.c | 48 __le32 data32; member
|
/drivers/usb/mon/ |
D | mon_bin.c | 149 u32 data32; member 1153 compat_ptr(getb.data32), getb.alloc32); in mon_bin_compat_ioctl()
|
/drivers/video/fbdev/ |
D | stifb.c | 427 #define NGLE_BINC_WRITE32(fb, data32) \ argument 428 WRITE_WORD(data32, fb, REG_23)
|
/drivers/net/dsa/microchip/ |
D | ksz9477.c | 199 u32 data32; in ksz9477_reset_switch() local 217 ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in ksz9477_reset_switch()
|
/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 416 u32 epnum, u32 data32, u32 length) in _nbu2ss_ep_in_end() argument 430 _nbu2ss_writel(&preg->EP0_WRITE, data32); in _nbu2ss_ep_in_end() 443 _nbu2ss_writel(&preg->EP_REGS[num].EP_WRITE, data32); in _nbu2ss_ep_in_end()
|
/drivers/infiniband/core/ |
D | sa_query.c | 543 { SERVICE_REC_FIELD(data32),
|