Home
last modified time | relevance | path

Searched refs:dma_off (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/hiface/
Dpcm.c37 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 …]
/kernel/linux/linux-5.10/sound/usb/6fire/
Dpcm.c201 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()
Dpcm.h42 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ member
/kernel/linux/linux-5.10/drivers/usb/musb/
Ddavinci.c74 static int dma_off = 1; variable
94 if (is_dma_capable() && !dma_off) in davinci_musb_enable()
98 dma_off = 0; in davinci_musb_enable()
121 if (is_dma_capable() && !dma_off) in davinci_musb_disable()
Dtusb6010.c918 static int dma_off; variable
959 if (is_dma_capable() && dma_off) in tusb_musb_enable()
963 dma_off = 1; in tusb_musb_enable()
983 if (is_dma_capable() && !dma_off) { in tusb_musb_disable()
986 dma_off = 1; in tusb_musb_disable()
/kernel/linux/linux-5.10/drivers/block/rsxx/
Ddma.c632 unsigned int dma_off, in rsxx_queue_dma() argument
648 dma->sub_page.off = (dma_off >> 9); in rsxx_queue_dma()
679 unsigned int dma_off; in rsxx_dma_queue_bio() local
719 dma_off = addr8 & RSXX_HW_BLK_MASK; in rsxx_dma_queue_bio()
721 RSXX_HW_BLK_SIZE - dma_off); in rsxx_dma_queue_bio()
725 dma_off, dma_len, in rsxx_dma_queue_bio()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dtifm_sd.c265 unsigned int dma_len, dma_blk_cnt, dma_off; in tifm_sd_set_dma_data() local
292 dma_off = host->block_pos; in tifm_sd_set_dma_data()
296 dma_off = host->block_pos; in tifm_sd_set_dma_data()
311 dma_off = 0; in tifm_sd_set_dma_data()
317 writel(sg_dma_address(sg) + dma_off, sock->addr + SOCK_DMA_ADDRESS); in tifm_sd_set_dma_data()
/kernel/linux/linux-5.10/drivers/firmware/
Dqemu_fw_cfg.c801 resource_size_t size, ctrl_off, data_off, dma_off; in fw_cfg_cmdline_set() local
821 &dma_off, &consumed); in fw_cfg_cmdline_set()
849 res[3].start = dma_off; in fw_cfg_cmdline_set()
/kernel/linux/linux-5.10/sound/pci/
Dals4000.c321 unsigned char dsp_cmd, dma_on, dma_off, format; member
416 snd_sbdsp_command(chip, playback_cmd(chip).dma_off); in snd_als4000_playback_prepare()
469 snd_sbdsp_command(chip, playback_cmd(chip).dma_off); in snd_als4000_playback_trigger()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c1004 desc_data->rx.hdr.dma_off, in xlgmac_create_skb()
1020 desc_data->rx.buf.dma_off, in xlgmac_create_skb()
1200 desc_data->rx.buf.dma_off, in xlgmac_rx_poll()
Ddwc-xlgmac.h235 unsigned long dma_off; member
Ddwc-xlgmac-desc.c373 bd->dma_off = pa->pages_offset; in xlgmac_set_buffer_data()
Ddwc-xlgmac-hw.c1110 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1741 struct nfp_net_rx_buf *rxbuf, unsigned int dma_off, in nfp_net_tx_xdp_buf() argument
1750 if (pkt_len + dma_off > dma_map_sz) in nfp_net_tx_xdp_buf()
1779 dma_sync_single_for_device(dp->dev, rxbuf->dma_addr + dma_off, in nfp_net_tx_xdp_buf()
1786 nfp_desc_set_dma_addr(txd, rxbuf->dma_addr + dma_off); in nfp_net_tx_xdp_buf()
1914 unsigned int dma_off; in nfp_net_rx() local
1932 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_net_rx()
1935 dma_off, in nfp_net_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c340 bd->dma_off = pa->pages_offset; in xgbe_set_buffer_data()
Dxgbe.h398 unsigned long dma_off; member
Dxgbe-drv.c2359 rdata->rx.hdr.dma_off, in xgbe_create_skb()
2582 rdata->rx.buf.dma_off, in xgbe_rx_poll()
Dxgbe-dev.c1465 hdr_dma = rdata->rx.hdr.dma_base + rdata->rx.hdr.dma_off; in xgbe_rx_desc_reset()
1466 buf_dma = rdata->rx.buf.dma_base + rdata->rx.buf.dma_off; in xgbe_rx_desc_reset()