Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A Dleds-tca6507.c258 static void set_select(struct tca6507_chip *tca, int led, int val) in set_select() argument
264 int n = tca->reg_file[bit] & ~mask; in set_select()
267 if (tca->reg_file[bit] != n) { in set_select()
268 tca->reg_file[bit] = n; in set_select()
269 tca->reg_set |= (1 << bit); in set_select()
278 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code() argument
286 n = tca->reg_file[reg] & ~mask; in set_code()
288 if (tca->reg_file[reg] != n) { in set_code()
289 tca->reg_file[reg] = n; in set_code()
290 tca->reg_set |= 1 << reg; in set_code()
[all …]
/linux/net/sched/
H A Dsch_api.c1217 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument
1222 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set()
1223 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1235 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set()
1236 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1260 struct nlattr **tca, int *errp, in qdisc_create() argument
1264 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create()
1346 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create()
1350 if (tca[TCA_STAB]) { in qdisc_create()
1351 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.c2212 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
2235 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter()
2271 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter()
2300 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2332 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter()
2367 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2401 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2447 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2464 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter()
2474 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_route.c478 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument
495 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in route4_change()
500 err = nla_parse_nested_deprecated(tb, TCA_ROUTE4_MAX, tca[TCA_OPTIONS], in route4_change()
529 tca[TCA_RATE], new, flags, extack); in route4_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 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.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()
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 Dact_api.c2109 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2118 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2123 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2139 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2143 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2147 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
H A 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()
H A 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()
H A Dsch_sfb.c648 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
H A Dcls_flower.c2358 u32 handle, struct nlattr **tca, in fl_change() argument
2364 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_change()
2451 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change()
2804 struct nlattr **tca, in fl_tmplt_create() argument
2807 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_tmplt_create()
/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()
/linux/arch/s390/include/asm/
H A Dfcx.h290 u8 tca[]; member
/linux/include/net/
H A Dsch_generic.h372 struct nlattr **tca,
/linux/drivers/s390/block/
H A Ddasd_eckd.c4946 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()