Searched refs:cc_mode (Results 1 – 2 of 2) sorted by relevance
79 int cc_mode; /* cc is host or device */ member449 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() local619 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 …]
187 *val = ccparam->cc_mode; in map_cc_config_offset_gen0_ext0()266 ccparam->cc_mode = val; in bnxt_re_fill_gen0_ext0()