Lines Matching refs:bc12_role
191 if (state->bc12_role != pi3usb9201_data->partner_state.bc12_role) { in pi3usb9201_partner_has_changed()
195 if (state->bc12_role == BC12_PORTABLE_DEVICE && in pi3usb9201_partner_has_changed()
200 if (state->bc12_role == BC12_CHARGING_PORT && in pi3usb9201_partner_has_changed()
230 pi3usb9201_data->partner_state.bc12_role = BC12_DISCONNECTED; in pi3usb9201_update_charging_partner()
267 new_partner_state.bc12_role = BC12_PORTABLE_DEVICE; in pi3usb9201_client_detect_finish()
338 partner_state.bc12_role = BC12_CHARGING_PORT; in pi3usb9201_host_interrupt()
343 partner_state.bc12_role = BC12_CHARGING_PORT; in pi3usb9201_host_interrupt()
408 partner_state.bc12_role = BC12_PORTABLE_DEVICE; in pi3usb9201_set_portable_device()
445 partner_state.bc12_role = BC12_CHARGING_PORT; in pi3usb9201_set_charging_mode()
524 static int pi3usb9201_set_role(const struct device *dev, const enum bc12_role role) in pi3usb9201_set_role()
578 pi3usb9201_data->partner_state.bc12_role = BC12_DISCONNECTED; in pi3usb9201_init()