Searched refs:ucsi_connector (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/usb/typec/ucsi/ |
H A D | psy.c | 34 static int ucsi_psy_get_scope(struct ucsi_connector *con, in ucsi_psy_get_scope() 54 static int ucsi_psy_get_online(struct ucsi_connector *con, in ucsi_psy_get_online() 64 static int ucsi_psy_get_voltage_min(struct ucsi_connector *con, in ucsi_psy_get_voltage_min() 87 static int ucsi_psy_get_voltage_max(struct ucsi_connector *con, in ucsi_psy_get_voltage_max() 114 static int ucsi_psy_get_voltage_now(struct ucsi_connector *con, in ucsi_psy_get_voltage_now() 143 static int ucsi_psy_get_current_max(struct ucsi_connector *con, in ucsi_psy_get_current_max() 173 static int ucsi_psy_get_current_now(struct ucsi_connector *con, in ucsi_psy_get_current_now() 185 static int ucsi_psy_get_usb_type(struct ucsi_connector *con, in ucsi_psy_get_usb_type() 198 static int ucsi_psy_get_charge_type(struct ucsi_connector *con, union power_supply_propval *val) in ucsi_psy_get_charge_type() 231 struct ucsi_connector *con = power_supply_get_drvdata(psy); in ucsi_psy_get_prop() [all …]
|
H A D | ucsi.h | 20 struct ucsi_connector; 82 void (*update_connector)(struct ucsi_connector *con); 83 void (*connector_status)(struct ucsi_connector *con); 378 struct ucsi_connector *connector; 415 struct ucsi_connector { struct 462 void ucsi_altmode_update_active(struct ucsi_connector *con); argument 469 int ucsi_register_port_psy(struct ucsi_connector *con); 470 void ucsi_unregister_port_psy(struct ucsi_connector *con); 471 void ucsi_port_psy_changed(struct ucsi_connector *con); 473 static inline int ucsi_register_port_psy(struct ucsi_connector *con) { return 0; } in ucsi_register_port_psy() [all …]
|
H A D | ucsi.c | 250 struct ucsi_connector *con; 251 int (*cb)(struct ucsi_connector *); 257 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker() 281 static int ucsi_partner_task(struct ucsi_connector *con, in ucsi_partner_task() 282 int (*cb)(struct ucsi_connector *), in ucsi_partner_task() argument 308 void ucsi_altmode_update_active(struct ucsi_connector *con) in ucsi_altmode_update_active() 373 static int ucsi_register_altmode(struct ucsi_connector *con, in ucsi_register_altmode() 480 ucsi_register_altmodes_nvidia(struct ucsi_connector *con, u8 recipient) in ucsi_register_altmodes_nvidia() 555 static int ucsi_register_altmodes(struct ucsi_connector *con, u8 recipient) in ucsi_register_altmodes() 618 static void ucsi_unregister_altmodes(struct ucsi_connector *con, u8 recipient) in ucsi_unregister_altmodes() [all …]
|
H A D | displayport.c | 20 struct ucsi_connector *con; 304 struct typec_altmode *ucsi_register_displayport(struct ucsi_connector *con, in ucsi_register_displayport()
|
H A D | ucsi_glink.c | 172 static void pmic_glink_ucsi_update_connector(struct ucsi_connector *con) in pmic_glink_ucsi_update_connector() 183 static void pmic_glink_ucsi_connector_status(struct ucsi_connector *con) in pmic_glink_ucsi_connector_status()
|
H A D | ucsi_ccg.c | 474 struct ucsi_connector *con, in ucsi_ccg_update_set_new_cam_cmd() 632 struct ucsi_connector *con; in ucsi_ccg_sync_control()
|