/Linux-v5.4/drivers/dma/ |
D | fsldma.c | 38 #define chan_dbg(chan, fmt, arg...) \ argument 40 #define chan_err(chan, fmt, arg...) \ argument 49 static void set_sr(struct fsldma_chan *chan, u32 val) in set_sr() 54 static u32 get_sr(struct fsldma_chan *chan) in get_sr() 59 static void set_mr(struct fsldma_chan *chan, u32 val) in set_mr() 64 static u32 get_mr(struct fsldma_chan *chan) in get_mr() 69 static void set_cdar(struct fsldma_chan *chan, dma_addr_t addr) in set_cdar() 74 static dma_addr_t get_cdar(struct fsldma_chan *chan) in get_cdar() 79 static void set_bcr(struct fsldma_chan *chan, u32 val) in set_bcr() 84 static u32 get_bcr(struct fsldma_chan *chan) in get_bcr() [all …]
|
D | dmaengine.c | 80 struct dma_chan *chan; in memcpy_count_show() local 102 struct dma_chan *chan; in bytes_transferred_show() local 124 struct dma_chan *chan; in in_use_show() local 180 static struct module *dma_chan_to_owner(struct dma_chan *chan) in dma_chan_to_owner() 191 static void balance_ref_count(struct dma_chan *chan) in balance_ref_count() 207 static int dma_chan_get(struct dma_chan *chan) in dma_chan_get() 246 static void dma_chan_put(struct dma_chan *chan) in dma_chan_put() 270 enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie) in dma_sync_wait() 301 struct dma_chan *chan; member 358 struct dma_chan *chan; in dma_issue_pending_all() local [all …]
|
D | mv_xor.c | 39 #define to_mv_xor_chan(chan) \ argument 45 #define mv_chan_to_devp(chan) \ argument 98 static u32 mv_chan_get_current_desc(struct mv_xor_chan *chan) in mv_chan_get_current_desc() 103 static void mv_chan_set_next_descriptor(struct mv_xor_chan *chan, in mv_chan_set_next_descriptor() 109 static void mv_chan_unmask_interrupts(struct mv_xor_chan *chan) in mv_chan_unmask_interrupts() 116 static u32 mv_chan_get_intr_cause(struct mv_xor_chan *chan) in mv_chan_get_intr_cause() 123 static void mv_chan_clear_eoc_cause(struct mv_xor_chan *chan) in mv_chan_clear_eoc_cause() 133 static void mv_chan_clear_err_status(struct mv_xor_chan *chan) in mv_chan_clear_err_status() 139 static void mv_chan_set_mode(struct mv_xor_chan *chan, in mv_chan_set_mode() 156 static void mv_chan_activate(struct mv_xor_chan *chan) in mv_chan_activate() [all …]
|
D | iop-adma.h | 12 #define DMA_CCR(chan) (chan->mmr_base + 0x0) argument 13 #define DMA_CSR(chan) (chan->mmr_base + 0x4) argument 14 #define DMA_DAR(chan) (chan->mmr_base + 0xc) argument 15 #define DMA_NDAR(chan) (chan->mmr_base + 0x10) argument 16 #define DMA_PADR(chan) (chan->mmr_base + 0x14) argument 17 #define DMA_PUADR(chan) (chan->mmr_base + 0x18) argument 18 #define DMA_LADR(chan) (chan->mmr_base + 0x1c) argument 19 #define DMA_BCR(chan) (chan->mmr_base + 0x20) argument 20 #define DMA_DCR(chan) (chan->mmr_base + 0x24) argument 23 #define AAU_ACR(chan) (chan->mmr_base + 0x0) argument [all …]
|
/Linux-v5.4/arch/um/drivers/ |
D | chan.h | 15 struct chan { struct 26 const struct chan_ops *ops; argument 33 extern int write_chan(struct chan *chan, const char *buf, int len, argument
|
/Linux-v5.4/include/sound/ |
D | emu8000_reg.h | 24 #define EMU8000_CMD(reg, chan) ((reg)<<5 | (chan)) argument 30 #define EMU8000_CPF_READ(emu, chan) \ argument 32 #define EMU8000_PTRX_READ(emu, chan) \ argument 34 #define EMU8000_CVCF_READ(emu, chan) \ argument 36 #define EMU8000_VTFT_READ(emu, chan) \ argument 38 #define EMU8000_PSST_READ(emu, chan) \ argument 40 #define EMU8000_CSL_READ(emu, chan) \ argument 42 #define EMU8000_CCCA_READ(emu, chan) \ argument 70 #define EMU8000_INIT1_READ(emu, chan) \ argument 72 #define EMU8000_INIT2_READ(emu, chan) \ argument [all …]
|
/Linux-v5.4/arch/arm/kernel/ |
D | dma.c | 28 static inline dma_t *dma_channel(unsigned int chan) in dma_channel() 36 int __init isa_dma_add(unsigned int chan, dma_t *dma) in isa_dma_add() 54 int request_dma(unsigned int chan, const char *device_id) in request_dma() 92 void free_dma(unsigned int chan) in free_dma() 121 void set_dma_sg (unsigned int chan, struct scatterlist *sg, int nr_sg) in set_dma_sg() 138 void __set_dma_addr (unsigned int chan, void *addr) in __set_dma_addr() 155 void set_dma_count (unsigned int chan, unsigned long count) in set_dma_count() 170 void set_dma_mode (unsigned int chan, unsigned int mode) in set_dma_mode() 184 void enable_dma (unsigned int chan) in enable_dma() 205 void disable_dma (unsigned int chan) in disable_dma() [all …]
|
/Linux-v5.4/net/bluetooth/ |
D | l2cap_core.c | 189 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm) in l2cap_add_psm() 234 int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid) in l2cap_add_scid() 266 static void l2cap_state_change(struct l2cap_chan *chan, int state) in l2cap_state_change() 275 static inline void l2cap_state_change_and_error(struct l2cap_chan *chan, in l2cap_state_change_and_error() 282 static inline void l2cap_chan_set_err(struct l2cap_chan *chan, int err) in l2cap_chan_set_err() 287 static void __set_retrans_timer(struct l2cap_chan *chan) in __set_retrans_timer() 296 static void __set_monitor_timer(struct l2cap_chan *chan) in __set_monitor_timer() 414 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_chan_timeout() local 444 struct l2cap_chan *chan; in l2cap_chan_create() local 476 struct l2cap_chan *chan = container_of(kref, struct l2cap_chan, kref); in l2cap_chan_destroy() local [all …]
|
D | l2cap_sock.c | 84 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_bind() local 179 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_connect() local 256 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_listen() local 365 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getname() local 396 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt_old() local 499 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt() local 615 static bool l2cap_valid_mtu(struct l2cap_chan *chan, u16 mtu) in l2cap_valid_mtu() 635 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt_old() local 747 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt() local 955 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_sendmsg() local [all …]
|
/Linux-v5.4/drivers/dma/dw-axi-dmac/ |
D | dw-axi-dmac-platform.c | 56 axi_chan_iowrite32(struct axi_dma_chan *chan, u32 reg, u32 val) in axi_chan_iowrite32() 61 static inline u32 axi_chan_ioread32(struct axi_dma_chan *chan, u32 reg) in axi_chan_ioread32() 67 axi_chan_iowrite64(struct axi_dma_chan *chan, u32 reg, u64 val) in axi_chan_iowrite64() 113 static inline void axi_chan_irq_disable(struct axi_dma_chan *chan, u32 irq_mask) in axi_chan_irq_disable() 126 static inline void axi_chan_irq_set(struct axi_dma_chan *chan, u32 irq_mask) in axi_chan_irq_set() 131 static inline void axi_chan_irq_sig_set(struct axi_dma_chan *chan, u32 irq_mask) in axi_chan_irq_sig_set() 136 static inline void axi_chan_irq_clear(struct axi_dma_chan *chan, u32 irq_mask) in axi_chan_irq_clear() 141 static inline u32 axi_chan_irq_read(struct axi_dma_chan *chan) in axi_chan_irq_read() 146 static inline void axi_chan_disable(struct axi_dma_chan *chan) in axi_chan_disable() 156 static inline void axi_chan_enable(struct axi_dma_chan *chan) in axi_chan_enable() [all …]
|
/Linux-v5.4/drivers/pwm/ |
D | pwm-bcm-kona.c | 49 #define PWM_CONTROL_SMOOTH_SHIFT(chan) (24 + (chan)) argument 50 #define PWM_CONTROL_TYPE_SHIFT(chan) (16 + (chan)) argument 51 #define PWM_CONTROL_POLARITY_SHIFT(chan) (8 + (chan)) argument 52 #define PWM_CONTROL_TRIGGER_SHIFT(chan) (chan) argument 55 #define PRESCALE_SHIFT(chan) ((chan) << 2) argument 56 #define PRESCALE_MASK(chan) (0x7 << PRESCALE_SHIFT(chan)) argument 60 #define PERIOD_COUNT_OFFSET(chan) (0x00000008 + ((chan) << 3)) argument 64 #define DUTY_CYCLE_HIGH_OFFSET(chan) (0x0000000c + ((chan) << 3)) argument 83 unsigned int chan) in kona_pwmc_prepare_for_settings() 98 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings() [all …]
|
/Linux-v5.4/arch/mips/include/asm/mach-au1x00/ |
D | au1000_dma.h | 156 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffer0() local 165 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffer1() local 173 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffers() local 182 struct dma_chan *chan = get_dma_chan(dmanr); in start_dma() local 193 struct dma_chan *chan = get_dma_chan(dmanr); in halt_dma() local 210 struct dma_chan *chan = get_dma_chan(dmanr); in disable_dma() local 223 struct dma_chan *chan = get_dma_chan(dmanr); in dma_halted() local 233 struct dma_chan *chan = get_dma_chan(dmanr); in init_dma() local 257 struct dma_chan *chan = get_dma_chan(dmanr); in set_dma_mode() local 273 struct dma_chan *chan = get_dma_chan(dmanr); in get_dma_mode() local [all …]
|
/Linux-v5.4/sound/soc/qcom/ |
D | lpass-lpaif-reg.h | 87 #define LPAIF_IRQ_PER(chan) (1 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument 88 #define LPAIF_IRQ_XRUN(chan) (2 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument 89 #define LPAIF_IRQ_ERR(chan) (4 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument 91 #define LPAIF_IRQ_ALL(chan) (7 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument 95 #define LPAIF_RDMA_REG_ADDR(v, addr, chan) \ argument 100 #define LPAIF_RDMACTL_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x00, (chan)) argument 101 #define LPAIF_RDMABASE_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x04, (chan)) argument 102 #define LPAIF_RDMABUFF_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x08, (chan)) argument 103 #define LPAIF_RDMACURR_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x0C, (chan)) argument 104 #define LPAIF_RDMAPER_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x10, (chan)) argument [all …]
|
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac4_lib.c | 35 void dwmac4_set_rx_tail_ptr(void __iomem *ioaddr, u32 tail_ptr, u32 chan) in dwmac4_set_rx_tail_ptr() 40 void dwmac4_set_tx_tail_ptr(void __iomem *ioaddr, u32 tail_ptr, u32 chan) in dwmac4_set_tx_tail_ptr() 45 void dwmac4_dma_start_tx(void __iomem *ioaddr, u32 chan) in dwmac4_dma_start_tx() 57 void dwmac4_dma_stop_tx(void __iomem *ioaddr, u32 chan) in dwmac4_dma_stop_tx() 69 void dwmac4_dma_start_rx(void __iomem *ioaddr, u32 chan) in dwmac4_dma_start_rx() 82 void dwmac4_dma_stop_rx(void __iomem *ioaddr, u32 chan) in dwmac4_dma_stop_rx() 90 void dwmac4_set_tx_ring_len(void __iomem *ioaddr, u32 len, u32 chan) in dwmac4_set_tx_ring_len() 95 void dwmac4_set_rx_ring_len(void __iomem *ioaddr, u32 len, u32 chan) in dwmac4_set_rx_ring_len() 100 void dwmac4_enable_dma_irq(void __iomem *ioaddr, u32 chan) in dwmac4_enable_dma_irq() 106 void dwmac410_enable_dma_irq(void __iomem *ioaddr, u32 chan) in dwmac410_enable_dma_irq() [all …]
|
D | dwxgmac2_dma.c | 34 struct stmmac_dma_cfg *dma_cfg, u32 chan) in dwxgmac2_dma_init_chan() 47 dma_addr_t phy, u32 chan) in dwxgmac2_dma_init_rx_chan() 63 dma_addr_t phy, u32 chan) in dwxgmac2_dma_init_tx_chan() 258 static void dwxgmac2_enable_dma_irq(void __iomem *ioaddr, u32 chan) in dwxgmac2_enable_dma_irq() 263 static void dwxgmac2_disable_dma_irq(void __iomem *ioaddr, u32 chan) in dwxgmac2_disable_dma_irq() 268 static void dwxgmac2_dma_start_tx(void __iomem *ioaddr, u32 chan) in dwxgmac2_dma_start_tx() 281 static void dwxgmac2_dma_stop_tx(void __iomem *ioaddr, u32 chan) in dwxgmac2_dma_stop_tx() 294 static void dwxgmac2_dma_start_rx(void __iomem *ioaddr, u32 chan) in dwxgmac2_dma_start_rx() 307 static void dwxgmac2_dma_stop_rx(void __iomem *ioaddr, u32 chan) in dwxgmac2_dma_stop_rx() 317 struct stmmac_extra_stats *x, u32 chan) in dwxgmac2_dma_interrupt() [all …]
|
/Linux-v5.4/arch/sh/drivers/dma/ |
D | dma-sh.c | 27 static unsigned long dma_find_base(unsigned int chan) in dma_find_base() 39 static unsigned long dma_base_addr(unsigned int chan) in dma_base_addr() 53 static inline unsigned int get_dmte_irq(unsigned int chan) in get_dmte_irq() 75 static inline unsigned int get_dmte_irq(unsigned int chan) in get_dmte_irq() 91 static inline unsigned int calc_xmit_shift(struct dma_channel *chan) in calc_xmit_shift() 108 struct dma_channel *chan = dev_id; in dma_tei() local 124 static int sh_dmac_request_dma(struct dma_channel *chan) in sh_dmac_request_dma() 133 static void sh_dmac_free_dma(struct dma_channel *chan) in sh_dmac_free_dma() 139 sh_dmac_configure_channel(struct dma_channel *chan, unsigned long chcr) in sh_dmac_configure_channel() 157 static void sh_dmac_enable_dma(struct dma_channel *chan) in sh_dmac_enable_dma() [all …]
|
/Linux-v5.4/drivers/crypto/ccp/ |
D | ccp-dmaengine.c | 89 struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan, in ccp_free_chan_resources() local 126 struct ccp_dma_chan *chan = (struct ccp_dma_chan *)data; in ccp_do_cleanup() local 176 static struct ccp_dma_desc *__ccp_next_dma_desc(struct ccp_dma_chan *chan, in __ccp_next_dma_desc() 190 static struct ccp_dma_desc *ccp_handle_active_desc(struct ccp_dma_chan *chan, in ccp_handle_active_desc() 245 static struct ccp_dma_desc *__ccp_pending_to_active(struct ccp_dma_chan *chan) in __ccp_pending_to_active() 264 struct ccp_dma_chan *chan; in ccp_cmd_callback() local 301 struct ccp_dma_chan *chan; in ccp_tx_submit() local 321 static struct ccp_dma_cmd *ccp_alloc_dma_cmd(struct ccp_dma_chan *chan) in ccp_alloc_dma_cmd() 332 static struct ccp_dma_desc *ccp_alloc_dma_desc(struct ccp_dma_chan *chan, in ccp_alloc_dma_desc() 359 struct ccp_dma_chan *chan = container_of(dma_chan, struct ccp_dma_chan, in ccp_create_desc() local [all …]
|
/Linux-v5.4/drivers/usb/dwc2/ |
D | hcd_intr.c | 98 struct dwc2_host_chan *chan, in dwc2_hc_handle_tt_clear() 189 struct dwc2_host_chan *chan; in dwc2_rx_fifo_level_intr() local 437 struct dwc2_host_chan *chan, int chnum, in dwc2_get_actual_xfer_length() 491 struct dwc2_host_chan *chan, int chnum, in dwc2_update_urb_state() 541 struct dwc2_host_chan *chan, int chnum, in dwc2_hcd_save_data_toggle() 585 struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_update_isoc_urb_state() 705 struct dwc2_host_chan *chan, in dwc2_release_channel() 804 struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, in dwc2_halt_channel() 864 struct dwc2_host_chan *chan, in dwc2_complete_non_periodic_xfer() 914 struct dwc2_host_chan *chan, int chnum, in dwc2_complete_periodic_xfer() [all …]
|
/Linux-v5.4/drivers/mailbox/ |
D | mailbox.c | 26 static int add_to_rbuf(struct mbox_chan *chan, void *mssg) in add_to_rbuf() 53 static void msg_submit(struct mbox_chan *chan) in msg_submit() 90 static void tx_tick(struct mbox_chan *chan, int r) in tx_tick() 122 struct mbox_chan *chan = &mbox->chans[i]; in txdone_hrtimer() local 150 void mbox_chan_received_data(struct mbox_chan *chan, void *mssg) in mbox_chan_received_data() 168 void mbox_chan_txdone(struct mbox_chan *chan, int r) in mbox_chan_txdone() 189 void mbox_client_txdone(struct mbox_chan *chan, int r) in mbox_client_txdone() 215 bool mbox_client_peek_data(struct mbox_chan *chan) in mbox_client_peek_data() 248 int mbox_send_message(struct mbox_chan *chan, void *mssg) in mbox_send_message() 297 int mbox_flush(struct mbox_chan *chan, unsigned long timeout) in mbox_flush() [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | chan.c | 34 struct nvkm_fifo_chan *chan; member 44 struct nvkm_fifo_chan *chan = object->chan; in nvkm_fifo_chan_child_fini() local 77 struct nvkm_fifo_chan *chan = object->chan; in nvkm_fifo_chan_child_init() local 110 struct nvkm_fifo_chan *chan = object->chan; in nvkm_fifo_chan_child_del() local 137 struct nvkm_fifo_chan *chan = nvkm_fifo_chan(oclass->parent); in nvkm_fifo_chan_child_new() local 204 struct nvkm_fifo_chan *chan = nvkm_fifo_chan(object); in nvkm_fifo_chan_child_get() local 249 struct nvkm_fifo_chan *chan = nvkm_fifo_chan(object); in nvkm_fifo_chan_ntfy() local 259 struct nvkm_fifo_chan *chan = nvkm_fifo_chan(object); in nvkm_fifo_chan_map() local 269 struct nvkm_fifo_chan *chan = nvkm_fifo_chan(object); in nvkm_fifo_chan_rd32() local 284 struct nvkm_fifo_chan *chan = nvkm_fifo_chan(object); in nvkm_fifo_chan_wr32() local [all …]
|
D | channv50.c | 49 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_engine_fini() local 105 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_engine_init() local 132 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_engine_dtor() local 141 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_engine_ctor() local 153 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_object_dtor() local 161 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_object_ctor() local 181 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_fini() local 195 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_init() local 208 struct nv50_fifo_chan *chan = nv50_fifo_chan(base); in nv50_fifo_chan_dtor() local 233 struct nv50_fifo_chan *chan) in nv50_fifo_chan_ctor()
|
/Linux-v5.4/drivers/iio/ |
D | inkern.c | 80 const struct iio_chan_spec *chan = NULL; in iio_chan_spec_from_name() local 186 struct iio_channel *chan = NULL; in of_iio_channel_get_by_name() local 479 struct iio_channel *chan = &channels[0]; in iio_channel_release_all() local 525 static int iio_channel_read(struct iio_channel *chan, int *val, int *val2, in iio_channel_read() 552 int iio_read_channel_raw(struct iio_channel *chan, int *val) in iio_read_channel_raw() 570 int iio_read_channel_average_raw(struct iio_channel *chan, int *val) in iio_read_channel_average_raw() 588 static int iio_convert_raw_to_processed_unlocked(struct iio_channel *chan, in iio_convert_raw_to_processed_unlocked() 644 int iio_convert_raw_to_processed(struct iio_channel *chan, int raw, in iio_convert_raw_to_processed() 664 int iio_read_channel_attribute(struct iio_channel *chan, int *val, int *val2, in iio_read_channel_attribute() 683 int iio_read_channel_offset(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_offset() [all …]
|
/Linux-v5.4/sound/core/seq/ |
D | seq_midi_emul.c | 73 struct snd_midi_channel *chan; in snd_midi_process_event() local 232 note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in note_off() 255 struct snd_midi_channel *chan, int control, int value) in do_control() 381 struct snd_midi_channel *chan = chset->channels + i; in snd_midi_channel_set_clear() local 405 rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn() 445 nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn() 587 all_sounds_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_sounds_off() 605 all_notes_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_notes_off() 643 struct snd_midi_channel *chan; in snd_midi_channel_init_set() local 663 struct snd_midi_channel *chan = chset->channels + ch; in reset_all_channels() local [all …]
|
/Linux-v5.4/drivers/dma/xilinx/ |
D | zynqmp_dma.c | 141 #define ZYNQMP_DMA_DESC_SIZE(chan) (chan->desc_size) argument 143 #define to_chan(chan) container_of(chan, struct zynqmp_dma_chan, \ argument 251 struct zynqmp_dma_chan *chan; member 256 static inline void zynqmp_dma_writeq(struct zynqmp_dma_chan *chan, u32 reg, in zynqmp_dma_writeq() 267 static void zynqmp_dma_update_desc_to_ctrlr(struct zynqmp_dma_chan *chan, in zynqmp_dma_update_desc_to_ctrlr() 283 static void zynqmp_dma_desc_config_eod(struct zynqmp_dma_chan *chan, in zynqmp_dma_desc_config_eod() 302 static void zynqmp_dma_config_sg_ll_desc(struct zynqmp_dma_chan *chan, in zynqmp_dma_config_sg_ll_desc() 332 static void zynqmp_dma_init(struct zynqmp_dma_chan *chan) in zynqmp_dma_init() 371 struct zynqmp_dma_chan *chan = to_chan(tx->chan); in zynqmp_dma_tx_submit() local 405 zynqmp_dma_get_descriptor(struct zynqmp_dma_chan *chan) in zynqmp_dma_get_descriptor() [all …]
|
/Linux-v5.4/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 31 struct device *chan2dev(struct dw_edma_chan *chan) in chan2dev() 66 struct dw_edma_chan *chan = desc->chan; in dw_edma_alloc_chunk() local 104 static struct dw_edma_desc *dw_edma_alloc_desc(struct dw_edma_chan *chan) in dw_edma_alloc_desc() 168 static void dw_edma_start_transfer(struct dw_edma_chan *chan) in dw_edma_start_transfer() 198 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_config() local 208 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_pause() local 225 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_resume() local 244 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_terminate_all() local 273 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_issue_pending() local 289 struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); in dw_edma_device_tx_status() local [all …]
|