Searched refs:to_mbus_device (Results 1 – 2 of 2) sorted by relevance
163 static inline struct mbus_device *to_mbus_device(struct mic_dma_chan *ch) in to_mbus_device() function170 return to_mbus_device(ch)->hw_ops; in to_mbus_hw_ops()284 to_mbus_hw_ops(ch)->ack_interrupt(to_mbus_device(ch), ch->ch_num); in mic_dma_ack_interrupt()
375 struct device *dev = &to_mbus_device(ch)->dev; in mic_dma_alloc_desc_ring()407 dma_unmap_single(&to_mbus_device(ch)->dev, ch->desc_ring_micpa, in mic_dma_free_desc_ring()415 dma_unmap_single(&to_mbus_device(ch)->dev, ch->status_dest_micpa, in mic_dma_free_status_dest()422 struct device *dev = &to_mbus_device(ch)->dev; in mic_dma_alloc_status_dest()476 to_mbus_hw_ops(ch)->request_threaded_irq(to_mbus_device(ch), in mic_dma_setup_irq()484 to_mbus_hw_ops(ch)->free_irq(to_mbus_device(ch), ch->cookie, ch); in mic_dma_free_irq()