Lines Matching refs:dmaereqp
227 d37A_get_best_mode(struct ddi_dmae_req *dmaereqp)
318 d37A_prog_chan(struct ddi_dmae_req *dmaereqp, ddi_dma_cookie_t *cp, int chnl)
326 if (dmaereqp && dmaereqp->der_dest == DMAE_DEST_MEM) {
333 chnl, (void *)dmaereqp));
335 if (dmaereqp) {
342 if (dmaereqp->der_path &&
343 dmaereqp->der_path != DMAE_PATH_8) {
357 if (dmaereqp->der_path &&
358 dmaereqp->der_path != DMAE_PATH_16) {
374 if (dmaereqp)
375 (void) d37A_set_mode(dmaereqp, chnl);
382 if (dmaereqp && dmaereqp->der_bufprocess == DMAE_BUF_CHAIN &&
410 d37A_dma_swsetup(struct ddi_dmae_req *dmaereqp, ddi_dma_cookie_t *cp, int chnl)
419 chnl, (void *)dmaereqp));
422 if (dmaereqp->der_trans != DMAE_TRANS_BLCK)
423 dmaereqp->der_trans = DMAE_TRANS_BLCK;
431 if (dmaereqp->der_path && dmaereqp->der_path != DMAE_PATH_8) {
445 if (dmaereqp->der_path && dmaereqp->der_path != DMAE_PATH_16) {
460 (void) d37A_set_mode(dmaereqp, chnl);
466 if (dmaereqp->der_bufprocess == DMAE_BUF_CHAIN &&
555 d37A_set_mode(struct ddi_dmae_req *dmaereqp, int chnl)
565 switch (dmaereqp->der_command) {
582 if (dmaereqp->der_bufprocess == DMAE_BUF_AUTO)
585 if (dmaereqp->der_step == DMAE_STEP_DEC)
588 switch (dmaereqp->der_trans) {
603 d37A_chnl_mode[chnl] = dmaereqp->der_trans;
612 d37A_chnl_path[chnl] = dmaereqp->der_path;
614 switch (dmaereqp->der_path) {
644 emode |= (dmaereqp->der_cycles & 3) << 4;