Symbol: UCSI_CONSTAT
drivers/usb/typec/ucsi/psy.c
117
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/psy.c
149
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/psy.c
178
if (!UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/psy.c
183
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/psy.c
215
if (!UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/psy.c
220
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/psy.c
244
if (UCSI_CONSTAT(con, CONNECTED) &&
drivers/usb/typec/ucsi/psy.c
245
UCSI_CONSTAT(con, PWR_OPMODE) == UCSI_CONSTAT_PWR_OPMODE_PD)
drivers/usb/typec/ucsi/psy.c
253
if (!(UCSI_CONSTAT(con, CONNECTED))) {
drivers/usb/typec/ucsi/psy.c
259
if (UCSI_CONSTAT(con, PWR_DIR) != TYPEC_SINK) {
drivers/usb/typec/ucsi/psy.c
264
switch (UCSI_CONSTAT(con, BC_STATUS)) {
drivers/usb/typec/ucsi/psy.c
58
bool is_sink = UCSI_CONSTAT(con, PWR_DIR) == TYPEC_SINK;
drivers/usb/typec/ucsi/psy.c
65
UCSI_CONSTAT(con, SINK_PATH_STATUS_V2_0) ==
drivers/usb/typec/ucsi/psy.c
68
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/psy.c
82
if (UCSI_CONSTAT(con, CONNECTED) &&
drivers/usb/typec/ucsi/psy.c
83
(UCSI_CONSTAT(con, PWR_DIR) == TYPEC_SINK))
drivers/usb/typec/ucsi/psy.c
93
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/trace.h
57
__entry->change = UCSI_CONSTAT(con, CHANGE);
drivers/usb/typec/ucsi/trace.h
58
__entry->opmode = UCSI_CONSTAT(con, PWR_OPMODE);
drivers/usb/typec/ucsi/trace.h
59
__entry->connected = UCSI_CONSTAT(con, CONNECTED);
drivers/usb/typec/ucsi/trace.h
60
__entry->pwr_dir = UCSI_CONSTAT(con, PWR_DIR);
drivers/usb/typec/ucsi/trace.h
61
__entry->partner_flags = UCSI_CONSTAT(con, PARTNER_FLAGS);
drivers/usb/typec/ucsi/trace.h
62
__entry->partner_type = UCSI_CONSTAT(con, PARTNER_TYPE);
drivers/usb/typec/ucsi/trace.h
63
__entry->request_data_obj = UCSI_CONSTAT(con, RDO);
drivers/usb/typec/ucsi/trace.h
64
__entry->bc_status = UCSI_CONSTAT(con, BC_STATUS);
drivers/usb/typec/ucsi/ucsi.c
1037
if (!UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1042
switch (UCSI_CONSTAT(con, ORIENTATION)) {
drivers/usb/typec/ucsi/ucsi.c
1056
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/ucsi.c
1058
con->rdo = UCSI_CONSTAT(con, RDO);
drivers/usb/typec/ucsi/ucsi.c
1085
u8 pwr_opmode = UCSI_CONSTAT(con, PWR_OPMODE);
drivers/usb/typec/ucsi/ucsi.c
1094
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1128
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN4))
drivers/usb/typec/ucsi/ucsi.c
1131
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN3))
drivers/usb/typec/ucsi/ucsi.c
1160
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1176
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1177
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1185
if (UCSI_CONSTAT(con, PARTNER_FLAG_USB))
drivers/usb/typec/ucsi/ucsi.c
1191
if (!(UCSI_CONSTAT(con, PARTNER_FLAG_USB)))
drivers/usb/typec/ucsi/ucsi.c
1202
u8 prev_state = UCSI_CONSTAT(con, CONNECTED);
drivers/usb/typec/ucsi/ucsi.c
1211
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1293
change = UCSI_CONSTAT(con, CHANGE);
drivers/usb/typec/ucsi/ucsi.c
1294
role = UCSI_CONSTAT(con, PWR_DIR);
drivers/usb/typec/ucsi/ucsi.c
1311
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1319
if (UCSI_CONSTAT(con, PWR_OPMODE) == UCSI_CONSTAT_PWR_OPMODE_PD) {
drivers/usb/typec/ucsi/ucsi.c
1347
UCSI_CONSTAT(con, PWR_READING_READY_V2_1)) {
drivers/usb/typec/ucsi/ucsi.c
1348
curr_scale = UCSI_CONSTAT(con, CURRENT_SCALE_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1349
volt_scale = UCSI_CONSTAT(con, VOLTAGE_SCALE_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1351
val = UCSI_CONSTAT(con, PEAK_CURRENT_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1354
val = UCSI_CONSTAT(con, AVG_CURRENT_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1357
val = UCSI_CONSTAT(con, VBUS_VOLTAGE_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1518
partner_type = UCSI_CONSTAT(con, PARTNER_TYPE);
drivers/usb/typec/ucsi/ucsi.c
1562
cur_role = UCSI_CONSTAT(con, PWR_DIR);
drivers/usb/typec/ucsi/ucsi.c
1585
if (UCSI_CONSTAT(con, PWR_OPMODE) != UCSI_CONSTAT_PWR_OPMODE_PD) {
drivers/usb/typec/ucsi/ucsi.c
1726
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1743
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1744
typec_set_pwr_role(con->port, UCSI_CONSTAT(con, PWR_DIR));
drivers/usb/typec/ucsi/ucsi.c
1756
if (!(UCSI_CONSTAT(con, PARTNER_FLAG_USB)))
drivers/usb/typec/ucsi/ucsi.c
1766
if (con->partner && UCSI_CONSTAT(con, PWR_OPMODE) == UCSI_CONSTAT_PWR_OPMODE_PD) {
drivers/usb/typec/ucsi/ucsi.c
2016
connected = UCSI_CONSTAT(con, CONNECTED);
drivers/usb/typec/ucsi/ucsi.c
696
(UCSI_CONSTAT(con, PWR_DIR) || !is_source(role)))
drivers/usb/typec/ucsi/ucsi_glink.c
212
if (!UCSI_CONSTAT(con, CONNECTED)) {