Searched refs:is_partner (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 167 bool is_partner) in cros_typec_unregister_altmodes() argument 173 head = is_partner ? &port->partner_mode_list : &port->plug_mode_list; in cros_typec_unregister_altmodes() 755 bool is_partner) in cros_typec_register_altmodes() argument 773 if (is_partner) in cros_typec_register_altmodes() 793 if (is_partner) in cros_typec_register_altmodes() 801 if (is_partner) in cros_typec_register_altmodes() 808 is_partner ? "partner" : "plug", port_num); in cros_typec_register_altmodes() 815 cros_typec_unregister_altmodes(typec, port_num, is_partner); in cros_typec_register_altmodes()
|
/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 652 enum typec_role role, int is_partner, in ucsi_read_pdos() argument 659 if (is_partner && in ucsi_read_pdos() 666 command |= UCSI_GET_PDOS_PARTNER_PDO(is_partner); in ucsi_read_pdos() 679 int is_partner, u32 *pdos) in ucsi_get_pdos() argument 689 ret = ucsi_read_pdos(con, role, is_partner, pdos, 0, UCSI_MAX_PDOS); in ucsi_get_pdos() 698 ret = ucsi_read_pdos(con, role, is_partner, pdos, UCSI_MAX_PDOS, in ucsi_get_pdos() 723 bool is_partner) in ucsi_get_pd_caps() argument 728 ret = ucsi_get_pdos(con, role, is_partner, pd_caps.pdo); in ucsi_get_pd_caps() 737 return usb_power_delivery_register_capabilities(is_partner ? con->partner_pd : con->pd, in ucsi_get_pd_caps()
|