Home
last modified time | relevance | path

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

/drivers/ide/
Datiixp.c90 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()
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()
/drivers/usb/misc/sisusbvga/
Dsisusb.c1933 u32 tmp32; in sisusb_init_gfxcore() local
2049 ret |= sisusb_read_pci_config(sisusb, 0x50, &tmp32); in sisusb_init_gfxcore()
2050 tmp32 &= 0x00f00000; in sisusb_init_gfxcore()
2051 tmp8 = (tmp32 == 0x100000) ? 0x33 : 0x03; in sisusb_init_gfxcore()
2053 tmp8 = (tmp32 == 0x100000) ? 0xaa : 0x88; in sisusb_init_gfxcore()
2168 u32 tmp32; in sisusb_do_init_gfxdevice() local
2198 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2200 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2201 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice()
2202 tmp32 |= SISUSB_PCI_MEMBASE; in sisusb_do_init_gfxdevice()
[all …]
/drivers/net/can/usb/peak_usb/
Dpcan_usb.c319 u32 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()
617 u32 tmp32; in pcan_usb_decode_data() local
622 memcpy(&tmp32, mc->ptr, 4); in pcan_usb_decode_data()
625 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/
Dsata_nv.c1311 u32 tmp32; in nv_adma_host_init() local
1316 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_adma_host_init()
1317 tmp32 |= NV_MCP_SATA_CFG_20_PORT0_EN | in nv_adma_host_init()
1322 pci_write_config_dword(pdev, NV_MCP_SATA_CFG_20, tmp32); in nv_adma_host_init()
2455 u32 tmp32; in nv_pci_device_resume() local
2458 pci_read_config_dword(pdev, NV_MCP_SATA_CFG_20, &tmp32); in nv_pci_device_resume()
2462 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2465 tmp32 |= (NV_MCP_SATA_CFG_20_PORT0_EN | in nv_pci_device_resume()
2469 tmp32 &= ~(NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
2472 tmp32 |= (NV_MCP_SATA_CFG_20_PORT1_EN | in nv_pci_device_resume()
[all …]
Dlibata-core.c6355 u32 tmp32 = 0; in pci_test_config_bits() local
6356 pci_read_config_dword(pdev, bits->reg, &tmp32); in pci_test_config_bits()
6357 tmp = tmp32; in pci_test_config_bits()
/drivers/net/wireless/b43legacy/
Dradio.c995 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/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.c1159 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local
1167 tmp32 = LPC_RXFLTRW_ACCEPTUBROADCAST | LPC_RXFLTRW_ACCEPTPERFECT; in lpc_eth_set_multicast_list()
1170 tmp32 |= LPC_RXFLTRW_ACCEPTUNICAST | in lpc_eth_set_multicast_list()
1173 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICAST; in lpc_eth_set_multicast_list()
1176 tmp32 |= LPC_RXFLTRW_ACCEPTUMULTICASTHASH; in lpc_eth_set_multicast_list()
1178 writel(tmp32, LPC_ENET_RXFILTER_CTRL(pldat->net_base)); in lpc_eth_set_multicast_list()
/drivers/net/wireless/b43/
Dphy_n.c2199 u32 tmp32; in b43_nphy_workarounds_rev7plus() local
2230 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev7plus()
2231 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev7plus()
2232 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev7plus()
2506 u32 tmp32; in b43_nphy_workarounds_rev3plus() local
2511 tmp32 = b43_ntab_read(dev, B43_NTAB32(30, 0)); in b43_nphy_workarounds_rev3plus()
2512 tmp32 &= 0xffffff; in b43_nphy_workarounds_rev3plus()
2513 b43_ntab_write(dev, B43_NTAB32(30, 0), tmp32); in b43_nphy_workarounds_rev3plus()
2584 tmp32 = 0x00088888; in b43_nphy_workarounds_rev3plus()
2586 tmp32 = 0x88888888; in b43_nphy_workarounds_rev3plus()
[all …]
/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c84 u32 tmp32, mask, arrayEntry, lastBit; in ar5008_hw_phy_modify_rx_buffer() local
87 tmp32 = ath9k_hw_reverse_bits(reg32, numBits); in ar5008_hw_phy_modify_rx_buffer()
97 rfBuf[arrayEntry] |= ((tmp32 << bitPosition) << in ar5008_hw_phy_modify_rx_buffer()
100 tmp32 = tmp32 >> (8 - bitPosition); in ar5008_hw_phy_modify_rx_buffer()
/drivers/staging/rtl8712/
Dhal_init.c166 u32 maxlen = 0, tmp32; /* for compare usage */ in rtl8712_dl_fw() local
266 tmp32 = r8712_read32(padapter, TCR); in rtl8712_dl_fw()
/drivers/net/usb/
Dax88179_178a.c1213 u32 tmp32 = 0x40000000; in ax88179_link_reset() local
1217 while (tmp32 & 0x40000000) { in ax88179_link_reset()
1224 ax88179_read_cmd(dev, 0x81, 0x8c, 0, 4, &tmp32); in ax88179_link_reset()
/drivers/net/wireless/ipw2x00/
Dipw2100.c3839 u32 tmp32; in show_hardware() local
3855 read_nic_dword(dev, nic_data[i].addr, &tmp32); in show_hardware()
3858 tmp32); in show_hardware()
/drivers/net/ethernet/broadcom/
Dtg3.c2411 u32 tmp32; in tg3_wait_macro_done() local
2413 if (!tg3_readphy(tp, MII_TG3_DSP_CONTROL, &tmp32)) { in tg3_wait_macro_done()
2414 if ((tmp32 & 0x1000) == 0) in tg3_wait_macro_done()