Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/arch/mips/sgi-ip22/ !
Dip22-gio.c271 u32 tmp32; in ip22_gio_id() local
277 if (!get_dbe(tmp32, ptr32)) { in ip22_gio_id()
294 *res = tmp32; in ip22_gio_id()
300 tmp8 == (tmp32 & 0xff) && in ip22_gio_id()
301 tmp16 == (tmp32 & 0xffff)) { in ip22_gio_id()
302 *res = tmp32; in ip22_gio_id()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ !
Dbf.c347 u32 tmp32; in rtw_bf_phy_init() local
352 tmp32 = rtw_read32(rtwdev, REG_MU_TX_CTL); in rtw_bf_phy_init()
354 tmp32 |= BIT_MU_P1_WAIT_STATE_EN; in rtw_bf_phy_init()
356 tmp32 &= ~BIT_MASK_R_MU_RL; in rtw_bf_phy_init()
357 tmp32 |= (retry_limit << BIT_SHIFT_R_MU_RL) & BIT_MASK_R_MU_RL; in rtw_bf_phy_init()
359 tmp32 &= ~BIT_EN_MU_MIMO; in rtw_bf_phy_init()
361 tmp32 &= ~BIT_MASK_R_MU_TABLE_VALID; in rtw_bf_phy_init()
362 rtw_write32(rtwdev, REG_MU_TX_CTL, tmp32); in rtw_bf_phy_init()
/linux-6.6.21/drivers/virtio/ !
Dvirtio_pci_modern.c403 u32 tmp32; in virtio_pci_find_shm_cap() local
435 offset), &tmp32); in virtio_pci_find_shm_cap()
436 res_offset = tmp32; in virtio_pci_find_shm_cap()
438 length), &tmp32); in virtio_pci_find_shm_cap()
439 res_length = tmp32; in virtio_pci_find_shm_cap()
444 offset_hi), &tmp32); in virtio_pci_find_shm_cap()
445 res_offset |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
448 length_hi), &tmp32); in virtio_pci_find_shm_cap()
449 res_length |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
/linux-6.6.21/drivers/usb/misc/sisusbvga/ !
Dsisusbvga.c1824 u32 tmp32; in sisusb_init_gfxcore() local
1945 ret |= sisusb_read_pci_config(sisusb, 0x50, &tmp32); in sisusb_init_gfxcore()
1946 tmp32 &= 0x00f00000; in sisusb_init_gfxcore()
1947 tmp8 = (tmp32 == 0x100000) ? 0x33 : 0x03; in sisusb_init_gfxcore()
1949 tmp8 = (tmp32 == 0x100000) ? 0xaa : 0x88; in sisusb_init_gfxcore()
2071 u32 tmp32; in sisusb_do_init_gfxdevice() local
2101 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2103 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2104 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice()
2105 tmp32 |= SISUSB_PCI_MEMBASE; in sisusb_do_init_gfxdevice()
[all …]
/linux-6.6.21/arch/sparc/kernel/ !
Dpci_common.c57 u32 tmp32, *addr; in sun4u_read_pci_cfg_host() local
95 tmp32 = 0xffffffff; in sun4u_read_pci_cfg_host()
97 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
98 *value = tmp32; in sun4u_read_pci_cfg_host()
100 tmp32 = 0xffffffff; in sun4u_read_pci_cfg_host()
102 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
103 *value |= tmp32 << 16; in sun4u_read_pci_cfg_host()
/linux-6.6.21/net/caif/ !
Dcfctrl.c204 u32 tmp32; in cfctrl_linkup_request() local
242 tmp32 = cpu_to_le32(param->u.datagram.connid); in cfctrl_linkup_request()
243 cfpkt_add_body(pkt, &tmp32, 4); in cfctrl_linkup_request()
249 tmp32 = cpu_to_le32(param->u.rfm.connid); in cfctrl_linkup_request()
250 cfpkt_add_body(pkt, &tmp32, 4); in cfctrl_linkup_request()
/linux-6.6.21/drivers/ata/ !
Dsata_nv.c1274 u32 tmp32; in nv_adma_host_init() local
1277 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_adma_host_init()
1278 tmp32 |= NV_MCP_SATA_CFG_20_PORT0_EN | in nv_adma_host_init()
1283 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, tmp32); in nv_adma_host_init()
2407 u32 tmp32; in nv_pci_device_resume() local
2410 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_pci_device_resume()
2414 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2417 tmp32 |= (NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2421 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
2424 tmp32 |= (NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
[all …]
Dlibata-core.c6197 u32 tmp32 = 0; in pci_test_config_bits() local
6198 pci_read_config_dword(pdev, bits->reg, &tmp32); in pci_test_config_bits()
6199 tmp = tmp32; in pci_test_config_bits()
/linux-6.6.21/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()
/linux-6.6.21/drivers/comedi/drivers/ !
Ddt9812.c744 __le32 tmp32; in dt9812_reset_device() local
788 ret = dt9812_read_info(dev, 7, &tmp32, sizeof(tmp32)); in dt9812_reset_device()
793 serial = le32_to_cpu(tmp32); in dt9812_reset_device()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/net/ !
Dioam6_parser.c412 __u32 tmp32 = node2.egr_wide; in check_ioam_header_and_data() local
422 node2.egr_wide = tmp32; in check_ioam_header_and_data()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/ !
Dphy_n.c2720 u32 tmp32; in b43_nphy_workarounds_rev7plus() local
2765 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev7plus()
2766 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev7plus()
2767 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev7plus()
3170 u32 tmp32; in b43_nphy_workarounds_rev3plus() local
3175 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev3plus()
3176 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev3plus()
3177 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev3plus()
3312 tmp32 = 0x00088888; in b43_nphy_workarounds_rev3plus()
3314 tmp32 = 0x88888888; in b43_nphy_workarounds_rev3plus()
[all …]
/linux-6.6.21/drivers/net/usb/ !
Dax88179_178a.c1517 u32 tmp32 = 0x40000000; in ax88179_link_reset() local
1521 while (tmp32 & 0x40000000) { in ax88179_link_reset()
1528 ax88179_read_cmd(dev, 0x81, 0x8c, 0, 4, &tmp32); in ax88179_link_reset()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/ !
Dipw2100.c3812 u32 tmp32; in hardware_show() local
3828 read_nic_dword(dev, nic_data[i].addr, &tmp32); in hardware_show()
3831 tmp32); in hardware_show()
/linux-6.6.21/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()