Home
last modified time | relevance | path

Searched refs:ready (Results 1 – 25 of 151) sorted by relevance

1234567

/linux-2.4.37.9/arch/ppc/platforms/
Dchrp_smp.c89 static atomic_t ready = ATOMIC_INIT(1); in smp_chrp_setup_cpu() local
94 while (atomic_read(&ready) < smp_num_cpus) in smp_chrp_setup_cpu()
96 atomic_set(&ready, 1); in smp_chrp_setup_cpu()
104 while (atomic_read(&ready) < smp_num_cpus) in smp_chrp_setup_cpu()
112 atomic_inc(&ready); in smp_chrp_setup_cpu()
118 atomic_inc(&ready); in smp_chrp_setup_cpu()
/linux-2.4.37.9/arch/m68k/atari/
Djoystick.c40 joystick[j].ready = 1; in atari_joystick_interrupt()
66 joystick[minor].ready = 0; in release_joystick()
83 joystick[minor].ready = 0; in open_joystick()
102 if (!joystick[minor].ready) in read_joystick()
104 joystick[minor].ready = 0; in read_joystick()
119 if (joystick[minor].ready) in joystick_poll()
135 joystick[0].ready = joystick[1].ready = 0; in atari_joystick_init()
/linux-2.4.37.9/drivers/char/
Dbusmouse.c47 char ready; member
92 mse->ready = 1; in busmouse_add_movementbuttons()
179 mse->ready = 0; in busmouse_release()
222 mse->ready = 0; in busmouse_open()
249 if (!mse->ready) { in busmouse_read()
262 if (!mse->ready && !signal_pending(current)) { in busmouse_read()
300 mse->ready = mse->dxpos || mse->dypos; in busmouse_read()
329 if (mse->ready) in busmouse_poll()
/linux-2.4.37.9/drivers/sound/
Dali5455.c309 unsigned ready:1; member
778 if (dmabuf->count < dmabuf->dmasize && dmabuf->ready in __start_adc()
828 if (dmabuf->count > 0 && dmabuf->ready && !dmabuf->enable && in __start_dac()
886 if (dmabuf->count > 0 && dmabuf->ready && !dmabuf->enable && in __start_spdifout()
943 dmabuf->ready = dmabuf->mapped = 0; in alloc_dmabuf()
970 dmabuf->mapped = dmabuf->ready = 0; in dealloc_dmabuf()
1074 dmabuf->ready = 1; in prog_dmabuf()
1099 if (!dmabuf->enable && dmabuf->ready) { in __ali_update_lvi()
1138 if (!dmabuf->ready) in ali_update_lvi()
1301 if (!dmabuf->ready) in drain_dac()
[all …]
Des1370.c370 unsigned ready:1; member
486 && s->dma_dac1.ready) { in start_dac1()
508 && s->dma_dac2.ready) { in start_dac2()
533 && s->dma_adc.ready) { in start_adc()
565 db->mapped = db->ready = 0; in dealloc_dmabuf()
577 db->ready = db->mapped = 0; in prog_dmabuf()
617 db->ready = 1; in prog_dmabuf()
1078 if (s->dma_dac1.mapped || !s->dma_dac1.ready) in drain_dac1()
1114 if (s->dma_dac2.mapped || !s->dma_dac2.ready) in drain_dac2()
1163 if (!s->dma_adc.ready && (ret = prog_dmabuf_adc(s))) in es1370_read()
[all …]
Des1371.c444 unsigned ready:1; member
820 && s->dma_dac1.ready) { in start_dac1()
842 && s->dma_dac2.ready) { in start_dac2()
867 && s->dma_adc.ready) { in start_adc()
900 db->mapped = db->ready = 0; in dealloc_dmabuf()
912 db->ready = db->mapped = 0; in prog_dmabuf()
952 db->ready = 1; in prog_dmabuf()
1266 if (s->dma_dac1.mapped || !s->dma_dac1.ready) in drain_dac1()
1301 if (s->dma_dac2.mapped || !s->dma_dac2.ready) in drain_dac2()
1349 if (!s->dma_adc.ready && (ret = prog_dmabuf_adc(s))) in es1371_read()
[all …]
Di810_audio.c390 unsigned ready:1; member
820 if (dmabuf->count < dmabuf->dmasize && dmabuf->ready && !dmabuf->enable && in __start_adc()
870 if (dmabuf->count > 0 && dmabuf->ready && !dmabuf->enable && in __start_dac()
925 dmabuf->ready = dmabuf->mapped = 0; in alloc_dmabuf()
952 dmabuf->mapped = dmabuf->ready = 0; in dealloc_dmabuf()
1053 dmabuf->ready = 1; in prog_dmabuf()
1101 if (!dmabuf->enable && dmabuf->ready) { in __i810_update_lvi()
1123 if(!dmabuf->ready) in i810_update_lvi()
1256 if (!dmabuf->ready) in drain_dac()
1341 if(!state->dmabuf.ready) in i810_channel_interrupt()
[all …]
Dmaestro.c426 unsigned ready:1; /* our oss buffers are ready to go */ member
1322 s->dma_dac.ready && in start_dac()
1340 && s->dma_adc.ready && (! (s->enable & ADC_RUNNING)) ) { in start_adc()
1793 db->ready = 1; in prog_dmabuf()
1826 if (s->dma_adc.ready) { in ess_update_ptr()
1856 if (s->dma_dac.ready) { in ess_update_ptr()
2185 if (s->dma_dac.mapped || !s->dma_dac.ready) in drain_dac()
2267 if (!s->dma_adc.ready && (ret = prog_dmabuf(s, 1))) in ess_read()
2365 if (!s->dma_dac.ready && (ret = prog_dmabuf(s, 0))) in ess_write()
2451 if (!s->dma_dac.ready && prog_dmabuf(s, 0)) in ess_poll()
[all …]
Desssolo1.c210 unsigned ready:1; member
359 if (!(s->ena & FMODE_WRITE) && (s->dma_dac.mapped || s->dma_dac.count > 0) && s->dma_dac.ready) { in start_dac()
384 && s->dma_adc.ready) { in start_adc()
430 db->mapped = db->ready = 0; in dealloc_dmabuf()
442 db->ready = db->mapped = 0; in prog_dmabuf()
508 s->dma_adc.ready = 1; in prog_dmabuf_adc()
531 s->dma_dac.ready = 1; in prog_dmabuf_dac()
1017 if (!s->dma_adc.ready && (ret = prog_dmabuf_adc(s))) in solo1_read()
1113 if (!s->dma_dac.ready && (ret = prog_dmabuf_dac(s))) in solo1_write()
1189 if (!s->dma_dac.ready && prog_dmabuf_dac(s)) in solo1_poll()
[all …]
Dsonicvibes.c350 unsigned ready:1; member
679 if ((s->dma_dac.mapped || s->dma_dac.count > 0) && s->dma_dac.ready) { in start_dac()
692 && s->dma_adc.ready) { in start_adc()
716 db->mapped = db->ready = 0; in dealloc_dmabuf()
747 db->ready = db->mapped = 0; in prog_dmabuf()
802 db->ready = 1; in prog_dmabuf()
830 if (s->dma_adc.ready) { in sv_update_ptr()
847 if (s->dma_dac.ready) { in sv_update_ptr()
1284 if (s->dma_dac.mapped || !s->dma_dac.ready) in drain_dac()
1329 if (!s->dma_adc.ready && (ret = prog_dmabuf(s, 1))) in sv_read()
[all …]
Dswarm_cs4297a.c254 unsigned ready:1; // prog_dmabuf_dac()/adc() successful? member
326 s->dma_adc.ready = 1; in prog_dmabuf_adc()
333 s->dma_dac.ready = 1; in prog_dmabuf_dac()
835 && s->dma_dac.ready))) { in start_dac()
884 && s->dma_adc.ready) { in start_adc()
1674 if (!s->dma_adc.ready && (ret = prog_dmabuf_adc(s))) in cs4297a_read()
1800 if (!s->dma_dac.ready && (ret = prog_dmabuf_dac(s))) in cs4297a_write()
1916 if(!s->dma_dac.ready && prog_dmabuf_dac(s)) in cs4297a_poll()
1924 if(!s->dma_dac.ready && prog_dmabuf_adc(s)) in cs4297a_poll()
2050 s->dma_adc.ready = 0; in cs4297a_ioctl()
[all …]
Dmaestro3.c237 unsigned ready:1; member
668 !s->dma_dac.ready || in start_dac()
690 || !s->dma_adc.ready in start_adc()
1131 db->ready = 1; in prog_dmabuf()
1164 if (s->dma_adc.ready) { in m3_update_ptr()
1184 if (s->dma_dac.ready) { in m3_update_ptr()
1294 if (s->dma_dac.mapped || !s->dma_dac.ready) in drain_dac()
1338 if (!s->dma_adc.ready && (ret = prog_dmabuf(s, 1))) in m3_read()
1419 if (!s->dma_dac.ready && (ret = prog_dmabuf(s, 0))) in m3_write()
1629 s->dma_adc.ready = 0; in m3_ioctl()
[all …]
/linux-2.4.37.9/include/linux/
Dsched.h656 unsigned long ready; in has_pending_signals() local
661 for (i = _NSIG_WORDS, ready = 0; --i >= 0 ;) in has_pending_signals()
662 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
665 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
666 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
667 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
668 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
671 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
672 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
675 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
[all …]
/linux-2.4.37.9/drivers/pcmcia/
Dau1000_hydrogen3.c87 state->ready = 0; in hydrogen3_pcmcia_socket_state()
96 state->ready = 1; in hydrogen3_pcmcia_socket_state()
Dau1000_xxs1500.c98 state->ready = 0; in xxs1500_pcmcia_socket_state()
120 state->ready = 1; in xxs1500_pcmcia_socket_state()
Dsa1100_pangolin.c62 state_array->state[1].ready=(levels & GPIO_PCMCIA_IRQ)?1:0; in pangolin_pcmcia_socket_state()
70 state_array->state[0].ready=(levels & GPIO_PCMCIA_IRQ)?1:0; in pangolin_pcmcia_socket_state()
Dau1000_generic.c284 if(state->ready!=prev_state->ready){ in au1000_pcmcia_events()
286 __FUNCTION__, state->ready); in au1000_pcmcia_events()
441 *status |= state.ready?SS_READY:0; in au1000_pcmcia_get_status()
662 pcmcia_socket[sock].k_state.ready?"ready ":"", in au1000_pcmcia_proc_status()
671 pcmcia_socket[sock].k_state.ready?"SS_READY ":"", in au1000_pcmcia_proc_status()
Dsa1100_shannon.c62 state_array->state[0].ready = (levels & SHANNON_GPIO_RDY_0) ? 1 : 0; in shannon_pcmcia_socket_state()
70 state_array->state[1].ready = (levels & SHANNON_GPIO_RDY_1) ? 1 : 0; in shannon_pcmcia_socket_state()
Dsa1100_h3600.c82 state->state[0].ready = levels & GPIO_H3600_PCMCIA_IRQ0 ? 1 : 0; in h3600_pcmcia_socket_state()
90 state->state[1].ready = levels & GPIO_H3600_PCMCIA_IRQ1 ? 1 : 0; in h3600_pcmcia_socket_state()
Dsa1100_flexanet.c101 state_array->state[0].ready = (levels & GPIO_CF1_IRQ)?1:0; in flexanet_pcmcia_socket_state()
110 state_array->state[1].ready = (levels & GPIO_CF2_IRQ)?1:0; in flexanet_pcmcia_socket_state()
Dau1000_db1x00.c83 state->ready = 0; in db1x00_pcmcia_socket_state()
115 state->ready = 1; in db1x00_pcmcia_socket_state()
/linux-2.4.37.9/drivers/input/
Dmousedev.c68 unsigned char ready, buffer, bufsiz; member
148 list->ready = 1; in mousedev_event()
275 if (!list->dx && !list->dy && (!list->mode || !list->dz)) list->ready = 0; in mousedev_packet()
307 list->ready = 1; in mousedev_write()
346 if (!list->ready && !list->buffer) { in mousedev_read()
351 while (!list->ready) { in mousedev_read()
391 if (list->ready || list->buffer) in mousedev_poll()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsmp.c303 static atomic_t ready = ATOMIC_INIT(1); in smp_chrp_setup_cpu() local
320 while (atomic_read(&ready) < smp_num_cpus) in smp_chrp_setup_cpu()
322 atomic_set(&ready, 1); in smp_chrp_setup_cpu()
330 while (atomic_read(&ready) < smp_num_cpus) in smp_chrp_setup_cpu()
340 atomic_inc(&ready); in smp_chrp_setup_cpu()
345 atomic_inc(&ready); in smp_chrp_setup_cpu()
/linux-2.4.37.9/drivers/block/paride/
Dpseudo.h56 int (*ready)(void), in ps_set_intr()
64 ps_ready = ready; in ps_set_intr()
/linux-2.4.37.9/drivers/s390/
Ds390io.c811 } else if (!ioinfo[irq]->ui.flags.ready) { in s390_request_irq_special()
817 ioinfo[irq]->ui.flags.ready = 1; in s390_request_irq_special()
822 ioinfo[irq]->ui.flags.ready = 0; in s390_request_irq_special()
949 if (ioinfo[irq]->ui.flags.ready) { in s390_free_irq()
1003 ioinfo[irq]->ui.flags.ready = 0; in s390_free_irq()
1453 int ready = 0; in s390_start_IO() local
1532 ready = s390_process_IRQ (io_sub); in s390_start_IO()
1538 && (ready == 1)) in s390_start_IO()
1760 if (!ioinfo[irq]->ui.flags.ready || ioinfo[irq]->ui.flags.unready) { in do_IO()
1864 if (!ioinfo[irq]->ui.flags.ready) { in halt_IO()
[all …]

1234567