/linux-4.1.27/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.1.27/net/sched/ |
D | sch_api.c | 891 struct nlattr **tca, int *errp) in qdisc_create() argument 894 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() 958 if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS])) == 0) { in qdisc_create() 970 if (tca[TCA_STAB]) { in qdisc_create() 971 stab = qdisc_get_stab(tca[TCA_STAB]); in qdisc_create() 978 if (tca[TCA_RATE]) { in qdisc_create() 996 tca[TCA_RATE]); in qdisc_create() 1027 static int qdisc_change(struct Qdisc *sch, struct nlattr **tca) in qdisc_change() argument 1032 if (tca[TCA_OPTIONS]) { in qdisc_change() 1035 err = sch->ops->change(sch, tca[TCA_OPTIONS]); in qdisc_change() [all …]
|
D | cls_cgroup.c | 92 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument 102 if (!tca[TCA_OPTIONS]) in cls_cgroup_change() 118 err = nla_parse_nested(tb, TCA_CGROUP_MAX, tca[TCA_OPTIONS], in cls_cgroup_change() 124 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 | 66 struct nlattr **tca, unsigned long *arg) in drr_change_class() argument 70 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class() 90 if (tca[TCA_RATE]) { in drr_change_class() 94 tca[TCA_RATE]); in drr_change_class() 119 if (tca[TCA_RATE]) { in drr_change_class() 122 tca[TCA_RATE]); in drr_change_class()
|
D | cls_bpf.c | 324 u32 handle, struct nlattr **tca, in cls_bpf_change() argument 333 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change() 336 ret = nla_parse_nested(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], bpf_policy); in cls_bpf_change() 362 ret = cls_bpf_modify_existing(net, tp, prog, base, tb, tca[TCA_RATE], ovr); in cls_bpf_change()
|
D | cls_tcindex.c | 409 struct nlattr **tca, unsigned long *arg, bool ovr) in tcindex_change() argument 411 struct nlattr *opt = tca[TCA_OPTIONS]; in tcindex_change() 419 tp, handle, tca, arg, opt, p, r, arg ? *arg : 0L); in tcindex_change() 429 tca[TCA_RATE], ovr); in tcindex_change()
|
D | act_api.c | 951 struct nlattr *tca[TCA_ACT_MAX + 1]; in tc_ctl_action() local 958 ret = nlmsg_parse(n, sizeof(struct tcamsg), tca, TCA_ACT_MAX, NULL); in tc_ctl_action() 962 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action() 979 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, ovr); in tc_ctl_action() 984 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action() 988 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
|
D | sch_qfq.c | 406 struct nlattr **tca, unsigned long *arg) in qfq_change_class() argument 417 if (tca[TCA_OPTIONS] == NULL) { in qfq_change_class() 422 err = nla_parse_nested(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], qfq_policy); in qfq_change_class() 461 if (tca[TCA_RATE]) { in qfq_change_class() 465 tca[TCA_RATE]); in qfq_change_class() 487 if (tca[TCA_RATE]) { in qfq_change_class() 491 tca[TCA_RATE]); in qfq_change_class()
|
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 | 364 u32 handle, struct nlattr **tca, in flow_change() argument 369 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change() 409 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &e, ovr); in flow_change()
|
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 | cls_rsvp.h | 457 struct nlattr **tca, in rsvp_change() argument 466 struct nlattr *opt = tca[TCA_OPTIONS]; in rsvp_change() 481 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 | 1336 u32 parentid, struct nlattr **tca, in htb_change_class() argument 1342 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() 1405 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class() 1409 tca[TCA_RATE] ? : &est.nla); in htb_change_class() 1468 if (tca[TCA_RATE]) { in htb_change_class() 1474 tca[TCA_RATE]); in htb_change_class()
|
D | sch_hfsc.c | 970 struct nlattr **tca, unsigned long *arg) in hfsc_change_class() argument 975 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class() 1016 if (tca[TCA_RATE]) { in hfsc_change_class() 1022 tca[TCA_RATE]); in hfsc_change_class() 1068 if (tca[TCA_RATE]) { in hfsc_change_class() 1071 tca[TCA_RATE]); in hfsc_change_class()
|
D | sch_cbq.c | 1725 cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, in cbq_change_class() argument 1731 struct nlattr *opt = tca[TCA_OPTIONS]; in cbq_change_class() 1760 if (tca[TCA_RATE]) { in cbq_change_class() 1764 tca[TCA_RATE]); in cbq_change_class() 1854 if (tca[TCA_RATE]) { in cbq_change_class() 1857 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 | 643 struct nlattr **tca, unsigned long *arg) in sfb_change_class() argument
|
/linux-4.1.27/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.1.27/arch/s390/include/asm/ |
D | fcx.h | 288 u8 tca[0]; member
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_eckd.c | 3524 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()
|