Home
last modified time | relevance | path

Searched refs:chan_val (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/iio/temperature/
Dltc2983.c234 __be32 chan_val; member
348 u32 chan_val) in __ltc2983_chan_assign_common() argument
352 chan_val |= LTC2983_CHAN_TYPE(sensor->type); in __ltc2983_chan_assign_common()
354 chan_val); in __ltc2983_chan_assign_common()
355 st->chan_val = cpu_to_be32(chan_val); in __ltc2983_chan_assign_common()
356 return regmap_bulk_write(st->regmap, reg, &st->chan_val, in __ltc2983_chan_assign_common()
357 sizeof(st->chan_val)); in __ltc2983_chan_assign_common()
362 u32 *chan_val) in __ltc2983_chan_custom_sensor_assign() argument
404 *chan_val |= LTC2983_CUSTOM_LEN(len); in __ltc2983_chan_custom_sensor_assign()
405 *chan_val |= LTC2983_CUSTOM_ADDR(custom->offset); in __ltc2983_chan_custom_sensor_assign()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c1019 u64 chan_val, u64 chan_mask, u16 pcifunc) in rvu_npc_exact_save_drop_rule_chan_and_mask() argument
1030 if (table->drop_rule_map[i].chan_val != (u16)chan_val) in rvu_npc_exact_save_drop_rule_chan_and_mask()
1043 table->drop_rule_map[i].chan_val = (u16)chan_val; in rvu_npc_exact_save_drop_rule_chan_and_mask()
1064 u16 chan_val, chan_mask; in rvu_npc_exact_calc_drop_rule_chan_and_mask() local
1070 chan_val = rvu_nix_chan_cgx(rvu, cgx_id, lmac_id, 0); in rvu_npc_exact_calc_drop_rule_chan_and_mask()
1074 *val = chan_val; in rvu_npc_exact_calc_drop_rule_chan_and_mask()
1130 u64 chan_val, chan_mask; in rvu_npc_exact_get_drop_rule_info() local
1142 lmac_id, &chan_val, &chan_mask); in rvu_npc_exact_get_drop_rule_info()
1150 if (table->drop_rule_map[i].chan_val != (u16)chan_val) in rvu_npc_exact_get_drop_rule_info()
1154 *val = table->drop_rule_map[i].chan_val; in rvu_npc_exact_get_drop_rule_info()
[all …]
Drvu_npc_hash.h193 u16 chan_val; member
Drvu_npc_fs.c1592 u64 chan_val, u64 chan_mask, u64 exact_val, u64 exact_mask, in npc_install_mcam_drop_rule() argument
1634 rule->chan = chan_val; in npc_install_mcam_drop_rule()
1657 npc_update_entry(rvu, NPC_CHAN, &req.entry_data, chan_val, 0, in npc_install_mcam_drop_rule()
Drvu.h918 u64 chan_val, u64 chan_mask, u64 exact_val, u64 exact_mask,
/Linux-v6.6/drivers/iio/adc/
Dbcm_iproc_adc.c113 int chan_val; member
198 &adc_priv->chan_val); in iproc_adc_interrupt_handler()
241 adc_priv->chan_val = -1; in iproc_adc_do_read()
319 *p_adc_data = adc_priv->chan_val & 0xFFFF; in iproc_adc_do_read()
367 adc_priv->chan_val = -1; in iproc_adc_enable()