Lines Matching refs:master
93 struct device *master;
212 da903x_reads(charger->master, DA9030_VBAT_RES,
220 da903x_read(charger->master, DA9030_CHARGE_CONTROL, &val);
226 da903x_read(charger->master, DA9030_FAULT_LOG, &charger->fault);
227 charger->chdet = da903x_query_status(charger->master,
245 da903x_write(charger->master, DA9030_CHARGE_CONTROL, val);
271 da903x_write(charger->master, DA9030_VBATMON,
278 da903x_write(charger->master, DA9030_VBATMON,
388 da903x_write(charger->master, DA9030_VBATMON,
471 ret = da903x_writes(charger->master, DA9030_VBATMON, 5, v);
479 ret = da903x_write(charger->master, DA9030_ADC_MAN_CONTROL,
486 return da903x_write(charger->master, DA9030_ADC_AUTO_CONTROL,
511 charger->master = pdev->dev.parent;
534 ret = da903x_register_notifier(charger->master, &charger->nb,
552 da903x_unregister_notifier(charger->master, &charger->nb,
570 da903x_unregister_notifier(charger->master, &charger->nb,