/linux-3.4.99/drivers/gpu/drm/gma500/ |
D | accel_2d.c | 330 int busy = 0; in psbfb_sync() local 343 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); in psbfb_sync() 345 } while (busy && !time_after_eq(jiffies, _end)); in psbfb_sync() 347 if (busy) in psbfb_sync() 348 busy = (PSB_RSGX32(PSB_CR_2D_SOCIF) != _PSB_C2_SOCIF_EMPTY); in psbfb_sync() 349 if (busy) in psbfb_sync() 353 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & in psbfb_sync() 356 } while (busy && !time_after_eq(jiffies, _end)); in psbfb_sync() 357 if (busy) in psbfb_sync() 358 busy = ((PSB_RSGX32(PSB_CR_2D_BLIT_STATUS) & in psbfb_sync() [all …]
|
/linux-3.4.99/drivers/mtd/maps/ |
D | vmu-flash.c | 149 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_read_block() 151 atomic_read(&mdev->busy) == 0, HZ); in maple_vmu_read_block() 152 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_read_block() 160 atomic_set(&mdev->busy, 1); in maple_vmu_read_block() 164 atomic_set(&mdev->busy, 0); in maple_vmu_read_block() 175 (atomic_read(&mdev->busy) == 0 || in maple_vmu_read_block() 176 atomic_read(&mdev->busy) == 2), HZ * 3); in maple_vmu_read_block() 182 if (error || atomic_read(&mdev->busy) == 2) { in maple_vmu_read_block() 183 if (atomic_read(&mdev->busy) == 2) in maple_vmu_read_block() 185 atomic_set(&mdev->busy, 0); in maple_vmu_read_block() [all …]
|
/linux-3.4.99/drivers/char/hw_random/ |
D | virtio-rng.c | 31 static bool busy; variable 59 if (!busy) { in virtio_read() 60 busy = true; in virtio_read() 70 busy = false; in virtio_read() 77 if (busy) in virtio_cleanup()
|
D | ppc4xx-rng.c | 33 int busy, i, present = 0; in ppc4xx_rng_data_present() local 36 busy = (in_le32(rng_regs + PPC4XX_TRNG_STAT) & PPC4XX_TRNG_STAT_B); in ppc4xx_rng_data_present() 37 if (!busy || !wait) { in ppc4xx_rng_data_present()
|
/linux-3.4.99/drivers/isdn/hardware/eicon/ |
D | diva_dma.c | 33 int busy; member 71 if (!pmap[i].busy) { in diva_alloc_dma_map_entry() 72 pmap[i].busy = 1; in diva_alloc_dma_map_entry() 82 pmap[nr].busy = 0; in diva_free_dma_map_entry()
|
/linux-3.4.99/drivers/net/wireless/ath/ |
D | hw.c | 138 u32 cycles, busy, rx, tx; in ath_hw_cycle_counters_update() local 146 busy = REG_READ(ah, AR_RCCNT); in ath_hw_cycle_counters_update() 161 common->cc_ani.rx_busy += busy; in ath_hw_cycle_counters_update() 166 common->cc_survey.rx_busy += busy; in ath_hw_cycle_counters_update()
|
/linux-3.4.99/drivers/isdn/hisax/ |
D | teles_cs.c | 52 int busy; member 81 info->busy = 1; in teles_detach() 134 i = hisax_init_pcmcia(link, &(((local_info_t *)link->priv)->busy), &icard); in teles_cs_config() 170 dev->busy = 1; in teles_suspend() 179 dev->busy = 0; in teles_resume()
|
D | elsa_cs.c | 71 int busy; member 99 info->busy = 1; in elsa_cs_detach() 154 i = hisax_init_pcmcia(link, &(((local_info_t *)link->priv)->busy), &icard); in elsa_cs_config() 188 dev->busy = 1; in elsa_suspend() 197 dev->busy = 0; in elsa_resume()
|
D | st5481_d.c | 307 if (test_and_set_bit(buf_nr, &d_out->busy)) { in usb_d_out() 308 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in usb_d_out() 384 test_and_clear_bit(buf_nr, &d_out->busy); in usb_d_out_complete() 395 if (d_out->busy == 0) { in usb_d_out_complete() 424 if (test_and_set_bit(buf_nr, &d_out->busy)) { in dout_start_xmit() 425 WARNING("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in dout_start_xmit() 521 if (test_bit(0, &d_out->busy) || test_bit(1, &d_out->busy)) { in dout_underrun() 533 if (!test_bit(0, &d_out->busy) && !test_bit(1, &d_out->busy)) in dout_check_busy()
|
/linux-3.4.99/drivers/sh/maple/ |
D | maple.c | 390 atomic_set(&mdev->busy, 0); in maple_attach_driver() 423 if (mdev->interval > 0 && atomic_read(&mdev->busy) == 0 && in setup_maple_commands() 436 if (atomic_read(&mdev->busy) == 0) { in setup_maple_commands() 437 atomic_set(&mdev->busy, 1); in setup_maple_commands() 476 atomic_set(&mdev->busy, 1); in maple_vblank_handler() 513 atomic_set(&mdev_add->busy, 1); in maple_map_subunits() 551 atomic_set(&mdev->busy, 2); in maple_response_none() 573 atomic_set(&mdev->busy, 0); in maple_response_none() 657 atomic_set(&mdev->busy, 0); in maple_dma_handler() 663 atomic_set(&mdev->busy, 0); in maple_dma_handler() [all …]
|
/linux-3.4.99/arch/mn10300/mm/ |
D | cache-flush-by-reg.S | 60 # wait for busy bit of area purge 77 # wait for busy bit of area purge 138 # wait for busy bit of area purge 158 # wait for busy bit of area purge 196 # wait for busy bit of area purge & invalidate 210 # wait for busy bit of area purge & invalidate 271 # wait for busy bit of area purge & invalidate 291 # wait for busy bit of area purge & invalidate
|
D | cache-dbg-flush-by-reg.S | 49 # wait for busy bit of area purge 66 # wait for busy bit of area purge
|
/linux-3.4.99/sound/oss/dmasound/ |
D | dmasound_core.c | 321 int busy; member 332 mixer.busy = 1; in mixer_open() 340 mixer.busy = 0; in mixer_release() 399 mixer.busy = 0; in mixer_init() 684 sq->busy = 0; in sq_init_waitqueue() 692 sq->busy = 0; /* CHECK: IS THIS OK??? */ 704 if (sq->busy) { in sq_open2() 710 while (sq->busy) { in sq_open2() 723 sq->busy = 1; /* Let's play spot-the-race-condition */ in sq_open2() 734 sq->busy = 0 ; in sq_open2() [all …]
|
/linux-3.4.99/arch/m68k/fpsp040/ |
D | gen_except.S | 68 | Fix up the new busy frame with entries from the unimp frame 71 movel ETEMP_HI(%a6),ETEMP_HI(%a1) |frame to busy frame 84 movel %d0,CMDREG3B(%a1) |in the busy frame 138 | On a busy frame, we must clear the nmnexc bits. 141 bnes check_fr |if busy, clr nmnexc 203 movel %d0,CMDREG3B(%a6) |in the busy frame 278 cmpib #BUSY_SIZE-4,1(%a7) |check for busy frame 279 beqs busy_fr |if unimp, grow to busy 295 moveb #BUSY_SIZE-4,1(%a7) |write busy fmt word. 315 movel %d0,CMDREG3B(%a6) |in the busy frame [all …]
|
/linux-3.4.99/drivers/sbus/char/ |
D | flash.c | 31 unsigned long busy; /* In use? */ member 129 if (test_and_set_bit(0, (void *)&flash.busy) != 0) { in flash_open() 142 flash.busy = 0; in flash_release() 183 flash.busy = 0; in flash_probe()
|
/linux-3.4.99/drivers/media/video/ |
D | cx2341x.c | 392 static int cx2341x_set_ctrl(struct cx2341x_mpeg_params *params, int busy, in cx2341x_set_ctrl() argument 397 if (busy) in cx2341x_set_ctrl() 402 if (busy) in cx2341x_set_ctrl() 411 if (busy) in cx2341x_set_ctrl() 416 if (busy) in cx2341x_set_ctrl() 464 if (busy) in cx2341x_set_ctrl() 473 if (busy) in cx2341x_set_ctrl() 478 if (busy) in cx2341x_set_ctrl() 492 if (busy) in cx2341x_set_ctrl() 934 int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy, in cx2341x_ext_ctrls() argument [all …]
|
/linux-3.4.99/arch/sh/drivers/dma/ |
D | dma-api.c | 177 if (atomic_read(&channel->busy) == 0) in dmac_search_free_channel() 186 atomic_set(&channel->busy, 1); in dmac_search_free_channel() 200 if (atomic_xchg(&channel->busy, 1)) in request_dma() 208 atomic_set(&channel->busy, 0); in request_dma() 225 atomic_set(&channel->busy, 0); in free_dma() 377 atomic_set(&chan->busy, 0); in register_dmac()
|
/linux-3.4.99/Documentation/scheduler/ |
D | sched-stats.txt | 68 of idleness (idle, busy, and newly idle): 88 cpu was busy 90 load did not require balancing when busy 92 more tasks and failed, when the cpu was busy 94 load_balance() in this domain when the cpu was busy 95 13) # of times in this domain pull_task() was called when busy 97 target task was cache-hot when busy 99 find a busier queue while the cpu was busy 101 was busy but no busier group was found
|
/linux-3.4.99/drivers/block/paride/ |
D | pg.c | 211 int busy; /* write done, read expected */ member 252 dev->busy = 0; in pg_init_units() 535 if (dev->busy) { in pg_open() 537 dev->busy = 0; in pg_open() 574 if (dev->busy) in pg_write() 609 dev->busy = 1; in pg_write() 623 if (!dev->busy) in pg_read() 628 dev->busy = 0; in pg_read()
|
/linux-3.4.99/drivers/staging/comedi/ |
D | comedi_fops.c | 462 if (s->busy) in do_subdinfo_ioctl() 464 if (s->busy == file) in do_subdinfo_ioctl() 605 if (!s->busy) { in do_bufinfo_ioctl() 610 if (s->busy != file) in do_bufinfo_ioctl() 894 if (s->busy) { in parse_insn() 899 s->busy = &parse_insn; in parse_insn() 955 s->busy = NULL; in parse_insn() 1077 if (s->busy) { in do_cmd_ioctl() 1157 s->busy = file; in do_cmd_ioctl() 1294 if (s->busy || s->lock) in do_lock_ioctl() [all …]
|
/linux-3.4.99/arch/arm/mach-lpc32xx/ |
D | suspend.S | 53 @ Wait for SDRAM busy status to go busy and then idle
|
/linux-3.4.99/drivers/staging/comedi/kcomedilib/ |
D | kcomedilib_main.c | 110 if (s->busy) { in comedi_do_insn() 114 s->busy = dev; in comedi_do_insn() 129 s->busy = NULL; in comedi_do_insn()
|
/linux-3.4.99/drivers/pci/ |
D | access.c | 201 bool busy; member 221 if (!vpd->busy) in pci_vpd_pci22_wait() 231 vpd->busy = false; in pci_vpd_pci22_wait() 276 vpd->busy = true; in pci_vpd_pci22_read() 336 vpd->busy = true; in pci_vpd_pci22_write() 376 vpd->busy = false; in pci_vpd_pci22_init()
|
/linux-3.4.99/drivers/media/video/ivtv/ |
D | ivtv-mailbox.c | 151 if (is_free && !test_and_set_bit(mb, &mbdata->busy)) { in try_mailbox() 210 clear_bit(i, &mbdata->busy); in clear_all_mailboxes() 263 clear_bit(mb, &mbdata->busy); in ivtv_api_call() 290 clear_bit(mb, &mbdata->busy); in ivtv_api_call() 309 clear_bit(mb, &mbdata->busy); in ivtv_api_call() 325 clear_bit(mb, &mbdata->busy); in ivtv_api_call()
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 64 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local 75 busy = readl(adapter->regs + A_ESPI_GOSTAT) & F_ESPI_CMD_BUSY; in tricn_write() 76 } while (busy && --attempts); in tricn_write() 78 if (busy) in tricn_write() 81 return busy; in tricn_write()
|