Home
last modified time | relevance | path

Searched refs:cc_mode (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/extcon/
H A Dextcon-rtk-type-c.c79 int cc_mode; /* cc is host or device */ member
449 if (type_c->cc_mode == IN_HOST_MODE) { in host_device_switch_detection()
450 type_c->cc_mode = IN_DEVICE_MODE; in host_device_switch_detection()
453 type_c->cc_mode = IN_HOST_MODE; in host_device_switch_detection()
474 switch (type_c->cc_mode | type_c->is_attach) { in detect_type_c_state()
587 type_c->cc_mode, type_c->is_attach); in detect_type_c_state()
604 int cc_mode = 0; in host_device_switch() local
619 cc_mode = type_c->cc_mode; in host_device_switch()
634 if (cc_mode == IN_HOST_MODE) { in host_device_switch()
641 } else if (cc_mode == IN_DEVICE_MODE) { in host_device_switch()
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
H A Ddebugfs.c187 *val = ccparam->cc_mode; in map_cc_config_offset_gen0_ext0()
266 ccparam->cc_mode = val; in bnxt_re_fill_gen0_ext0()