Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_via.c541 u8 tmp8; in svia_configure() local
543 pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &tmp8); in svia_configure()
545 (int) (tmp8 & 0xf0) == 0xf0 ? 0 : tmp8 & 0x0f); in svia_configure()
548 pci_read_config_byte(pdev, SATA_CHAN_ENAB, &tmp8); in svia_configure()
549 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
551 (int)tmp8); in svia_configure()
552 tmp8 |= ALL_PORTS; in svia_configure()
553 pci_write_config_byte(pdev, SATA_CHAN_ENAB, tmp8); in svia_configure()
557 pci_read_config_byte(pdev, SATA_INT_GATE, &tmp8); in svia_configure()
558 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
[all …]
Dlibata-sff.c2434 u8 tmp8, mask; in ata_pci_sff_activate_host() local
2437 pci_read_config_byte(pdev, PCI_CLASS_PROG, &tmp8); in ata_pci_sff_activate_host()
2439 if ((tmp8 & mask) != mask) in ata_pci_sff_activate_host()
Dlibata-scsi.c3588 u8 tmp8; in ata_scsi_simulate() local
3675 tmp8 = scsicmd[1] & ~(1 << 3); in ata_scsi_simulate()
3676 if ((tmp8 == 0x4) && (!scsicmd[3]) && (!scsicmd[4])) in ata_scsi_simulate()
Dlibata-core.c6433 u8 tmp8 = 0; in pci_test_config_bits() local
6434 pci_read_config_byte(pdev, bits->reg, &tmp8); in pci_test_config_bits()
6435 tmp = tmp8; in pci_test_config_bits()
/drivers/usb/misc/sisusbvga/
Dsisusb.c1456 u8 tmp8; in sisusb_triggersr16() local
1458 ret = GETIREG(SISSR, 0x16, &tmp8); in sisusb_triggersr16()
1460 tmp8 &= 0x3f; in sisusb_triggersr16()
1461 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1462 tmp8 |= 0x80; in sisusb_triggersr16()
1463 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1465 tmp8 |= 0xc0; in sisusb_triggersr16()
1466 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1467 tmp8 &= 0x0f; in sisusb_triggersr16()
1468 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
[all …]
/drivers/staging/rtl8712/
Dhal_init.c158 u8 tmp8, tmp8_a; in rtl8712_dl_fw() local
248 tmp8 = r8712_read8(padapter, SYS_CLKR); in rtl8712_dl_fw()
249 r8712_write8(padapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw()
251 if (tmp8_a != (tmp8 | BIT(2))) in rtl8712_dl_fw()
254 tmp8 = r8712_read8(padapter, SYS_FUNC_EN + 1); in rtl8712_dl_fw()
255 r8712_write8(padapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); in rtl8712_dl_fw()
257 if (tmp8_a != (tmp8 | BIT(2))) in rtl8712_dl_fw()
298 tmp8 = r8712_read8(padapter, 0x1025000A); in rtl8712_dl_fw()
299 if (tmp8 & BIT(4)) /* When boot from EEPROM, in rtl8712_dl_fw()
/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/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1022 u8 tmp8 = 0; in _rtl92ee_enable_aspm_back_door() local
1026 tmp8 = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 2); in _rtl92ee_enable_aspm_back_door()
1028 while (tmp8 && count < 20) { in _rtl92ee_enable_aspm_back_door()
1030 tmp8 = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 2); in _rtl92ee_enable_aspm_back_door()
1034 if (0 == tmp8) { in _rtl92ee_enable_aspm_back_door()
1043 tmp8 = rtl_read_byte(rtlpriv, in _rtl92ee_enable_aspm_back_door()
1046 while (tmp8 && count < 20) { in _rtl92ee_enable_aspm_back_door()
1048 tmp8 = rtl_read_byte(rtlpriv, in _rtl92ee_enable_aspm_back_door()
1057 tmp8 = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 2); in _rtl92ee_enable_aspm_back_door()
1059 while (tmp8 && count < 20) { in _rtl92ee_enable_aspm_back_door()
[all …]
/drivers/net/usb/
Dax88179_178a.c440 u8 tmp8; in ax88179_suspend() local
460 tmp8 = 0; in ax88179_suspend()
461 ax88179_write_cmd_nopm(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_suspend()
475 u8 tmp8; in ax88179_auto_detach() local
494 tmp8 = 0; in ax88179_auto_detach()
495 fnr(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_auto_detach()
496 tmp8 |= AX_CLK_SELECT_ULR; in ax88179_auto_detach()
497 fnw(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_auto_detach()
510 u8 tmp8; in ax88179_resume() local
529 ax88179_read_cmd_nopm(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_resume()
[all …]
/drivers/staging/comedi/drivers/
Ddt9812.c752 u8 tmp8; in dt9812_reset_device() local
758 ret = dt9812_read_info(dev, 0, &tmp8, sizeof(tmp8)); in dt9812_reset_device()
766 ret = dt9812_read_info(dev, 1, &tmp8, sizeof(tmp8)); in dt9812_reset_device()
/drivers/net/ethernet/sis/
Dsis190.c1547 u8 tmp8; in sis190_tx_timeout() local
1550 tmp8 = SIS_R8(TxControl); in sis190_tx_timeout()
1551 if (tmp8 & CmdTxEnb) in sis190_tx_timeout()
1552 SIS_W8(TxControl, tmp8 & ~CmdTxEnb); in sis190_tx_timeout()
1624 u8 reg, tmp8; in sis190_get_mac_addr_from_apc() local
1644 pci_read_config_byte(isa_bridge, 0x48, &tmp8); in sis190_get_mac_addr_from_apc()
1645 reg = (tmp8 & ~0x02); in sis190_get_mac_addr_from_apc()
1661 pci_write_config_byte(isa_bridge, 0x48, tmp8); in sis190_get_mac_addr_from_apc()
/drivers/block/
Dsx8.c1413 u8 tmp8; in carm_init_host() local
1420 tmp8 = readb(mmio + CARM_INITC); in carm_init_host()
1421 if (tmp8 & 0x01) { in carm_init_host()
1422 tmp8 &= ~0x01; in carm_init_host()
1423 writeb(tmp8, mmio + CARM_INITC); in carm_init_host()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1085 u8 tmp8 = 0; in _rtl8723be_enable_aspm_back_door() local
1125 tmp8 = _rtl8723be_dbi_read(rtlpriv, 0x70f); in _rtl8723be_enable_aspm_back_door()
1126 _rtl8723be_dbi_write(rtlpriv, 0x70f, tmp8 | BIT(7) | in _rtl8723be_enable_aspm_back_door()
1132 tmp8 = _rtl8723be_dbi_read(rtlpriv, 0x719); in _rtl8723be_enable_aspm_back_door()
1133 _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/b43/
Dphy_lp.c2416 u32 tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in lpphy_b2062_tune() local
2464 tmp8 = b43_radio_read(dev, B2062_S_RFPLL_CTL19); in lpphy_b2062_tune()
2465 tmp9 = ((2 * tmp3 * (tmp8 + 1)) + (3 * tmp1)) / (6 * tmp1); in lpphy_b2062_tune()
/drivers/net/wireless/ipw2x00/
Dipw2100.c3832 u8 tmp8; in show_hardware() local
3838 read_nic_byte(dev, nic_data[i].addr, &tmp8); in show_hardware()
3841 tmp8); in show_hardware()