Searched refs:busy (Results 1 - 25 of 164) sorted by relevance

1234567

/drivers/gpu/drm/gma500/
H A Dblitter.c26 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 Daccel_2d.c330 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 Ddiva_dma.c33 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 Dhw.c144 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 Dclk-div.c23 * @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 Dclk-frac.c25 * @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 Dclk.h33 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 Dvirtio-rng.c37 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 Dppc4xx-rng.c34 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 Delsa_cs.c71 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 Dteles_cs.c52 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 Davma1_cs.c80 int busy = 0; local
123 i = hisax_init_pcmcia(link, &busy, &icard);
H A Dst5481_d.c307 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 Dst5481_b.c40 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 Dexynos_ppmu.c106 int i, j, busy = 0; local
112 busy = i;
117 return busy;
/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.h68 u16 busy; member in struct:neighbor_stats
76 u16 neighs; /* number of busy neighbors */
/drivers/mtd/maps/
H A Dvmu-flash.c149 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 Dmaple.c390 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 Dflash.c30 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 Divtv-mailbox.c151 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 Dpg.c211 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 Dnouveau_bo.h79 void nouveau_bo_placement_set(struct nouveau_bo *, u32 type, u32 busy);
/drivers/media/platform/omap3isp/
H A Disppreview.h62 * @busy: Bitmask of busy parameters (being updated or used)
81 u32 busy; member in struct:prev_params
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_irq.c65 uint32_t busy; local
68 busy = vmw_read(dev_priv, SVGA_REG_BUSY);
71 return (busy == 0);
/drivers/macintosh/
H A Dsmu.c1069 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...]

Completed in 2128 milliseconds

1234567