Home
last modified time | relevance | path

Searched refs:read_subdev (Results 1 – 25 of 45) sorted by relevance

12

/linux-3.4.99/drivers/staging/comedi/drivers/
Dcomedi_test.c165 struct comedi_async *async = dev->read_subdev->async; in waveform_ai_interrupt()
187 cfc_write_to_buffer(dev->read_subdev, in waveform_ai_interrupt()
217 comedi_event(dev, dev->read_subdev); in waveform_ai_interrupt()
247 dev->read_subdev = s; in waveform_attach()
293 waveform_ai_cancel(dev, dev->read_subdev); in waveform_detach()
471 struct comedi_subdevice *s = dev->read_subdev; in fake_sawtooth()
495 struct comedi_subdevice *s = dev->read_subdev; in fake_squarewave()
515 return dev->read_subdev->maxdata / 2; in fake_flatline()
Dgsc_hpdi.c496 dev->read_subdev = s; in setup_subdevices()
961 struct comedi_async *async = dev->read_subdev->async; in drain_dma_buffers()
991 cfc_write_array_to_buffer(dev->read_subdev, in drain_dma_buffers()
1009 struct comedi_subdevice *s = dev->read_subdev; in handle_interrupt()
Dke_counter.c259 dev->read_subdev = subdevice; in cnt_attach()
Ddas16m1.c546 s = dev->read_subdev; in das16m1_handler()
713 dev->read_subdev = s; in das16m1_attach()
Dni_labpc.c630 dev->read_subdev = s; in labpc_common_attach()
1421 struct comedi_subdevice *s = dev->read_subdev; in labpc_interrupt()
1511 struct comedi_async *async = dev->read_subdev->async; in labpc_drain_fifo()
1528 cfc_write_to_buffer(dev->read_subdev, data); in labpc_drain_fifo()
1544 struct comedi_subdevice *s = dev->read_subdev; in labpc_drain_dma()
Dcomedi_parport.c375 dev->read_subdev = s; in parport_attach()
Ddas800.c369 struct comedi_subdevice *s = dev->read_subdev; /* analog input subdevice */ in das800_interrupt()
518 dev->read_subdev = s; in das800_attach()
Ddmm32at.c397 dev->read_subdev = s; in dmm32at_attach()
829 struct comedi_subdevice *s = dev->read_subdev; in dmm32at_isr()
Dni_at_a2150.c232 struct comedi_subdevice *s = dev->read_subdev; in a2150_interrupt()
425 dev->read_subdev = s; in a2150_attach()
Ddt2814.c336 dev->read_subdev = s; in dt2814_attach()
Dcb_pcidas64.c1432 dev->read_subdev = s; in setup_subdevices()
2879 struct comedi_subdevice *s = dev->read_subdev; in pio_drain_ai_fifo_16()
2946 struct comedi_subdevice *s = dev->read_subdev; in pio_drain_ai_fifo_32()
2987 struct comedi_async *async = dev->read_subdev->async; in drain_dma_buffers()
3014 cfc_write_array_to_buffer(dev->read_subdev, in drain_dma_buffers()
3035 struct comedi_subdevice *s = dev->read_subdev; in handle_ai_interrupt()
3493 if (dev->read_subdev->busy) in external_ai_queue_in_use()
3497 else if (use_internal_queue_6xxx(&dev->read_subdev->async->cmd)) in external_ai_queue_in_use()
Dni_6527.c422 dev->read_subdev = s; in ni6527_attach()
Dadl_pci9111.c975 struct comedi_subdevice *subdevice = dev->read_subdev; in pci9111_interrupt()
1398 dev->read_subdev = subdevice; in pci9111_attach()
Dpcl711.c587 dev->read_subdev = s; in pcl711_attach()
Damplc_pc236.c421 dev->read_subdev = s; in pc236_attach()
Dicp_multi.c1027 dev->read_subdev = s; in icp_multi_attach()
Dcb_das16_cs.c202 dev->read_subdev = s; in das16cs_attach()
Ddas16.c1238 struct comedi_subdevice *s = dev->read_subdev; in das16_interrupt()
1577 dev->read_subdev = s; in das16_attach()
Ddas1800.c738 dev->read_subdev = s; in das1800_attach()
784 das1800_cancel(dev, dev->read_subdev); in das1800_attach()
Dquatech_daqp_cs.c882 dev->read_subdev = s; in daqp_attach()
Dni_65xx.c741 dev->read_subdev = s; in ni_65xx_attach()
Dni_atmio16d.c805 dev->read_subdev = s; in atmio16d_attach()
Dpcmuio.c398 dev->read_subdev = s; in pcmuio_attach()
/linux-3.4.99/drivers/staging/comedi/
Dcomedidev.h224 struct comedi_subdevice *read_subdev; member
272 return info->device->read_subdev; in comedi_get_read_subdevice()
Dcomedi_fops.c384 struct comedi_subdevice *read_subdev = in do_devinfo_ioctl() local
397 if (read_subdev) in do_devinfo_ioctl()
398 devinfo.read_subdevice = read_subdev - dev->subdevices; in do_devinfo_ioctl()
1563 struct comedi_subdevice *read_subdev; in comedi_poll() local
1583 read_subdev = comedi_get_read_subdevice(dev_file_info); in comedi_poll()
1584 if (read_subdev && read_subdev->async) { in comedi_poll()
1585 poll_wait(file, &read_subdev->async->wait_head, wait); in comedi_poll()
1586 if (!read_subdev->busy in comedi_poll()
1587 || comedi_buf_read_n_available(read_subdev->async) > 0 in comedi_poll()
1588 || !(comedi_get_subdevice_runflags(read_subdev) & in comedi_poll()

12