Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/typec/ucsi/
Dpsy.c69 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_min()
92 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_max()
120 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_now()
148 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_current_max()
178 if (UCSI_CONSTAT_PWR_OPMODE(flags) == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_psy_get_current_now()
192 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.c997 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_pwr_opmode_change()
1023 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner()
1245 if (UCSI_CONSTAT_PWR_OPMODE(con->status.flags) == in ucsi_handle_connector_change()
1497 if (UCSI_CONSTAT_PWR_OPMODE(con->status.flags) != in ucsi_pr_swap()
1673 UCSI_CONSTAT_PWR_OPMODE(con->status.flags) == in ucsi_register_port()
Ducsi.h329 #define UCSI_CONSTAT_PWR_OPMODE(_f_) ((_f_) & GENMASK(2, 0)) macro