Home
last modified time | relevance | path

Searched refs:inuse (Results 1 – 24 of 24) sorted by relevance

/drivers/media/pci/saa7164/
Dsaa7164-cmd.c32 if (dev->cmds[i].inuse == 0) { in saa7164_cmd_alloc_seqno()
33 dev->cmds[i].inuse = 1; in saa7164_cmd_alloc_seqno()
48 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_free_seqno()
50 dev->cmds[seqno].inuse = 0; in saa7164_cmd_free_seqno()
60 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_timeout_seqno()
72 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_timeout_get()
275 if ((dev->cmds[seqno].inuse == 1) && in saa7164_cmd_wait()
323 if (dev->cmds[i].inuse == 1) { in saa7164_cmd_signal()
333 if ((dev->cmds[i].inuse == 1) && ((i == 0) || in saa7164_cmd_signal()
Dsaa7164-types.h117 u32 inuse; member
Dsaa7164-core.c1242 dev->cmds[i].inuse = 0; in saa7164_initdev()
/drivers/watchdog/
Dmtx-1_wdt.c67 unsigned long inuse; member
129 if (test_and_set_bit(0, &mtx1_wdt_device.inuse)) in mtx1_wdt_open()
137 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_release()
222 clear_bit(0, &mtx1_wdt_device.inuse); in mtx1_wdt_probe()
Drdc321x_wdt.c63 unsigned long inuse; member
143 if (test_and_set_bit(0, &rdc321x_wdt_device.inuse)) in rdc321x_wdt_open()
151 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_release()
264 clear_bit(0, &rdc321x_wdt_device.inuse); in rdc321x_wdt_probe()
Dcpu5wdt.c68 unsigned long inuse; member
142 if (test_and_set_bit(0, &cpu5wdt_device.inuse)) in cpu5wdt_open()
149 clear_bit(0, &cpu5wdt_device.inuse); in cpu5wdt_release()
Drc32434_wdt.c41 unsigned long inuse; member
144 if (test_and_set_bit(0, &rc32434_wdt_device.inuse)) in rc32434_wdt_open()
165 clear_bit(0, &rc32434_wdt_device.inuse); in rc32434_wdt_release()
Dbcm63xx_wdt.c48 unsigned long inuse; member
119 if (test_and_set_bit(0, &bcm63xx_wdt_device.inuse)) in bcm63xx_wdt_open()
134 clear_bit(0, &bcm63xx_wdt_device.inuse); in bcm63xx_wdt_release()
/drivers/staging/iio/
Diio_dummy_evgen.c42 bool inuse[IIO_EVENTGEN_NO]; member
111 if (!iio_evgen->inuse[i]) { in iio_dummy_evgen_get_irq()
113 iio_evgen->inuse[i] = true; in iio_dummy_evgen_get_irq()
132 iio_evgen->inuse[irq - iio_evgen->base] = false; in iio_dummy_evgen_release_irq()
/drivers/char/
Draw.c30 int inuse; member
82 if (++raw_devices[minor].inuse == 1) in raw_open()
107 if (--raw_devices[minor].inuse == 0) { in raw_release()
160 if (rawdev->inuse) { in bind_set()
/drivers/infiniband/core/
Ddevice.c124 unsigned long *inuse; in alloc_name() local
129 inuse = (unsigned long *) get_zeroed_page(GFP_KERNEL); in alloc_name()
130 if (!inuse) in alloc_name()
140 set_bit(i, inuse); in alloc_name()
143 i = find_first_zero_bit(inuse, PAGE_SIZE * 8); in alloc_name()
144 free_page((unsigned long) inuse); in alloc_name()
/drivers/staging/imx-drm/ipu-v3/
Dipu-di.c38 bool inuse; member
689 if (di->inuse) { in ipu_di_get()
694 di->inuse = true; in ipu_di_get()
706 di->inuse = false; in ipu_di_put()
768 di->inuse = false; in ipu_di_init()
/drivers/macintosh/
Dadb.c590 int inuse; member
604 if (!state->inuse) { in adb_write_done()
665 state->inuse = 1; in adb_open()
686 state->inuse = 0; in adb_release()
/drivers/isdn/mISDN/
Ddsp_pipeline.c327 pipeline->inuse = 1; in dsp_pipeline_build()
329 pipeline->inuse = 0; in dsp_pipeline_build()
Ddsp.h140 int inuse; member
Ddsp_dtmf.c84 if (dsp->pipeline.inuse) { in dsp_dtmf_hardware()
Ddsp_core.c562 dsp->pipeline.inuse = 1; in dsp_control_req()
718 if (dsp->pipeline.inuse) in dsp_function()
Ddsp_cmx.c612 if (member->dsp->pipeline.inuse) { in dsp_cmx_hardware()
1614 if (dsp->pipeline.inuse) in dsp_cmx_send_member()
/drivers/char/ipmi/
Dipmi_msghandler.c118 unsigned int inuse : 1; member
519 if ((intf->seq_table[i].inuse) in clean_up_interface_data()
755 if (!intf->seq_table[i].inuse) in intf_next_seq()
759 if (!intf->seq_table[i].inuse) { in intf_next_seq()
770 intf->seq_table[i].inuse = 1; in intf_next_seq()
804 if (intf->seq_table[seq].inuse) { in intf_find_seq()
811 intf->seq_table[seq].inuse = 0; in intf_find_seq()
838 if ((intf->seq_table[seq].inuse) in intf_start_seq_timer()
868 if ((intf->seq_table[seq].inuse) in intf_err_seq()
872 ent->inuse = 0; in intf_err_seq()
[all …]
/drivers/atm/
Dhe.c1510 he_dev->cs_stper[i].inuse = 0; in he_start()
2218 if (he_dev->cs_stper[reg].inuse == 0 || in he_open()
2231 ++he_dev->cs_stper[reg].inuse; in he_open()
2479 if (he_dev->cs_stper[reg].inuse == 0) in he_close()
2482 --he_dev->cs_stper[reg].inuse; in he_close()
2768 inuse = rbpl_head - rbpl_tail; in he_proc_read()
2769 if (inuse < 0) in he_proc_read()
2770 inuse += CONFIG_RBPL_SIZE * sizeof(struct he_rbp); in he_proc_read()
2771 inuse /= sizeof(struct he_rbp); in he_proc_read()
2775 CONFIG_RBPL_SIZE, inuse); in he_proc_read()
[all …]
Dnicstar.c1248 int inuse; /* tx or rx vc already in use by another vcc */ in ns_open() local
1263 inuse = 0; in ns_open()
1265 inuse = 1; in ns_open()
1267 inuse += 2; in ns_open()
1268 if (inuse) { in ns_open()
1270 inuse == 1 ? "tx" : inuse == 2 ? "rx" : "tx and rx"); in ns_open()
Didt77252.c2398 unsigned int inuse; in idt77252_open() local
2456 inuse = 0; in idt77252_open()
2459 inuse = 1; in idt77252_open()
2462 inuse += 2; in idt77252_open()
2464 if (inuse) { in idt77252_open()
2466 inuse == 1 ? "tx" : inuse == 2 ? "rx" : "tx and rx"); in idt77252_open()
Dhe.h247 int inuse; member
/drivers/infiniband/hw/qib/
Dqib_file_ops.c1386 unsigned inuse = ~0U; in get_a_ctxt() local
1408 if (pusable && cfree && cused < inuse) { in get_a_ctxt()
1410 inuse = cused; in get_a_ctxt()