Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-kvm-device.c519 u32 tmp32; in vgic_v3_attr_regs_access() local
543 tmp32 = *reg; in vgic_v3_attr_regs_access()
545 ret = vgic_v3_dist_uaccess(vcpu, is_write, addr, &tmp32); in vgic_v3_attr_regs_access()
547 *reg = tmp32; in vgic_v3_attr_regs_access()
551 tmp32 = *reg; in vgic_v3_attr_regs_access()
553 ret = vgic_v3_redist_uaccess(vcpu, is_write, addr, &tmp32); in vgic_v3_attr_regs_access()
555 *reg = tmp32; in vgic_v3_attr_regs_access()
604 u32 tmp32; in vgic_v3_set_attr() local
607 if (get_user(tmp32, uaddr)) in vgic_v3_set_attr()
610 reg = tmp32; in vgic_v3_set_attr()
[all …]
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Duaccess.h19 u32 tmp32; in raw_copy_from_user() local
31 : "=&a"(tmp32) in raw_copy_from_user()
55 u32 tmp32; in raw_copy_to_user() local
67 : "=&a"(tmp32) in raw_copy_to_user()
/kernel/linux/linux-5.10/drivers/ide/
Datiixp.c91 u32 tmp32; in atiixp_set_dma_mode() local
110 pci_read_config_dword(dev, ATIIXP_IDE_MDMA_TIMING, &tmp32); in atiixp_set_dma_mode()
111 tmp32 &= ~(0xff << timing_shift); in atiixp_set_dma_mode()
112 tmp32 |= (mdma_timing[i].recover_width << timing_shift) | in atiixp_set_dma_mode()
114 pci_write_config_dword(dev, ATIIXP_IDE_MDMA_TIMING, tmp32); in atiixp_set_dma_mode()
Dsiimage.c468 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
Dip22-gio.c272 u32 tmp32; in ip22_gio_id() local
278 if (!get_dbe(tmp32, ptr32)) { in ip22_gio_id()
295 *res = tmp32; in ip22_gio_id()
301 tmp8 == (tmp32 & 0xff) && in ip22_gio_id()
302 tmp16 == (tmp32 & 0xffff)) { in ip22_gio_id()
303 *res = tmp32; in ip22_gio_id()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dpci_common.c56 u32 tmp32, *addr; in sun4u_read_pci_cfg_host() local
94 tmp32 = 0xffffffff; in sun4u_read_pci_cfg_host()
96 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
97 *value = tmp32; in sun4u_read_pci_cfg_host()
99 tmp32 = 0xffffffff; in sun4u_read_pci_cfg_host()
101 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
102 *value |= tmp32 << 16; in sun4u_read_pci_cfg_host()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_pci_modern.c455 u32 tmp32; in virtio_pci_find_shm_cap() local
482 offset), &tmp32); in virtio_pci_find_shm_cap()
483 res_offset = tmp32; in virtio_pci_find_shm_cap()
485 length), &tmp32); in virtio_pci_find_shm_cap()
486 res_length = tmp32; in virtio_pci_find_shm_cap()
491 offset_hi), &tmp32); in virtio_pci_find_shm_cap()
492 res_offset |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
495 length_hi), &tmp32); in virtio_pci_find_shm_cap()
496 res_length |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb.c363 __le32 tmp32; in pcan_usb_get_serial() local
365 memcpy(&tmp32, args, 4); in pcan_usb_get_serial()
366 *serial_number = le32_to_cpu(tmp32); in pcan_usb_get_serial()
718 __le32 tmp32; in pcan_usb_decode_data() local
723 memcpy(&tmp32, mc->ptr, 4); in pcan_usb_decode_data()
726 cf->can_id = (le32_to_cpu(tmp32) >> 3) | CAN_EFF_FLAG; in pcan_usb_decode_data()
849 __le32 tmp32 = cpu_to_le32((cf->can_id & CAN_ERR_MASK) << 3); in pcan_usb_encode_msg() local
852 memcpy(++pc, &tmp32, 4); in pcan_usb_encode_msg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_nv.c1272 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()
2419 u32 tmp32; in nv_pci_device_resume() local
2422 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_pci_device_resume()
2426 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2429 tmp32 |= (NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2433 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
2436 tmp32 |= (NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
[all …]
Dlibata-core.c6035 u32 tmp32 = 0; in pci_test_config_bits() local
6036 pci_read_config_dword(pdev, bits->reg, &tmp32); in pci_test_config_bits()
6037 tmp = tmp32; in pci_test_config_bits()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/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()
/kernel/linux/linux-5.10/drivers/input/
Djoydev.c602 s32 tmp32; in joydev_compat_ioctl() local
618 retval = get_user(tmp32, (s32 __user *) arg); in joydev_compat_ioctl()
620 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl()
624 tmp32 = joydev->glue.JS_TIMELIMIT; in joydev_compat_ioctl()
625 retval = put_user(tmp32, (s32 __user *) arg); in joydev_compat_ioctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/nxp/
Dlpc_eth.c1111 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local
1119 tmp32 = LPC_RXFLTRW_ACCEPTUBROADCAST | LPC_RXFLTRW_ACCEPTPERFECT; in lpc_eth_set_multicast_list()
1122 tmp32 |= LPC_RXFLTRW_ACCEPTUNICAST | in lpc_eth_set_multicast_list()
1125 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICAST; in lpc_eth_set_multicast_list()
1128 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICASTHASH; in lpc_eth_set_multicast_list()
1130 writel(tmp32, LPC_ENET_RXFILTER_CTRL(pldat->net_base)); in lpc_eth_set_multicast_list()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c120 u32 tmp32, mask, arrayEntry, lastBit; in ar5008_hw_phy_modify_rx_buffer() local
123 tmp32 = ath9k_hw_reverse_bits(reg32, numBits); in ar5008_hw_phy_modify_rx_buffer()
133 rfBuf[arrayEntry] |= ((tmp32 << bitPosition) << in ar5008_hw_phy_modify_rx_buffer()
136 tmp32 = tmp32 >> (8 - bitPosition); in ar5008_hw_phy_modify_rx_buffer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/usb/
Dax88179_178a.c1619 u32 tmp32 = 0x40000000; in ax88179_link_reset() local
1623 while (tmp32 & 0x40000000) { in ax88179_link_reset()
1630 ax88179_read_cmd(dev, 0x81, 0x8c, 0, 4, &tmp32); in ax88179_link_reset()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.c2450 u32 tmp32; in tg3_wait_macro_done() local
2452 if (!tg3_readphy(tp, MII_TG3_DSP_CONTROL, &tmp32)) { in tg3_wait_macro_done()
2453 if ((tmp32 & 0x1000) == 0) in tg3_wait_macro_done()