Lines Matching refs:desc_phys
90 dma_addr_t desc_phys; member
435 u32 desc_phys; in push_desc_queue() local
465 desc_phys = lower_32_bits(c->desc_phys); in push_desc_queue()
466 desc_num = (desc_phys - cdd->descs_phys) / sizeof(struct cppi41_desc); in push_desc_queue()
471 reg |= desc_phys; in push_desc_queue()
647 u32 desc_phys; in cppi41_tear_down_chan() local
679 desc_phys = cppi41_pop_desc(cdd, cdd->td_queue.complete); in cppi41_tear_down_chan()
680 if (!desc_phys && c->is_tx) in cppi41_tear_down_chan()
681 desc_phys = cppi41_pop_desc(cdd, c->q_comp_num); in cppi41_tear_down_chan()
683 if (desc_phys == c->desc_phys) { in cppi41_tear_down_chan()
686 } else if (desc_phys == td_desc_phys) { in cppi41_tear_down_chan()
695 } else if (desc_phys) { in cppi41_tear_down_chan()
717 desc_phys = cppi41_pop_desc(cdd, c->q_num); in cppi41_tear_down_chan()
718 if (!desc_phys) in cppi41_tear_down_chan()
719 desc_phys = cppi41_pop_desc(cdd, c->q_comp_num); in cppi41_tear_down_chan()
720 WARN_ON(!desc_phys); in cppi41_tear_down_chan()
741 u32 desc_phys; in cppi41_stop_chan() local
744 desc_phys = lower_32_bits(c->desc_phys); in cppi41_stop_chan()
745 desc_num = (desc_phys - cdd->descs_phys) / sizeof(struct cppi41_desc); in cppi41_stop_chan()
805 cchan->desc_phys = cdd->descs_phys; in cppi41_add_chans()
806 cchan->desc_phys += i * sizeof(struct cppi41_desc); in cppi41_add_chans()