/drivers/ide/ |
D | atiixp.c | 90 u32 tmp32; in atiixp_set_dma_mode() local 109 pci_read_config_dword(dev, ATIIXP_IDE_MDMA_TIMING, &tmp32); in atiixp_set_dma_mode() 110 tmp32 &= ~(0xff << timing_shift); in atiixp_set_dma_mode() 111 tmp32 |= (mdma_timing[i].recover_width << timing_shift) | in atiixp_set_dma_mode() 113 pci_write_config_dword(dev, ATIIXP_IDE_MDMA_TIMING, tmp32); in atiixp_set_dma_mode()
|
D | siimage.c | 468 u32 tmp32, irq_mask; in init_chipset_siimage() local 472 tmp32 = readl(ioaddr + 0x48); in init_chipset_siimage() 473 if (tmp32 & irq_mask) { in init_chipset_siimage() 474 tmp32 &= ~irq_mask; in init_chipset_siimage() 475 writel(tmp32, ioaddr + 0x48); in init_chipset_siimage()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 1893 u32 tmp32; in sisusb_init_gfxcore() local 2014 ret |= sisusb_read_pci_config(sisusb, 0x50, &tmp32); in sisusb_init_gfxcore() 2015 tmp32 &= 0x00f00000; in sisusb_init_gfxcore() 2016 tmp8 = (tmp32 == 0x100000) ? 0x33 : 0x03; in sisusb_init_gfxcore() 2018 tmp8 = (tmp32 == 0x100000) ? 0xaa : 0x88; in sisusb_init_gfxcore() 2140 u32 tmp32; in sisusb_do_init_gfxdevice() local 2170 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice() 2172 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice() 2173 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice() 2174 tmp32 |= SISUSB_PCI_MEMBASE; in sisusb_do_init_gfxdevice() [all …]
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 319 __le32 tmp32; in pcan_usb_get_serial() local 321 memcpy(&tmp32, args, 4); in pcan_usb_get_serial() 322 *serial_number = le32_to_cpu(tmp32); in pcan_usb_get_serial() 618 __le32 tmp32; in pcan_usb_decode_data() local 623 memcpy(&tmp32, mc->ptr, 4); in pcan_usb_decode_data() 626 cf->can_id = (le32_to_cpu(tmp32) >> 3) | CAN_EFF_FLAG; in pcan_usb_decode_data() 748 __le32 tmp32 = cpu_to_le32((cf->can_id & CAN_ERR_MASK) << 3); in pcan_usb_encode_msg() local 751 memcpy(++pc, &tmp32, 4); in pcan_usb_encode_msg()
|
/drivers/ata/ |
D | sata_nv.c | 1310 u32 tmp32; in nv_adma_host_init() local 1315 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_adma_host_init() 1316 tmp32 |= NV_MCP_SATA_CFG_20_PORT0_EN | in nv_adma_host_init() 1321 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, tmp32); in nv_adma_host_init() 2454 u32 tmp32; in nv_pci_device_resume() local 2457 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_pci_device_resume() 2461 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume() 2464 tmp32 |= (NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume() 2468 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume() 2471 tmp32 |= (NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume() [all …]
|
D | libata-core.c | 6586 u32 tmp32 = 0; in pci_test_config_bits() local 6587 pci_read_config_dword(pdev, bits->reg, &tmp32); in pci_test_config_bits() 6588 tmp = tmp32; in pci_test_config_bits()
|
/drivers/net/wireless/broadcom/b43legacy/ |
D | radio.c | 995 u32 tmp32; in b43legacy_radio_interference_mitigation_enable() local 1197 tmp32 = b43legacy_shm_read32(dev, B43legacy_SHM_SHARED, in b43legacy_radio_interference_mitigation_enable() 1199 if (!(tmp32 & 0x800)) { in b43legacy_radio_interference_mitigation_enable() 1200 tmp32 |= 0x800; in b43legacy_radio_interference_mitigation_enable() 1203 tmp32); in b43legacy_radio_interference_mitigation_enable() 1239 u32 tmp32; in b43legacy_radio_interference_mitigation_disable() local 1317 tmp32 = b43legacy_shm_read32(dev, B43legacy_SHM_SHARED, in b43legacy_radio_interference_mitigation_disable() 1319 if (tmp32 & 0x800) { in b43legacy_radio_interference_mitigation_disable() 1320 tmp32 &= ~0x800; in b43legacy_radio_interference_mitigation_disable() 1323 tmp32); in b43legacy_radio_interference_mitigation_disable()
|
/drivers/staging/comedi/drivers/ |
D | dt9812.c | 697 __le32 tmp32; in dt9812_reset_device() local 741 ret = dt9812_read_info(dev, 7, &tmp32, sizeof(tmp32)); in dt9812_reset_device() 746 serial = le32_to_cpu(tmp32); in dt9812_reset_device()
|
/drivers/input/ |
D | joydev.c | 591 s32 tmp32; in joydev_compat_ioctl() local 607 retval = get_user(tmp32, (s32 __user *) arg); in joydev_compat_ioctl() 609 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl() 613 tmp32 = joydev->glue.JS_TIMELIMIT; in joydev_compat_ioctl() 614 retval = put_user(tmp32, (s32 __user *) arg); in joydev_compat_ioctl()
|
/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 1134 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local 1142 tmp32 = LPC_RXFLTRW_ACCEPTUBROADCAST | LPC_RXFLTRW_ACCEPTPERFECT; in lpc_eth_set_multicast_list() 1145 tmp32 |= LPC_RXFLTRW_ACCEPTUNICAST | in lpc_eth_set_multicast_list() 1148 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICAST; in lpc_eth_set_multicast_list() 1151 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICASTHASH; in lpc_eth_set_multicast_list() 1153 writel(tmp32, LPC_ENET_RXFILTER_CTRL(pldat->net_base)); in lpc_eth_set_multicast_list()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 95 u32 tmp32, mask, arrayEntry, lastBit; in ar5008_hw_phy_modify_rx_buffer() local 98 tmp32 = ath9k_hw_reverse_bits(reg32, numBits); in ar5008_hw_phy_modify_rx_buffer() 108 rfBuf[arrayEntry] |= ((tmp32 << bitPosition) << in ar5008_hw_phy_modify_rx_buffer() 111 tmp32 = tmp32 >> (8 - bitPosition); in ar5008_hw_phy_modify_rx_buffer()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 1024 u32 tmp32 = 0, count = 0; in _rtl92ee_enable_aspm_back_door() local 1038 tmp32 = rtl_read_dword(rtlpriv, REG_BACKDOOR_DBI_RDATA); in _rtl92ee_enable_aspm_back_door() 1039 if ((tmp32 & 0xff00) != 0x2000) { in _rtl92ee_enable_aspm_back_door() 1040 tmp32 &= 0xffff00ff; in _rtl92ee_enable_aspm_back_door() 1042 tmp32 | BIT(13)); in _rtl92ee_enable_aspm_back_door() 1068 tmp32 = rtl_read_dword(rtlpriv, REG_BACKDOOR_DBI_RDATA); in _rtl92ee_enable_aspm_back_door() 1070 tmp32 | BIT(31)); in _rtl92ee_enable_aspm_back_door() 1093 tmp32 = rtl_read_dword(rtlpriv, REG_BACKDOOR_DBI_RDATA); in _rtl92ee_enable_aspm_back_door() 1095 tmp32 | BIT(11) | BIT(12)); in _rtl92ee_enable_aspm_back_door()
|
/drivers/net/wireless/broadcom/b43/ |
D | phy_n.c | 2736 u32 tmp32; in b43_nphy_workarounds_rev7plus() local 2781 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev7plus() 2782 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev7plus() 2783 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev7plus() 3186 u32 tmp32; in b43_nphy_workarounds_rev3plus() local 3191 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev3plus() 3192 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev3plus() 3193 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev3plus() 3328 tmp32 = 0x00088888; in b43_nphy_workarounds_rev3plus() 3330 tmp32 = 0x88888888; in b43_nphy_workarounds_rev3plus() [all …]
|
/drivers/net/usb/ |
D | ax88179_178a.c | 1460 u32 tmp32 = 0x40000000; in ax88179_link_reset() local 1464 while (tmp32 & 0x40000000) { in ax88179_link_reset() 1471 ax88179_read_cmd(dev, 0x81, 0x8c, 0, 4, &tmp32); in ax88179_link_reset()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 3840 u32 tmp32; in show_hardware() local 3856 read_nic_dword(dev, nic_data[i].addr, &tmp32); in show_hardware() 3859 tmp32); in show_hardware()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 2447 u32 tmp32; in tg3_wait_macro_done() local 2449 if (!tg3_readphy(tp, MII_TG3_DSP_CONTROL, &tmp32)) { in tg3_wait_macro_done() 2450 if ((tmp32 & 0x1000) == 0) in tg3_wait_macro_done()
|