| /drivers/regulator/ |
| A D | vctrl-regulator.c | 156 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 D | Makefile | 197 obj-$(CONFIG_REGULATOR_VCTRL) += vctrl-regulator.o
|
| /drivers/net/ethernet/microchip/vcap/ |
| A D | vcap_api.c | 1433 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 D | vcap_api_debugfs.c | 12 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 D | vcap_api_private.h | 28 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 D | vcap_api_client.h | 152 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 D | vcap_api_debugfs.h | 18 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 D | vcap_api_kunit.c | 597 .vctrl = &test_vctrl, in vcap_api_encode_keyfield_test() 658 .vctrl = &test_vctrl, in vcap_api_encode_max_keyfield_test() 721 .vctrl = &test_vctrl, in vcap_api_encode_actionfield_test() 842 .vctrl = &test_vctrl, in vcap_api_encode_rule_keyset_test() 952 .vctrl = &test_vctrl, in vcap_api_encode_rule_actionset_test() 1020 .vctrl = &test_vctrl, in vcap_api_rule_add_keyvalue_test() 1195 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_basic_test() 1242 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_failed_test() 1289 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_many_test() 1469 .vctrl = &test_vctrl, in vcap_api_set_rule_counter_test() [all …]
|
| A D | vcap_api_debugfs_kunit.c | 522 .vctrl = &test_vctrl, in vcap_api_show_admin_rule_test()
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_tc_flower.c | 409 struct vcap_control *vctrl; in sparx5_tc_select_protocol_keyset() local 411 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_select_protocol_keyset() 1176 struct vcap_control *vctrl; in sparx5_tc_flower_replace() local 1180 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_replace() 1366 struct vcap_control *vctrl, in sparx5_tc_free_rule_resources() argument 1390 struct vcap_control *vctrl; in sparx5_tc_flower_destroy() local 1392 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_destroy() 1424 struct vcap_control *vctrl; in sparx5_tc_flower_stats() local 1428 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_stats() 1450 struct vcap_control *vctrl; in sparx5_tc_flower_template_create() local [all …]
|
| A D | sparx5_vcap_debugfs.c | 446 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()
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_tc_flower.c | 259 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 D | lan966x_vcap_debugfs.c | 222 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()
|
| /drivers/media/platform/chips-media/wave5/ |
| A D | wave5-vpu.h | 49 static inline struct vpu_instance *wave5_ctrl_to_vpu_inst(struct v4l2_ctrl *vctrl) in wave5_ctrl_to_vpu_inst() argument 51 return container_of(vctrl->handler, struct vpu_instance, v4l2_ctrl_hdl); in wave5_ctrl_to_vpu_inst()
|
| /drivers/irqchip/ |
| A D | irq-gic.c | 1445 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()
|