/linux/drivers/leds/ |
H A D | leds-tca6507.c | 258 static void set_select(struct tca6507_chip *tca, int led, int val) in set_select() argument 264 int n = tca->reg_file[bit] & ~mask; in set_select() 267 if (tca->reg_file[bit] != n) { in set_select() 268 tca->reg_file[bit] = n; in set_select() 269 tca->reg_set |= (1 << bit); in set_select() 278 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code() argument 286 n = tca->reg_file[reg] & ~mask; in set_code() 288 if (tca->reg_file[reg] != n) { in set_code() 289 tca->reg_file[reg] = n; in set_code() 290 tca->reg_set |= 1 << reg; in set_code() [all …]
|
/linux/net/sched/ |
H A D | sch_api.c | 1217 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument 1222 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set() 1223 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set() 1235 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set() 1236 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set() 1260 struct nlattr **tca, int *errp, in qdisc_create() argument 1264 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() 1346 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create() 1350 if (tca[TCA_STAB]) { in qdisc_create() 1351 stab = qdisc_get_stab(tca[TCA_STAB], extack); in qdisc_create() [all …]
|
H A D | cls_cgroup.c | 80 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 D | cls_api.c | 2212 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local 2235 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter() 2271 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter() 2300 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter() 2332 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter() 2367 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter() 2401 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter() 2447 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local 2464 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter() 2474 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter() [all …]
|
H A D | cls_fw.c | 203 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 D | sch_drr.c | 54 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument 59 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class() 84 if (tca[TCA_RATE]) { in drr_change_class() 88 tca[TCA_RATE]); in drr_change_class() 118 if (tca[TCA_RATE]) { in drr_change_class() 120 NULL, true, tca[TCA_RATE]); in drr_change_class()
|
H A D | cls_basic.c | 174 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 D | cls_matchall.c | 164 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 D | cls_route.c | 478 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 D | cls_bpf.c | 411 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 D | sch_qfq.c | 402 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument 414 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in qfq_change_class() 419 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class() 459 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() 491 tca[TCA_RATE]); in qfq_change_class()
|
H A D | sch_hfsc.c | 921 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument 927 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class() 971 if (tca[TCA_RATE]) { in hfsc_change_class() 976 tca[TCA_RATE]); in hfsc_change_class() 1041 if (tca[TCA_RATE]) { in hfsc_change_class() 1043 NULL, true, tca[TCA_RATE]); in hfsc_change_class()
|
H A D | cls_flow.c | 391 u32 handle, struct nlattr **tca, in flow_change() argument 397 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change() 447 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags, in flow_change()
|
H A D | sch_htb.c | 1758 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() 1984 if (tca[TCA_RATE]) { in htb_change_class() 1989 tca[TCA_RATE]); in htb_change_class()
|
H A D | act_api.c | 2109 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local 2118 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action() 2123 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action() 2139 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action() 2143 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action() 2147 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
|
H A D | cls_u32.c | 862 struct nlattr **tca, void **arg, u32 flags, in u32_change() argument 869 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change() 916 err = u32_set_parms(net, tp, new, tb, tca[TCA_RATE], in u32_change() 1141 err = u32_set_parms(net, tp, n, tb, tca[TCA_RATE], in u32_change()
|
H 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()
|
H A D | sch_sfb.c | 648 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
|
H A D | cls_flower.c | 2358 u32 handle, struct nlattr **tca, in fl_change() argument 2364 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_change() 2451 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change() 2804 struct nlattr **tca, in fl_tmplt_create() argument 2807 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_tmplt_create()
|
/linux/drivers/s390/cio/ |
H A D | fcx.c | 109 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/arch/s390/include/asm/ |
H A D | fcx.h | 290 u8 tca[]; member
|
/linux/include/net/ |
H A D | sch_generic.h | 372 struct nlattr **tca,
|
/linux/drivers/s390/block/ |
H A D | dasd_eckd.c | 4946 dcw = (struct dcw *)&tccb->tca[0]; in dasd_eckd_reset_ccw_to_base_io()
|