Lines Matching refs:sdma_engine
237 static void sdma_set_state(struct sdma_engine *, enum sdma_states);
238 static void sdma_start_hw_clean_up(struct sdma_engine *);
240 static void sdma_sendctrl(struct sdma_engine *, unsigned);
241 static void init_sdma_regs(struct sdma_engine *, u32, uint);
243 struct sdma_engine *sde,
246 struct sdma_engine *sde,
248 static void dump_sdma_state(struct sdma_engine *sde);
249 static void sdma_make_progress(struct sdma_engine *sde, u64 status);
250 static void sdma_desc_avail(struct sdma_engine *sde, uint avail);
251 static void sdma_flush_descq(struct sdma_engine *sde);
287 struct sdma_engine *sde, in write_sde_csr()
295 struct sdma_engine *sde, in read_sde_csr()
305 static void sdma_wait_for_packet_egress(struct sdma_engine *sde, in sdma_wait_for_packet_egress()
346 struct sdma_engine *sde = &dd->per_sdma[i]; in sdma_wait()
352 static inline void sdma_set_desc_cnt(struct sdma_engine *sde, unsigned cnt) in sdma_set_desc_cnt()
364 static inline void complete_tx(struct sdma_engine *sde, in complete_tx()
404 static void sdma_flush(struct sdma_engine *sde) in sdma_flush()
451 struct sdma_engine *sde = in sdma_field_flush()
452 container_of(work, struct sdma_engine, flush_worker); in sdma_field_flush()
462 struct sdma_engine *sde = container_of(work, struct sdma_engine, in sdma_err_halt_wait()
489 static void sdma_err_progress_check_schedule(struct sdma_engine *sde) in sdma_err_progress_check_schedule()
496 struct sdma_engine *curr_sdma = &dd->per_sdma[index]; in sdma_err_progress_check_schedule()
512 struct sdma_engine *sde = from_timer(sde, t, err_progress_check_timer); in sdma_err_progress_check()
516 struct sdma_engine *curr_sde = &sde->dd->per_sdma[index]; in sdma_err_progress_check()
550 struct sdma_engine *sde = (struct sdma_engine *)opaque; in sdma_hw_clean_up_task()
569 static inline struct sdma_txreq *get_txhead(struct sdma_engine *sde) in get_txhead()
577 static void sdma_flush_descq(struct sdma_engine *sde) in sdma_flush_descq()
609 struct sdma_engine *sde = (struct sdma_engine *)opaque; in sdma_sw_clean_up_task()
654 static void sdma_sw_tear_down(struct sdma_engine *sde) in sdma_sw_tear_down()
666 static void sdma_start_hw_clean_up(struct sdma_engine *sde) in sdma_start_hw_clean_up()
671 static void sdma_set_state(struct sdma_engine *sde, in sdma_set_state()
749 int sdma_engine_get_vl(struct sdma_engine *sde) in sdma_engine_get_vl()
780 struct sdma_engine *sdma_select_engine_vl( in sdma_select_engine_vl()
787 struct sdma_engine *rval; in sdma_select_engine_vl()
823 struct sdma_engine *sdma_select_engine_sc( in sdma_select_engine_sc()
836 struct sdma_engine *sde[0];
868 struct sdma_engine *sdma_select_user_engine(struct hfi1_devdata *dd, in sdma_select_user_engine()
872 struct sdma_engine *sde = NULL; in sdma_select_user_engine()
910 struct sdma_engine *sde) in sdma_cleanup_sde_map()
933 ssize_t sdma_set_cpu_to_sde_map(struct sdma_engine *sde, const char *buf, in sdma_set_cpu_to_sde_map()
966 (TXE_NUM_SDMA_ENGINES * sizeof(struct sdma_engine *)); in sdma_set_cpu_to_sde_map()
1086 ssize_t sdma_get_cpu_to_sde_map(struct sdma_engine *sde, char *buf) in sdma_get_cpu_to_sde_map()
1245 sz * sizeof(struct sdma_engine *), in sdma_map_init()
1297 struct sdma_engine *sde; in sdma_clean()
1361 struct sdma_engine *sde; in sdma_init()
1553 struct sdma_engine *sde; in sdma_all_running()
1571 struct sdma_engine *sde; in sdma_all_idle()
1592 struct sdma_engine *sde; in sdma_start()
1608 struct sdma_engine *sde; in sdma_exit()
1702 static inline u16 sdma_gethead(struct sdma_engine *sde) in sdma_gethead()
1765 static void sdma_desc_avail(struct sdma_engine *sde, uint avail) in sdma_desc_avail()
1826 static void sdma_make_progress(struct sdma_engine *sde, u64 status) in sdma_make_progress()
1895 void sdma_engine_interrupt(struct sdma_engine *sde, u64 status) in sdma_engine_interrupt()
1915 void sdma_engine_error(struct sdma_engine *sde, u64 status) in sdma_engine_error()
1941 static void sdma_sendctrl(struct sdma_engine *sde, unsigned op) in sdma_sendctrl()
1990 static void sdma_setlengen(struct sdma_engine *sde) in sdma_setlengen()
2009 static inline void sdma_update_tail(struct sdma_engine *sde, u16 tail) in sdma_update_tail()
2020 static void sdma_hw_start_up(struct sdma_engine *sde) in sdma_hw_start_up()
2043 static void set_sdma_integrity(struct sdma_engine *sde) in set_sdma_integrity()
2052 struct sdma_engine *sde, in init_sdma_regs()
2102 void sdma_dumpstate(struct sdma_engine *sde) in sdma_dumpstate()
2143 static void dump_sdma_state(struct sdma_engine *sde) in dump_sdma_state()
2211 void sdma_seqfile_dump_sde(struct seq_file *s, struct sdma_engine *sde) in sdma_seqfile_dump_sde()
2281 static inline u64 add_gen(struct sdma_engine *sde, u64 qw1) in add_gen()
2307 static inline u16 submit_tx(struct sdma_engine *sde, struct sdma_txreq *tx) in submit_tx()
2355 struct sdma_engine *sde, in sdma_check_progress()
2395 int sdma_send_txreq(struct sdma_engine *sde, in sdma_send_txreq()
2474 int sdma_send_txlist(struct sdma_engine *sde, struct iowait_work *wait, in sdma_send_txlist()
2544 static void sdma_process_event(struct sdma_engine *sde, enum sdma_events event) in sdma_process_event()
2560 static void __sdma_process_event(struct sdma_engine *sde, in __sdma_process_event()
3183 struct sdma_engine *sde; in sdma_update_lmc()
3290 int sdma_ahg_alloc(struct sdma_engine *sde) in sdma_ahg_alloc()
3321 void sdma_ahg_free(struct sdma_engine *sde, int ahg_index) in sdma_ahg_free()
3416 struct sdma_engine *sde) in _sdma_engine_progress_schedule()