INTEL_TH_SWITCH
if (WARN_ON_ONCE(hub->type != INTEL_TH_SWITCH))
WARN_ON_ONCE(hub->type != INTEL_TH_SWITCH);
if (thdev->type == INTEL_TH_SWITCH) {
if (hub->type != INTEL_TH_SWITCH)
if (thdev->type == INTEL_TH_SWITCH &&
[INTEL_TH_SWITCH] = &intel_th_switch_device_type,
.type = INTEL_TH_SWITCH,
if (thdev->type == INTEL_TH_SWITCH)
} else if (subdev->type == INTEL_TH_SWITCH) {
if (subdev->type == INTEL_TH_SWITCH && !req) {
if (WARN_ON_ONCE(hub->type != INTEL_TH_SWITCH))
if (thdev->type == INTEL_TH_SWITCH)