Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router_xm.c59 u8 lvalue; member
185 fib_entry->lvalue = prefix_len > mlxsw_sp_router_xm_m_val[proto] ? in mlxsw_sp_router_ll_xm_fib_entry_pack()
518 u8 lvalue = fib_entry->lvalue; in mlxsw_sp_router_xm_ml_entry_add() local
525 if (lvalue > ltable_node->current_lvalue) { in mlxsw_sp_router_xm_ml_entry_add()
527 ltable_node->current_lvalue = lvalue; in mlxsw_sp_router_xm_ml_entry_add()
541 ltable_node->lvalue_ref[lvalue]++; in mlxsw_sp_router_xm_ml_entry_add()
558 u8 lvalue = fib_entry->lvalue; in mlxsw_sp_router_xm_ml_entry_del() local
560 ltable_node->lvalue_ref[lvalue]--; in mlxsw_sp_router_xm_ml_entry_del()
561 if (lvalue == ltable_node->current_lvalue && lvalue && in mlxsw_sp_router_xm_ml_entry_del()
562 !ltable_node->lvalue_ref[lvalue]) { in mlxsw_sp_router_xm_ml_entry_del()
[all …]
/linux-5.19.10/net/sched/
Dem_meta.c85 struct meta_value lvalue; member
853 if (meta_get(skb, info, &meta->lvalue, &l_value) < 0 || in em_meta_match()
857 r = meta_type_ops(&meta->lvalue)->compare(&l_value, &r_value); in em_meta_match()
859 switch (meta->lvalue.hdr.op) { in em_meta_match()
874 const struct meta_type_ops *ops = meta_type_ops(&meta->lvalue); in meta_delete()
877 ops->destroy(&meta->lvalue); in meta_delete()
936 memcpy(&meta->lvalue.hdr, &hdr->left, sizeof(hdr->left)); in em_meta_change()
939 if (!meta_is_supported(&meta->lvalue) || in em_meta_change()
945 if (meta_change_data(&meta->lvalue, tb[TCA_EM_META_LVALUE]) < 0 || in em_meta_change()
972 memcpy(&hdr.left, &meta->lvalue.hdr, sizeof(hdr.left)); in em_meta_dump()
[all …]
/linux-5.19.10/tools/testing/ktest/
Dktest.pl830 my ($lvalue, $rvalue, $override, $overrides, $name) = @_;
834 if ($lvalue =~ /^(TEST|BISECT|CONFIG_BISECT)_TYPE(\[.*\])?$/ &&
849 if (defined($opt{$lvalue})) {
850 if (!$override || defined(${$overrides}{$lvalue})) {
855 die "$name: $.: Option $lvalue defined more than once!\n$extra";
857 ${$overrides}{$lvalue} = $prvalue;
860 $opt{$lvalue} = $prvalue;
864 my ($lvalue, $rvalue, $name) = @_;
869 if (defined($evals{$lvalue})) {
870 $arr = $evals{$lvalue};
[all …]
/linux-5.19.10/sound/soc/codecs/
Drt711-sdca.c524 unsigned int lvalue, rvalue; in rt711_sdca_set_gain_put() local
530 regmap_read(rt711->mbq_regmap, mc->reg, &lvalue); in rt711_sdca_set_gain_put()
578 if (lvalue != gain_l_val || rvalue != gain_r_val) in rt711_sdca_set_gain_put()
Dda7218.c451 unsigned int lvalue = ucontrol->value.integer.value[0]; in da7218_alc_sw_put() local
458 if ((lvalue || rvalue) && (!da7218->alc_en)) in da7218_alc_sw_put()
463 da7218->alc_en |= (lvalue << lshift) | (rvalue << rshift); in da7218_alc_sw_put()
520 unsigned int lvalue = ucontrol->value.integer.value[0]; in da7218_mic_lvl_det_sw_put() local
527 da7218->mic_lvl_det_en |= (lvalue << lshift) | (rvalue << rshift); in da7218_mic_lvl_det_sw_put()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_init.c5712 uint32_t dvalue, wvalue, lvalue, avalue; in lpfc_cgn_save_evt_cnt() local
5741 lvalue = atomic_read(&phba->cgn_latency_evt_cnt); in lpfc_cgn_save_evt_cnt()
5812 if (lvalue) { in lpfc_cgn_save_evt_cnt()
5813 lvalue = (uint32_t)div_u64(latsum, lvalue); in lpfc_cgn_save_evt_cnt()
5814 *lptr = cpu_to_le32(lvalue); in lpfc_cgn_save_evt_cnt()
5840 lvalue = 0; in lpfc_cgn_save_evt_cnt()
5847 lvalue += le32_to_cpu(cp->cgn_latency_min[i]); in lpfc_cgn_save_evt_cnt()
5851 if (lvalue) /* Avg of latency averages */ in lpfc_cgn_save_evt_cnt()
5852 lvalue /= LPFC_MIN_HOUR; in lpfc_cgn_save_evt_cnt()
5861 *lptr = cpu_to_le32(lvalue); in lpfc_cgn_save_evt_cnt()
[all …]