Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/net/sched/
Dsch_api.c1148 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument
1153 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set()
1154 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1166 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set()
1167 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1191 struct nlattr **tca, int *errp, in qdisc_create() argument
1195 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create()
1272 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create()
1277 err = ops->init(sch, tca[TCA_OPTIONS], extack); in qdisc_create()
1282 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, flags, in cls_cgroup_change()
Dcls_api.c1960 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
1983 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter()
2019 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter()
2048 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2080 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter()
2115 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2147 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2192 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2209 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter()
2219 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
[all …]
Dcls_fw.c201 struct nlattr **tca, unsigned long base, u32 flags, in fw_set_parms() argument
208 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, flags, in fw_set_parms()
239 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument
244 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change()
279 err = fw_set_parms(net, tp, fnew, tb, tca, base, flags, extack); in fw_change()
328 err = fw_set_parms(net, tp, f, tb, tca, base, flags, 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()
89 tca[TCA_RATE]); in drr_change_class()
119 if (tca[TCA_RATE]) { in drr_change_class()
121 NULL, true, tca[TCA_RATE]); in drr_change_class()
Dcls_basic.c172 struct nlattr **tca, void **arg, 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], flags, in basic_change()
Dcls_matchall.c182 u32 handle, struct nlattr **tca, in mall_change() argument
192 if (!tca[TCA_OPTIONS]) in mall_change()
199 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change()
227 err = mall_set_parms(net, tp, new, base, tb, tca[TCA_RATE], in mall_change()
Dcls_bpf.c459 u32 handle, struct nlattr **tca, in cls_bpf_change() argument
469 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change()
472 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change()
505 ret = cls_bpf_set_parms(net, tp, prog, base, tb, tca[TCA_RATE], flags, in cls_bpf_change()
Dcls_tcindex.c524 struct nlattr **tca, void **arg, u32 flags, in tcindex_change() argument
527 struct nlattr *opt = tca[TCA_OPTIONS]; in tcindex_change()
535 tp, handle, tca, arg, opt, p, r, *arg); in tcindex_change()
546 tca[TCA_RATE], flags, extack); in tcindex_change()
Dsch_qfq.c393 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument
405 if (tca[TCA_OPTIONS] == NULL) { in qfq_change_class()
410 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class()
450 if (tca[TCA_RATE]) { in qfq_change_class()
455 tca[TCA_RATE]); in qfq_change_class()
477 if (tca[TCA_RATE]) { in qfq_change_class()
482 tca[TCA_RATE]); in qfq_change_class()
Dcls_route.c472 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument
479 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change()
523 tca[TCA_RATE], new, flags, 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, flags, in flow_change()
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()
1034 if (tca[TCA_RATE]) { in hfsc_change_class()
1036 NULL, true, tca[TCA_RATE]); in hfsc_change_class()
Dcls_rsvp.h473 u32 handle, struct nlattr **tca, in rsvp_change() argument
483 struct nlattr *opt = tca[TCA_OPTIONS]; in rsvp_change()
501 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, flags, in rsvp_change()
Dsch_cbq.c1394 cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, in cbq_change_class() argument
1400 struct nlattr *opt = tca[TCA_OPTIONS]; in cbq_change_class()
1435 if (tca[TCA_RATE]) { in cbq_change_class()
1440 tca[TCA_RATE]); in cbq_change_class()
1538 if (tca[TCA_RATE]) { in cbq_change_class()
1540 NULL, true, tca[TCA_RATE]); in cbq_change_class()
Dsch_dsmark.c117 struct nlattr **tca, unsigned long *arg, in dsmark_change() argument
121 struct nlattr *opt = tca[TCA_OPTIONS]; in dsmark_change()
Dact_api.c2016 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2025 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2030 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2046 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2050 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2054 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
Dsch_htb.c1762 u32 parentid, struct nlattr **tca, in htb_change_class() argument
1769 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()
1996 if (tca[TCA_RATE]) { in htb_change_class()
2001 tca[TCA_RATE]); in htb_change_class()
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, u32 flags, in u32_change() argument
855 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change()
903 tca[TCA_RATE], flags, new->flags, in u32_change()
1073 err = u32_set_parms(net, tp, base, 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.c2145 u32 handle, struct nlattr **tca, in fl_change() argument
2158 if (!tca[TCA_OPTIONS]) { in fl_change()
2176 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change()
2206 err = fl_set_parms(net, tp, fnew, mask, base, tb, tca[TCA_RATE], in fl_change()
2533 struct nlattr **tca, in fl_tmplt_create() argument
2540 if (!tca[TCA_OPTIONS]) in fl_tmplt_create()
2547 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
/linux-6.1.9/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()
/linux-6.1.9/arch/s390/include/asm/
Dfcx.h289 u8 tca[0]; member

12