/linux-4.4.14/drivers/leds/ |
D | leds-tca6507.c | 272 static void set_select(struct tca6507_chip *tca, int led, int val) in set_select() argument 278 int n = tca->reg_file[bit] & ~mask; in set_select() 281 if (tca->reg_file[bit] != n) { in set_select() 282 tca->reg_file[bit] = n; in set_select() 283 tca->reg_set |= (1 << bit); in set_select() 292 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code() argument 300 n = tca->reg_file[reg] & ~mask; in set_code() 302 if (tca->reg_file[reg] != n) { in set_code() 303 tca->reg_file[reg] = n; in set_code() 304 tca->reg_set |= 1 << reg; in set_code() [all …]
|
/linux-4.4.14/net/sched/ |
D | sch_api.c | 893 struct nlattr **tca, int *errp) in qdisc_create() argument 896 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() 960 if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS])) == 0) { in qdisc_create() 972 if (tca[TCA_STAB]) { in qdisc_create() 973 stab = qdisc_get_stab(tca[TCA_STAB]); in qdisc_create() 980 if (tca[TCA_RATE]) { in qdisc_create() 998 tca[TCA_RATE]); in qdisc_create() 1029 static int qdisc_change(struct Qdisc *sch, struct nlattr **tca) in qdisc_change() argument 1034 if (tca[TCA_OPTIONS]) { in qdisc_change() 1037 err = sch->ops->change(sch, tca[TCA_OPTIONS]); in qdisc_change() [all …]
|
D | cls_cgroup.c | 73 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument 83 if (!tca[TCA_OPTIONS]) in cls_cgroup_change() 99 err = nla_parse_nested(tb, TCA_CGROUP_MAX, tca[TCA_OPTIONS], in cls_cgroup_change() 105 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr); in cls_cgroup_change()
|
D | cls_fw.c | 191 struct nlattr **tb, struct nlattr **tca, unsigned long base, bool ovr) in fw_change_attrs() argument 199 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr); in fw_change_attrs() 239 struct nlattr **tca, in fw_change() argument 244 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change() 275 err = fw_change_attrs(net, tp, fnew, tb, tca, base, ovr); in fw_change() 320 err = fw_change_attrs(net, tp, f, tb, tca, base, ovr); in fw_change()
|
D | cls_api.c | 124 struct nlattr *tca[TCA_MAX + 1]; in tc_ctl_tfilter() local 147 err = nlmsg_parse(n, sizeof(*t), tca, TCA_MAX, NULL); in tc_ctl_tfilter() 222 if (tca[TCA_KIND] == NULL || !protocol) in tc_ctl_tfilter() 238 tp_ops = tcf_proto_lookup_ops(tca[TCA_KIND]); in tc_ctl_tfilter() 241 struct nlattr *kind = tca[TCA_KIND]; in tc_ctl_tfilter() 282 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) in tc_ctl_tfilter() 332 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_ctl_tfilter()
|
D | cls_basic.c | 167 struct nlattr **tca, unsigned long *arg, bool ovr) in basic_change() argument 175 if (tca[TCA_OPTIONS] == NULL) in basic_change() 178 err = nla_parse_nested(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], in basic_change() 213 err = basic_set_parms(net, tp, fnew, base, tb, tca[TCA_RATE], ovr); in basic_change()
|
D | sch_drr.c | 67 struct nlattr **tca, unsigned long *arg) in drr_change_class() argument 71 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class() 91 if (tca[TCA_RATE]) { in drr_change_class() 95 tca[TCA_RATE]); in drr_change_class() 120 if (tca[TCA_RATE]) { in drr_change_class() 123 tca[TCA_RATE]); in drr_change_class()
|
D | cls_bpf.c | 375 u32 handle, struct nlattr **tca, in cls_bpf_change() argument 384 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change() 387 ret = nla_parse_nested(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], bpf_policy); in cls_bpf_change() 413 ret = cls_bpf_modify_existing(net, tp, prog, base, tb, tca[TCA_RATE], ovr); in cls_bpf_change()
|
D | cls_tcindex.c | 430 struct nlattr **tca, unsigned long *arg, bool ovr) in tcindex_change() argument 432 struct nlattr *opt = tca[TCA_OPTIONS]; in tcindex_change() 440 tp, handle, tca, arg, opt, p, r, arg ? *arg : 0L); in tcindex_change() 450 tca[TCA_RATE], ovr); in tcindex_change()
|
D | act_api.c | 969 struct nlattr *tca[TCA_ACT_MAX + 1]; in tc_ctl_action() local 976 ret = nlmsg_parse(n, sizeof(struct tcamsg), tca, TCA_ACT_MAX, NULL); in tc_ctl_action() 980 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action() 997 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, ovr); in tc_ctl_action() 1002 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action() 1006 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
|
D | sch_qfq.c | 405 struct nlattr **tca, unsigned long *arg) in qfq_change_class() argument 416 if (tca[TCA_OPTIONS] == NULL) { in qfq_change_class() 421 err = nla_parse_nested(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], qfq_policy); in qfq_change_class() 460 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() 490 tca[TCA_RATE]); in qfq_change_class()
|
D | cls_flower.c | 454 u32 handle, struct nlattr **tca, in fl_change() argument 464 if (!tca[TCA_OPTIONS]) in fl_change() 467 err = nla_parse_nested(tb, TCA_FLOWER_MAX, tca[TCA_OPTIONS], fl_policy); in fl_change() 489 err = fl_set_parms(net, tp, fnew, &mask, base, tb, tca[TCA_RATE], ovr); in fl_change()
|
D | cls_route.c | 477 struct nlattr **tca, in route4_change() argument 484 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change() 519 tca[TCA_RATE], new, ovr); in route4_change()
|
D | cls_flow.c | 377 u32 handle, struct nlattr **tca, in flow_change() argument 382 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change() 422 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr); in flow_change()
|
D | cls_rsvp.h | 467 struct nlattr **tca, in rsvp_change() argument 476 struct nlattr *opt = tca[TCA_OPTIONS]; in rsvp_change() 491 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr); in rsvp_change()
|
D | cls_u32.c | 727 struct nlattr **tca, in u32_change() argument 734 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change() 762 tca[TCA_RATE], ovr); in u32_change() 867 err = u32_set_parms(net, tp, base, ht, n, tb, tca[TCA_RATE], ovr); in u32_change()
|
D | sch_htb.c | 1331 u32 parentid, struct nlattr **tca, in htb_change_class() argument 1337 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() 1400 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class() 1404 tca[TCA_RATE] ? : &est.nla); in htb_change_class() 1464 if (tca[TCA_RATE]) { in htb_change_class() 1470 tca[TCA_RATE]); in htb_change_class()
|
D | sch_hfsc.c | 971 struct nlattr **tca, unsigned long *arg) in hfsc_change_class() argument 976 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class() 1017 if (tca[TCA_RATE]) { in hfsc_change_class() 1023 tca[TCA_RATE]); in hfsc_change_class() 1069 if (tca[TCA_RATE]) { in hfsc_change_class() 1072 tca[TCA_RATE]); in hfsc_change_class()
|
D | sch_dsmark.c | 113 struct nlattr **tca, unsigned long *arg) in dsmark_change() argument 116 struct nlattr *opt = tca[TCA_OPTIONS]; in dsmark_change()
|
D | sch_cbq.c | 1720 cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, in cbq_change_class() argument 1726 struct nlattr *opt = tca[TCA_OPTIONS]; in cbq_change_class() 1755 if (tca[TCA_RATE]) { in cbq_change_class() 1759 tca[TCA_RATE]); in cbq_change_class() 1849 if (tca[TCA_RATE]) { in cbq_change_class() 1852 tca[TCA_RATE]); in cbq_change_class()
|
D | sch_atm.c | 186 struct nlattr **tca, unsigned long *arg) in atm_tc_change() argument 191 struct nlattr *opt = tca[TCA_OPTIONS]; in atm_tc_change()
|
D | sch_sfb.c | 631 struct nlattr **tca, unsigned long *arg) in sfb_change_class() argument
|
/linux-4.4.14/drivers/s390/cio/ |
D | fcx.c | 107 dcw = (struct dcw *) &tccb->tca[offset]; in calc_dcw_count() 165 tcat = (struct tccb_tcat *) &tccb->tca[tca_size(tccb)]; in tcw_finalize() 308 dcw = (struct dcw *) &tccb->tca[tca_offset]; in tccb_add_dcw()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | fcx.h | 288 u8 tca[0]; member
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_eckd.c | 3562 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()
|