Home
last modified time | relevance | path

Searched refs:tmp32 (Results 1 – 16 of 16) sorted by relevance

/drivers/virtio/
Dvirtio_pci_modern.c297 u32 tmp32; in virtio_pci_find_shm_cap() local
329 offset), &tmp32); in virtio_pci_find_shm_cap()
330 res_offset = tmp32; in virtio_pci_find_shm_cap()
332 length), &tmp32); in virtio_pci_find_shm_cap()
333 res_length = tmp32; in virtio_pci_find_shm_cap()
338 offset_hi), &tmp32); in virtio_pci_find_shm_cap()
339 res_offset |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
342 length_hi), &tmp32); in virtio_pci_find_shm_cap()
343 res_length |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
/drivers/net/wireless/realtek/rtw88/
Dbf.c342 u32 tmp32; in rtw_bf_phy_init() local
347 tmp32 = rtw_read32(rtwdev, REG_MU_TX_CTL); in rtw_bf_phy_init()
349 tmp32 |= BIT_MU_P1_WAIT_STATE_EN; in rtw_bf_phy_init()
351 tmp32 &= ~BIT_MASK_R_MU_RL; in rtw_bf_phy_init()
352 tmp32 |= (retry_limit << BIT_SHIFT_R_MU_RL) & BIT_MASK_R_MU_RL; in rtw_bf_phy_init()
354 tmp32 &= ~BIT_EN_MU_MIMO; in rtw_bf_phy_init()
356 tmp32 &= ~BIT_MASK_R_MU_TABLE_VALID; in rtw_bf_phy_init()
357 rtw_write32(rtwdev, REG_MU_TX_CTL, tmp32); in rtw_bf_phy_init()
/drivers/hwtracing/coresight/
Dcoresight-config.c24 u32 tmp32 = reg_csdev->reg_desc.val32; in cscfg_set_reg() local
32 tmp32 = *p_val32; in cscfg_set_reg()
33 tmp32 &= ~reg_csdev->reg_desc.mask32; in cscfg_set_reg()
34 tmp32 |= reg_csdev->reg_desc.val32 & reg_csdev->reg_desc.mask32; in cscfg_set_reg()
36 *p_val32 = tmp32; in cscfg_set_reg()
/drivers/usb/misc/sisusbvga/
Dsisusb.c1882 u32 tmp32; in sisusb_init_gfxcore() local
2003 ret |= sisusb_read_pci_config(sisusb, 0x50, &tmp32); in sisusb_init_gfxcore()
2004 tmp32 &= 0x00f00000; in sisusb_init_gfxcore()
2005 tmp8 = (tmp32 == 0x100000) ? 0x33 : 0x03; in sisusb_init_gfxcore()
2007 tmp8 = (tmp32 == 0x100000) ? 0xaa : 0x88; in sisusb_init_gfxcore()
2129 u32 tmp32; in sisusb_do_init_gfxdevice() local
2159 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2161 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2162 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice()
2163 tmp32 |= SISUSB_PCI_MEMBASE; in sisusb_do_init_gfxdevice()
[all …]
/drivers/ata/
Dsata_nv.c1278 u32 tmp32; in nv_adma_host_init() local
1283 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_adma_host_init()
1284 tmp32 |= NV_MCP_SATA_CFG_20_PORT0_EN | in nv_adma_host_init()
1289 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, tmp32); in nv_adma_host_init()
2425 u32 tmp32; in nv_pci_device_resume() local
2428 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_pci_device_resume()
2432 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2435 tmp32 |= (NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2439 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
2442 tmp32 |= (NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
[all …]
Dlibata-core.c6079 u32 tmp32 = 0; in pci_test_config_bits() local
6080 pci_read_config_dword(pdev, bits->reg, &tmp32); in pci_test_config_bits()
6081 tmp = tmp32; in pci_test_config_bits()
/drivers/net/wireless/broadcom/b43legacy/
Dradio.c978 u32 tmp32; in b43legacy_radio_interference_mitigation_enable() local
1180 tmp32 = b43legacy_shm_read32(dev, B43legacy_SHM_SHARED, in b43legacy_radio_interference_mitigation_enable()
1182 if (!(tmp32 & 0x800)) { in b43legacy_radio_interference_mitigation_enable()
1183 tmp32 |= 0x800; in b43legacy_radio_interference_mitigation_enable()
1186 tmp32); in b43legacy_radio_interference_mitigation_enable()
1222 u32 tmp32; in b43legacy_radio_interference_mitigation_disable() local
1300 tmp32 = b43legacy_shm_read32(dev, B43legacy_SHM_SHARED, in b43legacy_radio_interference_mitigation_disable()
1302 if (tmp32 & 0x800) { in b43legacy_radio_interference_mitigation_disable()
1303 tmp32 &= ~0x800; in b43legacy_radio_interference_mitigation_disable()
1306 tmp32); in b43legacy_radio_interference_mitigation_disable()
/drivers/comedi/drivers/
Ddt9812.c745 __le32 tmp32; in dt9812_reset_device() local
789 ret = dt9812_read_info(dev, 7, &tmp32, sizeof(tmp32)); in dt9812_reset_device()
794 serial = le32_to_cpu(tmp32); in dt9812_reset_device()
/drivers/input/
Djoydev.c601 s32 tmp32; in joydev_compat_ioctl() local
617 retval = get_user(tmp32, (s32 __user *) arg); in joydev_compat_ioctl()
619 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl()
623 tmp32 = joydev->glue.JS_TIMELIMIT; in joydev_compat_ioctl()
624 retval = put_user(tmp32, (s32 __user *) arg); in joydev_compat_ioctl()
/drivers/net/ethernet/nxp/
Dlpc_eth.c1112 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local
1120 tmp32 = LPC_RXFLTRW_ACCEPTUBROADCAST | LPC_RXFLTRW_ACCEPTPERFECT; in lpc_eth_set_multicast_list()
1123 tmp32 |= LPC_RXFLTRW_ACCEPTUNICAST | in lpc_eth_set_multicast_list()
1126 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICAST; in lpc_eth_set_multicast_list()
1129 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICASTHASH; in lpc_eth_set_multicast_list()
1131 writel(tmp32, LPC_ENET_RXFILTER_CTRL(pldat->net_base)); in lpc_eth_set_multicast_list()
/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c115 u32 tmp32, mask, arrayEntry, lastBit; in ar5008_hw_phy_modify_rx_buffer() local
118 tmp32 = ath9k_hw_reverse_bits(reg32, numBits); in ar5008_hw_phy_modify_rx_buffer()
128 rfBuf[arrayEntry] |= ((tmp32 << bitPosition) << in ar5008_hw_phy_modify_rx_buffer()
131 tmp32 = tmp32 >> (8 - bitPosition); in ar5008_hw_phy_modify_rx_buffer()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1020 u32 tmp32 = 0, count = 0; in _rtl92ee_enable_aspm_back_door() local
1034 tmp32 = rtl_read_dword(rtlpriv, REG_BACKDOOR_DBI_RDATA); in _rtl92ee_enable_aspm_back_door()
1035 if ((tmp32 & 0xff00) != 0x2000) { in _rtl92ee_enable_aspm_back_door()
1036 tmp32 &= 0xffff00ff; in _rtl92ee_enable_aspm_back_door()
1038 tmp32 | BIT(13)); in _rtl92ee_enable_aspm_back_door()
1064 tmp32 = rtl_read_dword(rtlpriv, REG_BACKDOOR_DBI_RDATA); in _rtl92ee_enable_aspm_back_door()
1066 tmp32 | BIT(31)); in _rtl92ee_enable_aspm_back_door()
1089 tmp32 = rtl_read_dword(rtlpriv, REG_BACKDOOR_DBI_RDATA); in _rtl92ee_enable_aspm_back_door()
1091 tmp32 | BIT(11) | BIT(12)); in _rtl92ee_enable_aspm_back_door()
/drivers/net/wireless/broadcom/b43/
Dphy_n.c2724 u32 tmp32; in b43_nphy_workarounds_rev7plus() local
2769 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev7plus()
2770 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev7plus()
2771 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev7plus()
3174 u32 tmp32; in b43_nphy_workarounds_rev3plus() local
3179 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev3plus()
3180 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev3plus()
3181 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev3plus()
3316 tmp32 = 0x00088888; in b43_nphy_workarounds_rev3plus()
3318 tmp32 = 0x88888888; in b43_nphy_workarounds_rev3plus()
[all …]
/drivers/net/usb/
Dax88179_178a.c1539 u32 tmp32 = 0x40000000; in ax88179_link_reset() local
1543 while (tmp32 & 0x40000000) { in ax88179_link_reset()
1550 ax88179_read_cmd(dev, 0x81, 0x8c, 0, 4, &tmp32); in ax88179_link_reset()
/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c3823 u32 tmp32; in show_hardware() local
3839 read_nic_dword(dev, nic_data[i].addr, &tmp32); in show_hardware()
3842 tmp32); in show_hardware()
/drivers/net/ethernet/broadcom/
Dtg3.c2445 u32 tmp32; in tg3_wait_macro_done() local
2447 if (!tg3_readphy(tp, MII_TG3_DSP_CONTROL, &tmp32)) { in tg3_wait_macro_done()
2448 if ((tmp32 & 0x1000) == 0) in tg3_wait_macro_done()