Home
last modified time | relevance | path

Searched refs:tca (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/drivers/leds/
Dleds-tca6507.c261 static void set_select(struct tca6507_chip *tca, int led, int val) in set_select() argument
267 int n = tca->reg_file[bit] & ~mask; in set_select()
270 if (tca->reg_file[bit] != n) { in set_select()
271 tca->reg_file[bit] = n; in set_select()
272 tca->reg_set |= (1 << bit); in set_select()
281 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code() argument
289 n = tca->reg_file[reg] & ~mask; in set_code()
291 if (tca->reg_file[reg] != n) { in set_code()
292 tca->reg_file[reg] = n; in set_code()
293 tca->reg_set |= 1 << reg; in set_code()
[all …]
/linux-6.6.21/net/sched/
Dsch_api.c1183 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument
1188 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set()
1189 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1201 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set()
1202 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1226 struct nlattr **tca, int *errp, in qdisc_create() argument
1230 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create()
1312 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create()
1316 if (tca[TCA_STAB]) { in qdisc_create()
1317 stab = qdisc_get_stab(tca[TCA_STAB], extack); in qdisc_create()
[all …]
Dcls_cgroup.c80 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument
89 if (!tca[TCA_OPTIONS]) in cls_cgroup_change()
108 tca[TCA_OPTIONS], cgroup_policy, in cls_cgroup_change()
113 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, flags, in cls_cgroup_change()
Dcls_api.c2128 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
2151 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter()
2187 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter()
2216 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2248 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter()
2283 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2317 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2362 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2379 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter()
2389 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
[all …]
Dcls_fw.c203 struct nlattr **tca, unsigned long base, u32 flags, in fw_set_parms() argument
210 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, flags, in fw_set_parms()
241 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument
246 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change()
280 err = fw_set_parms(net, tp, fnew, tb, tca, base, flags, extack); in fw_change()
329 err = fw_set_parms(net, tp, f, tb, tca, base, flags, extack); in fw_change()
Dsch_drr.c54 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument
59 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class()
84 if (tca[TCA_RATE]) { in drr_change_class()
88 tca[TCA_RATE]); in drr_change_class()
118 if (tca[TCA_RATE]) { in drr_change_class()
120 NULL, true, tca[TCA_RATE]); in drr_change_class()
Dcls_basic.c174 struct nlattr **tca, void **arg, in basic_change() argument
183 if (tca[TCA_OPTIONS] == NULL) in basic_change()
186 err = nla_parse_nested_deprecated(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], in basic_change()
221 err = basic_set_parms(net, tp, fnew, base, tb, tca[TCA_RATE], flags, in basic_change()
Dcls_matchall.c164 u32 handle, struct nlattr **tca, in mall_change() argument
175 if (!tca[TCA_OPTIONS]) in mall_change()
182 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change()
210 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in mall_change()
Dcls_bpf.c411 u32 handle, struct nlattr **tca, in cls_bpf_change() argument
424 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change()
427 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change()
467 ret = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &prog->exts, in cls_bpf_change()
Dsch_qfq.c402 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument
414 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in qfq_change_class()
419 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class()
459 if (tca[TCA_RATE]) { in qfq_change_class()
464 tca[TCA_RATE]); in qfq_change_class()
486 if (tca[TCA_RATE]) { in qfq_change_class()
491 tca[TCA_RATE]); in qfq_change_class()
Dcls_route.c474 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument
481 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change()
524 tca[TCA_RATE], new, flags, extack); in route4_change()
Dcls_flow.c391 u32 handle, struct nlattr **tca, in flow_change() argument
397 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change()
447 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags, in flow_change()
Dsch_hfsc.c921 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument
927 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class()
971 if (tca[TCA_RATE]) { in hfsc_change_class()
976 tca[TCA_RATE]); in hfsc_change_class()
1041 if (tca[TCA_RATE]) { in hfsc_change_class()
1043 NULL, true, tca[TCA_RATE]); in hfsc_change_class()
Dact_api.c2014 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2023 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2028 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2044 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2048 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2052 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
Dsch_htb.c1770 u32 parentid, struct nlattr **tca, in htb_change_class() argument
1777 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class()
1870 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class()
1875 tca[TCA_RATE] ? : &est.nla); in htb_change_class()
2000 if (tca[TCA_RATE]) { in htb_change_class()
2005 tca[TCA_RATE]); in htb_change_class()
Dcls_u32.c862 struct nlattr **tca, void **arg, u32 flags, in u32_change() argument
869 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change()
916 err = u32_set_parms(net, tp, new, tb, tca[TCA_RATE], in u32_change()
1141 err = u32_set_parms(net, tp, n, tb, tca[TCA_RATE], in u32_change()
Dsch_ets.c198 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument
203 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
Dcls_flower.c2230 u32 handle, struct nlattr **tca, in fl_change() argument
2244 if (!tca[TCA_OPTIONS]) { in fl_change()
2262 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change()
2322 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change()
2675 struct nlattr **tca, in fl_tmplt_create() argument
2682 if (!tca[TCA_OPTIONS]) in fl_tmplt_create()
2689 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
Dsch_sfb.c648 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
/linux-6.6.21/drivers/s390/cio/
Dfcx.c109 dcw = (struct dcw *) &tccb->tca[offset]; in calc_dcw_count()
167 tcat = (struct tccb_tcat *) &tccb->tca[tca_size(tccb)]; in tcw_finalize()
310 dcw = (struct dcw *) &tccb->tca[tca_offset]; in tccb_add_dcw()
/linux-6.6.21/arch/s390/include/asm/
Dfcx.h289 u8 tca[]; member
/linux-6.6.21/include/net/
Dsch_generic.h376 struct nlattr **tca,
/linux-6.6.21/drivers/s390/block/
Ddasd_eckd.c4965 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()