Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A 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 …]
/openbmc/linux/net/sched/
H A Dsch_api.c1188 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument
1193 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set()
1194 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1206 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set()
1207 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1231 struct nlattr **tca, int *errp, in qdisc_create() argument
1235 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create()
1317 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create()
1321 if (tca[TCA_STAB]) { in qdisc_create()
1322 stab = qdisc_get_stab(tca[TCA_STAB], extack); in qdisc_create()
[all …]
H A 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()
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dcls_flow.c392 u32 handle, struct nlattr **tca, in flow_change() argument
398 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change()
448 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags, in flow_change()
H A Dact_api.c2055 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2064 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2069 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2085 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2089 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2093 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
H A Dsch_htb.c1758 u32 parentid, struct nlattr **tca, in htb_change_class() argument
1765 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class()
1858 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class()
1863 tca[TCA_RATE] ? : &est.nla); in htb_change_class()
1984 if (tca[TCA_RATE]) { in htb_change_class()
1989 tca[TCA_RATE]); in htb_change_class()
H A Dcls_u32.c872 struct nlattr **tca, void **arg, u32 flags, in u32_change() argument
879 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change()
926 err = u32_set_parms(net, tp, new, tb, tca[TCA_RATE], in u32_change()
1151 err = u32_set_parms(net, tp, n, tb, tca[TCA_RATE], in u32_change()
H A Dsch_ets.c200 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument
205 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
H A Dcls_flower.c2231 u32 handle, struct nlattr **tca, in fl_change() argument
2245 if (!tca[TCA_OPTIONS]) { in fl_change()
2263 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change()
2323 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change()
2676 struct nlattr **tca, in fl_tmplt_create() argument
2683 if (!tca[TCA_OPTIONS]) in fl_tmplt_create()
2690 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
H A Dsch_sfb.c648 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
/openbmc/linux/drivers/s390/cio/
H A 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()
/openbmc/linux/arch/s390/include/asm/
H A Dfcx.h289 u8 tca[]; member
/openbmc/linux/include/net/
H A Dsch_generic.h377 struct nlattr **tca,
/openbmc/linux/drivers/s390/block/
H A Ddasd_eckd.c4962 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()