Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_via.c537 u8 tmp8; in svia_wd_fix() local
539 pci_read_config_byte(pdev, 0x52, &tmp8); in svia_wd_fix()
540 pci_write_config_byte(pdev, 0x52, tmp8 | BIT(2)); in svia_wd_fix()
597 u8 tmp8; in svia_configure() local
599 pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &tmp8); in svia_configure()
601 (int) (tmp8 & 0xf0) == 0xf0 ? 0 : tmp8 & 0x0f); in svia_configure()
604 pci_read_config_byte(pdev, SATA_CHAN_ENAB, &tmp8); in svia_configure()
605 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
607 (int)tmp8); in svia_configure()
608 tmp8 |= ALL_PORTS; in svia_configure()
[all …]
Dlibata-sff.c2377 u8 tmp8, mask = 0; in ata_pci_sff_activate_host() local
2387 pci_read_config_byte(pdev, PCI_CLASS_PROG, &tmp8); in ata_pci_sff_activate_host()
2392 if ((tmp8 & mask) != mask) in ata_pci_sff_activate_host()
Dlibata-scsi.c4126 u8 tmp8; in ata_scsi_simulate() local
4211 tmp8 = scsicmd[1] & ~(1 << 3); in ata_scsi_simulate()
4212 if (tmp8 != 0x4 || scsicmd[3] || scsicmd[4]) in ata_scsi_simulate()
Dlibata-core.c6067 u8 tmp8 = 0; in pci_test_config_bits() local
6068 pci_read_config_byte(pdev, bits->reg, &tmp8); in pci_test_config_bits()
6069 tmp = tmp8; in pci_test_config_bits()
/drivers/staging/rtl8712/
Dhal_init.c158 u8 tmp8, tmp8_a; in rtl8712_dl_fw() local
249 tmp8 = r8712_read8(adapter, SYS_CLKR); in rtl8712_dl_fw()
250 r8712_write8(adapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw()
252 if (tmp8_a != (tmp8 | BIT(2))) in rtl8712_dl_fw()
255 tmp8 = r8712_read8(adapter, SYS_FUNC_EN + 1); in rtl8712_dl_fw()
256 r8712_write8(adapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); in rtl8712_dl_fw()
258 if (tmp8_a != (tmp8 | BIT(2))) in rtl8712_dl_fw()
299 tmp8 = r8712_read8(adapter, 0x1025000A); in rtl8712_dl_fw()
300 if (tmp8 & BIT(4)) /* When boot from EEPROM, in rtl8712_dl_fw()
/drivers/usb/misc/sisusbvga/
Dsisusb.c1413 u8 tmp8; in sisusb_triggersr16() local
1415 ret = GETIREG(SISSR, 0x16, &tmp8); in sisusb_triggersr16()
1417 tmp8 &= 0x3f; in sisusb_triggersr16()
1418 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1419 tmp8 |= 0x80; in sisusb_triggersr16()
1420 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1422 tmp8 |= 0xc0; in sisusb_triggersr16()
1423 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1424 tmp8 &= 0x0f; in sisusb_triggersr16()
1425 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
[all …]
/drivers/net/ethernet/realtek/
D8139too.c760 u8 tmp8; in rtl8139_init_board() local
863 u8 new_tmp8 = tmp8 = RTL_R8 (Config1); in rtl8139_init_board()
866 (tmp8 & LWAKE)) in rtl8139_init_board()
869 if (new_tmp8 != tmp8) { in rtl8139_init_board()
871 RTL_W8 (Config1, tmp8); in rtl8139_init_board()
875 tmp8 = RTL_R8 (Config4); in rtl8139_init_board()
876 if (tmp8 & LWPTN) { in rtl8139_init_board()
878 RTL_W8 (Config4, tmp8 & ~LWPTN); in rtl8139_init_board()
884 tmp8 = RTL_R8 (Config1); in rtl8139_init_board()
885 tmp8 &= ~(SLEEP | PWRDN); in rtl8139_init_board()
[all …]
/drivers/net/usb/
Dax88179_178a.c410 u8 tmp8; in ax88179_suspend() local
419 1, 1, &tmp8); in ax88179_suspend()
421 tmp8 |= AX_MONITOR_MODE_RWLC; in ax88179_suspend()
423 tmp8 |= AX_MONITOR_MODE_RWMP; in ax88179_suspend()
426 1, 1, &tmp8); in ax88179_suspend()
445 tmp8 = 0; in ax88179_suspend()
446 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_suspend()
462 u8 tmp8; in ax88179_auto_detach() local
471 tmp8 = 0; in ax88179_auto_detach()
472 ax88179_read_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_auto_detach()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1021 u8 tmp8 = 0; in _rtl92ee_enable_aspm_back_door() local
1025 tmp8 = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 2); in _rtl92ee_enable_aspm_back_door()
1027 while (tmp8 && count < 20) { in _rtl92ee_enable_aspm_back_door()
1029 tmp8 = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 2); in _rtl92ee_enable_aspm_back_door()
1033 if (0 == tmp8) { in _rtl92ee_enable_aspm_back_door()
1042 tmp8 = rtl_read_byte(rtlpriv, in _rtl92ee_enable_aspm_back_door()
1045 while (tmp8 && count < 20) { in _rtl92ee_enable_aspm_back_door()
1047 tmp8 = rtl_read_byte(rtlpriv, in _rtl92ee_enable_aspm_back_door()
1056 tmp8 = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 2); in _rtl92ee_enable_aspm_back_door()
1058 while (tmp8 && count < 20) { in _rtl92ee_enable_aspm_back_door()
[all …]
/drivers/net/wireless/realtek/rtw88/
Dbf.c341 u8 tmp8; in rtw_bf_phy_init() local
360 tmp8 = ack_policy << BIT_SHIFT_WMAC_TXMU_ACKPOLICY; in rtw_bf_phy_init()
361 tmp8 |= BIT_WMAC_TXMU_ACKPOLICY_EN; in rtw_bf_phy_init()
362 rtw_write8(rtwdev, REG_WMAC_MU_BF_OPTION, tmp8); in rtw_bf_phy_init()
/drivers/comedi/drivers/
Ddt9812.c743 u8 tmp8; in dt9812_reset_device() local
749 ret = dt9812_read_info(dev, 0, &tmp8, sizeof(tmp8)); in dt9812_reset_device()
757 ret = dt9812_read_info(dev, 1, &tmp8, sizeof(tmp8)); in dt9812_reset_device()
/drivers/net/ethernet/sis/
Dsis190.c1555 u8 tmp8; in sis190_tx_timeout() local
1558 tmp8 = SIS_R8(TxControl); in sis190_tx_timeout()
1559 if (tmp8 & CmdTxEnb) in sis190_tx_timeout()
1560 SIS_W8(TxControl, tmp8 & ~CmdTxEnb); in sis190_tx_timeout()
1632 u8 reg, tmp8; in sis190_get_mac_addr_from_apc() local
1652 pci_read_config_byte(isa_bridge, 0x48, &tmp8); in sis190_get_mac_addr_from_apc()
1653 reg = (tmp8 & ~0x02); in sis190_get_mac_addr_from_apc()
1669 pci_write_config_byte(isa_bridge, 0x48, tmp8); in sis190_get_mac_addr_from_apc()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1071 u8 tmp8 = 0; in _rtl8723be_enable_aspm_back_door() local
1111 tmp8 = _rtl8723be_dbi_read(rtlpriv, 0x70f); in _rtl8723be_enable_aspm_back_door()
1112 _rtl8723be_dbi_write(rtlpriv, 0x70f, tmp8 | BIT(7) | in _rtl8723be_enable_aspm_back_door()
1118 tmp8 = _rtl8723be_dbi_read(rtlpriv, 0x719); in _rtl8723be_enable_aspm_back_door()
1119 _rtl8723be_dbi_write(rtlpriv, 0x719, tmp8 | BIT(3) | BIT(4)); in _rtl8723be_enable_aspm_back_door()
/drivers/video/fbdev/i810/
Di810_main.c327 u8 tmp8; in i810_load_2d() local
338 tmp8 = i810_readb(GR_DATA, mmio); in i810_load_2d()
339 tmp8 |= 2; in i810_load_2d()
341 i810_writeb(GR_DATA, mmio, tmp8); in i810_load_2d()
/drivers/net/wireless/broadcom/b43/
Dphy_lp.c2393 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in lpphy_b2062_tune() local
2441 tmp8 = b43_radio_read(dev, B2062_S_RFPLL_CTL19); in lpphy_b2062_tune()
2442 tmp9 = ((2 * tmp3 * (tmp8 + 1)) + (3 * tmp1)) / (6 * tmp1); in lpphy_b2062_tune()
/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c3821 u8 tmp8; in show_hardware() local
3827 read_nic_byte(dev, nic_data[i].addr, &tmp8); in show_hardware()
3830 tmp8); in show_hardware()