Home
last modified time | relevance | path

Searched refs:UCSI_CONSTAT_PWR_OPMODE (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/usb/typec/ucsi/
Dpsy.c47 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_min()
70 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_max()
98 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_now()
126 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_current_max()
156 if (UCSI_CONSTAT_PWR_OPMODE(flags) == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_psy_get_current_now()
170 UCSI_CONSTAT_PWR_OPMODE(flags) == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_psy_get_usb_type()
Dtrace.h59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags);
Ducsi.c544 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_pwr_opmode_change()
567 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner()
740 if (UCSI_CONSTAT_PWR_OPMODE(changed_flags) != 0) in ucsi_handle_connector_change()
1008 if (UCSI_CONSTAT_PWR_OPMODE(con->status.flags) != in ucsi_pr_swap()
Ducsi.h247 #define UCSI_CONSTAT_PWR_OPMODE(_f_) ((_f_) & GENMASK(2, 0)) macro