Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/ucsi/
H A Dpsy.c68 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_min()
91 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_max()
119 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_now()
147 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_current_max()
177 if (UCSI_CONSTAT_PWR_OPMODE(flags) == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_psy_get_current_now()
191 UCSI_CONSTAT_PWR_OPMODE(flags) == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_psy_get_usb_type()
H A Dtrace.h59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags);
H A Ducsi.c728 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_pwr_opmode_change()
753 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner()
918 if (UCSI_CONSTAT_PWR_OPMODE(con->status.flags) == in ucsi_handle_connector_change()
1162 if (UCSI_CONSTAT_PWR_OPMODE(con->status.flags) != in ucsi_pr_swap()
1363 UCSI_CONSTAT_PWR_OPMODE(con->status.flags) == in ucsi_register_port()
H A Ducsi.h259 #define UCSI_CONSTAT_PWR_OPMODE(_f_) ((_f_) & GENMASK(2, 0)) macro