Searched refs:is_partner (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 148 bool is_partner) in cros_typec_unregister_altmodes() argument 154 head = is_partner ? &port->partner_mode_list : &port->plug_mode_list; in cros_typec_unregister_altmodes() 708 bool is_partner) in cros_typec_register_altmodes() argument 726 if (is_partner) in cros_typec_register_altmodes() 746 if (is_partner) in cros_typec_register_altmodes() 754 if (is_partner) in cros_typec_register_altmodes() 761 is_partner ? "partner" : "plug", port_num); in cros_typec_register_altmodes() 768 cros_typec_unregister_altmodes(typec, port_num, is_partner); in cros_typec_register_altmodes()
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 596 enum typec_role role, int is_partner, in ucsi_read_pdos() argument 604 command |= UCSI_GET_PDOS_PARTNER_PDO(is_partner); in ucsi_read_pdos() 617 int is_partner, u32 *pdos) in ucsi_get_pdos() argument 623 ret = ucsi_read_pdos(con, role, is_partner, pdos, 0, UCSI_MAX_PDOS); in ucsi_get_pdos() 632 ret = ucsi_read_pdos(con, role, is_partner, pdos, UCSI_MAX_PDOS, in ucsi_get_pdos()
|