Home
last modified time | relevance | path

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

/linux-6.1.9/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.c640 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_pwr_opmode_change()
664 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner()
1013 if (UCSI_CONSTAT_PWR_OPMODE(con->status.flags) != in ucsi_pr_swap()
1178 UCSI_CONSTAT_PWR_OPMODE(con->status.flags) == in ucsi_register_port()
Ducsi.h247 #define UCSI_CONSTAT_PWR_OPMODE(_f_) ((_f_) & GENMASK(2, 0)) macro