Lines Matching full:asel
213 u32 asel; member
258 u32 asel; member
423 static void k3_configure_chan_coherency(struct dma_chan *chan, u32 asel) in k3_configure_chan_coherency() argument
427 if (asel == 0) { in k3_configure_chan_coherency()
433 } else if (asel == 14 || asel == 15) { in k3_configure_chan_coherency()
440 dev_warn(chan->device->dev, "Invalid ASEL value: %u\n", asel); in k3_configure_chan_coherency()
1640 k3_configure_chan_coherency(&uc->vc.chan, ud->asel); in bcdma_alloc_bchan_resources()
1641 ring_cfg.asel = ud->asel; in bcdma_alloc_bchan_resources()
1708 k3_configure_chan_coherency(&uc->vc.chan, uc->config.asel); in udma_alloc_tx_resources()
1709 ring_cfg.asel = uc->config.asel; in udma_alloc_tx_resources()
1805 k3_configure_chan_coherency(&uc->vc.chan, uc->config.asel); in udma_alloc_rx_resources()
1806 ring_cfg.asel = uc->config.asel; in udma_alloc_rx_resources()
2888 u64 asel; in udma_prep_slave_sg_tr() local
2907 asel = 0; in udma_prep_slave_sg_tr()
2909 asel = (u64)uc->config.asel << K3_ADDRESS_ASEL_SHIFT; in udma_prep_slave_sg_tr()
2929 sg_addr |= asel; in udma_prep_slave_sg_tr()
2977 u64 asel; in udma_prep_slave_sg_triggered_tr() local
3038 asel = 0; in udma_prep_slave_sg_triggered_tr()
3041 asel = (u64)uc->config.asel << K3_ADDRESS_ASEL_SHIFT; in udma_prep_slave_sg_triggered_tr()
3042 dev_addr |= asel; in udma_prep_slave_sg_triggered_tr()
3068 sg_addr |= asel; in udma_prep_slave_sg_triggered_tr()
3222 u64 asel; in udma_prep_slave_sg_pkt() local
3237 asel = 0; in udma_prep_slave_sg_pkt()
3239 asel = (u64)uc->config.asel << K3_ADDRESS_ASEL_SHIFT; in udma_prep_slave_sg_pkt()
3275 sg_addr |= asel; in udma_prep_slave_sg_pkt()
3281 hwdesc->cppi5_desc_paddr | asel); in udma_prep_slave_sg_pkt()
3499 ((u64)uc->config.asel << K3_ADDRESS_ASEL_SHIFT); in udma_prep_dma_cyclic_tr()
3566 buf_addr |= (u64)uc->config.asel << K3_ADDRESS_ASEL_SHIFT; in udma_prep_dma_cyclic_pkt()
3711 src |= (u64)uc->ud->asel << K3_ADDRESS_ASEL_SHIFT; in udma_prep_dma_memcpy()
3712 dest |= (u64)uc->ud->asel << K3_ADDRESS_ASEL_SHIFT; in udma_prep_dma_memcpy()
4096 u32 asel; member
4124 if (filter_param->asel > 15) { in udma_dma_filter_fn()
4125 dev_err(ud->dev, "Invalid channel asel: %u\n", in udma_dma_filter_fn()
4126 filter_param->asel); in udma_dma_filter_fn()
4132 ucc->asel = filter_param->asel; in udma_dma_filter_fn()
4151 ucc->asel = 0; in udma_dma_filter_fn()
4163 ucc->asel = 0; in udma_dma_filter_fn()
4227 filter_param.asel = dma_spec->args[2]; in udma_of_xlate()
4238 filter_param.asel = 0; in udma_of_xlate()
4241 filter_param.asel = dma_spec->args[1]; in udma_of_xlate()
4245 filter_param.asel = 0; in udma_of_xlate()
5380 ret = of_property_read_u32(dev->of_node, "ti,asel", in udma_probe()
5381 &ud->asel); in udma_probe()
5382 if (!ret && ud->asel > 15) { in udma_probe()
5383 dev_err(dev, "Invalid asel: %u\n", ud->asel); in udma_probe()