| /linux/drivers/leds/ |
| A D | leds-tca6507.c | 356 set = tca->reg_set; in tca6507_work() 358 tca->reg_set = 0; in tca6507_work() 487 b = &tca->bank[i]; in led_prepare() 510 set_times(tca, i); in led_prepare() 542 if (tca->reg_set) in led_assign() 607 set_select(tca, tca->gpio_map[offset], in tca6507_gpio_set_value() 610 if (tca->reg_set) in tca6507_gpio_set_value() 649 err = gpiochip_add_data(&tca->gpio, tca); in tca6507_probe_gpios() 756 tca = devm_kzalloc(dev, sizeof(*tca), GFP_KERNEL); in tca6507_probe() 757 if (!tca) in tca6507_probe() [all …]
|
| /linux/net/sched/ |
| A D | sch_api.c | 1258 if (tca[TCA_STAB]) { in qdisc_create() 1266 if (tca[TCA_RATE]) { in qdisc_create() 1278 tca[TCA_RATE]); in qdisc_create() 1320 if (tca[TCA_OPTIONS]) { in qdisc_change() 1325 if (tca[TCA_INGRESS_BLOCK] || tca[TCA_EGRESS_BLOCK]) { in qdisc_change() 1334 if (tca[TCA_STAB]) { in qdisc_change() 1344 if (tca[TCA_RATE]) { in qdisc_change() 1473 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in tc_get_qdisc() 1567 if (tca[TCA_KIND] && in tc_modify_qdisc() 1627 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in tc_modify_qdisc() [all …]
|
| A D | cls_cgroup.c | 78 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()
|
| A D | cls_api.c | 2027 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter() 2094 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter() 2238 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_del_tfilter() 2273 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_del_tfilter() 2394 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_get_tfilter() 2415 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_get_tfilter() 2557 if (tca[TCA_DUMP_FLAGS]) { in tc_dump_tfilter() 2617 if (tca[TCA_CHAIN] && in tc_dump_tfilter() 2752 if (!tca[TCA_KIND]) in tc_chain_tmplt_add() 2824 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_ctl_chain() [all …]
|
| A D | cls_fw.c | 201 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()
|
| A D | sch_drr.c | 55 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()
|
| A D | cls_basic.c | 172 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()
|
| A D | cls_matchall.c | 184 u32 handle, struct nlattr **tca, in mall_change() argument 194 if (!tca[TCA_OPTIONS]) in mall_change() 201 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change() 229 err = mall_set_parms(net, tp, new, base, tb, tca[TCA_RATE], flags, in mall_change()
|
| A D | sch_qfq.c | 393 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()
|
| A D | cls_bpf.c | 457 u32 handle, struct nlattr **tca, in cls_bpf_change() argument 467 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change() 470 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change() 503 ret = cls_bpf_set_parms(net, tp, prog, base, tb, tca[TCA_RATE], flags, in cls_bpf_change()
|
| A D | cls_tcindex.c | 532 struct nlattr **tca, void **arg, u32 flags, in tcindex_change() argument 535 struct nlattr *opt = tca[TCA_OPTIONS]; in tcindex_change() 543 tp, handle, tca, arg, opt, p, r, *arg); in tcindex_change() 554 tca[TCA_RATE], flags, extack); in tcindex_change()
|
| A D | cls_route.c | 467 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument 474 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change() 513 tca[TCA_RATE], new, flags, extack); in route4_change()
|
| A D | sch_hfsc.c | 914 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()
|
| A D | cls_flow.c | 389 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()
|
| A D | act_api.c | 1539 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local 1548 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action() 1553 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action() 1569 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action() 1573 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action() 1577 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
|
| A D | sch_cbq.c | 1475 cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, in cbq_change_class() argument 1481 struct nlattr *opt = tca[TCA_OPTIONS]; in cbq_change_class() 1516 if (tca[TCA_RATE]) { in cbq_change_class() 1521 tca[TCA_RATE]); in cbq_change_class() 1619 if (tca[TCA_RATE]) { in cbq_change_class() 1621 NULL, true, tca[TCA_RATE]); in cbq_change_class()
|
| A D | cls_rsvp.h | 473 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()
|
| A D | sch_dsmark.c | 117 struct nlattr **tca, unsigned long *arg, in dsmark_change() argument 121 struct nlattr *opt = tca[TCA_OPTIONS]; in dsmark_change()
|
| A D | sch_htb.c | 1779 u32 parentid, struct nlattr **tca, in htb_change_class() argument 1786 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() 1867 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class() 1872 tca[TCA_RATE] ? : &est.nla); in htb_change_class() 1993 if (tca[TCA_RATE]) { in htb_change_class() 1998 tca[TCA_RATE]); in htb_change_class()
|
| A D | cls_u32.c | 843 struct nlattr **tca, void **arg, u32 flags, in u32_change() argument 850 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change() 898 tca[TCA_RATE], flags, extack); in u32_change() 1063 err = u32_set_parms(net, tp, base, n, tb, tca[TCA_RATE], flags, in u32_change()
|
| A D | sch_atm.c | 196 struct nlattr **tca, unsigned long *arg, in atm_tc_change() argument 202 struct nlattr *opt = tca[TCA_OPTIONS]; in atm_tc_change()
|
| A D | sch_ets.c | 198 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument 203 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
|
| A D | cls_flower.c | 1979 u32 handle, struct nlattr **tca, in fl_change() argument 1992 if (!tca[TCA_OPTIONS]) { in fl_change() 2010 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change() 2040 err = fl_set_parms(net, tp, fnew, mask, base, tb, tca[TCA_RATE], in fl_change() 2366 struct nlattr **tca, in fl_tmplt_create() argument 2373 if (!tca[TCA_OPTIONS]) in fl_tmplt_create() 2380 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
|
| /linux/drivers/s390/cio/ |
| A D | fcx.c | 108 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/arch/s390/include/asm/ |
| A D | fcx.h | 289 u8 tca[0]; member
|