Searched refs:vctrl (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/regulator/
H A Dvctrl-regulator.c48 static int vctrl_calc_ctrl_voltage(struct vctrl_data *vctrl, int out_uV) argument
50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl;
51 struct vctrl_voltage_range *out = &vctrl->vrange.out;
59 static int vctrl_calc_output_voltage(struct vctrl_data *vctrl, int ctrl_uV) argument
61 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl;
62 struct vctrl_voltage_range *out = &vctrl->vrange.out;
65 pr_err("vctrl: failed to get control voltage\n");
83 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
91 return vctrl_calc_output_voltage(vctrl, ctrl_uV);
98 struct vctrl_data *vctrl local
154 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
162 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
229 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
237 vctrl_parse_dt(struct platform_device *pdev, struct vctrl_data *vctrl) argument
325 struct vctrl_data *vctrl = platform_get_drvdata(pdev); local
401 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
410 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
419 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); local
445 struct vctrl_data *vctrl; local
[all...]
H A DMakefile192 obj-$(CONFIG_REGULATOR_VCTRL) += vctrl-regulator.o
/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_debugfs.h18 struct vcap_control *vctrl,
23 struct vcap_control *vctrl);
28 struct vcap_control *vctrl,
35 struct vcap_control *vctrl)
27 vcap_port_debugfs(struct device *dev, struct dentry *parent, struct vcap_control *vctrl, struct net_device *ndev) argument
33 vcap_debugfs(struct device *dev, struct dentry *parent, struct vcap_control *vctrl) argument
H A Dvcap_api_private.h28 struct vcap_control *vctrl; /* the client control */ member in struct:vcap_rule_internal
68 int vcap_keyfield_count(struct vcap_control *vctrl,
72 vcap_keyfield_typegroup(struct vcap_control *vctrl,
75 const struct vcap_field *vcap_keyfields(struct vcap_control *vctrl,
83 vcap_actionfieldset(struct vcap_control *vctrl,
86 int vcap_actionfield_count(struct vcap_control *vctrl,
91 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt,
95 vcap_actionfields(struct vcap_control *vctrl,
98 const char *vcap_actionset_name(struct vcap_control *vctrl,
101 const char *vcap_actionfield_name(struct vcap_control *vctrl,
[all...]
H A Dvcap_api_debugfs.c12 struct vcap_control *vctrl; member in struct:vcap_admin_debugfs_info
17 struct vcap_control *vctrl; member in struct:vcap_port_debugfs_info
22 static void vcap_debugfs_show_rule_keyfield(struct vcap_control *vctrl, argument
32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key),
117 vcap_debugfs_show_rule_actionfield(struct vcap_control *vctrl, argument
128 vcap_actionfield_name(vctrl, action),
173 err = vcap_find_keystream_keysets(ri->vctrl, admin->vtype,
186 vcap_keyset_name(ri->vctrl, matches.keysets[idx]));
194 struct vcap_control *vctrl = ri->vctrl; local
215 struct vcap_control *vctrl = ri->vctrl; local
236 vcap_show_admin_rule(struct vcap_control *vctrl, struct vcap_admin *admin, struct vcap_output_print *out, struct vcap_rule_internal *ri) argument
266 vcap_show_admin_info(struct vcap_control *vctrl, struct vcap_admin *admin, struct vcap_output_print *out) argument
292 vcap_show_admin(struct vcap_control *vctrl, struct vcap_admin *admin, struct vcap_output_print *out) argument
315 vcap_show_admin_raw(struct vcap_control *vctrl, struct vcap_admin *admin, struct vcap_output_print *out) argument
386 vcap_port_debugfs(struct device *dev, struct dentry *parent, struct vcap_control *vctrl, struct net_device *ndev) argument
437 vcap_debugfs(struct device *dev, struct dentry *parent, struct vcap_control *vctrl) argument
[all...]
H A Dvcap_api_client.h152 int vcap_enable_lookups(struct vcap_control *vctrl, struct net_device *ndev,
158 struct vcap_rule *vcap_alloc_rule(struct vcap_control *vctrl,
171 int vcap_del_rule(struct vcap_control *vctrl, struct net_device *ndev, u32 id);
175 struct vcap_rule *vcap_get_rule(struct vcap_control *vctrl, u32 id);
210 int vcap_get_rule_count_by_cookie(struct vcap_control *vctrl,
219 struct vcap_admin *vcap_find_admin(struct vcap_control *vctrl, int cid);
224 int vcap_lookup_rule_by_cookie(struct vcap_control *vctrl, u64 cookie);
226 int vcap_chain_offset(struct vcap_control *vctrl, int from_cid, int to_cid);
228 bool vcap_is_next_lookup(struct vcap_control *vctrl, int cur_cid, int next_cid);
230 bool vcap_is_last_chain(struct vcap_control *vctrl, in
[all...]
H A Dvcap_api.c218 static bool vcap_verify_keystream_keyset(struct vcap_control *vctrl, argument
224 const struct vcap_info *vcap = &vctrl->vcaps[vt];
233 if (vcap_keyfield_count(vctrl, vt, keyset) == 0)
236 info = vcap_keyfieldset(vctrl, vt, keyset);
246 tgt = vcap_keyfield_typegroup(vctrl, vt, keyset);
250 fields = vcap_keyfields(vctrl, vt, keyset);
308 static int vcap_find_keystream_typegroup_sw(struct vcap_control *vctrl, argument
315 tgt = vctrl->vcaps[vt].keyfield_set_typegroups;
317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) {
321 res = vcap_verify_typegroups(stream, vctrl
333 vcap_find_keystream_keysets(struct vcap_control *vctrl, enum vcap_type vt, u32 *keystream, u32 *mskstream, bool mask, int sw_max, struct vcap_keyset_list *kslist) argument
366 vcap_addr_keysets(struct vcap_control *vctrl, struct net_device *ndev, struct vcap_admin *admin, int addr, struct vcap_keyset_list *kslist) argument
396 vcap_keyfields(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) argument
407 vcap_keyfieldset(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) argument
425 vcap_keyfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) argument
437 vcap_keyfield_count(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) argument
499 vcap_encode_keyfield_typegroups(struct vcap_control *vctrl, struct vcap_rule_internal *ri, const struct vcap_typegroup *tgt) argument
691 vcap_actionfields(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) argument
701 vcap_actionfieldset(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) argument
717 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) argument
729 vcap_actionfield_count(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) argument
924 vcap_rule_exists(struct vcap_control *vctrl, u32 id) argument
939 vcap_get_locked_rule(struct vcap_control *vctrl, u32 id) argument
956 vcap_lookup_rule_by_cookie(struct vcap_control *vctrl, u64 cookie) argument
1326 vcap_verify_actionstream_actionset(struct vcap_control *vctrl, enum vcap_type vt, u32 *actionstream, enum vcap_actionfield_set actionset) argument
1362 vcap_find_actionstream_typegroup_sw(struct vcap_control *vctrl, enum vcap_type vt, u32 *stream, int sw_max) argument
1386 vcap_find_actionstream_actionset(struct vcap_control *vctrl, enum vcap_type vt, u32 *stream, int sw_max) argument
1433 struct vcap_control *vctrl = ri->vctrl; local
1476 struct vcap_control *vctrl = ri->vctrl; local
1622 vcap_find_admin(struct vcap_control *vctrl, int cid) argument
1638 vcap_admin_is_last(struct vcap_control *vctrl, struct vcap_admin *admin, bool ingress) argument
1659 vcap_chain_offset(struct vcap_control *vctrl, int from_cid, int to_cid) argument
1677 vcap_is_next_lookup(struct vcap_control *vctrl, int src_cid, int dst_cid) argument
1810 vcap_keyset_name(struct vcap_control *vctrl, enum vcap_keyfield_set keyset) argument
1818 vcap_keyfield_name(struct vcap_control *vctrl, enum vcap_key_field key) argument
1826 vcap_actionset_name(struct vcap_control *vctrl, enum vcap_actionfield_set actionset) argument
1833 vcap_actionfield_name(struct vcap_control *vctrl, enum vcap_action_field action) argument
1841 vcap_find_keyset_keyfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_keyfield_set keyset, enum vcap_key_field key) argument
1919 vcap_find_actionset_actionfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_actionfield_set actionset, enum vcap_action_field action) argument
2174 vcap_is_chain_used(struct vcap_control *vctrl, struct net_device *ndev, int src_cid) argument
2189 vcap_get_next_chain(struct vcap_control *vctrl, struct net_device *ndev, int dst_cid) argument
2208 vcap_path_exist(struct vcap_control *vctrl, struct net_device *ndev, int dst_cid) argument
2311 vcap_alloc_rule(struct vcap_control *vctrl, struct net_device *ndev, int vcap_chain_id, enum vcap_user user, u16 priority, u32 id) argument
2434 vcap_get_rule(struct vcap_control *vctrl, u32 id) argument
2537 vcap_del_rule(struct vcap_control *vctrl, struct net_device *ndev, u32 id) argument
2579 vcap_del_rules(struct vcap_control *vctrl, struct vcap_admin *admin) argument
3006 vcap_enable_rules(struct vcap_control *vctrl, struct net_device *ndev, int chain) argument
3065 vcap_disable_rules(struct vcap_control *vctrl, struct net_device *ndev, int chain) argument
3100 vcap_is_enabled(struct vcap_control *vctrl, struct net_device *ndev, int dst_cid) argument
3115 vcap_enable(struct vcap_control *vctrl, struct net_device *ndev, unsigned long cookie, int src_cid, int dst_cid) argument
3155 vcap_disable(struct vcap_control *vctrl, struct net_device *ndev, unsigned long cookie) argument
3196 vcap_enable_lookups(struct vcap_control *vctrl, struct net_device *ndev, int src_cid, int dst_cid, unsigned long cookie, bool enable) argument
3230 vcap_is_last_chain(struct vcap_control *vctrl, int cid, bool ingress) argument
3323 struct vcap_control *vctrl = ri->vctrl; local
3343 struct vcap_control *vctrl = ri->vctrl; local
3384 vcap_get_rule_count_by_cookie(struct vcap_control *vctrl, struct vcap_counter *ctr, u64 cookie) argument
3544 vcap_select_min_rule_keyset(struct vcap_control *vctrl, enum vcap_type vtype, struct vcap_keyset_list *kslist) argument
[all...]
H A Dvcap_api_kunit.c594 .vctrl = &test_vctrl,
655 .vctrl = &test_vctrl,
718 .vctrl = &test_vctrl,
839 .vctrl = &test_vctrl,
949 .vctrl = &test_vctrl,
1017 .vctrl = &test_vctrl,
1192 .vctrl = &test_vctrl,
1239 .vctrl = &test_vctrl,
1286 .vctrl = &test_vctrl,
1474 .vctrl
[all...]
H A Dvcap_api_debugfs_kunit.c522 .vctrl = &test_vctrl,
/linux-master/include/linux/irqchip/
H A Darm-vgic-info.h30 struct resource vctrl; member in struct:gic_kvm_info
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu.h52 static inline struct vpu_instance *wave5_ctrl_to_vpu_inst(struct v4l2_ctrl *vctrl) argument
54 return container_of(vctrl->handler, struct vpu_instance, v4l2_ctrl_hdl);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c283 static int sparx5_tc_flower_action_check(struct vcap_control *vctrl, argument
317 if (!vcap_is_next_lookup(vctrl, fco->common.chain_index,
323 } else if (!vcap_is_last_chain(vctrl, fco->common.chain_index,
409 struct vcap_control *vctrl; local
411 vctrl = port->sparx5->vcap_ctrl;
431 kinfo = vcap_keyfieldset(vctrl, admin->vtype,
489 static int sparx5_tc_add_rule_copy(struct vcap_control *vctrl, argument
518 vcap_keyset_name(vctrl, rule->keyset),
552 static int sparx5_tc_add_remaining_rules(struct vcap_control *vctrl, argument
564 err = sparx5_tc_add_rule_copy(vctrl, fc
641 sparx5_tc_add_rule_link(struct vcap_control *vctrl, struct vcap_admin *admin, struct vcap_rule *vrule, int from_cid, int to_cid) argument
1174 struct vcap_control *vctrl; local
1358 sparx5_tc_free_rule_resources(struct net_device *ndev, struct vcap_control *vctrl, int rule_id) argument
1383 struct vcap_control *vctrl; local
1417 struct vcap_control *vctrl; local
1443 struct vcap_control *vctrl; local
1548 struct vcap_control *vctrl; local
[all...]
H A Dsparx5_vcap_debugfs.c446 struct vcap_control *vctrl; local
448 vctrl = sparx5->vcap_ctrl;
449 vcap = &vctrl->vcaps[admin->vtype];
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c259 static int lan966x_tc_flower_action_check(struct vcap_control *vctrl, argument
293 if (!vcap_is_next_lookup(vctrl, fco->common.chain_index,
299 } else if (!vcap_is_last_chain(vctrl, fco->common.chain_index,
379 static int lan966x_tc_add_rule_link(struct vcap_control *vctrl, argument
385 struct vcap_admin *to_admin = vcap_find_admin(vctrl, to_cid);
394 diff = vcap_chain_offset(vctrl, f->common.chain_index, to_cid);
563 struct vcap_control *vctrl; local
566 vctrl = port->lan966x->vcap_ctrl;
568 rule_id = vcap_lookup_rule_by_cookie(vctrl, f->cookie);
572 err = vcap_del_rule(vctrl, por
[all...]
H A Dlan966x_vcap_debugfs.c222 struct vcap_control *vctrl; local
224 vctrl = lan966x->vcap_ctrl;
225 vcap = &vctrl->vcaps[admin->vtype];
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-v2.c347 if (!info->vctrl.start) {
368 ret = create_hyp_io_mappings(info->vctrl.start,
369 resource_size(&info->vctrl),
391 kvm_debug("vgic-v2@%llx\n", info->vctrl.start);
/linux-master/drivers/irqchip/
H A Dirq-gic.c1445 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl;
1597 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl;

Completed in 348 milliseconds