Home
last modified time | relevance | path

Searched refs:busy (Results 1 – 25 of 98) sorted by relevance

1234

/drivers/staging/otus/80211core/
Dcwm.c53 void zfCoreCwmBusy(zdev_t* dev, u16_t busy) in zfCoreCwmBusy() argument
58 zm_msg1_mm(ZM_LV_0, "CwmBusy=", busy); in zfCoreCwmBusy()
70 if (busy) { in zfCoreCwmBusy()
102 u32_t busy; /* percentage */ in zfCwmIsExtChanBusy() local
122 busy = (extBusy * 100) / ctlClear; in zfCwmIsExtChanBusy()
124 busy = 0; in zfCwmIsExtChanBusy()
126 if (busy > ATH_CWM_EXTCH_BUSY_THRESHOLD) { in zfCwmIsExtChanBusy()
/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c142 if (s->busy) in comedi_command()
144 s->busy = d; in comedi_command()
265 if (s->busy) { in comedi_do_insn()
269 s->busy = d; in comedi_do_insn()
290 s->busy = NULL; in comedi_do_insn()
340 if (s->busy) { in comedi_lock()
386 if (s->busy) { in comedi_unlock()
436 if (!s->busy) in comedi_cancel()
439 if (s->busy != d) in comedi_cancel()
456 s->busy = NULL; in comedi_cancel()
[all …]
/drivers/isdn/hardware/eicon/
Ddiva_dma.c33 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()
/drivers/staging/comedi/
Dcomedi_fops.c299 if (s->busy) { in do_bufconfig_ioctl()
436 if (s->busy) in do_subdinfo_ioctl()
438 if (s->busy == file) in do_subdinfo_ioctl()
847 if (s->busy) { in parse_insn()
852 s->busy = &parse_insn; in parse_insn()
889 s->busy = NULL; in parse_insn()
1009 if (s->busy) { in do_cmd_ioctl()
1013 s->busy = file; in do_cmd_ioctl()
1231 if (s->busy || s->lock) in do_lock_ioctl()
1272 if (s->busy) in do_unlock_ioctl()
[all …]
/drivers/isdn/hisax/
Dteles_cs.c116 int busy; member
183 info->busy = 1; in teles_detach()
274 i = hisax_init_pcmcia(link, &(((local_info_t*)link->priv)->busy), &icard); in teles_cs_config()
319 dev->busy = 1; in teles_suspend()
328 dev->busy = 0; in teles_resume()
Delsa_cs.c125 int busy; member
193 info->busy = 1; in elsa_cs_detach()
284 i = hisax_init_pcmcia(link, &(((local_info_t*)link->priv)->busy), &icard); in elsa_cs_config()
327 dev->busy = 1; in elsa_suspend()
336 dev->busy = 0; in elsa_resume()
Dst5481_d.c305 if (test_and_set_bit(buf_nr, &d_out->busy)) { in usb_d_out()
306 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in usb_d_out()
382 test_and_clear_bit(buf_nr, &d_out->busy); in usb_d_out_complete()
393 if (d_out->busy == 0) { in usb_d_out_complete()
422 if (test_and_set_bit(buf_nr, &d_out->busy)) { in dout_start_xmit()
423 WARNING("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in dout_start_xmit()
519 if (test_bit(0, &d_out->busy) || test_bit(1, &d_out->busy)) { in dout_underrun()
531 if (!test_bit(0, &d_out->busy) && !test_bit(1, &d_out->busy)) in dout_check_busy()
Dst5481_b.c40 if (test_and_set_bit(buf_nr, &b_out->busy)) { in usb_b_out()
173 test_and_clear_bit(buf_nr, &b_out->busy); in usb_b_out_complete()
184 if (b_out->busy == 0) { in usb_b_out_complete()
215 b_out->busy = 0; in st5481B_mode()
Dst5481.h328 unsigned long busy; member
340 unsigned long busy; member
349 u_long busy; member
/drivers/pci/
Daccess.c171 bool busy; member
189 if (!vpd->busy) in pci_vpd_pci22_wait()
199 vpd->busy = false; in pci_vpd_pci22_wait()
239 vpd->busy = true; in pci_vpd_pci22_read()
299 vpd->busy = true; in pci_vpd_pci22_write()
337 vpd->busy = false; in pci_vpd_pci22_init()
/drivers/block/paride/
Dpg.c209 int busy; /* write done, read expected */ member
249 dev->busy = 0; in pg_init_units()
532 if (dev->busy) { in pg_open()
534 dev->busy = 0; in pg_open()
571 if (dev->busy) in pg_write()
606 dev->busy = 1; in pg_write()
620 if (!dev->busy) in pg_read()
625 dev->busy = 0; in pg_read()
/drivers/sbus/char/
Dflash.c32 unsigned long busy; /* In use? */ member
130 if (test_and_set_bit(0, (void *)&flash.busy) != 0) { in flash_open()
143 flash.busy = 0; in flash_release()
185 flash.busy = 0; in flash_probe()
Djsflash.c106 unsigned long busy; /* In use? */ member
422 if (test_and_set_bit(0, (void *)&jsf0.busy) != 0) { in jsf_open()
433 jsf0.busy = 0; in jsf_release()
619 if (jsf0.busy) in jsflash_cleanup_module()
622 jsf0.busy = 0; in jsflash_cleanup_module()
/drivers/media/video/ivtv/
Divtv-mailbox.c151 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()
/drivers/isdn/gigaset/
Dusb-gigaset.c135 int busy; /* bulk output in progress */ member
327 if (cs->hw.usb->busy) { in gigaset_modem_fill()
432 cs->hw.usb->busy = 0; in gigaset_write_bulk_callback()
445 cs->hw.usb->busy = 0; in gigaset_write_bulk_callback()
493 ucs->busy = 1; in send_cb()
500 ucs->busy = 0; in send_cb()
659 ucs->busy = 1; in write_modem()
677 ucs->busy = 0; in write_modem()
768 ucs->busy = 0; in gigaset_probe()
/drivers/net/chelsio/
Despi.c64 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()
/drivers/macintosh/
Dsmu.c1074 int busy; member
1121 if (pp->busy) in smu_write()
1144 if (pp->busy) { in smu_write()
1148 pp->busy = 1; in smu_write()
1153 pp->busy = 0; in smu_write()
1179 if (!pp->busy) in smu_read_command()
1219 pp->busy = 0; in smu_read_command()
1260 if (pp->busy && pp->cmd.status != 1) in smu_fpoll()
1273 unsigned int busy; in smu_release() local
1283 busy = pp->busy; in smu_release()
[all …]
/drivers/media/video/
Dcx2341x.c249 static int cx2341x_set_ctrl(struct cx2341x_mpeg_params *params, int busy, in cx2341x_set_ctrl() argument
254 if (busy) in cx2341x_set_ctrl()
262 if (busy) in cx2341x_set_ctrl()
308 if (busy) in cx2341x_set_ctrl()
317 if (busy) in cx2341x_set_ctrl()
322 if (busy) in cx2341x_set_ctrl()
336 if (busy) in cx2341x_set_ctrl()
745 int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy, in cx2341x_ext_ctrls() argument
777 err = cx2341x_set_ctrl(params, busy, ctrl); in cx2341x_ext_ctrls()
/drivers/spi/
Dspi_bitbang.c227 if (!bitbang->busy) { in spi_bitbang_setup()
274 bitbang->busy = 1; in bitbang_work()
393 bitbang->busy = 0; in bitbang_work()
476 bitbang->busy = 0; in spi_bitbang_start()
Dmpc52xx_psc_spi.c42 u8 busy; member
212 mps->busy = 1; in mpc52xx_psc_spi_work()
260 mps->busy = 0; in mpc52xx_psc_spi_work()
293 if (!mps->busy) in mpc52xx_psc_spi_setup()
Dspi_bfin5xx.c68 int busy; member
903 drv_data->busy = 0; in pump_messages()
941 drv_data->busy = 1; in pump_messages()
968 if (drv_data->run == QUEUE_RUNNING && !drv_data->busy) in transfer()
1155 drv_data->busy = 0; in init_queue()
1177 if (drv_data->run == QUEUE_RUNNING || drv_data->busy) { in start_queue()
1208 while (!list_empty(&drv_data->queue) && drv_data->busy && limit--) { in stop_queue()
1214 if (!list_empty(&drv_data->queue) || drv_data->busy) in stop_queue()
/drivers/scsi/
Dsun3_NCR5380.c366 if (hostdata->busy[cmd->device->id] & (1 << cmd->device->lun)) in is_lun_busy()
396 hostdata->busy[cmd->device->id] |= (1 << cmd->device->lun); in cmd_get_tag()
423 hostdata->busy[cmd->device->id] &= ~(1 << cmd->device->lun); in cmd_free_tag()
857 hostdata->busy[i] = 0; in NCR5380_init()
1089 tmp, tmp->target, hostdata->busy[tmp->target], in NCR5380_main()
1098 !(hostdata->busy[tmp->device->id] & (1 << tmp->device->lun)) in NCR5380_main()
1695 hostdata->busy[cmd->device->id] |= (1 << cmd->device->lun); in NCR5380_select()
2229 hostdata->busy[cmd->device->id] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
2315 hostdata->busy[cmd->device->id] |= (1 << cmd->device->lun); in NCR5380_information_transfer()
2463 hostdata->busy[cmd->device->id] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
[all …]
Datari_NCR5380.c366 if (hostdata->busy[cmd->device->id] & (1 << cmd->device->lun)) in is_lun_busy()
396 hostdata->busy[cmd->device->id] |= (1 << cmd->device->lun); in cmd_get_tag()
422 hostdata->busy[cmd->device->id] &= ~(1 << cmd->device->lun); in cmd_free_tag()
861 hostdata->busy[i] = 0; in NCR5380_init()
1095 tmp, tmp->device->id, hostdata->busy[tmp->device->id], in NCR5380_main()
1104 !(hostdata->busy[tmp->device->id] & (1 << tmp->device->lun)) in NCR5380_main()
1701 hostdata->busy[cmd->device->id] |= (1 << cmd->device->lun); in NCR5380_select()
2208 hostdata->busy[cmd->device->id] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
2296 hostdata->busy[cmd->device->id] |= (1 << cmd->device->lun); in NCR5380_information_transfer()
2440 hostdata->busy[cmd->device->id] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
[all …]
/drivers/serial/
Duartlite.c157 int busy; in ulite_isr() local
161 busy = ulite_receive(port, stat); in ulite_isr()
162 busy |= ulite_transmit(port, stat); in ulite_isr()
163 } while (busy); in ulite_isr()
/drivers/char/hw_random/
Dn2-drv.c113 int block = 0, busy = 0; in n2rng_generic_read_control_v2() local
124 if (++busy >= N2RNG_BUSY_LIMIT) in n2rng_generic_read_control_v2()
255 int block = 0, busy = 0; in n2rng_generic_write_control() local
268 if (++busy >= N2RNG_BUSY_LIMIT) in n2rng_generic_write_control()

1234