Home
last modified time | relevance | path

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

/linux/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 DMakefile195 obj-$(CONFIG_REGULATOR_VCTRL) += vctrl-regulator.o
/linux/drivers/net/ethernet/microchip/vcap/
A Dvcap_api.c1433 struct vcap_control *vctrl = ri->vctrl; in vcap_decode_actionset() local
1476 struct vcap_control *vctrl = ri->vctrl; in vcap_decode_keyset() local
1626 if (vcap_api_check(vctrl)) in vcap_find_admin()
1682 if (vcap_api_check(vctrl)) in vcap_is_next_lookup()
2320 err = vcap_api_check(vctrl); in vcap_alloc_rule()
2365 ri->vctrl = vctrl; /* refer to the client */ in vcap_alloc_rule()
2440 err = vcap_api_check(vctrl); in vcap_get_rule()
2546 err = vcap_api_check(vctrl); in vcap_del_rule()
3235 if (vcap_api_check(vctrl)) in vcap_is_last_chain()
3323 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);
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);
230 bool vcap_is_last_chain(struct vcap_control *vctrl, int cid, bool ingress);
235 const struct vcap_set *vcap_keyfieldset(struct vcap_control *vctrl,
245 int vcap_del_rules(struct vcap_control *vctrl, struct vcap_admin *admin);
256 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.c594 .vctrl = &test_vctrl, in vcap_api_encode_keyfield_test()
655 .vctrl = &test_vctrl, in vcap_api_encode_max_keyfield_test()
718 .vctrl = &test_vctrl, in vcap_api_encode_actionfield_test()
839 .vctrl = &test_vctrl, in vcap_api_encode_rule_keyset_test()
949 .vctrl = &test_vctrl, in vcap_api_encode_rule_actionset_test()
1017 .vctrl = &test_vctrl, in vcap_api_rule_add_keyvalue_test()
1192 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_basic_test()
1239 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_failed_test()
1286 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_many_test()
1466 .vctrl = &test_vctrl, in vcap_api_set_rule_counter_test()
[all …]
A Dvcap_api_debugfs_kunit.c522 .vctrl = &test_vctrl, in vcap_api_show_admin_rule_test()
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_flower.c409 struct vcap_control *vctrl; in sparx5_tc_select_protocol_keyset() local
411 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_select_protocol_keyset()
1174 struct vcap_control *vctrl; in sparx5_tc_flower_replace() local
1178 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_replace()
1359 struct vcap_control *vctrl, in sparx5_tc_free_rule_resources() argument
1383 struct vcap_control *vctrl; in sparx5_tc_flower_destroy() local
1385 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_destroy()
1417 struct vcap_control *vctrl; in sparx5_tc_flower_stats() local
1421 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_stats()
1443 struct vcap_control *vctrl; in sparx5_tc_flower_template_create() 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/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_tc_flower.c259 static int lan966x_tc_flower_action_check(struct vcap_control *vctrl, in lan966x_tc_flower_action_check() argument
293 if (!vcap_is_next_lookup(vctrl, fco->common.chain_index, in lan966x_tc_flower_action_check()
299 } else if (!vcap_is_last_chain(vctrl, fco->common.chain_index, in lan966x_tc_flower_action_check()
379 static int lan966x_tc_add_rule_link(struct vcap_control *vctrl, in lan966x_tc_add_rule_link() argument
385 struct vcap_admin *to_admin = vcap_find_admin(vctrl, to_cid); in lan966x_tc_add_rule_link()
394 diff = vcap_chain_offset(vctrl, f->common.chain_index, to_cid); in lan966x_tc_add_rule_link()
563 struct vcap_control *vctrl; in lan966x_tc_flower_del() local
566 vctrl = port->lan966x->vcap_ctrl; in lan966x_tc_flower_del()
568 rule_id = vcap_lookup_rule_by_cookie(vctrl, f->cookie); in lan966x_tc_flower_del()
572 err = vcap_del_rule(vctrl, port->dev, rule_id); in lan966x_tc_flower_del()
A Dlan966x_vcap_debugfs.c222 struct vcap_control *vctrl; in lan966x_vcap_port_info() local
224 vctrl = lan966x->vcap_ctrl; in lan966x_vcap_port_info()
225 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info()
/linux/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/drivers/media/platform/chips-media/wave5/
A Dwave5-vpu.h52 static inline struct vpu_instance *wave5_ctrl_to_vpu_inst(struct v4l2_ctrl *vctrl) in wave5_ctrl_to_vpu_inst() argument
54 return container_of(vctrl->handler, struct vpu_instance, v4l2_ctrl_hdl); in wave5_ctrl_to_vpu_inst()
/linux/arch/arm64/kvm/vgic/
A Dvgic-v2.c347 if (!info->vctrl.start) { in vgic_v2_probe()
368 ret = create_hyp_io_mappings(info->vctrl.start, in vgic_v2_probe()
369 resource_size(&info->vctrl), in vgic_v2_probe()
391 kvm_debug("vgic-v2@%llx\n", info->vctrl.start); in vgic_v2_probe()
/linux/include/linux/irqchip/
A Darm-vgic-info.h30 struct resource vctrl; member
/linux/arch/arm64/boot/dts/rockchip/
A Drk3399-gru.dtsi121 compatible = "vctrl-regulator";
150 compatible = "vctrl-regulator";
179 compatible = "vctrl-regulator";
A Drk3399-gru-chromebook.dtsi66 compatible = "vctrl-regulator";
/linux/drivers/irqchip/
A Dirq-gic.c1445 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_of_setup_kvm_info()
1597 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_acpi_setup_kvm_info()

Completed in 46 milliseconds