Searched refs:read_subdev (Results 1 – 25 of 45) sorted by relevance
12
165 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()
496 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()
259 dev->read_subdev = subdevice; in cnt_attach()
546 s = dev->read_subdev; in das16m1_handler()713 dev->read_subdev = s; in das16m1_attach()
630 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()
375 dev->read_subdev = s; in parport_attach()
369 struct comedi_subdevice *s = dev->read_subdev; /* analog input subdevice */ in das800_interrupt()518 dev->read_subdev = s; in das800_attach()
397 dev->read_subdev = s; in dmm32at_attach()829 struct comedi_subdevice *s = dev->read_subdev; in dmm32at_isr()
232 struct comedi_subdevice *s = dev->read_subdev; in a2150_interrupt()425 dev->read_subdev = s; in a2150_attach()
336 dev->read_subdev = s; in dt2814_attach()
1432 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()
422 dev->read_subdev = s; in ni6527_attach()
975 struct comedi_subdevice *subdevice = dev->read_subdev; in pci9111_interrupt()1398 dev->read_subdev = subdevice; in pci9111_attach()
587 dev->read_subdev = s; in pcl711_attach()
421 dev->read_subdev = s; in pc236_attach()
1027 dev->read_subdev = s; in icp_multi_attach()
202 dev->read_subdev = s; in das16cs_attach()
1238 struct comedi_subdevice *s = dev->read_subdev; in das16_interrupt()1577 dev->read_subdev = s; in das16_attach()
738 dev->read_subdev = s; in das1800_attach()784 das1800_cancel(dev, dev->read_subdev); in das1800_attach()
882 dev->read_subdev = s; in daqp_attach()
741 dev->read_subdev = s; in ni_65xx_attach()
805 dev->read_subdev = s; in atmio16d_attach()
398 dev->read_subdev = s; in pcmuio_attach()
224 struct comedi_subdevice *read_subdev; member272 return info->device->read_subdev; in comedi_get_read_subdevice()
384 struct comedi_subdevice *read_subdev = in do_devinfo_ioctl() local397 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() local1583 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()