Home
last modified time | relevance | path

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

/openbmc/linux/drivers/regulator/
H A Dscmi-regulator.c36 static const struct scmi_voltage_proto_ops *voltage_ops; variable
57 return voltage_ops->config_set(sreg->ph, sreg->id, in scmi_reg_enable()
65 return voltage_ops->config_set(sreg->ph, sreg->id, in scmi_reg_disable()
75 ret = voltage_ops->config_get(sreg->ph, sreg->id, &config); in scmi_reg_is_enabled()
92 ret = voltage_ops->level_get(sreg->ph, sreg->id, &volt_uV); in scmi_reg_get_voltage_sel()
109 return voltage_ops->level_set(sreg->ph, sreg->id, 0x0, volt_uV); in scmi_reg_set_voltage_sel()
207 vinfo = voltage_ops->info_get(sreg->ph, sreg->id); in scmi_regulator_common_init()
308 voltage_ops = handle->devm_protocol_get(sdev, in scmi_regulator_probe()
310 if (IS_ERR(voltage_ops)) in scmi_regulator_probe()
311 return PTR_ERR(voltage_ops); in scmi_regulator_probe()
[all …]