Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/temperature/
Dltc2983.c318 u32 chan_val) in __ltc2983_chan_assign_common() argument
323 chan_val |= LTC2983_CHAN_TYPE(sensor->type); in __ltc2983_chan_assign_common()
325 chan_val); in __ltc2983_chan_assign_common()
326 __chan_val = cpu_to_be32(chan_val); in __ltc2983_chan_assign_common()
333 u32 *chan_val) in __ltc2983_chan_custom_sensor_assign() argument
375 *chan_val |= LTC2983_CUSTOM_LEN(len); in __ltc2983_chan_custom_sensor_assign()
376 *chan_val |= LTC2983_CUSTOM_ADDR(custom->offset); in __ltc2983_chan_custom_sensor_assign()
513 u32 chan_val; in ltc2983_thermocouple_assign_chan() local
515 chan_val = LTC2983_CHAN_ASSIGN(thermo->cold_junction_chan); in ltc2983_thermocouple_assign_chan()
516 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c981 u64 chan_val, u64 chan_mask, u16 pcifunc) in rvu_npc_exact_save_drop_rule_chan_and_mask() argument
992 if (table->drop_rule_map[i].chan_val != (u16)chan_val) in rvu_npc_exact_save_drop_rule_chan_and_mask()
1005 table->drop_rule_map[i].chan_val = (u16)chan_val; in rvu_npc_exact_save_drop_rule_chan_and_mask()
1026 u16 chan_val, chan_mask; in rvu_npc_exact_calc_drop_rule_chan_and_mask() local
1032 chan_val = rvu_nix_chan_cgx(rvu, cgx_id, lmac_id, 0); in rvu_npc_exact_calc_drop_rule_chan_and_mask()
1036 *val = chan_val; in rvu_npc_exact_calc_drop_rule_chan_and_mask()
1092 u64 chan_val, chan_mask; in rvu_npc_exact_get_drop_rule_info() local
1104 lmac_id, &chan_val, &chan_mask); in rvu_npc_exact_get_drop_rule_info()
1112 if (table->drop_rule_map[i].chan_val != (u16)chan_val) in rvu_npc_exact_get_drop_rule_info()
1116 *val = table->drop_rule_map[i].chan_val; in rvu_npc_exact_get_drop_rule_info()
[all …]
Drvu_npc_hash.h187 u16 chan_val; member
Drvu_npc_fs.c1471 u64 chan_val, u64 chan_mask, u64 exact_val, u64 exact_mask, in npc_install_mcam_drop_rule() argument
1513 rule->chan = chan_val; in npc_install_mcam_drop_rule()
1536 npc_update_entry(rvu, NPC_CHAN, &req.entry_data, chan_val, 0, in npc_install_mcam_drop_rule()
Drvu.h851 u64 chan_val, u64 chan_mask, u64 exact_val, u64 exact_mask,
/Linux-v6.1/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()