Home
last modified time | relevance | path

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

/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c125 struct tca_blk *tca; member
141 static void tca_blk_orientation_set(struct tca_blk *tca,
148 struct tca_blk *tca = imx_phy->tca; in tca_blk_typec_switch_set() local
150 if (tca->orientation == orientation) in tca_blk_typec_switch_set()
157 tca_blk_orientation_set(tca, orientation); in tca_blk_typec_switch_set()
189 static void tca_blk_orientation_set(struct tca_blk *tca, in tca_blk_orientation_set() argument
194 mutex_lock(&tca->mutex); in tca_blk_orientation_set()
202 writel(val, tca->base + TCA_GCFG); in tca_blk_orientation_set()
205 writel(val, tca->base + TCA_TCPC); in tca_blk_orientation_set()
212 writel(val, tca->base + TCA_GCFG); in tca_blk_orientation_set()
[all …]
/linux/net/sched/
H A Dsch_api.c1231 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument
1236 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set()
1237 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1249 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set()
1250 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1274 struct nlattr **tca, int *errp, in qdisc_create() argument
1278 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create()
1332 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create()
1336 if (tca[TCA_STAB]) { in qdisc_create()
1337 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_fw.c207 struct nlattr **tca, unsigned long base, u32 flags, in fw_set_parms() argument
214 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, flags, in fw_set_parms()
245 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument
250 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change()
294 err = fw_set_parms(net, tp, fnew, tb, tca, base, flags, extack); in fw_change()
343 err = fw_set_parms(net, tp, f, tb, tca, base, flags, extack); in fw_change()
H A Dcls_api.c2261 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
2284 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter()
2320 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter()
2349 chain_index = nla_get_u32_default(tca[TCA_CHAIN], 0); in tc_new_tfilter()
2380 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter()
2417 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2453 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2499 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2516 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter()
2526 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
[all …]
H A Dsch_drr.c59 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument
64 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class()
89 if (tca[TCA_RATE]) { in drr_change_class()
93 tca[TCA_RATE]); in drr_change_class()
122 if (tca[TCA_RATE]) { in drr_change_class()
124 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.c495 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument
512 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in route4_change()
517 err = nla_parse_nested_deprecated(tb, TCA_ROUTE4_MAX, tca[TCA_OPTIONS], in route4_change()
546 tca[TCA_RATE], new, flags, extack); in route4_change()
H A Dsch_qfq.c407 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument
419 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in qfq_change_class()
424 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class()
465 if (tca[TCA_RATE]) { in qfq_change_class()
470 tca[TCA_RATE]); in qfq_change_class()
493 if (tca[TCA_RATE]) { in qfq_change_class()
498 tca[TCA_RATE]); in qfq_change_class()
H A Dcls_bpf.c425 u32 handle, struct nlattr **tca, in cls_bpf_change() argument
438 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change()
441 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change()
481 ret = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &prog->exts, in cls_bpf_change()
H A Dcls_flow.c397 u32 handle, struct nlattr **tca, in flow_change()
403 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change()
453 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags, in flow_change()
392 flow_change(struct net * net,struct sk_buff * in_skb,struct tcf_proto * tp,unsigned long base,u32 handle,struct nlattr ** tca,void ** arg,u32 flags,struct netlink_ext_ack * extack) flow_change() argument
H A Dsch_hfsc.c913 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument
919 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()
1040 if (tca[TCA_RATE]) { in hfsc_change_class()
1042 NULL, true, tca[TCA_RATE]); in hfsc_change_class()
H A Dsch_htb.c1763 u32 parentid, struct nlattr **tca, in htb_change_class() argument
1770 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class()
1863 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class()
1868 tca[TCA_RATE] ? : &est.nla); in htb_change_class()
1988 if (tca[TCA_RATE]) { in htb_change_class()
1993 tca[TCA_RATE]); in htb_change_class()
H A Dact_api.c2133 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2142 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2147 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2163 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2167 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2171 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
H A Dcls_u32.c874 struct nlattr **tca, void **arg, u32 flags, in u32_change() argument
881 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change()
928 err = u32_set_parms(net, tp, new, tb, tca[TCA_RATE], in u32_change()
1162 err = u32_set_parms(net, tp, n, tb, tca[TCA_RATE], in u32_change()
H A Dsch_ets.c209 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument
214 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
H A Dsch_sfb.c660 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
H A Dcls_flower.c2355 u32 handle, struct nlattr **tca, in fl_ht_insert_unique()
2361 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_change()
2448 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change()
2803 struct nlattr **tca, in fl_hw_destroy_tmplt()
2806 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_tmplt_create()
2359 fl_change(struct net * net,struct sk_buff * in_skb,struct tcf_proto * tp,unsigned long base,u32 handle,struct nlattr ** tca,void ** arg,u32 flags,struct netlink_ext_ack * extack) fl_change() argument
2807 fl_tmplt_create(struct net * net,struct tcf_chain * chain,struct nlattr ** tca,struct netlink_ext_ack * extack) fl_tmplt_create() argument
/linux/drivers/s390/cio/
H A Dfcx.c110 dcw = (struct dcw *) &tccb->tca[offset]; in calc_dcw_count()
168 tcat = (struct tccb_tcat *) &tccb->tca[tca_size(tccb)]; in tcw_finalize()
311 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.h393 struct nlattr **tca,
/linux/drivers/s390/block/
H A Ddasd_eckd.c5883 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()