Lines Matching defs:dev

14 static void dma_set_prd_base_addr(struct thc_device *dev, u64 physical_addr,  in dma_set_prd_base_addr()
29 static void dma_set_start_bit(struct thc_device *dev, in dma_set_start_bit()
97 static void dma_set_prd_control(struct thc_device *dev, u8 entry_count, u8 cb_depth, in dma_set_prd_control()
117 static void dma_clear_prd_control(struct thc_device *dev, in dma_clear_prd_control()
133 static u8 dma_get_read_pointer(struct thc_device *dev, in dma_get_read_pointer()
147 static u8 dma_get_write_pointer(struct thc_device *dev, in dma_get_write_pointer()
161 static void dma_set_write_pointer(struct thc_device *dev, u8 value, in dma_set_write_pointer()
171 static size_t dma_get_max_packet_size(struct thc_device *dev, in dma_get_max_packet_size()
177 static void dma_set_max_packet_size(struct thc_device *dev, size_t size, in dma_set_max_packet_size()
186 static void thc_copy_one_sgl_to_prd(struct thc_device *dev, in thc_copy_one_sgl_to_prd()
209 static void thc_copy_sgls_to_prd(struct thc_device *dev, in thc_copy_sgls_to_prd()
220 static int setup_dma_buffers(struct thc_device *dev, in setup_dma_buffers()
265 static void thc_reset_dma_settings(struct thc_device *dev) in thc_reset_dma_settings()
288 static void release_dma_buffers(struct thc_device *dev, in release_dma_buffers()
319 struct thc_dma_context *thc_dma_init(struct thc_device *dev) in thc_dma_init()
384 int thc_dma_set_max_packet_sizes(struct thc_device *dev, size_t mps_read1, in thc_dma_set_max_packet_sizes()
410 int thc_dma_allocate(struct thc_device *dev) in thc_dma_allocate()
438 void thc_dma_release(struct thc_device *dev) in thc_dma_release()
480 int thc_dma_configure(struct thc_device *dev) in thc_dma_configure()
516 void thc_dma_unconfigure(struct thc_device *dev) in thc_dma_unconfigure()
533 static int thc_wait_for_dma_pause(struct thc_device *dev, enum thc_dma_channel channel) in thc_wait_for_dma_pause()
562 static int read_dma_buffer(struct thc_device *dev, in read_dma_buffer()
596 static void update_write_pointer(struct thc_device *dev, in update_write_pointer()
609 static int is_dma_buf_empty(struct thc_device *dev, in is_dma_buf_empty()
623 static int thc_dma_read(struct thc_device *dev, in thc_dma_read()
670 int thc_rxdma_read(struct thc_device *dev, enum thc_dma_channel dma_channel, in thc_rxdma_read()
700 static int thc_swdma_read_start(struct thc_device *dev, void *write_buff, in thc_swdma_read_start()
771 static int thc_swdma_read_completion(struct thc_device *dev) in thc_swdma_read_completion()
818 int thc_swdma_read(struct thc_device *dev, void *write_buff, size_t write_len, in thc_swdma_read()
862 static int write_dma_buffer(struct thc_device *dev, in write_dma_buffer()
918 static void thc_ensure_performance_limitations(struct thc_device *dev) in thc_ensure_performance_limitations()
932 static void thc_dma_write_completion(struct thc_device *dev) in thc_dma_write_completion()
946 int thc_dma_write(struct thc_device *dev, void *buffer, size_t buf_len) in thc_dma_write()