Searched refs:vctrl (Results 1 – 8 of 8) sorted by relevance
46 static int vctrl_calc_ctrl_voltage(struct vctrl_data *vctrl, int out_uV) in vctrl_calc_ctrl_voltage() argument48 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage()49 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage()57 static int vctrl_calc_output_voltage(struct vctrl_data *vctrl, int ctrl_uV) in vctrl_calc_output_voltage() argument59 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage()60 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage()81 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_get_voltage() local82 int ctrl_uV = regulator_get_voltage(vctrl->ctrl_reg); in vctrl_get_voltage()84 return vctrl_calc_output_voltage(vctrl, ctrl_uV); in vctrl_get_voltage()91 struct vctrl_data *vctrl = rdev_get_drvdata(rdev); in vctrl_set_voltage() local[all …]
133 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";
1408 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_of_setup_kvm_info()1566 struct resource *vctrl_res = &gic_v2_kvm_info.vctrl; in gic_acpi_setup_kvm_info()