Lines Matching refs:slot
18 #define EDMA3_SL_BASE(slot) (0x4000 + ((slot) << 5)) argument
65 qchmap = ((EDMA3_CHMAP_PARSET_MASK & cfg->slot) in qedma3_start()
91 void edma3_set_dest(u32 base, int slot, u32 dst, enum edma3_address_mode mode, in edma3_set_dest() argument
97 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest()
122 void edma3_set_dest_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_dest_index() argument
128 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest_index()
142 void edma3_set_dest_addr(u32 base, int slot, u32 dst) in edma3_set_dest_addr() argument
146 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_dest_addr()
162 void edma3_set_src(u32 base, int slot, u32 src, enum edma3_address_mode mode, in edma3_set_src() argument
168 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_src()
193 void edma3_set_src_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_src_index() argument
199 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_src_index()
213 void edma3_set_src_addr(u32 base, int slot, u32 src) in edma3_set_src_addr() argument
217 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_src_addr()
251 void edma3_set_transfer_params(u32 base, int slot, int acnt, in edma3_set_transfer_params() argument
259 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_set_transfer_params()
288 void edma3_write_slot(u32 base, int slot, struct edma3_slot_layout *param) in edma3_write_slot() argument
292 u32 *addr = (u32 *)(base + EDMA3_SL_BASE(slot)); in edma3_write_slot()
307 void edma3_read_slot(u32 base, int slot, struct edma3_slot_layout *param) in edma3_read_slot() argument
311 u32 *addr = (u32 *)(base + EDMA3_SL_BASE(slot)); in edma3_read_slot()
317 void edma3_slot_configure(u32 base, int slot, struct edma3_slot_config *cfg) in edma3_slot_configure() argument
321 rg = (struct edma3_slot_layout *)(base + EDMA3_SL_BASE(slot)); in edma3_slot_configure()
399 struct edma3_slot_config slot; in __edma3_transfer() local
417 slot.opt = 0; in __edma3_transfer()
418 slot.src = ((unsigned int) src); in __edma3_transfer()
419 slot.acnt = a_cnt_value; in __edma3_transfer()
420 slot.bcnt = b_cnt_value; in __edma3_transfer()
421 slot.ccnt = 1; in __edma3_transfer()
423 slot.src_bidx = a_cnt_value; in __edma3_transfer()
425 slot.src_bidx = 0; in __edma3_transfer()
426 slot.dst_bidx = a_cnt_value; in __edma3_transfer()
427 slot.src_cidx = 0; in __edma3_transfer()
428 slot.dst_cidx = 0; in __edma3_transfer()
429 slot.link = EDMA3_PARSET_NULL_LINK; in __edma3_transfer()
430 slot.bcntrld = 0; in __edma3_transfer()
431 slot.opt = EDMA3_SLOPT_TRANS_COMP_INT_ENB | in __edma3_transfer()
435 edma3_slot_configure(edma3_base_addr, edma_slot_num, &slot); in __edma3_transfer()
436 edma_channel.slot = edma_slot_num; in __edma3_transfer()
443 edma3_set_dest_addr(edma3_base_addr, edma_channel.slot, addr); in __edma3_transfer()
450 slot.opt = 0; in __edma3_transfer()
452 slot.src = in __edma3_transfer()
455 slot.src = (unsigned int) src; in __edma3_transfer()
456 slot.acnt = rem_bytes; in __edma3_transfer()
457 slot.bcnt = 1; in __edma3_transfer()
458 slot.ccnt = 1; in __edma3_transfer()
459 slot.src_bidx = rem_bytes; in __edma3_transfer()
460 slot.dst_bidx = rem_bytes; in __edma3_transfer()
461 slot.src_cidx = 0; in __edma3_transfer()
462 slot.dst_cidx = 0; in __edma3_transfer()
463 slot.link = EDMA3_PARSET_NULL_LINK; in __edma3_transfer()
464 slot.bcntrld = 0; in __edma3_transfer()
465 slot.opt = EDMA3_SLOPT_TRANS_COMP_INT_ENB | in __edma3_transfer()
468 edma3_slot_configure(edma3_base_addr, edma_slot_num, &slot); in __edma3_transfer()
469 edma_channel.slot = edma_slot_num; in __edma3_transfer()
476 edma3_set_dest_addr(edma3_base_addr, edma_channel.slot, addr + in __edma3_transfer()