Home
last modified time | relevance | path

Searched refs:ringacc (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/soc/ti/
Dk3-ringacc.c166 int (*init)(struct platform_device *pdev, struct k3_ringacc *ringacc);
286 struct k3_ring *k3_ringacc_request_ring(struct k3_ringacc *ringacc, in k3_ringacc_request_ring() argument
291 mutex_lock(&ringacc->req_lock); in k3_ringacc_request_ring()
296 &ringacc->rm_gp_range->desc[0]; in k3_ringacc_request_ring()
300 id = find_next_zero_bit(ringacc->rings_inuse, size, in k3_ringacc_request_ring()
308 if (test_bit(id, ringacc->rings_inuse) && in k3_ringacc_request_ring()
309 !(ringacc->rings[id].flags & K3_RING_FLAG_SHARED)) in k3_ringacc_request_ring()
311 else if (ringacc->rings[id].flags & K3_RING_FLAG_SHARED) in k3_ringacc_request_ring()
315 proxy_id = find_next_zero_bit(ringacc->proxy_inuse, in k3_ringacc_request_ring()
316 ringacc->num_proxies, 0); in k3_ringacc_request_ring()
[all …]
DMakefile13 obj-$(CONFIG_TI_K3_RINGACC) += k3-ringacc.o
/Linux-v5.10/include/linux/soc/ti/
Dk3-ringacc.h107 struct k3_ring *k3_ringacc_request_ring(struct k3_ringacc *ringacc,
110 int k3_ringacc_request_rings_pair(struct k3_ringacc *ringacc,
/Linux-v5.10/arch/arm64/boot/dts/ti/
Dk3-j7200-mcu-wakeup.dtsi119 mcu_ringacc: ringacc@2b800000 {
120 compatible = "ti,am654-navss-ringacc";
144 ti,ringacc = <&mcu_ringacc>;
Dk3-am65-mcu.dtsi129 mcu_ringacc: ringacc@2b800000 {
130 compatible = "ti,am654-navss-ringacc";
155 ti,ringacc = <&mcu_ringacc>;
Dk3-j721e-mcu-wakeup.dtsi262 mcu_ringacc: ringacc@2b800000 {
263 compatible = "ti,am654-navss-ringacc";
287 ti,ringacc = <&mcu_ringacc>;
Dk3-j7200-main.dtsi118 main_ringacc: ringacc@3c000000 {
119 compatible = "ti,am654-navss-ringacc";
143 ti,ringacc = <&main_ringacc>;
Dk3-am65-main.dtsi606 ringacc: ringacc@3c000000 { label
607 compatible = "ti,am654-navss-ringacc";
632 ti,ringacc = <&ringacc>;
Dk3-j721e-main.dtsi291 main_ringacc: ringacc@3c000000 {
292 compatible = "ti,am654-navss-ringacc";
316 ti,ringacc = <&main_ringacc>;
/Linux-v5.10/drivers/dma/ti/
Dk3-udma-glue.c27 struct k3_ringacc *ringacc; member
89 common->ringacc = of_k3_ringacc_get_by_phandle(udmax_np, in of_k3_udma_glue_parse()
91 if (IS_ERR(common->ringacc)) in of_k3_udma_glue_parse()
92 return PTR_ERR(common->ringacc); in of_k3_udma_glue_parse()
274 ret = k3_ringacc_request_rings_pair(tx_chn->common.ringacc, in k3_udma_glue_request_tx_chn()
575 ret = k3_ringacc_request_rings_pair(rx_chn->common.ringacc, in k3_udma_glue_cfg_rx_flow()
Dk3-udma.c133 struct k3_ringacc *ringacc; member
1388 ret = k3_ringacc_request_rings_pair(ud->ringacc, uc->tchan->id, -1, in udma_alloc_tx_resources()
1463 ret = k3_ringacc_request_rings_pair(ud->ringacc, fd_ring_id, -1, in udma_alloc_rx_resources()
3554 ud->ringacc = of_k3_ringacc_get_by_phandle(dev->of_node, "ti,ringacc"); in udma_probe()
3555 if (IS_ERR(ud->ringacc)) in udma_probe()
3556 return PTR_ERR(ud->ringacc); in udma_probe()