/drivers/gpu/drm/gma500/ |
H A D | blitter.c | 26 int busy = 1; local 38 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); 39 } while (busy && !time_after_eq(jiffies, stop)); 41 if (busy) 45 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & 47 } while (busy && !time_after_eq(jiffies, stop)); 49 /* If still busy, we probably have a hang */ 50 return (busy) ? -EBUSY : 0;
|
H A D | accel_2d.c | 330 int busy = 0; local 343 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); 345 } while (busy && !time_after_eq(jiffies, _end)); 347 if (busy) 348 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); 349 if (busy) 353 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & 356 } while (busy && !time_after_eq(jiffies, _end)); 357 if (busy) 358 busy [all...] |
/drivers/isdn/hardware/eicon/ |
H A D | diva_dma.c | 33 int busy; member in struct:_diva_dma_map_entry 71 if (!pmap[i].busy) { 72 pmap[i].busy = 1; 82 pmap[nr].busy = 0;
|
/drivers/net/wireless/ath/ |
H A D | hw.c | 144 u32 cycles, busy, rx, tx; local 152 busy = REG_READ(ah, AR_RCCNT); 167 common->cc_ani.rx_busy += busy; 172 common->cc_survey.rx_busy += busy;
|
/drivers/clk/mxs/ |
H A D | clk-div.c | 23 * @busy: busy bit shift 26 * addtional busy bit. 32 u8 busy; member in struct:clk_div 66 ret = mxs_clk_wait(div->reg, div->busy); 78 void __iomem *reg, u8 shift, u8 width, u8 busy) 95 div->busy = busy; 77 mxs_clk_div(const char *name, const char *parent_name, void __iomem *reg, u8 shift, u8 width, u8 busy) argument
|
H A D | clk-frac.c | 25 * @busy: busy bit shift 27 * The clock is an adjustable fractional divider with a busy bit to wait 35 u8 busy; member in struct:clk_frac 102 return mxs_clk_wait(frac->reg, frac->busy); 112 void __iomem *reg, u8 shift, u8 width, u8 busy) 131 frac->busy = busy; 111 mxs_clk_frac(const char *name, const char *parent_name, void __iomem *reg, u8 shift, u8 width, u8 busy) argument
|
H A D | clk.h | 33 void __iomem *reg, u8 shift, u8 width, u8 busy); 36 void __iomem *reg, u8 shift, u8 width, u8 busy);
|
/drivers/char/hw_random/ |
H A D | virtio-rng.c | 37 bool busy; member in struct:virtrng_info 75 if (!vi->busy) { 76 vi->busy = true; 88 vi->busy = false; 97 if (vi->busy) 151 vi->busy = false;
|
H A D | ppc4xx-rng.c | 34 int busy, i, present = 0; local 37 busy = (in_le32(rng_regs + PPC4XX_TRNG_STAT) & PPC4XX_TRNG_STAT_B); 38 if (!busy || !wait) {
|
/drivers/isdn/hisax/ |
H A D | elsa_cs.c | 71 int busy; member in struct:local_info_t 99 info->busy = 1; 154 i = hisax_init_pcmcia(link, &(((local_info_t *)link->priv)->busy), &icard); 188 dev->busy = 1; 197 dev->busy = 0;
|
H A D | teles_cs.c | 52 int busy; member in struct:local_info_t 81 info->busy = 1; 134 i = hisax_init_pcmcia(link, &(((local_info_t *)link->priv)->busy), &icard); 170 dev->busy = 1; 179 dev->busy = 0;
|
H A D | avma1_cs.c | 80 int busy = 0; local 123 i = hisax_init_pcmcia(link, &busy, &icard);
|
H A D | st5481_d.c | 307 if (test_and_set_bit(buf_nr, &d_out->busy)) { 308 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); 384 test_and_clear_bit(buf_nr, &d_out->busy); 395 if (d_out->busy == 0) { 424 if (test_and_set_bit(buf_nr, &d_out->busy)) { 425 WARNING("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); 521 if (test_bit(0, &d_out->busy) || test_bit(1, &d_out->busy)) { [all...] |
H A D | st5481_b.c | 40 if (test_and_set_bit(buf_nr, &b_out->busy)) { 41 DBG(4, "ep %d urb %d busy", (bcs->channel + 1) * 2, buf_nr); 173 test_and_clear_bit(buf_nr, &b_out->busy); 184 if (b_out->busy == 0) { 215 b_out->busy = 0; 347 * we either start transmitting (if idle) or queue (if busy).
|
/drivers/devfreq/exynos/ |
H A D | exynos_ppmu.c | 106 int i, j, busy = 0; local 112 busy = i; 117 return busy;
|
/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.h | 68 u16 busy; member in struct:neighbor_stats 76 u16 neighs; /* number of busy neighbors */
|
/drivers/mtd/maps/ |
H A D | vmu-flash.c | 149 if (atomic_read(&mdev->busy) == 1) { 151 atomic_read(&mdev->busy) == 0, HZ); 152 if (atomic_read(&mdev->busy) == 1) { 154 " is busy\n", mdev->port, mdev->unit); 160 atomic_set(&mdev->busy, 1); 164 atomic_set(&mdev->busy, 0); 175 (atomic_read(&mdev->busy) == 0 || 176 atomic_read(&mdev->busy) == 2), HZ * 3); 180 * in the middle of a read (busy == 2) 182 if (error || atomic_read(&mdev->busy) [all...] |
/drivers/sh/maple/ |
H A D | maple.c | 390 atomic_set(&mdev->busy, 0); 423 if (mdev->interval > 0 && atomic_read(&mdev->busy) == 0 && 435 * device as busy */ 436 if (atomic_read(&mdev->busy) == 0) { 437 atomic_set(&mdev->busy, 1); 476 atomic_set(&mdev->busy, 1); 513 atomic_set(&mdev_add->busy, 1); 551 atomic_set(&mdev->busy, 2); 573 atomic_set(&mdev->busy, 0); 657 atomic_set(&mdev->busy, [all...] |
/drivers/sbus/char/ |
H A D | flash.c | 30 unsigned long busy; /* In use? */ member in struct:__anon5036 128 if (test_and_set_bit(0, (void *)&flash.busy) != 0) { 141 flash.busy = 0; 182 flash.busy = 0;
|
/drivers/media/pci/ivtv/ |
H A D | ivtv-mailbox.c | 151 if (is_free && !test_and_set_bit(mb, &mbdata->busy)) { 210 clear_bit(i, &mbdata->busy); 263 clear_bit(mb, &mbdata->busy); 290 clear_bit(mb, &mbdata->busy); 309 clear_bit(mb, &mbdata->busy); 325 clear_bit(mb, &mbdata->busy);
|
/drivers/block/paride/ |
H A D | pg.c | 211 int busy; /* write done, read expected */ member in struct:pg 252 dev->busy = 0; 535 if (dev->busy) { 537 dev->busy = 0; 574 if (dev->busy) 609 dev->busy = 1; 623 if (!dev->busy) 628 dev->busy = 0;
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.h | 79 void nouveau_bo_placement_set(struct nouveau_bo *, u32 type, u32 busy);
|
/drivers/media/platform/omap3isp/ |
H A D | isppreview.h | 62 * @busy: Bitmask of busy parameters (being updated or used) 81 u32 busy; member in struct:prev_params
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_irq.c | 65 uint32_t busy; local 68 busy = vmw_read(dev_priv, SVGA_REG_BUSY); 71 return (busy == 0);
|
/drivers/macintosh/ |
H A D | smu.c | 1069 int busy; member in struct:smu_private 1116 if (pp->busy) 1139 if (pp->busy) { 1143 pp->busy = 1; 1148 pp->busy = 0; 1174 if (!pp->busy) 1216 pp->busy = 0; 1257 if (pp->busy && pp->cmd.status != 1) 1271 unsigned int busy; local 1281 busy [all...] |