Searched refs:vctrl (Results 1 – 8 of 8) sorted by relevance
54 static int vctrl_calc_ctrl_voltage(struct vctrl_data *vctrl, int out_uV) in vctrl_calc_ctrl_voltage() argument56 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage()57 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage()65 static int vctrl_calc_output_voltage(struct vctrl_data *vctrl, int ctrl_uV) in vctrl_calc_output_voltage() argument67 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage()68 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage()89 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_get_voltage() local90 int ctrl_uV = regulator_get_voltage(vctrl->ctrl_reg); in vctrl_get_voltage()92 return vctrl_calc_output_voltage(vctrl, ctrl_uV); in vctrl_get_voltage()99 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_set_voltage() local[all …]
123 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";
29 struct resource vctrl; member
378 if (!info->vctrl.start) { in vgic_v2_probe()399 ret = create_hyp_io_mappings(info->vctrl.start, in vgic_v2_probe()400 resource_size(&info->vctrl), in vgic_v2_probe()422 kvm_debug("vgic-v2@%llx\n", info->vctrl.start); in vgic_v2_probe()
117 compatible = "vctrl-regulator";146 compatible = "vctrl-regulator";175 compatible = "vctrl-regulator";
66 compatible = "vctrl-regulator";
1416 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_of_setup_kvm_info()1574 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_acpi_setup_kvm_info()