Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pci/controller/
Dpci-thunder-ecam.c16 static void set_val(u32 v, int where, int size, u32 *val) in set_val() function
39 set_val(e0, where, size, val); in handle_ea_bar()
50 set_val(v, where, size, val); in handle_ea_bar()
68 set_val(v, where, size, val); in handle_ea_bar()
77 set_val(v, where, size, val); in handle_ea_bar()
117 set_val(v, where, size, val); in thunder_ecam_p2_config_read()
197 set_val(v, where, size, val); in thunder_ecam_config_read()
209 set_val(v, where, size, val); in thunder_ecam_config_read()
221 set_val(v, where, size, val); in thunder_ecam_config_read()
265 set_val(v, where, size, val); in thunder_ecam_config_read()
[all …]
/linux-6.6.21/drivers/pinctrl/visconti/
Dpinctrl-common.c46 unsigned int val, set_val, pude_val; in visconti_pin_config_set() local
54 set_val = 0; in visconti_pin_config_set()
60 set_val = 1; in visconti_pin_config_set()
66 val |= set_val << pin->pud_shift; in visconti_pin_config_set()
99 set_val = DIV_ROUND_CLOSEST(arg, 2) - 1; in visconti_pin_config_set()
108 val |= set_val << pin->dsel_shift; in visconti_pin_config_set()
/linux-6.6.21/drivers/ata/
Dahci_sunxi.c62 static void sunxi_setbits(void __iomem *reg, u32 set_val) in sunxi_setbits() argument
67 reg_val |= set_val; in sunxi_setbits()
71 static void sunxi_clrsetbits(void __iomem *reg, u32 clr_val, u32 set_val) in sunxi_clrsetbits() argument
77 reg_val |= set_val; in sunxi_clrsetbits()
/linux-6.6.21/drivers/clk/x86/
Dclk-cgu.h301 u8 shift, u8 width, u32 set_val) in lgm_set_clk_val() argument
305 regmap_update_bits(membase, reg, mask, set_val << shift); in lgm_set_clk_val()
/linux-6.6.21/drivers/net/ethernet/hisilicon/
Dhns_mdio.c146 u32 cfg_reg, u32 set_val, in mdio_sc_cfg_reg_write() argument
153 regmap_write(mdio_dev->subctrl_vbase, cfg_reg, set_val); in mdio_sc_cfg_reg_write()
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpsw_new.c1487 int set_val = 0; in cpsw_port_offload_fwd_mark_update() local
1492 set_val = 1; in cpsw_port_offload_fwd_mark_update()
1494 dev_dbg(cpsw->dev, "set offload_fwd_mark %d\n", set_val); in cpsw_port_offload_fwd_mark_update()
1500 priv->offload_fwd_mark = set_val; in cpsw_port_offload_fwd_mark_update()
Dam65-cpsw-nuss.c2275 int set_val = 0; in am65_cpsw_port_offload_fwd_mark_update() local
2279 set_val = 1; in am65_cpsw_port_offload_fwd_mark_update()
2281 dev_dbg(common->dev, "set offload_fwd_mark %d\n", set_val); in am65_cpsw_port_offload_fwd_mark_update()
2291 priv->offload_fwd_mark = set_val; in am65_cpsw_port_offload_fwd_mark_update()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c359 u32 set_val = val & ~mask; in offload_pedit() local
371 memcpy((u8 *)fs + offset, &set_val, size); in offload_pedit()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c1047 void halbtc_set_bt_reg(void *btc_context, u8 reg_type, u32 offset, u32 set_val) in halbtc_set_bt_reg() argument
1054 *((__le16 *)&cmd_buffer1[2]) = cpu_to_le16((u16)set_val); in halbtc_set_bt_reg()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c3000 u32 delay_idx = 0, val, set_val = b_enable ? 1 : 0; in qed_pglueb_set_pfid_enable() local
3003 qed_wr(p_hwfn, p_ptt, PGLUE_B_REG_INTERNAL_PFID_ENABLE_MASTER, set_val); in qed_pglueb_set_pfid_enable()
3009 if (val == set_val) in qed_pglueb_set_pfid_enable()
3015 if (val != set_val) { in qed_pglueb_set_pfid_enable()
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c4387 unsigned int set_val; in debugfs_phy_down_cnt_v3_hw_write() local
4390 res = kstrtouint_from_user(buf, count, 0, &set_val); in debugfs_phy_down_cnt_v3_hw_write()
4394 if (set_val > 0) in debugfs_phy_down_cnt_v3_hw_write()