Home
last modified time | relevance | path

Searched refs:base_val (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/net/phy/mscc/
Dmscc_serdes.c119 u32 base_val; in vsc85xx_sd6g_ib_cfg0_wr() local
124 base_val = 0x60a85837; in vsc85xx_sd6g_ib_cfg0_wr()
126 reg_val = base_val | (ib_rtrm_adj << 25) | in vsc85xx_sd6g_ib_cfg0_wr()
168 u32 base_val; in vsc85xx_sd6g_ib_cfg2_wr() local
172 base_val = 0x0f878010; in vsc85xx_sd6g_ib_cfg2_wr()
174 ib_cfg2_val = base_val | ((ib_tinfv) << 28) | ((ib_tcalv) << 5) | in vsc85xx_sd6g_ib_cfg2_wr()
292 u32 base_val; in vsc85xx_pll5g_cfg0_wr() local
297 base_val = 0x7036f145; in vsc85xx_pll5g_cfg0_wr()
299 reg_val = base_val | (selbgv820 << 23); in vsc85xx_pll5g_cfg0_wr()
/linux-6.6.21/drivers/gpu/host1x/
Ddebug.c113 u32 base_val; in show_syncpts() local
115 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
116 if (base_val) in show_syncpts()
118 base_val); in show_syncpts()
Dsyncpt.h36 u32 base_val; member
Dsyncpt.c200 return sp->base_val; in host1x_syncpt_load_wait_base()
/linux-6.6.21/drivers/gpu/host1x/hw/
Dsyncpt_hw.c32 host1x_sync_writel(host, sp->base_val, in syncpt_restore_wait_base()
45 sp->base_val = in syncpt_read_wait_base()
/linux-6.6.21/tools/testing/selftests/bpf/
Dveristat.c1613 long base_val = 0, comp_val = 0, diff_val = 0; in output_comp_stats() local
1615 prepare_value(base, id, &base_str, &base_val); in output_comp_stats()
1638 snprintf(base_buf, sizeof(base_buf), "%ld", base_val); in output_comp_stats()
1646 diff_val = comp_val - base_val; in output_comp_stats()
1650 if (base_val == 0) { in output_comp_stats()
1651 if (comp_val == base_val) in output_comp_stats()
1654 p = comp_val < base_val ? -100.0 : 100.0; in output_comp_stats()
1656 p = diff_val * 100.0 / base_val; in output_comp_stats()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c410 u8 end, u8 base_val) in _phy_convert_txpower_dbm_to_relative_value() argument
423 temp_value = (temp_value > base_val) ? in _phy_convert_txpower_dbm_to_relative_value()
424 temp_value - base_val : in _phy_convert_txpower_dbm_to_relative_value()
425 base_val - temp_value; in _phy_convert_txpower_dbm_to_relative_value()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c649 u8 base_val = 0; in get_vpd_params() local
656 ret = pci_read_vpd(adapter->pdev, VPD_BASE, 1, &base_val); in get_vpd_params()
659 addr = base_val == PCI_VPD_LRDT_ID_STRING ? VPD_BASE : 0; in get_vpd_params()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1102 u8 end, u8 base_val) in _phy_convert_txpower_dbm_to_relative_value() argument
1115 temp_value = (temp_value > base_val) ? temp_value - in _phy_convert_txpower_dbm_to_relative_value()
1116 base_val : base_val - temp_value; in _phy_convert_txpower_dbm_to_relative_value()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2748 u8 *vpd, base_val = 0; in t4_get_raw_vpd_params() local
2757 ret = pci_read_vpd(adapter->pdev, VPD_BASE, 1, &base_val); in t4_get_raw_vpd_params()
2761 addr = base_val == PCI_VPD_LRDT_ID_STRING ? VPD_BASE : VPD_BASE_OLD; in t4_get_raw_vpd_params()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dtg3.c4187 u32 base_val; in tg3_power_down_prepare() local
4189 base_val = tp->pci_clock_ctrl; in tg3_power_down_prepare()
4190 base_val |= (CLOCK_CTRL_RXCLK_DISABLE | in tg3_power_down_prepare()
4193 tw32_wait_f(TG3PCI_CLOCK_CTRL, base_val | CLOCK_CTRL_ALTCLK | in tg3_power_down_prepare()