Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/gpu/host1x/
H A 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()
H A Dsyncpt.h36 u32 base_val; member
H A Dsyncpt.c200 return sp->base_val; in host1x_syncpt_load_wait_base()
/openbmc/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()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
/openbmc/qemu/target/hexagon/
H A Dgenptr.c138 TCGv base_val = tcg_temp_new(); in gen_log_pred_write() local
140 tcg_gen_andi_tl(base_val, val, 0xff); in gen_log_pred_write()
150 tcg_gen_mov_tl(pred, base_val); in gen_log_pred_write()
152 tcg_gen_and_tl(pred, pred, base_val); in gen_log_pred_write()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
/openbmc/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()