Home
last modified time | relevance | path

Searched refs:hw_chan (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/pse-pd/
Dtps23881.c263 u8 hw_chan[2]; member
291 (port_matrix[i].hw_chan[0] == chan || in tps23881_is_chan_free()
292 port_matrix[i].hw_chan[1] == chan)) in tps23881_is_chan_free()
319 port_matrix[pi_id].hw_chan[0] = ret; in tps23881_match_port_matrix()
334 if (port_matrix[pi_id].hw_chan[0] / 4 != ret / 4) { in tps23881_match_port_matrix()
339 port_matrix[pi_id].hw_chan[1] = ret; in tps23881_match_port_matrix()
356 if (port_matrix[j].hw_chan[0] == i) { in tps23881_get_unused_chan()
362 port_matrix[j].hw_chan[1] == i) { in tps23881_get_unused_chan()
395 if (port_matrix[i].hw_chan[0] < 4) in tps23881_sort_port_matrix()
403 tmp_port_matrix[port_cnt].hw_chan[0] = port_matrix[i].hw_chan[0]; in tps23881_sort_port_matrix()
[all …]
/linux-6.12.1/sound/soc/sprd/
Dsprd-pcm-dma.c33 int hw_chan; member
55 int hw_chan = SPRD_PCM_CHANNEL_MAX; in sprd_pcm_open() local
83 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 …]
/linux-6.12.1/drivers/iio/adc/
Dda9150-gpadc.c93 static int da9150_gpadc_read_adc(struct da9150_gpadc *gpadc, int hw_chan) in da9150_gpadc_read_adc() argument
103 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() argument
161 raw_val = da9150_gpadc_read_adc(gpadc, hw_chan); in da9150_gpadc_read_processed()
/linux-6.12.1/drivers/net/wireless/mediatek/mt7601u/
Dphy.c322 static void mt7601u_apply_ch14_fixup(struct mt7601u_dev *dev, int hw_chan) in mt7601u_apply_ch14_fixup() argument
326 if (hw_chan != 14 || dev->bw != MT_BW_20) { in mt7601u_apply_ch14_fixup()