Searched refs:vctrl (Results 1 – 8 of 8) sorted by relevance
49 static int vctrl_calc_ctrl_voltage(struct vctrl_data *vctrl, int out_uV) in vctrl_calc_ctrl_voltage() argument51 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage()52 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage()60 static int vctrl_calc_output_voltage(struct vctrl_data *vctrl, int ctrl_uV) in vctrl_calc_output_voltage() argument62 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage()63 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage()84 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_get_voltage() local85 int ctrl_uV = regulator_get_voltage_rdev(vctrl->ctrl_reg->rdev); in vctrl_get_voltage()87 return vctrl_calc_output_voltage(vctrl, ctrl_uV); in vctrl_get_voltage()94 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_set_voltage() local[all …]
151 obj-$(CONFIG_REGULATOR_VCTRL) += vctrl-regulator.o
6 - compatible : must be "vctrl-regulator".25 avoid this situation the vctrl driver breaks down36 vctrl-reg {37 compatible = "vctrl-regulator";
371 if (!info->vctrl.start) { in vgic_v2_probe()392 ret = create_hyp_io_mappings(info->vctrl.start, in vgic_v2_probe()393 resource_size(&info->vctrl), in vgic_v2_probe()415 kvm_debug("vgic-v2@%llx\n", info->vctrl.start); in vgic_v2_probe()
32 struct resource vctrl; member
117 compatible = "vctrl-regulator";146 compatible = "vctrl-regulator";175 compatible = "vctrl-regulator";
66 compatible = "vctrl-regulator";
1442 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_of_setup_kvm_info()1600 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_acpi_setup_kvm_info()