Lines Matching refs:valid
474 int valid = 1; in dwc2_check_param_otg_cap() local
479 valid = 0; in dwc2_check_param_otg_cap()
489 valid = 0; in dwc2_check_param_otg_cap()
497 valid = 0; in dwc2_check_param_otg_cap()
501 if (!valid) in dwc2_check_param_otg_cap()
507 int valid = 0; in dwc2_check_param_phy_type() local
517 valid = 1; in dwc2_check_param_phy_type()
522 valid = 1; in dwc2_check_param_phy_type()
527 valid = 1; in dwc2_check_param_phy_type()
533 if (!valid) in dwc2_check_param_phy_type()
539 int valid = 1; in dwc2_check_param_speed() local
547 valid = 0; in dwc2_check_param_speed()
553 valid = 0; in dwc2_check_param_speed()
557 if (!valid) in dwc2_check_param_speed()
563 int valid = 0; in dwc2_check_param_phy_utmi_width() local
569 valid = (param == 8); in dwc2_check_param_phy_utmi_width()
572 valid = (param == 16); in dwc2_check_param_phy_utmi_width()
575 valid = (param == 8 || param == 16); in dwc2_check_param_phy_utmi_width()
579 if (!valid) in dwc2_check_param_phy_utmi_width()