/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/comedi/drivers/ |
H A D | mite.c | 370 mite_chan->done = 1; in mite_get_status() 423 done = mite_chan->done; in mite_done() 432 mite_chan->mite->mmio + MITE_CHOR(mite_chan->channel)); in mite_dma_reset() 450 mite_chan->done = 0; in mite_dma_arm() 482 mite_dma_reset(mite_chan); in mite_prep_dma() 584 if (!mite_chan->ring) { in mite_request_channel_in_range() 585 mite_chan->ring = ring; in mite_request_channel_in_range() 588 mite_chan = NULL; in mite_request_channel_in_range() 591 return mite_chan; in mite_request_channel_in_range() 619 if (mite_chan->ring) { in mite_release_channel() [all …]
|
H A D | mite.h | 54 u32 mite_bytes_in_transit(struct mite_channel *mite_chan); 56 void mite_sync_dma(struct mite_channel *mite_chan, struct comedi_subdevice *s); 57 void mite_ack_linkc(struct mite_channel *mite_chan, struct comedi_subdevice *s, 59 int mite_done(struct mite_channel *mite_chan); 61 void mite_dma_arm(struct mite_channel *mite_chan); 62 void mite_dma_disarm(struct mite_channel *mite_chan); 64 void mite_prep_dma(struct mite_channel *mite_chan, 73 void mite_release_channel(struct mite_channel *mite_chan);
|
H A D | ni_tiocmd.c | 87 if (counter->mite_chan) in ni_tio_input_inttrig() 88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig() 113 counter->mite_chan->dir = COMEDI_INPUT; in ni_tio_input_cmd() 130 mite_dma_arm(counter->mite_chan); in ni_tio_input_cmd() 213 if (!counter->mite_chan) { in ni_tio_cmd() 339 if (counter->mite_chan) in ni_tio_cancel() 340 mite_dma_disarm(counter->mite_chan); in ni_tio_cancel() 372 if (!counter->mite_chan || in should_ack_gate() 480 if (counter->mite_chan) in ni_tio_handle_interrupt() 487 struct mite_channel *mite_chan) in ni_tio_set_mite_channel() argument [all …]
|
H A D | ni_660x.c | 343 struct mite_channel *mite_chan; in ni_660x_request_mite_channel() local 348 mite_chan = mite_request_channel(devpriv->mite, ring); in ni_660x_request_mite_channel() 349 if (!mite_chan) { in ni_660x_request_mite_channel() 355 mite_chan->dir = direction; in ni_660x_request_mite_channel() 356 ni_tio_set_mite_channel(counter, mite_chan); in ni_660x_request_mite_channel() 357 ni_660x_set_dma_channel(dev, mite_chan->channel, counter); in ni_660x_request_mite_channel() 369 if (counter->mite_chan) { in ni_660x_release_mite_channel() 370 struct mite_channel *mite_chan = counter->mite_chan; in ni_660x_release_mite_channel() local 372 ni_660x_unset_dma_channel(dev, mite_chan->channel, counter); in ni_660x_release_mite_channel() 374 mite_release_channel(mite_chan); in ni_660x_release_mite_channel() [all …]
|
H A D | ni_tio.h | 98 struct mite_channel *mite_chan; member 142 struct mite_channel *mite_chan);
|
H A D | ni_mio_common.c | 564 struct mite_channel *mite_chan; in ni_request_ai_mite_channel() local 570 if (!mite_chan) { in ni_request_ai_mite_channel() 576 mite_chan->dir = COMEDI_INPUT; in ni_request_ai_mite_channel() 590 struct mite_channel *mite_chan; in ni_request_ao_mite_channel() local 596 if (!mite_chan) { in ni_request_ao_mite_channel() 602 mite_chan->dir = COMEDI_OUTPUT; in ni_request_ao_mite_channel() 619 struct mite_channel *mite_chan; in ni_request_gpct_mite_channel() local 626 if (!mite_chan) { in ni_request_gpct_mite_channel() 632 mite_chan->dir = direction; in ni_request_gpct_mite_channel() 647 struct mite_channel *mite_chan; in ni_request_cdo_mite_channel() local [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/comedi/drivers/ |
H A D | mite.c | 370 mite_chan->done = 1; in mite_get_status() 423 done = mite_chan->done; in mite_done() 432 mite_chan->mite->mmio + MITE_CHOR(mite_chan->channel)); in mite_dma_reset() 450 mite_chan->done = 0; in mite_dma_arm() 482 mite_dma_reset(mite_chan); in mite_prep_dma() 584 if (!mite_chan->ring) { in mite_request_channel_in_range() 585 mite_chan->ring = ring; in mite_request_channel_in_range() 588 mite_chan = NULL; in mite_request_channel_in_range() 591 return mite_chan; in mite_request_channel_in_range() 619 if (mite_chan->ring) { in mite_release_channel() [all …]
|
H A D | mite.h | 54 u32 mite_bytes_in_transit(struct mite_channel *mite_chan); 56 void mite_sync_dma(struct mite_channel *mite_chan, struct comedi_subdevice *s); 57 void mite_ack_linkc(struct mite_channel *mite_chan, struct comedi_subdevice *s, 59 int mite_done(struct mite_channel *mite_chan); 61 void mite_dma_arm(struct mite_channel *mite_chan); 62 void mite_dma_disarm(struct mite_channel *mite_chan); 64 void mite_prep_dma(struct mite_channel *mite_chan, 73 void mite_release_channel(struct mite_channel *mite_chan);
|
H A D | ni_tiocmd.c | 87 if (counter->mite_chan) in ni_tio_input_inttrig() 88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig() 113 counter->mite_chan->dir = COMEDI_INPUT; in ni_tio_input_cmd() 130 mite_dma_arm(counter->mite_chan); in ni_tio_input_cmd() 213 if (!counter->mite_chan) { in ni_tio_cmd() 339 if (counter->mite_chan) in ni_tio_cancel() 340 mite_dma_disarm(counter->mite_chan); in ni_tio_cancel() 372 if (!counter->mite_chan || in should_ack_gate() 480 if (counter->mite_chan) in ni_tio_handle_interrupt() 487 struct mite_channel *mite_chan) in ni_tio_set_mite_channel() argument [all …]
|
H A D | ni_660x.c | 343 struct mite_channel *mite_chan; in ni_660x_request_mite_channel() local 348 mite_chan = mite_request_channel(devpriv->mite, ring); in ni_660x_request_mite_channel() 349 if (!mite_chan) { in ni_660x_request_mite_channel() 355 mite_chan->dir = direction; in ni_660x_request_mite_channel() 356 ni_tio_set_mite_channel(counter, mite_chan); in ni_660x_request_mite_channel() 357 ni_660x_set_dma_channel(dev, mite_chan->channel, counter); in ni_660x_request_mite_channel() 369 if (counter->mite_chan) { in ni_660x_release_mite_channel() 370 struct mite_channel *mite_chan = counter->mite_chan; in ni_660x_release_mite_channel() local 372 ni_660x_unset_dma_channel(dev, mite_chan->channel, counter); in ni_660x_release_mite_channel() 374 mite_release_channel(mite_chan); in ni_660x_release_mite_channel() [all …]
|
H A D | ni_tio.h | 98 struct mite_channel *mite_chan; member 142 struct mite_channel *mite_chan);
|
H A D | ni_mio_common.c | 564 struct mite_channel *mite_chan; in ni_request_ai_mite_channel() local 570 if (!mite_chan) { in ni_request_ai_mite_channel() 576 mite_chan->dir = COMEDI_INPUT; in ni_request_ai_mite_channel() 590 struct mite_channel *mite_chan; in ni_request_ao_mite_channel() local 596 if (!mite_chan) { in ni_request_ao_mite_channel() 602 mite_chan->dir = COMEDI_OUTPUT; in ni_request_ao_mite_channel() 619 struct mite_channel *mite_chan; in ni_request_gpct_mite_channel() local 626 if (!mite_chan) { in ni_request_gpct_mite_channel() 632 mite_chan->dir = direction; in ni_request_gpct_mite_channel() 647 struct mite_channel *mite_chan; in ni_request_cdo_mite_channel() local [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/comedi/drivers/ |
H A D | mite.c | 370 mite_chan->done = 1; in mite_get_status() 423 done = mite_chan->done; in mite_done() 432 mite_chan->mite->mmio + MITE_CHOR(mite_chan->channel)); in mite_dma_reset() 450 mite_chan->done = 0; in mite_dma_arm() 482 mite_dma_reset(mite_chan); in mite_prep_dma() 584 if (!mite_chan->ring) { in mite_request_channel_in_range() 585 mite_chan->ring = ring; in mite_request_channel_in_range() 588 mite_chan = NULL; in mite_request_channel_in_range() 591 return mite_chan; in mite_request_channel_in_range() 619 if (mite_chan->ring) { in mite_release_channel() [all …]
|
H A D | mite.h | 54 u32 mite_bytes_in_transit(struct mite_channel *mite_chan); 56 void mite_sync_dma(struct mite_channel *mite_chan, struct comedi_subdevice *s); 57 void mite_ack_linkc(struct mite_channel *mite_chan, struct comedi_subdevice *s, 59 int mite_done(struct mite_channel *mite_chan); 61 void mite_dma_arm(struct mite_channel *mite_chan); 62 void mite_dma_disarm(struct mite_channel *mite_chan); 64 void mite_prep_dma(struct mite_channel *mite_chan, 73 void mite_release_channel(struct mite_channel *mite_chan);
|
H A D | ni_tiocmd.c | 87 if (counter->mite_chan) in ni_tio_input_inttrig() 88 mite_dma_arm(counter->mite_chan); in ni_tio_input_inttrig() 113 counter->mite_chan->dir = COMEDI_INPUT; in ni_tio_input_cmd() 130 mite_dma_arm(counter->mite_chan); in ni_tio_input_cmd() 213 if (!counter->mite_chan) { in ni_tio_cmd() 339 if (counter->mite_chan) in ni_tio_cancel() 340 mite_dma_disarm(counter->mite_chan); in ni_tio_cancel() 372 if (!counter->mite_chan || in should_ack_gate() 480 if (counter->mite_chan) in ni_tio_handle_interrupt() 487 struct mite_channel *mite_chan) in ni_tio_set_mite_channel() argument [all …]
|
H A D | ni_660x.c | 343 struct mite_channel *mite_chan; in ni_660x_request_mite_channel() local 348 mite_chan = mite_request_channel(devpriv->mite, ring); in ni_660x_request_mite_channel() 349 if (!mite_chan) { in ni_660x_request_mite_channel() 355 mite_chan->dir = direction; in ni_660x_request_mite_channel() 356 ni_tio_set_mite_channel(counter, mite_chan); in ni_660x_request_mite_channel() 357 ni_660x_set_dma_channel(dev, mite_chan->channel, counter); in ni_660x_request_mite_channel() 369 if (counter->mite_chan) { in ni_660x_release_mite_channel() 370 struct mite_channel *mite_chan = counter->mite_chan; in ni_660x_release_mite_channel() local 372 ni_660x_unset_dma_channel(dev, mite_chan->channel, counter); in ni_660x_release_mite_channel() 374 mite_release_channel(mite_chan); in ni_660x_release_mite_channel() [all …]
|
H A D | ni_tio.h | 98 struct mite_channel *mite_chan; member 142 struct mite_channel *mite_chan);
|
H A D | ni_mio_common.c | 564 struct mite_channel *mite_chan; in ni_request_ai_mite_channel() local 570 if (!mite_chan) { in ni_request_ai_mite_channel() 576 mite_chan->dir = COMEDI_INPUT; in ni_request_ai_mite_channel() 590 struct mite_channel *mite_chan; in ni_request_ao_mite_channel() local 596 if (!mite_chan) { in ni_request_ao_mite_channel() 602 mite_chan->dir = COMEDI_OUTPUT; in ni_request_ao_mite_channel() 619 struct mite_channel *mite_chan; in ni_request_gpct_mite_channel() local 626 if (!mite_chan) { in ni_request_gpct_mite_channel() 632 mite_chan->dir = direction; in ni_request_gpct_mite_channel() 647 struct mite_channel *mite_chan; in ni_request_cdo_mite_channel() local [all …]
|