Searched refs:UCSI_CONSTAT_PWR_OPMODE (Results 1 – 4 of 4) sorted by relevance
47 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()
59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags);
640 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()
247 #define UCSI_CONSTAT_PWR_OPMODE(_f_) ((_f_) & GENMASK(2, 0)) macro