Searched refs:hw_chan (Results 1 – 3 of 3) sorted by relevance
33 int hw_chan; member55 int hw_chan = SPRD_PCM_CHANNEL_MAX; in sprd_pcm_open() local83 for (i = 0; i < hw_chan; i++) { in sprd_pcm_open()94 dma_private->hw_chan = hw_chan; in sprd_pcm_open()101 for (i = 0; i < hw_chan; i++) { in sprd_pcm_open()121 for (i = 0; i < dma_private->hw_chan; i++) { in sprd_pcm_close()322 for (i = 0; i < dma_private->hw_chan; i++) { in sprd_pcm_trigger()343 for (i = 0; i < dma_private->hw_chan; i++) { in sprd_pcm_trigger()352 for (i = 0; i < dma_private->hw_chan; i++) { in sprd_pcm_trigger()362 for (i = 0; i < dma_private->hw_chan; i++) { in sprd_pcm_trigger()[all …]
93 static int da9150_gpadc_read_adc(struct da9150_gpadc *gpadc, int hw_chan) in da9150_gpadc_read_adc() argument103 hw_chan << DA9150_GPADC_MUX_SHIFT)); in da9150_gpadc_read_adc()119 hw_chan); in da9150_gpadc_read_adc()157 int hw_chan, int *val) in da9150_gpadc_read_processed() argument161 raw_val = da9150_gpadc_read_adc(gpadc, hw_chan); in da9150_gpadc_read_processed()
322 static void mt7601u_apply_ch14_fixup(struct mt7601u_dev *dev, int hw_chan) in mt7601u_apply_ch14_fixup() argument326 if (hw_chan != 14 || dev->bw != MT_BW_20) { in mt7601u_apply_ch14_fixup()