/linux/sound/usb/hiface/ |
H A D | pcm.c | 37 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ member 266 if (sub->dma_off + PCM_PACKET_SIZE <= pcm_buffer_size) { in hiface_pcm_playback() 269 (unsigned int) sub->dma_off); in hiface_pcm_playback() 271 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 279 (unsigned int) sub->dma_off); in hiface_pcm_playback() 281 len = pcm_buffer_size - sub->dma_off; in hiface_pcm_playback() 283 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 290 sub->dma_off += PCM_PACKET_SIZE; in hiface_pcm_playback() 291 if (sub->dma_off >= pcm_buffer_size) in hiface_pcm_playback() 292 sub->dma_off -= pcm_buffer_size; in hiface_pcm_playback() [all …]
|
/linux/sound/usb/6fire/ |
H A D | pcm.c | 201 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture() 228 sub->dma_off++; in usb6fire_pcm_capture() 231 sub->dma_off = 0; in usb6fire_pcm_capture() 247 u32 *src = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_playback() 276 sub->dma_off++; in usb6fire_pcm_playback() 280 sub->dma_off = 0; in usb6fire_pcm_playback() 462 sub->dma_off = 0; in usb6fire_pcm_prepare() 537 ret = sub->dma_off; in usb6fire_pcm_pointer()
|
H A D | pcm.h | 42 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ member
|
/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | dp.c | 838 struct nfp_net_rx_buf *rxbuf, unsigned int dma_off, in nfp_nfd3_tx_xdp_buf() argument 847 if (pkt_len + dma_off > dma_map_sz) in nfp_nfd3_tx_xdp_buf() 876 dma_sync_single_for_device(dp->dev, rxbuf->dma_addr + dma_off, in nfp_nfd3_tx_xdp_buf() 883 nfp_desc_set_dma_addr_40b(txd, rxbuf->dma_addr + dma_off); in nfp_nfd3_tx_xdp_buf() 1009 unsigned int dma_off; in nfp_nfd3_rx() local 1027 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfd3_rx() 1031 dma_off, in nfp_nfd3_rx()
|
/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | dp.c | 901 struct nfp_net_rx_buf *rxbuf, unsigned int dma_off, in nfp_nfdk_tx_xdp_buf() argument 913 if (pkt_len + dma_off > dma_map_sz) in nfp_nfdk_tx_xdp_buf() 959 dma_sync_single_for_device(dp->dev, rxbuf->dma_addr + dma_off, in nfp_nfdk_tx_xdp_buf() 965 dma_addr = rxbuf->dma_addr + dma_off; in nfp_nfdk_tx_xdp_buf() 1128 unsigned int dma_off; in nfp_nfdk_rx() local 1146 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfdk_rx() 1150 dma_off, in nfp_nfdk_rx()
|
/linux/drivers/usb/musb/ |
H A D | tusb6010.c | 924 static int dma_off; variable 965 if (is_dma_capable() && dma_off) in tusb_musb_enable() 969 dma_off = 1; in tusb_musb_enable() 989 if (is_dma_capable() && !dma_off) { in tusb_musb_disable() 992 dma_off = 1; in tusb_musb_disable()
|
/linux/drivers/mmc/host/ |
H A D | tifm_sd.c | 266 unsigned int dma_len, dma_blk_cnt, dma_off; in tifm_sd_set_dma_data() local 290 dma_off = host->block_pos; in tifm_sd_set_dma_data() 294 dma_off = host->block_pos; in tifm_sd_set_dma_data() 307 dma_off = 0; in tifm_sd_set_dma_data() 313 writel(sg_dma_address(sg) + dma_off, sock->addr + SOCK_DMA_ADDRESS); in tifm_sd_set_dma_data()
|
/linux/drivers/firmware/ |
H A D | qemu_fw_cfg.c | 802 resource_size_t size, ctrl_off, data_off, dma_off; in fw_cfg_cmdline_set() local 822 &dma_off, &consumed); in fw_cfg_cmdline_set() 850 res[3].start = dma_off; in fw_cfg_cmdline_set()
|
/linux/sound/pci/ |
H A D | als4000.c | 320 unsigned char dsp_cmd, dma_on, dma_off, format; member 415 snd_sbdsp_command(chip, playback_cmd(chip).dma_off); in snd_als4000_playback_prepare() 468 snd_sbdsp_command(chip, playback_cmd(chip).dma_off); in snd_als4000_playback_trigger()
|
/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-net.c | 1003 desc_data->rx.hdr.dma_off, in xlgmac_create_skb() 1019 desc_data->rx.buf.dma_off, in xlgmac_create_skb() 1199 desc_data->rx.buf.dma_off, in xlgmac_rx_poll()
|
H A D | dwc-xlgmac.h | 236 unsigned long dma_off; member
|
H A D | dwc-xlgmac-desc.c | 373 bd->dma_off = pa->pages_offset; in xlgmac_set_buffer_data()
|
H A D | dwc-xlgmac-hw.c | 1110 hdr_dma = desc_data->rx.hdr.dma_base + desc_data->rx.hdr.dma_off; in xlgmac_rx_desc_reset() 1111 buf_dma = desc_data->rx.buf.dma_base + desc_data->rx.buf.dma_off; in xlgmac_rx_desc_reset()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-desc.c | 340 bd->dma_off = pa->pages_offset; in xgbe_set_buffer_data()
|
H A D | xgbe.h | 401 unsigned long dma_off; member
|
H A D | xgbe-drv.c | 2367 rdata->rx.hdr.dma_off, in xgbe_create_skb() 2590 rdata->rx.buf.dma_off, in xgbe_rx_poll()
|
H A D | xgbe-dev.c | 1522 hdr_dma = rdata->rx.hdr.dma_base + rdata->rx.hdr.dma_off; in xgbe_rx_desc_reset() 1523 buf_dma = rdata->rx.buf.dma_base + rdata->rx.buf.dma_off; in xgbe_rx_desc_reset()
|