Home
last modified time | relevance | path

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

/linux/drivers/net/phy/mscc/
H A 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/drivers/gpu/host1x/hw/
H A 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/tools/testing/selftests/bpf/
H A Dveristat.c2912 long base_val = 0, comp_val = 0, diff_val = 0; in output_comp_stats() local
2914 prepare_value(base, id, &base_str, &base_val); in output_comp_stats()
2937 snprintf(base_buf, sizeof(base_buf), "%ld", base_val); in output_comp_stats()
2945 diff_val = comp_val - base_val; in output_comp_stats()
2949 if (base_val == 0) { in output_comp_stats()
2950 if (comp_val == base_val) in output_comp_stats()
2953 p = comp_val < base_val ? -100.0 : 100.0; in output_comp_stats()
2955 p = diff_val * 100.0 / base_val; in output_comp_stats()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A 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/drivers/net/ethernet/chelsio/cxgb3/
H A 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/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c2749 u8 *vpd, base_val = 0; in t4_get_raw_vpd_params() local
2758 ret = pci_read_vpd(adapter->pdev, VPD_BASE, 1, &base_val); in t4_get_raw_vpd_params()
2762 addr = base_val == PCI_VPD_LRDT_ID_STRING ? VPD_BASE : VPD_BASE_OLD; in t4_get_raw_vpd_params()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c4188 u32 base_val; in tg3_power_down_prepare() local
4190 base_val = tp->pci_clock_ctrl; in tg3_power_down_prepare()
4191 base_val |= (CLOCK_CTRL_RXCLK_DISABLE | in tg3_power_down_prepare()
4194 tw32_wait_f(TG3PCI_CLOCK_CTRL, base_val | CLOCK_CTRL_ALTCLK | in tg3_power_down_prepare()