Home
last modified time | relevance | path

Searched refs:sw_data (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/sound/drivers/
Dpcm-indirect2.c60 rec->sw_data); in snd_pcm_indirect2_stat()
149 rec->sw_data = in snd_pcm_indirect2_increase_min_periods()
163 rec->sw_data); in snd_pcm_indirect2_increase_min_periods()
174 if (rec->sw_io != rec->sw_data) { in snd_pcm_indirect2_increase_min_periods()
176 if (rec->sw_data > rec->sw_io) in snd_pcm_indirect2_increase_min_periods()
177 diff = rec->sw_data - rec->sw_io; in snd_pcm_indirect2_increase_min_periods()
181 rec->sw_data; in snd_pcm_indirect2_increase_min_periods()
183 rec->sw_io = rec->sw_data; in snd_pcm_indirect2_increase_min_periods()
273 rec->sw_io, rec->sw_data, in snd_pcm_indirect2_playback_transfer()
302 unsigned int sw_to_end = rec->sw_buffer_size - rec->sw_data; in snd_pcm_indirect2_playback_transfer()
[all …]
Dpcm-indirect2.h48 unsigned int sw_data; /* Offset to next dst (or src) in sw member
Dml403-ac97cr.c433 src = (u16 *)(substream->runtime->dma_area + rec->sw_data); in snd_ml403_ac97cr_playback_ind2_copy()
490 dst = (u16 *)(substream->runtime->dma_area + rec->sw_data); in snd_ml403_ac97cr_capture_ind2_copy()
/Linux-v5.4/include/sound/
Dpcm-indirect.h21 unsigned int sw_data; /* Offset to next dst (or src) in sw ring buffer */ member
54 unsigned int sw_to_end = rec->sw_buffer_size - rec->sw_data; in snd_pcm_indirect_playback_transfer()
68 rec->sw_data += bytes; in snd_pcm_indirect_playback_transfer()
69 if (rec->sw_data == rec->sw_buffer_size) in snd_pcm_indirect_playback_transfer()
70 rec->sw_data = 0; in snd_pcm_indirect_playback_transfer()
122 size_t sw_to_end = rec->sw_buffer_size - rec->sw_data; in snd_pcm_indirect_capture_transfer()
136 rec->sw_data += bytes; in snd_pcm_indirect_capture_transfer()
137 if (rec->sw_data == rec->sw_buffer_size) in snd_pcm_indirect_capture_transfer()
138 rec->sw_data = 0; in snd_pcm_indirect_capture_transfer()
/Linux-v5.4/drivers/media/i2c/
Dtvaudio.c772 int sw_data = chip->shadow.bytes[TDA9873_SW+1] & ~ TDA9873_TR_MASK; in tda9873_setaudmode() local
775 if ((sw_data & TDA9873_INP_MASK) != TDA9873_INTERNAL) { in tda9873_setaudmode()
785 sw_data); in tda9873_setaudmode()
789 sw_data |= TDA9873_TR_MONO; in tda9873_setaudmode()
792 sw_data |= TDA9873_TR_STEREO; in tda9873_setaudmode()
795 sw_data |= TDA9873_TR_DUALA; in tda9873_setaudmode()
798 sw_data |= TDA9873_TR_DUALB; in tda9873_setaudmode()
801 sw_data |= TDA9873_TR_DUALAB; in tda9873_setaudmode()
807 chip_write(chip, TDA9873_SW, sw_data); in tda9873_setaudmode()
810 mode, sw_data); in tda9873_setaudmode()
/Linux-v5.4/include/linux/soc/ti/
Dknav_dma.h163 u32 sw_data[KNAV_DMA_NUM_SW_DATA_WORDS]; member
/Linux-v5.4/drivers/net/ethernet/ti/
Dnetcp_core.c127 return desc->sw_data[index]; in get_sw_data()
169 desc->sw_data[index] = data; in set_sw_data()
860 u32 sw_data[2]; in netcp_allocate_rx_buf() local
877 sw_data[1] = primary_buf_len; in netcp_allocate_rx_buf()
892 sw_data[0] = (u32)bufptr; in netcp_allocate_rx_buf()
905 sw_data[0] = (u32)page; in netcp_allocate_rx_buf()
906 sw_data[1] = 0; in netcp_allocate_rx_buf()
916 SET_SW_DATA0(sw_data[0], hwdesc); in netcp_allocate_rx_buf()
917 SET_SW_DATA1(sw_data[1], hwdesc); in netcp_allocate_rx_buf()
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c251 void *src = (void *) (substream->runtime->dma_area + rec->sw_data); in snd_bcm2835_pcm_transfer()
/Linux-v5.4/sound/mips/
Dhal2.c598 memcpy(buf, substream->runtime->dma_area + rec->sw_data, bytes); in hal2_playback_transfer()
688 memcpy(substream->runtime->dma_area + rec->sw_data, buf, bytes); in hal2_capture_transfer()
/Linux-v5.4/sound/pci/
Drme32.c1141 substream->runtime->dma_area + rec->sw_data, bytes); in snd_rme32_pb_trans_copy()
1164 memcpy_fromio(substream->runtime->dma_area + rec->sw_data, in snd_rme32_cp_trans_copy()
/Linux-v5.4/sound/pci/cs46xx/
Dcs46xx_lib.c869 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); in snd_cs46xx_pb_trans_copy()
885 memcpy(runtime->dma_area + rec->sw_data, in snd_cs46xx_cp_trans_copy()
/Linux-v5.4/sound/pci/emu10k1/
Demupcm.c1606 unsigned short *src = (unsigned short *)(substream->runtime->dma_area + rec->sw_data); in fx8010_pb_trans_copy()