/linux-2.6.39/drivers/dma/ |
D | intel_mid_dma_regs.h | 38 #define UNMASK_INTR_REG(chan_num) \ argument 39 ((REG_BIT0 << chan_num) | (REG_BIT8 << chan_num)) 40 #define MASK_INTR_REG(chan_num) (REG_BIT8 << chan_num) argument 42 #define ENABLE_CHANNEL(chan_num) \ argument 43 ((REG_BIT0 << chan_num) | (REG_BIT8 << chan_num)) 45 #define DISABLE_CHANNEL(chan_num) \ argument 46 (REG_BIT8 << chan_num)
|
/linux-2.6.39/drivers/net/ |
D | davinci_cpdma.h | 22 #define is_rx_chan(chan) ((chan)->chan_num >= CPDMA_MAX_CHANNELS) 24 #define __chan_linear(chan_num) ((chan_num) & (CPDMA_MAX_CHANNELS - 1)) argument 25 #define chan_linear(chan) __chan_linear((chan)->chan_num) 75 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num,
|
D | davinci_cpdma.c | 109 int chan_num; member 476 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num, in cpdma_chan_create() argument 480 int ret, offset = (chan_num % CPDMA_MAX_CHANNELS) * 4; in cpdma_chan_create() 483 if (__chan_linear(chan_num) >= ctlr->num_chan) in cpdma_chan_create() 493 if (ctlr->channels[chan_num]) in cpdma_chan_create() 498 chan->chan_num = chan_num; in cpdma_chan_create() 521 ctlr->channels[chan_num] = chan; in cpdma_chan_create() 543 ctlr->channels[chan->chan_num] = NULL; in cpdma_chan_destroy() 569 chan->chan_num, is_rx_chan(chan) ? "rx" : "tx", in cpdma_chan_dump() 825 dma_reg_write(ctlr, chan->td, chan->chan_num); in cpdma_chan_stop()
|
/linux-2.6.39/drivers/staging/cx25821/ |
D | cx25821-video.h | 112 extern int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status); 113 extern void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num); 169 struct v4l2_control *ctrl, int chan_num);
|
D | cx25821-video.c | 56 static void cx25821_init_controls(struct cx25821_dev *dev, int chan_num); 390 int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status) in cx25821_video_irq() argument 395 struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_video_irq() 446 void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num) in cx25821_video_unregister() argument 450 if (dev->channels[chan_num].video_dev) { in cx25821_video_unregister() 451 if (video_is_registered(dev->channels[chan_num].video_dev)) in cx25821_video_unregister() 453 dev->channels[chan_num].video_dev); in cx25821_video_unregister() 456 dev->channels[chan_num].video_dev); in cx25821_video_unregister() 458 dev->channels[chan_num].video_dev = NULL; in cx25821_video_unregister() 461 &dev->channels[chan_num].vidq.stopper); in cx25821_video_unregister() [all …]
|
D | cx25821-audio-upstream.c | 500 int cx25821_audio_upstream_irq(struct cx25821_dev *dev, int chan_num, in cx25821_audio_upstream_irq() argument 505 struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_audio_upstream_irq()
|
D | cx25821-video-upstream-ch2.c | 527 int cx25821_video_upstream_irq_ch2(struct cx25821_dev *dev, int chan_num, in cx25821_video_upstream_irq_ch2() argument 531 struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_video_upstream_irq_ch2()
|
D | cx25821-video-upstream.c | 570 int cx25821_video_upstream_irq(struct cx25821_dev *dev, int chan_num, in cx25821_video_upstream_irq() argument 574 struct sram_channel *channel = dev->channels[chan_num].sram_channels; in cx25821_video_upstream_irq()
|
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | unioxx5.c | 107 static int __unioxx5_define_chan_offset(int chan_num); 535 static int __unioxx5_define_chan_offset(int chan_num) in __unioxx5_define_chan_offset() argument 538 if (chan_num < 0 || chan_num > 23) in __unioxx5_define_chan_offset() 541 return (chan_num >> 3) + 1; in __unioxx5_define_chan_offset()
|
/linux-2.6.39/sound/soc/sh/ |
D | fsi.c | 149 int chan_num; member 371 data_num *= fsi->chan_num; in fsi_get_fifo_data_num() 393 return frames_to_bytes(runtime, 1) / fsi->chan_num; in fsi_get_frame_width() 586 for (i = 1; i < fsi->chan_num; i <<= 1) in fsi_fifo_init() 589 fsi->chan_num, io->fifo_max_num); in fsi_fifo_init() 665 data_num_max = io->fifo_max_num * fsi->chan_num; in fsi_fifo_data_ctrl() 841 fsi->chan_num = 2; in fsi_set_fmt_dai() 845 fsi->chan_num = 2; in fsi_set_fmt_dai() 866 fsi->chan_num = 2; in fsi_set_fmt_spdif()
|
/linux-2.6.39/drivers/dma/ioat/ |
D | dma.h | 43 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->device->reg_base) / 0x80) macro
|
D | dma.c | 206 chan_num(chan), chansts, chanerr); in ioat1_reset_channel() 509 "chan%d - get_next_desc failed\n", chan_num(chan)); in ioat1_dma_prep_memcpy()
|