Home
last modified time | relevance | path

Searched refs:tempval (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/freescale/
A Dgianfar.c333 u32 tempval; in gfar_set_hash_for_addr() local
354 u32 tempval; in gfar_set_mac_for_addr() local
1013 u32 tempval; in gfar_halt_nodisable() local
1046 u32 tempval; in gfar_halt() local
1177 u32 tempval; in gfar_start() local
1513 tempval = in gfar_update_link_state()
1520 tempval = in gfar_update_link_state()
2963 u32 tempval; in gfar_set_multi() local
3047 u32 tempval; in gfar_mac_reset() local
3469 u32 tempval; in gfar_start_wol_filer() local
[all …]
A Dfec_ptp.c104 u32 val, tempval; in fec_ptp_enable_pps() local
141 tempval = fep->cc.read(&fep->cc); in fec_ptp_enable_pps()
143 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
149 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; in fec_ptp_enable_pps()
288 u32 tempval; in fec_ptp_read() local
290 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
291 tempval |= FEC_T_CTRL_CAPTURE; in fec_ptp_read()
292 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
A Dgianfar_ethtool.c490 u32 tempval = gfar_read(&regs->maccfg1); in gfar_spauseparam() local
492 tempval &= ~(MACCFG1_TX_FLOW | MACCFG1_RX_FLOW); in gfar_spauseparam()
497 tempval |= MACCFG1_TX_FLOW; in gfar_spauseparam()
501 tempval |= MACCFG1_RX_FLOW; in gfar_spauseparam()
502 gfar_write(&regs->maccfg1, tempval); in gfar_spauseparam()
A Ducc_geth.c1569 u32 tempval = in_be32(&ug_regs->maccfg2); in adjust_link() local
1576 tempval &= ~(MACCFG2_FDX); in adjust_link()
1578 tempval |= MACCFG2_FDX; in adjust_link()
1586 tempval = ((tempval & in adjust_link()
1592 tempval = ((tempval & in adjust_link()
1634 out_be32(&ug_regs->maccfg2, tempval); in adjust_link()
/linux-6.3-rc2/drivers/media/pci/cx23885/
A Dcx23885-417.c377 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dhw.c865 u8 tempval; in _rtl92se_macconfig_after_fwdownload() local
868 tempval &= 0xFE; in _rtl92se_macconfig_after_fwdownload()
1647 u8 tempval; in _rtl92se_read_adapter_info() local
1848 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info()
1863 (tempval & 0xF); in _rtl92se_read_adapter_info()
1865 ((tempval >> 4) & 0xF); in _rtl92se_read_adapter_info()
1951 if (tempval == 0) in _rtl92se_read_adapter_info()
1953 else if (tempval == 1) in _rtl92se_read_adapter_info()
1955 else if (tempval == 2) in _rtl92se_read_adapter_info()
1957 else if (tempval == 3) in _rtl92se_read_adapter_info()
[all …]
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Drtl8723b_hal_init.c613 u8 tempval; in Hal_BT_EfusePowerSwitch() local
618 tempval |= BIT(6); in Hal_BT_EfusePowerSwitch()
627 tempval &= ~BIT(7); in Hal_BT_EfusePowerSwitch()
633 tempval |= BIT(7); in Hal_BT_EfusePowerSwitch()
642 tempval &= ~BIT(6); in Hal_BT_EfusePowerSwitch()
651 u8 tempval; in Hal_EfusePowerSwitch() local
663 tempval &= ~BIT(0); in Hal_EfusePowerSwitch()
669 tempval &= 0x3; in Hal_EfusePowerSwitch()
670 if (tempval == 0x02) in Hal_EfusePowerSwitch()
700 tempval &= 0x0F; in Hal_EfusePowerSwitch()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dhw.c1395 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local
1418 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl8723e_read_txpower_info_from_hwpg()
1420 (tempval & 0xf); in _rtl8723e_read_txpower_info_from_hwpg()
1422 ((tempval & 0xf0) >> 4); in _rtl8723e_read_txpower_info_from_hwpg()
1526 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl8723e_read_txpower_info_from_hwpg()
1530 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg()
1543 tempval = EEPROM_DEFAULT_LEGACYHTTXPOWERDIFF; in _rtl8723e_read_txpower_info_from_hwpg()
1547 ((tempval >> 4) & 0xF); in _rtl8723e_read_txpower_info_from_hwpg()
1588 tempval = hwinfo[EEPROM_THERMAL_METER]; in _rtl8723e_read_txpower_info_from_hwpg()
1590 tempval = EEPROM_DEFAULT_THERMALMETER; in _rtl8723e_read_txpower_info_from_hwpg()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dhw.c1426 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local
1454 tempval = EEPROM_DEFAULT_HT40_2SDIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1456 (tempval & 0xf); in _rtl92ce_read_txpower_info_from_hwpg()
1458 ((tempval & 0xf0) >> 4); in _rtl92ce_read_txpower_info_from_hwpg()
1569 tempval = EEPROM_DEFAULT_HT20_DIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1573 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg()
1586 tempval = EEPROM_DEFAULT_LEGACYHTTXPOWERDIFF; in _rtl92ce_read_txpower_info_from_hwpg()
1590 ((tempval >> 4) & 0xF); in _rtl92ce_read_txpower_info_from_hwpg()
1632 tempval = hwinfo[EEPROM_THERMAL_METER]; in _rtl92ce_read_txpower_info_from_hwpg()
1634 tempval = EEPROM_DEFAULT_THERMALMETER; in _rtl92ce_read_txpower_info_from_hwpg()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dhw.c104 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dhw.c1544 u8 tempval[2], i, pwr, diff; in _rtl92de_read_txpower_info() local
1554 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info()
1574 tempval[0] = tempval[1] = 3; in _rtl92de_read_txpower_info()
1593 switch (tempval[i]) { in _rtl92de_read_txpower_info()
1595 tempval[i] = 5; in _rtl92de_read_txpower_info()
1598 tempval[i] = 4; in _rtl92de_read_txpower_info()
1601 tempval[i] = 3; in _rtl92de_read_txpower_info()
1605 tempval[i] = 0; in _rtl92de_read_txpower_info()
1610 rtlefuse->delta_iqk = tempval[0]; in _rtl92de_read_txpower_info()
1611 if (tempval[1] > 0) in _rtl92de_read_txpower_info()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/
A Defuse.c1094 u8 tempval; in efuse_power_switch() local
1133 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch()
1138 tempval &= ~(BIT(3) | BIT(4) | BIT(5) | BIT(6)); in efuse_power_switch()
1139 tempval |= (VOLTAGE_V25 << 3); in efuse_power_switch()
1141 tempval &= 0x0F; in efuse_power_switch()
1142 tempval |= (VOLTAGE_V25 << 4); in efuse_power_switch()
1147 (tempval | 0x80)); in efuse_power_switch()
1161 tempval = rtl_read_byte(rtlpriv, in efuse_power_switch()
1166 (tempval & 0x7F)); in efuse_power_switch()
/linux-6.3-rc2/drivers/soc/fsl/qe/
A Dqe.c211 u32 divisor, tempval; in qe_setbrg() local
231 tempval = ((divisor - 1) << QE_BRGC_DIVISOR_SHIFT) | in qe_setbrg()
234 iowrite32be(tempval, &qe_immr->brg.brgc[brg - QE_BRG1]); in qe_setbrg()
/linux-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/
A Dr8192E_dev.c280 u8 tempval; in _rtl92e_read_eeprom_info() local
350 tempval = (rtl92e_eeprom_read(dev, in _rtl92e_read_eeprom_info()
352 priv->eeprom_legacy_ht_tx_pwr_diff = tempval & 0xf; in _rtl92e_read_eeprom_info()
354 if (tempval&0x80) in _rtl92e_read_eeprom_info()

Completed in 89 milliseconds