Home
last modified time | relevance | path

Searched refs:data32 (Results 1 – 22 of 22) sorted by relevance

/drivers/atm/
Dsolos-pci.c521 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/
Dmv88e1xxx.c150 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()
Dpm3393.c85 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument
87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
91 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument
93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
/drivers/scsi/
Da100u2w.c367 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/i2c/
Di2c-dev.c567 struct i2c_smbus_ioctl_data32 data32; in compat_i2cdev_ioctl() local
568 if (copy_from_user(&data32, in compat_i2cdev_ioctl()
570 sizeof(data32))) in compat_i2cdev_ioctl()
572 return i2cdev_ioctl_smbus(client, data32.read_write, in compat_i2cdev_ioctl()
573 data32.command, in compat_i2cdev_ioctl()
574 data32.size, in compat_i2cdev_ioctl()
575 compat_ptr(data32.data)); in compat_i2cdev_ioctl()
/drivers/net/wan/
Dixp4xx_hss.c291 struct { u32 data32; }; member
298 struct { u32 data32; };
385 msg.data32 >>= 2; in hss_config_set_lut()
386 msg.data32 |= TDMMAP_HDLC << 30; in hss_config_set_lut()
406 msg.data32 = PCR_FRM_PULSE_DISABLED | PCR_MSB_ENDIAN | in hss_config()
409 msg.data32 |= PCR_SYNC_CLK_DIR_OUTPUT; in hss_config()
413 msg.data32 ^= PCR_TX_DATA_ENABLE | PCR_DCLK_EDGE_RISING; in hss_config()
420 msg.data32 = (port->loopback ? CCR_LOOPBACK : 0) | in hss_config()
428 msg.data32 = port->clock_reg; in hss_config()
456 msg.cmd != PORT_CONFIG_LOAD || msg.data32) { in hss_config()
[all …]
/drivers/i2c/busses/
Di2c-mlxbf.c636 u32 data32; in mlxbf_i2c_smbus_write_data() local
649 data32 = *((u32 *)(data + offset)); in mlxbf_i2c_smbus_write_data()
651 iowrite32be(data32, priv->mst->io + addr + offset); in mlxbf_i2c_smbus_write_data()
653 iowrite32be(data32, priv->slv->io + addr + offset); in mlxbf_i2c_smbus_write_data()
661 u32 data32, mask; in mlxbf_i2c_smbus_read_data() local
676 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data()
678 data32 = ioread32be(priv->slv->io + addr + offset); in mlxbf_i2c_smbus_read_data()
679 *((u32 *)(data + offset)) = data32; in mlxbf_i2c_smbus_read_data()
686 data32 = ioread32be(priv->mst->io + addr + offset); in mlxbf_i2c_smbus_read_data()
688 data32 = ioread32be(priv->slv->io + addr + offset); in mlxbf_i2c_smbus_read_data()
[all …]
Di2c-tegra.c352 u32 *data32 = data; in i2c_writesl_vi() local
361 i2c_writel(i2c_dev, *data32++, reg); in i2c_writesl_vi()
/drivers/net/dsa/microchip/
Dksz_ptp.c186 u32 data32; in ksz_ptp_enable_perout() local
200 data32 = FIELD_PREP(PTP_GPIO_INDEX, pin) | in ksz_ptp_enable_perout()
203 PTP_GPIO_INDEX | PTP_TOU_INDEX, data32); in ksz_ptp_enable_perout()
734 u32 data32; in ksz_ptp_adjfine() local
743 data32 = (u32)adj; in ksz_ptp_adjfine()
744 data32 &= PTP_SUBNANOSEC_M; in ksz_ptp_adjfine()
746 data32 |= PTP_RATE_DIR; in ksz_ptp_adjfine()
748 ret = ksz_write32(dev, REG_PTP_SUBNANOSEC_RATE, data32); in ksz_ptp_adjfine()
Dlan937x_main.c143 u32 data32; in lan937x_reset_switch() local
169 return ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in lan937x_reset_switch()
Dksz9477.c167 u32 data32; in ksz9477_reset_switch() local
183 ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in ksz9477_reset_switch()
/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.c1309 u32 data32; in setup_cn23xx_octeon_pf_device() local
1312 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_0, &data32); in setup_cn23xx_octeon_pf_device()
1313 BAR0 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device()
1314 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_1, &data32); in setup_cn23xx_octeon_pf_device()
1315 BAR0 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device()
1316 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_2, &data32); in setup_cn23xx_octeon_pf_device()
1317 BAR1 = (u64)(data32 & ~0xf); in setup_cn23xx_octeon_pf_device()
1318 pci_read_config_dword(oct->pci_dev, PCI_BASE_ADDRESS_3, &data32); in setup_cn23xx_octeon_pf_device()
1319 BAR1 |= ((u64)data32 << 32); in setup_cn23xx_octeon_pf_device()
/drivers/pci/controller/
Dpcie-altera.c477 u32 data32; in _altera_pcie_cfg_write() local
487 data32 = (value & 0xff) << shift; in _altera_pcie_cfg_write()
491 data32 = (value & 0xffff) << shift; in _altera_pcie_cfg_write()
495 data32 = value; in _altera_pcie_cfg_write()
501 byte_en, data32); in _altera_pcie_cfg_write()
/drivers/gpu/drm/ast/
Dast_mode.c752 } srcdata32[2], data32; in ast_update_cursor_image() local
776 data32.b[0] = srcdata32[0].b[1] | (srcdata32[0].b[0] >> 4); in ast_update_cursor_image()
777 data32.b[1] = srcdata32[0].b[3] | (srcdata32[0].b[2] >> 4); in ast_update_cursor_image()
778 data32.b[2] = srcdata32[1].b[1] | (srcdata32[1].b[0] >> 4); in ast_update_cursor_image()
779 data32.b[3] = srcdata32[1].b[3] | (srcdata32[1].b[2] >> 4); in ast_update_cursor_image()
781 writel(data32.ul, dstxor); in ast_update_cursor_image()
782 csum += data32.ul; in ast_update_cursor_image()
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c1820 u32 data32; in r8711_wx_read32() local
1823 data32 = r8712_read32(padapter, addr); in r8711_wx_read32()
1824 put_user(data32, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32()
1825 wrqu->data.length = (data32 & 0xffff0000) >> 16; in r8711_wx_read32()
1826 wrqu->data.flags = data32 & 0xffff; in r8711_wx_read32()
1837 u32 data32; in r8711_wx_write32() local
1840 data32 = ((u32)wrqu->data.length << 16) | (u32)wrqu->data.flags; in r8711_wx_write32()
1841 r8712_write32(padapter, addr, data32); in r8711_wx_write32()
/drivers/media/usb/as102/
Das10x_cmd.h395 __le32 data32[DUMP_BLOCK_SIZE / sizeof(__le32)]; member
/drivers/staging/media/atomisp/i2c/
Datomisp-mt9m114.c289 __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/net/ppp/
Dppp_generic.c1019 struct ppp_option_data32 data32; in ppp_compat_ioctl() local
1020 if (copy_from_user(&data32, argp, sizeof(data32))) { in ppp_compat_ioctl()
1024 .ptr = compat_ptr(data32.ptr), in ppp_compat_ioctl()
1025 .length = data32.length, in ppp_compat_ioctl()
1026 .transmit = data32.transmit in ppp_compat_ioctl()
/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_i2c.c48 __le32 data32; member
/drivers/video/fbdev/
Dstifb.c427 #define NGLE_BINC_WRITE32(fb, data32) \ argument
428 WRITE_WORD(data32, fb, REG_23)
/drivers/usb/mon/
Dmon_bin.c149 u32 data32; member
1156 compat_ptr(getb.data32), getb.alloc32); in mon_bin_compat_ioctl()
/drivers/staging/emxx_udc/
Demxx_udc.c418 u32 epnum, u32 data32, u32 length) in _nbu2ss_ep_in_end() argument
432 _nbu2ss_writel(&preg->EP0_WRITE, data32); in _nbu2ss_ep_in_end()
445 _nbu2ss_writel(&preg->EP_REGS[num].EP_WRITE, data32); in _nbu2ss_ep_in_end()