Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/leds/
Dleds-tca6507.c263 static void set_select(struct tca6507_chip *tca, int led, int val) in set_select() argument
269 int n = tca->reg_file[bit] & ~mask; in set_select()
272 if (tca->reg_file[bit] != n) { in set_select()
273 tca->reg_file[bit] = n; in set_select()
274 tca->reg_set |= (1 << bit); in set_select()
283 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code() argument
291 n = tca->reg_file[reg] & ~mask; in set_code()
293 if (tca->reg_file[reg] != n) { in set_code()
294 tca->reg_file[reg] = n; in set_code()
295 tca->reg_set |= 1 << reg; in set_code()
[all …]
/kernel/linux/linux-5.10/net/sched/
Dsch_api.c1130 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument
1135 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set()
1136 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1148 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set()
1149 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1173 struct nlattr **tca, int *errp, in qdisc_create() argument
1177 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create()
1254 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create()
1259 err = ops->init(sch, tca[TCA_OPTIONS], extack); in qdisc_create()
1264 if (tca[TCA_STAB]) { in qdisc_create()
[all …]
Dcls_cgroup.c78 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument
87 if (!tca[TCA_OPTIONS]) in cls_cgroup_change()
106 tca[TCA_OPTIONS], cgroup_policy, in cls_cgroup_change()
111 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, ovr, in cls_cgroup_change()
Dcls_api.c1949 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
1974 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter()
2009 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter()
2038 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2070 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter()
2105 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2133 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2179 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2199 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter()
2209 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
[all …]
Dcls_fw.c201 struct nlattr **tca, unsigned long base, bool ovr, in fw_set_parms() argument
208 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, ovr, in fw_set_parms()
239 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument
245 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change()
279 err = fw_set_parms(net, tp, fnew, tb, tca, base, ovr, extack); in fw_change()
328 err = fw_set_parms(net, tp, f, tb, tca, base, ovr, extack); in fw_change()
Dsch_drr.c55 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument
60 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class()
85 if (tca[TCA_RATE]) { in drr_change_class()
90 tca[TCA_RATE]); in drr_change_class()
119 if (tca[TCA_RATE]) { in drr_change_class()
123 tca[TCA_RATE]); in drr_change_class()
Dcls_basic.c172 struct nlattr **tca, void **arg, bool ovr, in basic_change() argument
181 if (tca[TCA_OPTIONS] == NULL) in basic_change()
184 err = nla_parse_nested_deprecated(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], in basic_change()
219 err = basic_set_parms(net, tp, fnew, base, tb, tca[TCA_RATE], ovr, in basic_change()
Dcls_matchall.c185 u32 handle, struct nlattr **tca, in mall_change() argument
195 if (!tca[TCA_OPTIONS]) in mall_change()
202 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change()
230 err = mall_set_parms(net, tp, new, base, tb, tca[TCA_RATE], ovr, in mall_change()
Dsch_qfq.c398 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument
410 if (tca[TCA_OPTIONS] == NULL) { in qfq_change_class()
415 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class()
456 if (tca[TCA_RATE]) { in qfq_change_class()
461 tca[TCA_RATE]); in qfq_change_class()
482 if (tca[TCA_RATE]) { in qfq_change_class()
487 tca[TCA_RATE]); in qfq_change_class()
Dcls_bpf.c460 u32 handle, struct nlattr **tca, in cls_bpf_change() argument
470 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change()
473 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change()
506 ret = cls_bpf_set_parms(net, tp, prog, base, tb, tca[TCA_RATE], ovr, in cls_bpf_change()
Dcls_tcindex.c550 struct nlattr **tca, void **arg, bool ovr, in tcindex_change() argument
553 struct nlattr *opt = tca[TCA_OPTIONS]; in tcindex_change()
561 tp, handle, tca, arg, opt, p, r, *arg); in tcindex_change()
572 tca[TCA_RATE], ovr, extack); in tcindex_change()
Dcls_route.c472 struct nlattr **tca, void **arg, bool ovr, in route4_change() argument
479 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change()
522 tca[TCA_RATE], new, ovr, extack); in route4_change()
Dcls_flow.c389 u32 handle, struct nlattr **tca, in flow_change() argument
395 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change()
445 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, ovr, in flow_change()
Dsch_htb.c1295 u32 parentid, struct nlattr **tca, in htb_change_class() argument
1301 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class()
1374 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class()
1379 tca[TCA_RATE] ? : &est.nla); in htb_change_class()
1436 if (tca[TCA_RATE]) { in htb_change_class()
1441 tca[TCA_RATE]); in htb_change_class()
Dsch_hfsc.c914 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument
920 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class()
964 if (tca[TCA_RATE]) { in hfsc_change_class()
969 tca[TCA_RATE]); in hfsc_change_class()
1038 if (tca[TCA_RATE]) { in hfsc_change_class()
1042 tca[TCA_RATE]); in hfsc_change_class()
Dcls_rsvp.h474 struct nlattr **tca, in rsvp_change() argument
484 struct nlattr *opt = tca[TCA_OPTIONS]; in rsvp_change()
502 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr, true, in rsvp_change()
Dsch_cbq.c1476 cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, in cbq_change_class() argument
1482 struct nlattr *opt = tca[TCA_OPTIONS]; in cbq_change_class()
1517 if (tca[TCA_RATE]) { in cbq_change_class()
1522 tca[TCA_RATE]); in cbq_change_class()
1619 if (tca[TCA_RATE]) { in cbq_change_class()
1623 tca[TCA_RATE]); in cbq_change_class()
Dact_api.c1538 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
1546 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
1551 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
1567 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, ovr, in tc_ctl_action()
1571 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
1575 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
Dsch_dsmark.c117 struct nlattr **tca, unsigned long *arg, in dsmark_change() argument
121 struct nlattr *opt = tca[TCA_OPTIONS]; in dsmark_change()
Dsch_atm.c196 struct nlattr **tca, unsigned long *arg, in atm_tc_change() argument
202 struct nlattr *opt = tca[TCA_OPTIONS]; in atm_tc_change()
Dcls_u32.c848 struct nlattr **tca, void **arg, bool ovr, bool rtnl_held, in u32_change() argument
855 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change()
903 tca[TCA_RATE], ovr, extack); in u32_change()
1068 err = u32_set_parms(net, tp, base, n, tb, tca[TCA_RATE], ovr, 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.c1969 u32 handle, struct nlattr **tca, in fl_change() argument
1981 if (!tca[TCA_OPTIONS]) { in fl_change()
1999 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change()
2029 err = fl_set_parms(net, tp, fnew, mask, base, tb, tca[TCA_RATE], ovr, in fl_change()
2355 struct nlattr **tca, in fl_tmplt_create() argument
2362 if (!tca[TCA_OPTIONS]) in fl_tmplt_create()
2369 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dfcx.c108 dcw = (struct dcw *) &tccb->tca[offset]; in calc_dcw_count()
166 tcat = (struct tccb_tcat *) &tccb->tca[tca_size(tccb)]; in tcw_finalize()
309 dcw = (struct dcw *) &tccb->tca[tca_offset]; in tccb_add_dcw()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dfcx.h289 u8 tca[0]; member

12