Lines Matching refs:busy
318 int busy = 0; in psbfb_sync() local
331 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); in psbfb_sync()
333 } while (busy && !time_after_eq(jiffies, _end)); in psbfb_sync()
335 if (busy) in psbfb_sync()
336 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); in psbfb_sync()
337 if (busy) in psbfb_sync()
341 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & in psbfb_sync()
344 } while (busy && !time_after_eq(jiffies, _end)); in psbfb_sync()
345 if (busy) in psbfb_sync()
346 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & in psbfb_sync()
351 return (busy) ? -EBUSY : 0; in psbfb_sync()