Lines Matching refs:sdma_engine

195 static void sdma_set_state(struct sdma_engine *, enum sdma_states);
196 static void sdma_start_hw_clean_up(struct sdma_engine *);
198 static void sdma_sendctrl(struct sdma_engine *, unsigned);
199 static void init_sdma_regs(struct sdma_engine *, u32, uint);
201 struct sdma_engine *sde,
204 struct sdma_engine *sde,
206 static void dump_sdma_state(struct sdma_engine *sde);
207 static void sdma_make_progress(struct sdma_engine *sde, u64 status);
208 static void sdma_desc_avail(struct sdma_engine *sde, uint avail);
209 static void sdma_flush_descq(struct sdma_engine *sde);
245 struct sdma_engine *sde,
253 struct sdma_engine *sde,
263 static void sdma_wait_for_packet_egress(struct sdma_engine *sde,
304 struct sdma_engine *sde = &dd->per_sdma[i];
310 static inline void sdma_set_desc_cnt(struct sdma_engine *sde, unsigned cnt)
322 static inline void complete_tx(struct sdma_engine *sde,
362 static void sdma_flush(struct sdma_engine *sde)
409 struct sdma_engine *sde =
410 container_of(work, struct sdma_engine, flush_worker);
420 struct sdma_engine *sde = container_of(work, struct sdma_engine,
447 static void sdma_err_progress_check_schedule(struct sdma_engine *sde)
454 struct sdma_engine *curr_sdma = &dd->per_sdma[index];
470 struct sdma_engine *sde = from_timer(sde, t, err_progress_check_timer);
474 struct sdma_engine *curr_sde = &sde->dd->per_sdma[index];
508 struct sdma_engine *sde = from_tasklet(sde, t,
528 static inline struct sdma_txreq *get_txhead(struct sdma_engine *sde)
536 static void sdma_flush_descq(struct sdma_engine *sde)
568 struct sdma_engine *sde = from_tasklet(sde, t, sdma_sw_clean_up_task);
613 static void sdma_sw_tear_down(struct sdma_engine *sde)
625 static void sdma_start_hw_clean_up(struct sdma_engine *sde)
630 static void sdma_set_state(struct sdma_engine *sde,
708 int sdma_engine_get_vl(struct sdma_engine *sde)
739 struct sdma_engine *sdma_select_engine_vl(
746 struct sdma_engine *rval;
782 struct sdma_engine *sdma_select_engine_sc(
795 struct sdma_engine *sde[];
827 struct sdma_engine *sdma_select_user_engine(struct hfi1_devdata *dd,
831 struct sdma_engine *sde = NULL;
869 struct sdma_engine *sde)
892 ssize_t sdma_set_cpu_to_sde_map(struct sdma_engine *sde, const char *buf,
925 (TXE_NUM_SDMA_ENGINES * sizeof(struct sdma_engine *));
1045 ssize_t sdma_get_cpu_to_sde_map(struct sdma_engine *sde, char *buf)
1204 sz * sizeof(struct sdma_engine *),
1256 struct sdma_engine *sde;
1322 struct sdma_engine *sde;
1513 struct sdma_engine *sde;
1531 struct sdma_engine *sde;
1552 struct sdma_engine *sde;
1568 struct sdma_engine *sde;
1660 static inline u16 sdma_gethead(struct sdma_engine *sde)
1723 static void sdma_desc_avail(struct sdma_engine *sde, uint avail)
1784 static void sdma_make_progress(struct sdma_engine *sde, u64 status)
1853 void sdma_engine_interrupt(struct sdma_engine *sde, u64 status)
1873 void sdma_engine_error(struct sdma_engine *sde, u64 status)
1899 static void sdma_sendctrl(struct sdma_engine *sde, unsigned op)
1948 static void sdma_setlengen(struct sdma_engine *sde)
1967 static inline void sdma_update_tail(struct sdma_engine *sde, u16 tail)
1978 static void sdma_hw_start_up(struct sdma_engine *sde)
2001 static void set_sdma_integrity(struct sdma_engine *sde)
2010 struct sdma_engine *sde,
2060 void sdma_dumpstate(struct sdma_engine *sde)
2101 static void dump_sdma_state(struct sdma_engine *sde)
2169 void sdma_seqfile_dump_sde(struct seq_file *s, struct sdma_engine *sde)
2239 static inline u64 add_gen(struct sdma_engine *sde, u64 qw1)
2265 static inline u16 submit_tx(struct sdma_engine *sde, struct sdma_txreq *tx)
2313 struct sdma_engine *sde,
2353 int sdma_send_txreq(struct sdma_engine *sde,
2432 int sdma_send_txlist(struct sdma_engine *sde, struct iowait_work *wait,
2502 static void sdma_process_event(struct sdma_engine *sde, enum sdma_events event)
2518 static void __sdma_process_event(struct sdma_engine *sde,
3139 struct sdma_engine *sde;
3248 int sdma_ahg_alloc(struct sdma_engine *sde)
3279 void sdma_ahg_free(struct sdma_engine *sde, int ahg_index)
3370 * @sde: sdma_engine to schedule progress
3374 struct sdma_engine *sde)