Searched refs:new_state (Results 1 – 4 of 4) sorted by relevance
2825 enum tcpm_state new_state; in _tcpm_cc_change() local2874 new_state = SNK_DEBOUNCED; in _tcpm_cc_change()2876 new_state = SNK_UNATTACHED; in _tcpm_cc_change()2879 if (new_state != port->delayed_state) in _tcpm_cc_change()2884 new_state = SNK_UNATTACHED; in _tcpm_cc_change()2886 new_state = tcpm_try_src(port) ? SRC_TRY : SNK_ATTACHED; in _tcpm_cc_change()2888 new_state = SNK_UNATTACHED; in _tcpm_cc_change()2889 if (new_state != port->delayed_state) in _tcpm_cc_change()
459 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception() argument464 if (common->state <= new_state) { in raise_exception()466 common->state = new_state; in raise_exception()
95 static int nand_get_device(struct mtd_info *mtd, int new_state);825 struct mtd_info *mtd, int new_state) in panic_nand_get_device() argument829 chip->state = new_state; in panic_nand_get_device()840 nand_get_device(struct mtd_info *mtd, int new_state) in nand_get_device() argument843 chip->state = new_state; in nand_get_device()
740 static void onenand_get_device(struct mtd_info *mtd, int new_state) in onenand_get_device() argument