Lines Matching defs:wait
4133 /* wait 3 ms to make sure the firmware is stopped */
4143 static int rtl_phy_patch_request(struct r8152 *tp, bool request, bool wait)
4158 for (i = 0; wait && i < 5000; i++) {
4170 if (request && wait &&
4201 rtl_pre_ram_code(struct r8152 *tp, u16 key_addr, u16 patch_key, bool wait)
4203 if (rtl_phy_patch_request(tp, true, wait))
4211 static int rtl_post_ram_code(struct r8152 *tp, u16 key_addr, bool wait)
4215 rtl_phy_patch_request(tp, false, wait);
4923 static void rtl_ram_code_speed_up(struct r8152 *tp, struct fw_phy_speed_up *phy, bool wait)
4939 if (rtl_phy_patch_request(tp, true, wait))
4977 rtl_phy_patch_request(tp, false, wait);