Lines Matching refs:dio
49 struct DIO5632_regulator *dio = rdev_get_drvdata(rdev); in DIO5632_regulator_enable() local
51 struct DIO5632_reg_pdata *rpdata = &dio->reg_pdata[id]; in DIO5632_regulator_enable()
64 dev_err(dio->dev, "Failed to disable active discharge: %d\n", in DIO5632_regulator_enable()
75 struct DIO5632_regulator *dio = rdev_get_drvdata(rdev); in DIO5632_regulator_disable() local
77 struct DIO5632_reg_pdata *rpdata = &dio->reg_pdata[id]; in DIO5632_regulator_disable()
89 struct DIO5632_regulator *dio = rdev_get_drvdata(rdev); in DIO5632_regulator_is_enabled() local
91 struct DIO5632_reg_pdata *rpdata = &dio->reg_pdata[id]; in DIO5632_regulator_is_enabled()
114 struct DIO5632_regulator *dio = config->driver_data; in DIO5632_of_parse_cb() local
115 struct DIO5632_reg_pdata *rpdata = &dio->reg_pdata[desc->id]; in DIO5632_of_parse_cb()
118 rpdata->en_gpiod = devm_fwnode_get_index_gpiod_from_child(dio->dev, in DIO5632_of_parse_cb()
183 struct DIO5632_regulator *dio; in DIO5632_probe() local
190 dio = devm_kzalloc(dev, sizeof(*dio), GFP_KERNEL); in DIO5632_probe()
191 if (!dio) in DIO5632_probe()
201 i2c_set_clientdata(client, dio); in DIO5632_probe()
202 dio->dev = dev; in DIO5632_probe()
207 config.driver_data = dio; in DIO5632_probe()