/kernel/linux/linux-5.10/drivers/ata/ |
D | sata_via.c | 537 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 …]
|
D | libata-sff.c | 2377 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()
|
D | libata-scsi.c | 4143 u8 tmp8; in ata_scsi_simulate() local 4228 tmp8 = scsicmd[1] & ~(1 << 3); in ata_scsi_simulate() 4229 if (tmp8 != 0x4 || scsicmd[3] || scsicmd[4]) in ata_scsi_simulate()
|
D | libata-core.c | 6015 u8 tmp8 = 0; in pci_test_config_bits() local 6016 pci_read_config_byte(pdev, bits->reg, &tmp8); in pci_test_config_bits() 6017 tmp = tmp8; in pci_test_config_bits()
|
/kernel/linux/linux-5.10/net/caif/ |
D | cfserl.c | 60 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() 183 u8 tmp8 = CFSERL_STX; in cfserl_transmit() local 185 cfpkt_add_head(newpkt, &tmp8, 1); in cfserl_transmit()
|
D | cfctrl.c | 206 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | hal_init.c | 159 u8 tmp8, tmp8_a; in rtl8712_dl_fw() local 250 tmp8 = r8712_read8(adapter, SYS_CLKR); in rtl8712_dl_fw() 251 r8712_write8(adapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw() 253 if (tmp8_a != (tmp8 | BIT(2))) in rtl8712_dl_fw() 256 tmp8 = r8712_read8(adapter, SYS_FUNC_EN + 1); in rtl8712_dl_fw() 257 r8712_write8(adapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); in rtl8712_dl_fw() 259 if (tmp8_a != (tmp8 | BIT(2))) in rtl8712_dl_fw() 300 tmp8 = r8712_read8(adapter, 0x1025000A); in rtl8712_dl_fw() 301 if (tmp8 & BIT(4)) /* When boot from EEPROM, in rtl8712_dl_fw()
|
/kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 1413 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 …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | pci_common.c | 58 u8 tmp8; in sun4u_read_pci_cfg_host() local 76 pci_config_read8((u8 *)addr, &tmp8); in sun4u_read_pci_cfg_host() 77 *value = (u32) tmp8; in sun4u_read_pci_cfg_host() 86 pci_config_read8((u8 *)addr, &tmp8); in sun4u_read_pci_cfg_host() 87 *value = (u32) tmp8; in sun4u_read_pci_cfg_host() 88 pci_config_read8(((u8 *)addr) + 1, &tmp8); in sun4u_read_pci_cfg_host() 89 *value |= ((u32) tmp8) << 8; in sun4u_read_pci_cfg_host() 115 u8 tmp8; in sun4u_read_pci_cfg() local 139 pci_config_read8((u8 *)addr, &tmp8); in sun4u_read_pci_cfg() 140 *value = (u32) tmp8; in sun4u_read_pci_cfg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
D | 8139too.c | 760 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 …]
|
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
D | ip22-gio.c | 270 u8 tmp8; in ip22_gio_id() local 288 if (get_dbe(tmp8, ptr8)) { in ip22_gio_id() 300 if (tmp8 == (tmp16 & 0xff) && in ip22_gio_id() 301 tmp8 == (tmp32 & 0xff) && in ip22_gio_id()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 1021 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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | bf.c | 341 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()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | sta350.c | 1098 u8 tmp8; in sta350_probe_dt() local 1176 if (!of_property_read_u8(np, "st,powerdown-delay-divider", &tmp8)) { in sta350_probe_dt() 1177 if (is_power_of_2(tmp8) && tmp8 >= 1 && tmp8 <= 128) in sta350_probe_dt() 1178 pdata->powerdown_delay_divider = ilog2(tmp8); in sta350_probe_dt() 1181 tmp8); in sta350_probe_dt()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | ax88179_178a.c | 429 u8 tmp8; in ax88179_suspend() local 449 tmp8 = 0; in ax88179_suspend() 450 ax88179_write_cmd_nopm(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_suspend() 464 u8 tmp8; in ax88179_auto_detach() local 483 tmp8 = 0; in ax88179_auto_detach() 484 fnr(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_auto_detach() 485 tmp8 |= AX_CLK_SELECT_ULR; in ax88179_auto_detach() 486 fnw(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_auto_detach() 499 u8 tmp8; in ax88179_resume() local 518 ax88179_read_cmd_nopm(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_resume() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | dt9812.c | 743 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/ |
D | sis190.c | 1555 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()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | sx8.c | 1260 u8 tmp8; in carm_init_host() local 1267 tmp8 = readb(mmio + CARM_INITC); in carm_init_host() 1268 if (tmp8 & 0x01) { in carm_init_host() 1269 tmp8 &= ~0x01; in carm_init_host() 1270 writeb(tmp8, mmio + CARM_INITC); in carm_init_host()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 1067 u8 tmp8 = 0; in _rtl8723be_enable_aspm_back_door() local 1107 tmp8 = _rtl8723be_dbi_read(rtlpriv, 0x70f); in _rtl8723be_enable_aspm_back_door() 1108 _rtl8723be_dbi_write(rtlpriv, 0x70f, tmp8 | BIT(7) | in _rtl8723be_enable_aspm_back_door() 1114 tmp8 = _rtl8723be_dbi_read(rtlpriv, 0x719); in _rtl8723be_enable_aspm_back_door() 1115 _rtl8723be_dbi_write(rtlpriv, 0x719, tmp8 | BIT(3) | BIT(4)); in _rtl8723be_enable_aspm_back_door()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
D | i810_main.c | 327 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 2393 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 3821 u8 tmp8; in show_hardware() local 3827 read_nic_byte(dev, nic_data[i].addr, &tmp8); in show_hardware() 3830 tmp8); in show_hardware()
|