| /linux-6.15/drivers/net/ethernet/freescale/ |
| H A D | gianfar.c | 333 u32 tempval; in gfar_set_hash_for_addr() local 354 u32 tempval; in gfar_set_mac_for_addr() local 1015 u32 tempval; in gfar_halt_nodisable() local 1048 u32 tempval; in gfar_halt() local 1179 u32 tempval; in gfar_start() local 1515 tempval = in gfar_update_link_state() 1522 tempval = in gfar_update_link_state() 2956 u32 tempval; in gfar_set_multi() local 3040 u32 tempval; in gfar_mac_reset() local 3460 u32 tempval; in gfar_start_wol_filer() local [all …]
|
| H A D | fec_ptp.c | 103 u32 tempval; in fec_ptp_read() local 105 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 106 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_read() 107 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 125 u32 val, tempval; in fec_ptp_enable_pps() local 161 tempval = fec_ptp_read(&fep->cc); in fec_ptp_enable_pps() 163 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps() 169 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; in fec_ptp_enable_pps()
|
| H A D | gianfar_ethtool.c | 494 u32 tempval = gfar_read(®s->maccfg1); in gfar_spauseparam() local 496 tempval &= ~(MACCFG1_TX_FLOW | MACCFG1_RX_FLOW); in gfar_spauseparam() 501 tempval |= MACCFG1_TX_FLOW; in gfar_spauseparam() 505 tempval |= MACCFG1_RX_FLOW; in gfar_spauseparam() 506 gfar_write(®s->maccfg1, tempval); in gfar_spauseparam()
|
| /linux-6.15/drivers/media/pci/cx23885/ |
| H A D | cx23885-417.c | 377 u32 tempval; in mc417_register_read() local 425 tempval = cx_read(MC417_RWD); in mc417_register_read() 426 dataval = tempval & 0x000000FF; in mc417_register_read() 437 tempval = cx_read(MC417_RWD); in mc417_register_read() 447 tempval = cx_read(MC417_RWD); in mc417_register_read() 457 tempval = cx_read(MC417_RWD); in mc417_register_read() 535 u32 tempval; in mc417_memory_read() local 579 tempval = cx_read(MC417_RWD); in mc417_memory_read() 591 tempval = cx_read(MC417_RWD); in mc417_memory_read() 601 tempval = cx_read(MC417_RWD); in mc417_memory_read() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| H A D | hw.c | 865 u8 tempval; in _rtl92se_macconfig_after_fwdownload() local 868 tempval &= 0xFE; in _rtl92se_macconfig_after_fwdownload() 1638 u8 tempval; in _rtl92se_read_adapter_info() local 1839 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info() 1854 (tempval & 0xF); in _rtl92se_read_adapter_info() 1856 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info() 1942 if (tempval == 0) in _rtl92se_read_adapter_info() 1944 else if (tempval == 1) in _rtl92se_read_adapter_info() 1946 else if (tempval == 2) in _rtl92se_read_adapter_info() 1948 else if (tempval == 3) in _rtl92se_read_adapter_info() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | hw_common.c | 509 u8 tempval[2], i, pwr, diff; in _rtl92d_read_txpower_info() local 539 tempval[0] = 3; in _rtl92d_read_txpower_info() 540 tempval[1] = tempval[0]; in _rtl92d_read_txpower_info() 560 switch (tempval[i]) { in _rtl92d_read_txpower_info() 562 tempval[i] = 5; in _rtl92d_read_txpower_info() 565 tempval[i] = 4; in _rtl92d_read_txpower_info() 568 tempval[i] = 3; in _rtl92d_read_txpower_info() 572 tempval[i] = 0; in _rtl92d_read_txpower_info() 577 rtlefuse->delta_iqk = tempval[0]; in _rtl92d_read_txpower_info() 578 if (tempval[1] > 0) in _rtl92d_read_txpower_info() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | hw.c | 1390 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local 1413 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1415 (tempval & 0xf); in _rtl8723e_read_txpower_info_from_hwpg() 1417 ((tempval & 0xf0) >> 4); in _rtl8723e_read_txpower_info_from_hwpg() 1521 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1525 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg() 1538 tempval = EEPROM_DEFAULT_LEGACYHTTXPOWERDIFF; in _rtl8723e_read_txpower_info_from_hwpg() 1542 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg() 1583 tempval = hwinfo[EEPROM_THERMAL_METER]; in _rtl8723e_read_txpower_info_from_hwpg() 1585 tempval = EEPROM_DEFAULT_THERMALMETER; in _rtl8723e_read_txpower_info_from_hwpg() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| H A D | hw.c | 104 u8 rf_path, index, tempval; in _rtl92cu_read_txpower_info_from_hwpg() local 129 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92cu_read_txpower_info_from_hwpg() 131 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92cu_read_txpower_info_from_hwpg() 133 (tempval & 0xf); in _rtl92cu_read_txpower_info_from_hwpg() 135 ((tempval & 0xf0) >> 4); in _rtl92cu_read_txpower_info_from_hwpg() 233 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92cu_read_txpower_info_from_hwpg() 236 ((tempval >> 4) & 0xF); in _rtl92cu_read_txpower_info_from_hwpg() 245 tempval = EEPROM_DEFAULT_LEGACYHTTXPOWERDIFF; in _rtl92cu_read_txpower_info_from_hwpg() 248 ((tempval >> 4) & 0xF); in _rtl92cu_read_txpower_info_from_hwpg() 286 tempval = hwinfo[EEPROM_THERMAL_METER]; in _rtl92cu_read_txpower_info_from_hwpg() [all …]
|
| /linux-6.15/drivers/staging/rtl8723bs/hal/ |
| H A D | rtl8723b_hal_init.c | 609 u8 tempval; in Hal_EfusePowerSwitch() local 621 tempval &= ~BIT(0); in Hal_EfusePowerSwitch() 627 tempval &= 0x3; in Hal_EfusePowerSwitch() 628 if (tempval == 0x02) in Hal_EfusePowerSwitch() 657 tempval = rtw_read8(padapter, EFUSE_TEST+3); in Hal_EfusePowerSwitch() 658 tempval &= 0x0F; in Hal_EfusePowerSwitch() 659 tempval |= (VOLTAGE_V25 << 4); in Hal_EfusePowerSwitch() 669 tempval = rtw_read8(padapter, EFUSE_TEST+3); in Hal_EfusePowerSwitch() 1734 u8 tempval; in Hal_EfuseParseBTCoexistInfo_8723B() local 1747 if (tempval != 0xFF) { in Hal_EfuseParseBTCoexistInfo_8723B() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A D | hw.c | 1421 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local 1452 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1454 (tempval & 0xf); in _rtl92ce_read_txpower_info_from_hwpg() 1456 ((tempval & 0xf0) >> 4); in _rtl92ce_read_txpower_info_from_hwpg() 1570 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1574 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg() 1588 tempval = EEPROM_DEFAULT_LEGACYHTTXPOWERDIFF; in _rtl92ce_read_txpower_info_from_hwpg() 1592 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg() 1636 tempval = hwinfo[EEPROM_THERMAL_METER]; in _rtl92ce_read_txpower_info_from_hwpg() 1638 tempval = EEPROM_DEFAULT_THERMALMETER; in _rtl92ce_read_txpower_info_from_hwpg() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | efuse.c | 1103 u8 tempval; in efuse_power_switch() local 1142 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1147 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); in efuse_power_switch() 1148 tempval |= (VOLTAGE_V25 << 3); in efuse_power_switch() 1150 tempval &= 0x0F; in efuse_power_switch() 1151 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch() 1156 (tempval | 0x80)); in efuse_power_switch() 1170 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch() 1175 (tempval & 0x7F)); in efuse_power_switch()
|
| /linux-6.15/drivers/soc/fsl/qe/ |
| H A D | qe.c | 212 u32 divisor, tempval; in qe_setbrg() local 232 tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | in qe_setbrg() 235 iowrite32be(tempval, &qe_immr->brg.brgc[brg - QE_BRG1]); in qe_setbrg()
|