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
1210
if (!UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1215
switch (UCSI_CONSTAT(con, ORIENTATION)) {
drivers/usb/typec/ucsi/ucsi.c
1229
switch (UCSI_CONSTAT(con, PWR_OPMODE)) {
drivers/usb/typec/ucsi/ucsi.c
1231
con->rdo = UCSI_CONSTAT(con, RDO);
drivers/usb/typec/ucsi/ucsi.c
1258
u8 pwr_opmode = UCSI_CONSTAT(con, PWR_OPMODE);
drivers/usb/typec/ucsi/ucsi.c
1267
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1301
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN4))
drivers/usb/typec/ucsi/ucsi.c
1304
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN3))
drivers/usb/typec/ucsi/ucsi.c
1333
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1349
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1350
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1358
if (UCSI_CONSTAT(con, PARTNER_FLAG_USB))
drivers/usb/typec/ucsi/ucsi.c
1363
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN4)) ||
drivers/usb/typec/ucsi/ucsi.c
1365
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN3))) && con->partner)
drivers/usb/typec/ucsi/ucsi.c
1369
if ((!UCSI_CONSTAT(con, PARTNER_FLAG_USB)) &&
drivers/usb/typec/ucsi/ucsi.c
1371
(!(UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN3) ||
drivers/usb/typec/ucsi/ucsi.c
1372
UCSI_CONSTAT(con, PARTNER_FLAG_USB4_GEN4)))))
drivers/usb/typec/ucsi/ucsi.c
1383
u8 prev_state = UCSI_CONSTAT(con, CONNECTED);
drivers/usb/typec/ucsi/ucsi.c
1392
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1461
prev_role = UCSI_CONSTAT(con, PWR_DIR);
drivers/usb/typec/ucsi/ucsi.c
1476
change = UCSI_CONSTAT(con, CHANGE);
drivers/usb/typec/ucsi/ucsi.c
1477
role = UCSI_CONSTAT(con, PWR_DIR);
drivers/usb/typec/ucsi/ucsi.c
1485
if (UCSI_CONSTAT(con, CONNECTED))
drivers/usb/typec/ucsi/ucsi.c
1499
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1507
if (UCSI_CONSTAT(con, PWR_OPMODE) == UCSI_CONSTAT_PWR_OPMODE_PD) {
drivers/usb/typec/ucsi/ucsi.c
1535
UCSI_CONSTAT(con, PWR_READING_READY_V2_1)) {
drivers/usb/typec/ucsi/ucsi.c
1536
curr_scale = UCSI_CONSTAT(con, CURRENT_SCALE_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1537
volt_scale = UCSI_CONSTAT(con, VOLTAGE_SCALE_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1539
val = UCSI_CONSTAT(con, PEAK_CURRENT_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1542
val = UCSI_CONSTAT(con, AVG_CURRENT_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1545
val = UCSI_CONSTAT(con, VBUS_VOLTAGE_V2_1);
drivers/usb/typec/ucsi/ucsi.c
1715
partner_type = UCSI_CONSTAT(con, PARTNER_TYPE);
drivers/usb/typec/ucsi/ucsi.c
1759
cur_role = UCSI_CONSTAT(con, PWR_DIR);
drivers/usb/typec/ucsi/ucsi.c
1782
if (UCSI_CONSTAT(con, PWR_OPMODE) != UCSI_CONSTAT_PWR_OPMODE_PD) {
drivers/usb/typec/ucsi/ucsi.c
1924
switch (UCSI_CONSTAT(con, PARTNER_TYPE)) {
drivers/usb/typec/ucsi/ucsi.c
1941
if (UCSI_CONSTAT(con, CONNECTED)) {
drivers/usb/typec/ucsi/ucsi.c
1942
typec_set_pwr_role(con->port, UCSI_CONSTAT(con, PWR_DIR));
drivers/usb/typec/ucsi/ucsi.c
1954
if (!(UCSI_CONSTAT(con, PARTNER_FLAG_USB)))
drivers/usb/typec/ucsi/ucsi.c
1964
if (con->partner && UCSI_CONSTAT(con, PWR_OPMODE) == UCSI_CONSTAT_PWR_OPMODE_PD) {
drivers/usb/typec/ucsi/ucsi.c
2262
connected = UCSI_CONSTAT(con, CONNECTED);
drivers/usb/typec/ucsi/ucsi.c
869
(UCSI_CONSTAT(con, PWR_DIR) || !is_source(role)))
drivers/usb/typec/ucsi/ucsi_glink.c
212
if (!UCSI_CONSTAT(con, CONNECTED)) {