Home
last modified time | relevance | path

Searched refs:UCSI_CONSTAT (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/typec/ucsi/
A Dpsy.c58 if (UCSI_CONSTAT(con, CONNECTED) && in ucsi_psy_get_online()
59 (UCSI_CONSTAT(con, PWR_DIR) == TYPEC_SINK)) in ucsi_psy_get_online()
69 switch (UCSI_CONSTAT(con, PWR_OPMODE)) { in ucsi_psy_get_voltage_min()
92 switch (UCSI_CONSTAT(con, PWR_OPMODE)) { in ucsi_psy_get_voltage_max()
120 switch (UCSI_CONSTAT(con, PWR_OPMODE)) { in ucsi_psy_get_voltage_now()
148 switch (UCSI_CONSTAT(con, PWR_OPMODE)) { in ucsi_psy_get_current_max()
176 if (UCSI_CONSTAT(con, PWR_OPMODE) == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_psy_get_current_now()
187 if (UCSI_CONSTAT(con, CONNECTED) && in ucsi_psy_get_usb_type()
196 if (!(UCSI_CONSTAT(con, CONNECTED))) { in ucsi_psy_get_charge_type()
202 if (UCSI_CONSTAT(con, PWR_DIR) != TYPEC_SINK) { in ucsi_psy_get_charge_type()
[all …]
A Dtrace.h57 __entry->change = UCSI_CONSTAT(con, CHANGE);
58 __entry->opmode = UCSI_CONSTAT(con, PWR_OPMODE);
59 __entry->connected = UCSI_CONSTAT(con, CONNECTED);
60 __entry->pwr_dir = UCSI_CONSTAT(con, PWR_DIR);
61 __entry->partner_flags = UCSI_CONSTAT(con, PARTNER_FLAGS);
62 __entry->partner_type = UCSI_CONSTAT(con, PARTNER_TYPE);
63 __entry->request_data_obj = UCSI_CONSTAT(con, RDO);
64 __entry->bc_status = UCSI_CONSTAT(con, BC_STATUS);
A Ducsi.c1013 switch (UCSI_CONSTAT(con, PWR_OPMODE)) { in ucsi_pwr_opmode_change()
1015 con->rdo = UCSI_CONSTAT(con, RDO); in ucsi_pwr_opmode_change()
1048 switch (UCSI_CONSTAT(con, PARTNER_TYPE)) { in ucsi_register_partner()
1112 switch (UCSI_CONSTAT(con, PARTNER_TYPE)) { in ucsi_partner_change()
1128 if (UCSI_CONSTAT(con, CONNECTED)) { in ucsi_partner_change()
1163 if (UCSI_CONSTAT(con, CONNECTED)) { in ucsi_check_connection()
1243 change = UCSI_CONSTAT(con, CHANGE); in ucsi_handle_connector_change()
1244 role = UCSI_CONSTAT(con, PWR_DIR); in ucsi_handle_connector_change()
1260 if (UCSI_CONSTAT(con, CONNECTED)) { in ucsi_handle_connector_change()
1495 cur_role = UCSI_CONSTAT(con, PWR_DIR); in ucsi_pr_swap()
[all …]
A Ducsi_glink.c188 if (!UCSI_CONSTAT(con, CONNECTED)) { in pmic_glink_ucsi_connector_status()
A Ducsi.h430 #define UCSI_CONSTAT(_con_, _field_) \ macro

Completed in 12 milliseconds