Searched refs:sw_data (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/include/sound/ |
D | pcm-indirect.h | 21 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.10/drivers/media/i2c/ |
D | tvaudio.c | 772 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.10/include/linux/soc/ti/ |
D | knav_dma.h | 163 u32 sw_data[KNAV_DMA_NUM_SW_DATA_WORDS]; member
|
/Linux-v5.10/drivers/net/ethernet/ti/ |
D | netcp_core.c | 127 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.10/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-pcm.c | 240 void *src = (void *) (substream->runtime->dma_area + rec->sw_data); in snd_bcm2835_pcm_transfer()
|
/Linux-v5.10/sound/mips/ |
D | hal2.c | 579 memcpy(buf, substream->runtime->dma_area + rec->sw_data, bytes); in hal2_playback_transfer() 667 memcpy(substream->runtime->dma_area + rec->sw_data, buf, bytes); in hal2_capture_transfer()
|
/Linux-v5.10/sound/pci/ |
D | rme32.c | 1125 substream->runtime->dma_area + rec->sw_data, bytes); in snd_rme32_pb_trans_copy() 1148 memcpy_fromio(substream->runtime->dma_area + rec->sw_data, in snd_rme32_cp_trans_copy()
|
/Linux-v5.10/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 869 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.10/sound/pci/emu10k1/ |
D | emupcm.c | 1580 unsigned short *src = (unsigned short *)(substream->runtime->dma_area + rec->sw_data); in fx8010_pb_trans_copy()
|