Lines Matching defs:uc

354 static inline u32 udma_tchanrt_read(struct udma_chan *uc, int reg)  in udma_tchanrt_read()
361 static inline void udma_tchanrt_write(struct udma_chan *uc, int reg, u32 val) in udma_tchanrt_write()
368 static inline void udma_tchanrt_update_bits(struct udma_chan *uc, int reg, in udma_tchanrt_update_bits()
377 static inline u32 udma_rchanrt_read(struct udma_chan *uc, int reg) in udma_rchanrt_read()
384 static inline void udma_rchanrt_write(struct udma_chan *uc, int reg, u32 val) in udma_rchanrt_write()
391 static inline void udma_rchanrt_update_bits(struct udma_chan *uc, int reg, in udma_rchanrt_update_bits()
456 static void udma_reset_uchan(struct udma_chan *uc) in udma_reset_uchan()
465 static void udma_dump_chan_stdata(struct udma_chan *uc) in udma_dump_chan_stdata()
501 static struct udma_desc *udma_udma_desc_from_paddr(struct udma_chan *uc, in udma_udma_desc_from_paddr()
528 static void udma_free_hwdesc(struct udma_chan *uc, struct udma_desc *d) in udma_free_hwdesc()
564 struct udma_chan *uc = to_udma_chan(vd->tx.chan); in udma_purge_desc_work() local
580 struct udma_chan *uc = to_udma_chan(vd->tx.chan); in udma_desc_free() local
600 static bool udma_is_chan_running(struct udma_chan *uc) in udma_is_chan_running()
616 static bool udma_is_chan_paused(struct udma_chan *uc) in udma_is_chan_paused()
643 static inline dma_addr_t udma_get_rx_flush_hwdesc_paddr(struct udma_chan *uc) in udma_get_rx_flush_hwdesc_paddr()
648 static int udma_push_to_ring(struct udma_chan *uc, int idx) in udma_push_to_ring()
678 static bool udma_desc_is_rx_flush(struct udma_chan *uc, dma_addr_t addr) in udma_desc_is_rx_flush()
689 static int udma_pop_from_ring(struct udma_chan *uc, dma_addr_t *addr) in udma_pop_from_ring()
723 static void udma_reset_rings(struct udma_chan *uc) in udma_reset_rings()
759 static void udma_decrement_byte_counters(struct udma_chan *uc, u32 val) in udma_decrement_byte_counters()
774 static void udma_reset_counters(struct udma_chan *uc) in udma_reset_counters()
809 static int udma_reset_chan(struct udma_chan *uc, bool hard) in udma_reset_chan()
860 static void udma_start_desc(struct udma_chan *uc) in udma_start_desc()
881 static bool udma_chan_needs_reconfiguration(struct udma_chan *uc) in udma_chan_needs_reconfiguration()
894 static int udma_start(struct udma_chan *uc) in udma_start()
1000 static int udma_stop(struct udma_chan *uc) in udma_stop()
1038 static void udma_cyclic_packet_elapsed(struct udma_chan *uc) in udma_cyclic_packet_elapsed()
1049 static inline void udma_fetch_epib(struct udma_chan *uc, struct udma_desc *d) in udma_fetch_epib()
1056 static bool udma_is_desc_really_done(struct udma_chan *uc, struct udma_desc *d) in udma_is_desc_really_done()
1085 struct udma_chan *uc = container_of(work, typeof(*uc), in udma_check_tx_completion() local
1147 struct udma_chan *uc = data; in udma_ring_irq_handler() local
1212 struct udma_chan *uc = data; in udma_udma_irq_handler() local
1364 static int bcdma_get_bchan(struct udma_chan *uc) in bcdma_get_bchan()
1397 static int udma_get_tchan(struct udma_chan *uc) in udma_get_tchan()
1446 static int udma_get_rchan(struct udma_chan *uc) in udma_get_rchan()
1473 static int udma_get_chan_pair(struct udma_chan *uc) in udma_get_chan_pair()
1521 static int udma_get_rflow(struct udma_chan *uc, int flow_id) in udma_get_rflow()
1547 static void bcdma_put_bchan(struct udma_chan *uc) in bcdma_put_bchan()
1560 static void udma_put_rchan(struct udma_chan *uc) in udma_put_rchan()
1572 static void udma_put_tchan(struct udma_chan *uc) in udma_put_tchan()
1588 static void udma_put_rflow(struct udma_chan *uc) in udma_put_rflow()
1600 static void bcdma_free_bchan_resources(struct udma_chan *uc) in bcdma_free_bchan_resources()
1614 static int bcdma_alloc_bchan_resources(struct udma_chan *uc) in bcdma_alloc_bchan_resources()
1659 static void udma_free_tx_resources(struct udma_chan *uc) in udma_free_tx_resources()
1672 static int udma_alloc_tx_resources(struct udma_chan *uc) in udma_alloc_tx_resources()
1729 static void udma_free_rx_resources(struct udma_chan *uc) in udma_free_rx_resources()
1748 static int udma_alloc_rx_resources(struct udma_chan *uc) in udma_alloc_rx_resources()
1862 static int udma_tisci_m2m_channel_config(struct udma_chan *uc) in udma_tisci_m2m_channel_config()
1921 static int bcdma_tisci_m2m_channel_config(struct udma_chan *uc) in bcdma_tisci_m2m_channel_config()
1954 static int udma_tisci_tx_channel_config(struct udma_chan *uc) in udma_tisci_tx_channel_config()
1997 static int bcdma_tisci_tx_channel_config(struct udma_chan *uc) in bcdma_tisci_tx_channel_config()
2026 static int udma_tisci_rx_channel_config(struct udma_chan *uc) in udma_tisci_rx_channel_config()
2107 static int bcdma_tisci_rx_channel_config(struct udma_chan *uc) in bcdma_tisci_rx_channel_config()
2127 static int pktdma_tisci_rx_channel_config(struct udma_chan *uc) in pktdma_tisci_rx_channel_config()
2175 struct udma_chan *uc = to_udma_chan(chan); in udma_alloc_chan_resources() local
2380 struct udma_chan *uc = to_udma_chan(chan); in bcdma_alloc_chan_resources() local
2575 struct udma_chan *uc = to_udma_chan(chan); in bcdma_router_config() local
2592 struct udma_chan *uc = to_udma_chan(chan); in pktdma_alloc_chan_resources() local
2744 struct udma_chan *uc = to_udma_chan(chan); in udma_slave_config() local
2751 static struct udma_desc *udma_alloc_tr_desc(struct udma_chan *uc, in udma_alloc_tr_desc()
2873 udma_prep_slave_sg_tr(struct udma_chan *uc, struct scatterlist *sgl, in udma_prep_slave_sg_tr()
2957 udma_prep_slave_sg_triggered_tr(struct udma_chan *uc, struct scatterlist *sgl, in udma_prep_slave_sg_triggered_tr()
3155 static int udma_configure_statictr(struct udma_chan *uc, struct udma_desc *d, in udma_configure_statictr()
3210 udma_prep_slave_sg_pkt(struct udma_chan *uc, struct scatterlist *sgl, in udma_prep_slave_sg_pkt()
3304 struct udma_chan *uc = to_udma_chan(desc->chan); in udma_attach_metadata() local
3340 struct udma_chan *uc = to_udma_chan(desc->chan); in udma_get_metadata_ptr() local
3361 struct udma_chan *uc = to_udma_chan(desc->chan); in udma_set_metadata_len() local
3399 struct udma_chan *uc = to_udma_chan(chan); in udma_prep_slave_sg() local
3465 udma_prep_dma_cyclic_tr(struct udma_chan *uc, dma_addr_t buf_addr, in udma_prep_dma_cyclic_tr()
3535 udma_prep_dma_cyclic_pkt(struct udma_chan *uc, dma_addr_t buf_addr, in udma_prep_dma_cyclic_pkt()
3607 struct udma_chan *uc = to_udma_chan(chan); in udma_prep_dma_cyclic() local
3673 struct udma_chan *uc = to_udma_chan(chan); in udma_prep_dma_memcpy() local
3760 struct udma_chan *uc = to_udma_chan(chan); in udma_issue_pending() local
3784 struct udma_chan *uc = to_udma_chan(chan); in udma_tx_status() local
3855 struct udma_chan *uc = to_udma_chan(chan); in udma_pause() local
3883 struct udma_chan *uc = to_udma_chan(chan); in udma_resume() local
3909 struct udma_chan *uc = to_udma_chan(chan); in udma_terminate_all() local
3936 struct udma_chan *uc = to_udma_chan(chan); in udma_synchronize() local
3964 struct udma_chan *uc = to_udma_chan(&vc->chan); in udma_desc_pre_callback() local
4035 struct udma_chan *uc = to_udma_chan(chan); in udma_free_chan_resources() local
4094 struct udma_chan *uc; in udma_dma_filter_fn() local
5153 struct udma_chan *uc = to_udma_chan(chan); in udma_dbg_summary_show_chan() local
5465 struct udma_chan *uc = &ud->channels[i]; in udma_probe() local