Home
last modified time | relevance | path

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

/linux-6.15/drivers/leds/
H A Dleds-tca6507.c351 set = tca->reg_set; in tca6507_work()
353 tca->reg_set = 0; in tca6507_work()
482 b = &tca->bank[i]; in led_prepare()
505 set_times(tca, i); in led_prepare()
537 if (tca->reg_set) in led_assign()
602 set_select(tca, tca->gpio_map[offset], in tca6507_gpio_set_value()
605 if (tca->reg_set) in tca6507_gpio_set_value()
641 err = devm_gpiochip_add_data(dev, &tca->gpio, tca); in tca6507_probe_gpios()
732 tca = devm_kzalloc(dev, sizeof(*tca), GFP_KERNEL); in tca6507_probe()
733 if (!tca) in tca6507_probe()
[all …]
/linux-6.15/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c113 struct tca_blk *tca; member
133 struct tca_blk *tca = imx_phy->tca; in tca_blk_typec_switch_set() local
249 tca_blk_orientation_set(tca, tca->orientation); in tca_blk_init()
257 struct tca_blk *tca; in imx95_usb_phy_get_tca() local
263 tca = devm_kzalloc(dev, sizeof(*tca), GFP_KERNEL); in imx95_usb_phy_get_tca()
264 if (!tca) in imx95_usb_phy_get_tca()
268 if (IS_ERR(tca->base)) in imx95_usb_phy_get_tca()
276 return tca; in imx95_usb_phy_get_tca()
281 struct tca_blk *tca = imx_phy->tca; in imx95_usb_phy_put_tca() local
283 if (!tca) in imx95_usb_phy_put_tca()
[all …]
/linux-6.15/net/sched/
H A Dsch_api.c1322 if (tca[TCA_STAB]) { in qdisc_create()
1337 if (tca[TCA_RATE]) { in qdisc_create()
1349 tca[TCA_RATE]); in qdisc_create()
1385 if (tca[TCA_OPTIONS]) { in qdisc_change()
1390 if (tca[TCA_INGRESS_BLOCK] || tca[TCA_EGRESS_BLOCK]) { in qdisc_change()
1399 if (tca[TCA_STAB]) { in qdisc_change()
1409 if (tca[TCA_RATE]) { in qdisc_change()
1525 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in __tc_get_qdisc()
1646 if (tca[TCA_KIND] && in __tc_modify_qdisc()
1723 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in __tc_modify_qdisc()
[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.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 Dcls_api.c2235 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
2389 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2469 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2572 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_del_tfilter()
2628 struct nlattr *tca[TCA_MAX + 1]; in tc_get_tfilter() local
2716 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_get_tfilter()
2859 if (tca[TCA_DUMP_FLAGS]) { in tc_dump_tfilter()
2919 if (tca[TCA_CHAIN] && in tc_dump_tfilter()
3056 struct nlattr **tca, in tc_chain_tmplt_add() argument
3064 if (!tca[TCA_KIND]) in tc_chain_tmplt_add()
[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()
124 if (tca[TCA_RATE]) { in drr_change_class()
126 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.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()
461 if (tca[TCA_RATE]) { in qfq_change_class()
466 tca[TCA_RATE]); in qfq_change_class()
489 if (tca[TCA_RATE]) { in qfq_change_class()
494 tca[TCA_RATE]); in qfq_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 Dsch_hfsc.c924 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument
930 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class()
975 if (tca[TCA_RATE]) { in hfsc_change_class()
980 tca[TCA_RATE]); in hfsc_change_class()
1049 if (tca[TCA_RATE]) { in hfsc_change_class()
1051 NULL, true, tca[TCA_RATE]); in hfsc_change_class()
H A Dact_api.c2108 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2117 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2122 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2138 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2142 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2146 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()
1983 if (tca[TCA_RATE]) { in htb_change_class()
1988 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()
1153 err = u32_set_parms(net, tp, n, tb, tca[TCA_RATE], in u32_change()
H A Dsch_ets.c205 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument
210 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
H A Dsch_sfb.c650 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
H A Dcls_flower.c2359 u32 handle, struct nlattr **tca, in fl_change() argument
2365 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_change()
2452 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change()
2807 struct nlattr **tca, in fl_tmplt_create() argument
2810 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_tmplt_create()
/linux-6.15/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-6.15/arch/s390/include/asm/
H A Dfcx.h290 u8 tca[]; member
/linux-6.15/Documentation/netlink/specs/
H A Dtc.yaml1397 sub-message: tca-stats-app-msg
1409 nested-attributes: tca-stats-attrs
1413 nested-attributes: tca-stab-attrs
2913 nested-attributes: tca-gred-vq-list-attrs
2915 name: tca-gred-vq-list-attrs
2920 nested-attributes: tca-gred-vq-entry-attrs
2923 name: tca-gred-vq-entry-attrs
3562 name: tca-stab-attrs
3572 name: tca-stats-attrs
3589 sub-message: tca-stats-app-msg
[all …]
/linux-6.15/include/net/
H A Dsch_generic.h372 struct nlattr **tca,
/linux-6.15/drivers/s390/block/
H A Ddasd_eckd.c4947 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()