Lines Matching refs:rd_cookie
65 uint32_t voltage = rd->rd_get_voltage(rd->rd_cookie);
67 rd->rd_set_voltage(rd->rd_cookie, rd->rd_volt_min);
69 rd->rd_set_voltage(rd->rd_cookie, rd->rd_volt_max);
73 uint32_t current = rd->rd_get_current(rd->rd_cookie);
75 rd->rd_set_current(rd->rd_cookie, rd->rd_amp_min);
77 rd->rd_set_current(rd->rd_cookie, rd->rd_amp_max);
187 return rd->rd_enable(rd->rd_cookie, enable);
222 return rd->rd_get_voltage(rd->rd_cookie);
264 old = rd->rd_get_voltage(rd->rd_cookie);
265 error = rd->rd_set_voltage(rd->rd_cookie, voltage);
305 return rd->rd_get_current(rd->rd_cookie);
343 old = rd->rd_get_current(rd->rd_cookie);
344 error = rd->rd_set_current(rd->rd_cookie, current);