Home
last modified time | relevance | path

Searched refs:vctrl (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/drivers/regulator/
A Dvctrl-regulator.c156 return vctrl->sel; in vctrl_get_voltage_sel()
172 if (selector >= vctrl->sel || !vctrl->ovp_threshold) { in vctrl_set_voltage_sel()
200 vctrl->sel = next_sel; in vctrl_set_voltage_sel()
202 delay = DIV_ROUND_UP(vctrl->vtable[vctrl->sel].out - in vctrl_set_voltage_sel()
272 if (vctrl->ovp_threshold && !vctrl->min_slew_down_rate) { in vctrl_parse_dt()
353 if (!vctrl->vtable) in vctrl_init_vtable()
403 vctrl->enabled = true; in vctrl_enable()
456 if (!vctrl) in vctrl_probe()
471 rdesc = &vctrl->desc; in vctrl_probe()
508 vctrl->sel = 0; in vctrl_probe()
[all …]
A DMakefile179 obj-$(CONFIG_REGULATOR_VCTRL) += vctrl-regulator.o
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/
A Dvcap_api.c1400 struct vcap_control *vctrl = ri->vctrl; in vcap_decode_actionset() local
1443 struct vcap_control *vctrl = ri->vctrl; in vcap_decode_keyset() local
1593 if (vcap_api_check(vctrl)) in vcap_find_admin()
1649 if (vcap_api_check(vctrl)) in vcap_is_next_lookup()
2287 err = vcap_api_check(vctrl); in vcap_alloc_rule()
2332 ri->vctrl = vctrl; /* refer to the client */ in vcap_alloc_rule()
2407 err = vcap_api_check(vctrl); in vcap_get_rule()
2513 err = vcap_api_check(vctrl); in vcap_del_rule()
3190 if (vcap_api_check(vctrl)) in vcap_is_last_chain()
3278 struct vcap_control *vctrl = ri->vctrl; in vcap_rule_get_untyped_keyset() local
[all …]
A Dvcap_api_debugfs.c12 struct vcap_control *vctrl; member
17 struct vcap_control *vctrl; member
128 vcap_actionfield_name(vctrl, action), in vcap_debugfs_show_rule_actionfield()
194 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_keyset() local
215 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_actionset() local
330 ret = vcap_api_check(vctrl); in vcap_show_admin_raw()
359 vcap_keyset_name(vctrl, in vcap_show_admin_raw()
387 struct vcap_control *vctrl, in vcap_port_debugfs() argument
396 info->vctrl = vctrl; in vcap_port_debugfs()
438 struct vcap_control *vctrl) in vcap_debugfs() argument
[all …]
A Dvcap_api_private.h28 struct vcap_control *vctrl; /* the client control */ member
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 …]
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,
175 struct vcap_rule *vcap_get_rule(struct vcap_control *vctrl, u32 id);
205 int vcap_get_rule_count_by_cookie(struct vcap_control *vctrl,
214 struct vcap_admin *vcap_find_admin(struct vcap_control *vctrl, int cid);
219 int vcap_lookup_rule_by_cookie(struct vcap_control *vctrl, u64 cookie);
227 int vcap_rule_iter(struct vcap_control *vctrl,
233 const struct vcap_set *vcap_keyfieldset(struct vcap_control *vctrl,
243 int vcap_del_rules(struct vcap_control *vctrl, struct vcap_admin *admin);
254 const char *vcap_keyset_name(struct vcap_control *vctrl,
[all …]
A Dvcap_api_debugfs.h18 struct vcap_control *vctrl,
23 struct vcap_control *vctrl);
28 struct vcap_control *vctrl, in vcap_port_debugfs() argument
35 struct vcap_control *vctrl) in vcap_debugfs() argument
A Dvcap_api_kunit.c595 .vctrl = &test_vctrl, in vcap_api_encode_keyfield_test()
656 .vctrl = &test_vctrl, in vcap_api_encode_max_keyfield_test()
719 .vctrl = &test_vctrl, in vcap_api_encode_actionfield_test()
840 .vctrl = &test_vctrl, in vcap_api_encode_rule_keyset_test()
950 .vctrl = &test_vctrl, in vcap_api_encode_rule_actionset_test()
1008 .vctrl = &test_vctrl, in vcap_api_rule_add_keyvalue_test()
1162 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_basic_test()
1209 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_failed_test()
1256 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_many_test()
1438 .vctrl = &test_vctrl, in vcap_api_set_rule_counter_test()
[all …]
A Dvcap_api.h281 int vcap_api_set_client(struct vcap_control *vctrl);
A Dvcap_api_debugfs_kunit.c522 .vctrl = &test_vctrl, in vcap_api_show_admin_rule_test()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_flower.c378 struct vcap_control *vctrl; in sparx5_tc_select_protocol_keyset() local
380 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_select_protocol_keyset()
1018 struct vcap_control *vctrl; in sparx5_tc_flower_replace() local
1022 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_replace()
1191 struct vcap_control *vctrl, in sparx5_tc_free_rule_resources() argument
1215 struct vcap_control *vctrl; in sparx5_tc_flower_destroy() local
1217 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_destroy()
1249 struct vcap_control *vctrl; in sparx5_tc_flower_stats() local
1253 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_stats()
1266 struct vcap_control *vctrl; in sparx5_tc_flower() local
[all …]
A Dsparx5_vcap_debugfs.c446 struct vcap_control *vctrl; in sparx5_port_info() local
448 vctrl = sparx5->vcap_ctrl; in sparx5_port_info()
449 vcap = &vctrl->vcaps[admin->vtype]; in sparx5_port_info()
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_tc_flower.c166 static int lan966x_tc_flower_action_check(struct vcap_control *vctrl, in lan966x_tc_flower_action_check() argument
200 if (!vcap_is_next_lookup(vctrl, fco->common.chain_index, in lan966x_tc_flower_action_check()
206 } else if (!vcap_is_last_chain(vctrl, fco->common.chain_index, in lan966x_tc_flower_action_check()
297 struct vcap_control *vctrl; in lan966x_tc_flower_del() local
300 vctrl = port->lan966x->vcap_ctrl; in lan966x_tc_flower_del()
302 rule_id = vcap_lookup_rule_by_cookie(vctrl, f->cookie); in lan966x_tc_flower_del()
306 err = vcap_del_rule(vctrl, port->dev, rule_id); in lan966x_tc_flower_del()
A Dlan966x_vcap_debugfs.c85 struct vcap_control *vctrl; in lan966x_vcap_port_info() local
87 vctrl = lan966x->vcap_ctrl; in lan966x_vcap_port_info()
88 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info()
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dvctrl.txt6 - compatible : must be "vctrl-regulator".
25 avoid this situation the vctrl driver breaks down
36 vctrl-reg {
37 compatible = "vctrl-regulator";
/linux-6.3-rc2/arch/arm64/kvm/vgic/
A Dvgic-v2.c353 if (!info->vctrl.start) { in vgic_v2_probe()
374 ret = create_hyp_io_mappings(info->vctrl.start, in vgic_v2_probe()
375 resource_size(&info->vctrl), in vgic_v2_probe()
397 kvm_debug("vgic-v2@%llx\n", info->vctrl.start); in vgic_v2_probe()
/linux-6.3-rc2/include/linux/irqchip/
A Darm-vgic-info.h30 struct resource vctrl; member
/linux-6.3-rc2/arch/arm64/boot/dts/rockchip/
A Drk3399-gru.dtsi122 compatible = "vctrl-regulator";
151 compatible = "vctrl-regulator";
180 compatible = "vctrl-regulator";
A Drk3399-gru-chromebook.dtsi66 compatible = "vctrl-regulator";
/linux-6.3-rc2/drivers/irqchip/
A Dirq-gic.c1496 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_of_setup_kvm_info()
1654 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_acpi_setup_kvm_info()

Completed in 44 milliseconds