Home
last modified time | relevance | path

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

/linux-6.6.21/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.c2286 u8 tmp8, mask = 0; in ata_pci_sff_activate_host() local
2296 pci_read_config_byte(pdev, PCI_CLASS_PROG, &tmp8); in ata_pci_sff_activate_host()
2301 if ((tmp8 & mask) != mask) in ata_pci_sff_activate_host()
Dlibata-scsi.c4261 u8 tmp8; in ata_scsi_simulate() local
4352 tmp8 = scsicmd[1] & ~(1 << 3); in ata_scsi_simulate()
4353 if (tmp8 != 0x4 || scsicmd[3] || scsicmd[4]) in ata_scsi_simulate()
Dlibata-core.c6185 u8 tmp8 = 0; in pci_test_config_bits() local
6186 pci_read_config_byte(pdev, bits->reg, &tmp8); in pci_test_config_bits()
6187 tmp = tmp8; in pci_test_config_bits()
/linux-6.6.21/net/caif/
Dcfserl.c60 u8 tmp8; in cfserl_receive() local
85 cfpkt_extr_head(pkt, &tmp8, 1); in cfserl_receive()
86 if (tmp8 != CFSERL_STX) { in cfserl_receive()
88 && tmp8 != CFSERL_STX) { in cfserl_receive()
89 cfpkt_extr_head(pkt, &tmp8, 1); in cfserl_receive()
182 u8 tmp8 = CFSERL_STX; in cfserl_transmit() local
184 cfpkt_add_head(newpkt, &tmp8, 1); in cfserl_transmit()
Dcfctrl.c206 u8 tmp8; in cfctrl_linkup_request() local
264 tmp8 = param->u.utility.paramlen; in cfctrl_linkup_request()
265 cfpkt_add_body(pkt, &tmp8, 1); in cfctrl_linkup_request()
/linux-6.6.21/drivers/usb/misc/sisusbvga/
Dsisusbvga.c1355 u8 tmp8; in sisusb_triggersr16() local
1357 ret = GETIREG(SISSR, 0x16, &tmp8); in sisusb_triggersr16()
1359 tmp8 &= 0x3f; in sisusb_triggersr16()
1360 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1361 tmp8 |= 0x80; in sisusb_triggersr16()
1362 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1364 tmp8 |= 0xc0; in sisusb_triggersr16()
1365 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1366 tmp8 &= 0x0f; in sisusb_triggersr16()
1367 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/arch/sparc/kernel/
Dpci_common.c59 u8 tmp8; in sun4u_read_pci_cfg_host() local
77 pci_config_read8((u8 *)addr, &tmp8); in sun4u_read_pci_cfg_host()
78 *value = (u32) tmp8; in sun4u_read_pci_cfg_host()
87 pci_config_read8((u8 *)addr, &tmp8); in sun4u_read_pci_cfg_host()
88 *value = (u32) tmp8; in sun4u_read_pci_cfg_host()
89 pci_config_read8(((u8 *)addr) + 1, &tmp8); in sun4u_read_pci_cfg_host()
90 *value |= ((u32) tmp8) << 8; in sun4u_read_pci_cfg_host()
116 u8 tmp8; in sun4u_read_pci_cfg() local
140 pci_config_read8((u8 *)addr, &tmp8); in sun4u_read_pci_cfg()
141 *value = (u32) tmp8; in sun4u_read_pci_cfg()
/linux-6.6.21/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 …]
/linux-6.6.21/arch/mips/sgi-ip22/
Dip22-gio.c269 u8 tmp8; in ip22_gio_id() local
287 if (get_dbe(tmp8, ptr8)) { in ip22_gio_id()
299 if (tmp8 == (tmp16 & 0xff) && in ip22_gio_id()
300 tmp8 == (tmp32 & 0xff) && in ip22_gio_id()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dbf.c346 u8 tmp8; in rtw_bf_phy_init() local
365 tmp8 = ack_policy << BIT_SHIFT_WMAC_TXMU_ACKPOLICY; in rtw_bf_phy_init()
366 tmp8 |= BIT_WMAC_TXMU_ACKPOLICY_EN; in rtw_bf_phy_init()
367 rtw_write8(rtwdev, REG_WMAC_MU_BF_OPTION, tmp8); in rtw_bf_phy_init()
/linux-6.6.21/sound/soc/codecs/
Dsta350.c1094 u8 tmp8; in sta350_probe_dt() local
1165 if (!of_property_read_u8(np, "st,powerdown-delay-divider", &tmp8)) { in sta350_probe_dt()
1166 if (is_power_of_2(tmp8) && tmp8 >= 1 && tmp8 <= 128) in sta350_probe_dt()
1167 pdata->powerdown_delay_divider = ilog2(tmp8); in sta350_probe_dt()
1170 tmp8); in sta350_probe_dt()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/comedi/drivers/
Ddt9812.c742 u8 tmp8; in dt9812_reset_device() local
748 ret = dt9812_read_info(dev, 0, &tmp8, sizeof(tmp8)); in dt9812_reset_device()
756 ret = dt9812_read_info(dev, 1, &tmp8, sizeof(tmp8)); in dt9812_reset_device()
/linux-6.6.21/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()
1635 u8 reg, tmp8; in sis190_get_mac_addr_from_apc() local
1655 pci_read_config_byte(isa_bridge, 0x48, &tmp8); in sis190_get_mac_addr_from_apc()
1656 reg = (tmp8 & ~0x02); in sis190_get_mac_addr_from_apc()
1673 pci_write_config_byte(isa_bridge, 0x48, tmp8); in sis190_get_mac_addr_from_apc()
/linux-6.6.21/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()
/linux-6.6.21/drivers/video/fbdev/i810/
Di810_main.c328 u8 tmp8; in i810_load_2d() local
339 tmp8 = i810_readb(GR_DATA, mmio); in i810_load_2d()
340 tmp8 |= 2; in i810_load_2d()
342 i810_writeb(GR_DATA, mmio, tmp8); in i810_load_2d()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c3810 u8 tmp8; in hardware_show() local
3816 read_nic_byte(dev, nic_data[i].addr, &tmp8); in hardware_show()
3819 tmp8); in hardware_show()