• Home
  • Raw
  • Download

Lines Matching refs:sde

391 static inline int sdma_empty(struct sdma_engine *sde)  in sdma_empty()  argument
393 return sde->descq_tail == sde->descq_head; in sdma_empty()
396 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde) in sdma_descq_freecnt() argument
398 return sde->descq_cnt - in sdma_descq_freecnt()
399 (sde->descq_tail - in sdma_descq_freecnt()
400 READ_ONCE(sde->descq_head)) - 1; in sdma_descq_freecnt()
403 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde) in sdma_descq_inprocess() argument
405 return sde->descq_cnt - sdma_descq_freecnt(sde); in sdma_descq_inprocess()
828 int sdma_send_txreq(struct sdma_engine *sde,
832 int sdma_send_txlist(struct sdma_engine *sde,
837 int sdma_ahg_alloc(struct sdma_engine *sde);
838 void sdma_ahg_free(struct sdma_engine *sde, int ahg_index);
880 static inline unsigned sdma_progress(struct sdma_engine *sde, unsigned seq, in sdma_progress() argument
883 if (read_seqretry(&sde->head_lock, seq)) { in sdma_progress()
884 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_progress()
885 if (tx->num_desc > sde->desc_avail) in sdma_progress()
893 void sdma_engine_error(struct sdma_engine *sde, u64 status);
894 void sdma_engine_interrupt(struct sdma_engine *sde, u64 status);
969 struct sdma_engine *sde[]; member
1001 void _sdma_engine_progress_schedule(struct sdma_engine *sde);
1011 struct sdma_engine *sde) in sdma_engine_progress_schedule() argument
1013 if (!sde || sdma_descq_inprocess(sde) < (sde->descq_cnt / 8)) in sdma_engine_progress_schedule()
1015 _sdma_engine_progress_schedule(sde); in sdma_engine_progress_schedule()
1030 ssize_t sdma_get_cpu_to_sde_map(struct sdma_engine *sde, char *buf);
1031 ssize_t sdma_set_cpu_to_sde_map(struct sdma_engine *sde, const char *buf,
1033 int sdma_engine_get_vl(struct sdma_engine *sde);