Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/soc/ti/
Dk3-ringacc.c183 int (*init)(struct platform_device *pdev, struct k3_ringacc *ringacc);
332 struct k3_ring *k3_ringacc_request_ring(struct k3_ringacc *ringacc, in k3_ringacc_request_ring() argument
337 mutex_lock(&ringacc->req_lock); in k3_ringacc_request_ring()
339 if (!try_module_get(ringacc->dev->driver->owner)) in k3_ringacc_request_ring()
345 &ringacc->rm_gp_range->desc[0]; in k3_ringacc_request_ring()
349 id = find_next_zero_bit(ringacc->rings_inuse, size, in k3_ringacc_request_ring()
357 if (test_bit(id, ringacc->rings_inuse) && in k3_ringacc_request_ring()
358 !(ringacc->rings[id].flags & K3_RING_FLAG_SHARED)) in k3_ringacc_request_ring()
360 else if (ringacc->rings[id].flags & K3_RING_FLAG_SHARED) in k3_ringacc_request_ring()
364 proxy_id = find_first_zero_bit(ringacc->proxy_inuse, in k3_ringacc_request_ring()
[all …]
DMakefile11 obj-$(CONFIG_TI_K3_RINGACC) += k3-ringacc.o
/Linux-v6.6/include/linux/soc/ti/
Dk3-ringacc.h114 struct k3_ring *k3_ringacc_request_ring(struct k3_ringacc *ringacc,
117 int k3_ringacc_request_rings_pair(struct k3_ringacc *ringacc,
/Linux-v6.6/arch/arm64/boot/dts/ti/
Dk3-am65-mcu.dtsi197 mcu_ringacc: ringacc@2b800000 {
198 compatible = "ti,am654-navss-ringacc";
224 ti,ringacc = <&mcu_ringacc>;
Dk3-j721s2-mcu-wakeup.dtsi455 mcu_ringacc: ringacc@2b800000 {
456 compatible = "ti,am654-navss-ringacc";
481 ti,ringacc = <&mcu_ringacc>;
Dk3-j7200-mcu-wakeup.dtsi329 mcu_ringacc: ringacc@2b800000 {
330 compatible = "ti,am654-navss-ringacc";
356 ti,ringacc = <&mcu_ringacc>;
Dk3-j784s4-mcu-wakeup.dtsi460 mcu_ringacc: ringacc@2b800000 {
462 compatible = "ti,am654-navss-ringacc";
488 ti,ringacc = <&mcu_ringacc>;
Dk3-j721e-mcu-wakeup.dtsi452 mcu_ringacc: ringacc@2b800000 {
453 compatible = "ti,am654-navss-ringacc";
478 ti,ringacc = <&mcu_ringacc>;
Dk3-am65-main.dtsi774 ringacc: ringacc@3c000000 { label
775 compatible = "ti,am654-navss-ringacc";
800 ti,ringacc = <&ringacc>;
Dk3-j7200-main.dtsi265 main_ringacc: ringacc@3c000000 {
266 compatible = "ti,am654-navss-ringacc";
291 ti,ringacc = <&main_ringacc>;
Dk3-j784s4-main.dtsi966 main_ringacc: ringacc@3c000000 {
967 compatible = "ti,am654-navss-ringacc";
992 ti,ringacc = <&main_ringacc>;
Dk3-j721s2-main.dtsi1069 main_ringacc: ringacc@3c000000 {
1070 compatible = "ti,am654-navss-ringacc";
1095 ti,ringacc = <&main_ringacc>;
Dk3-j721e-main.dtsi366 main_ringacc: ringacc@3c000000 {
367 compatible = "ti,am654-navss-ringacc";
392 ti,ringacc = <&main_ringacc>;
/Linux-v6.6/drivers/dma/ti/
Dk3-udma-private.c63 return ud->ringacc; in xudma_get_ringacc()
Dk3-udma-glue.c29 struct k3_ringacc *ringacc; member
108 common->ringacc = xudma_get_ringacc(common->udmax); in of_k3_udma_glue_parse()
323 ret = k3_ringacc_request_rings_pair(tx_chn->common.ringacc, in k3_udma_glue_request_tx_chn()
696 ret = k3_ringacc_request_rings_pair(rx_chn->common.ringacc, in k3_udma_glue_cfg_rx_flow()
Dk3-udma.c183 struct k3_ringacc *ringacc; member
1627 ret = k3_ringacc_request_rings_pair(ud->ringacc, uc->bchan->id, -1, in bcdma_alloc_bchan_resources()
1692 ret = k3_ringacc_request_rings_pair(ud->ringacc, ring_idx, -1, in udma_alloc_tx_resources()
1784 ret = k3_ringacc_request_rings_pair(ud->ringacc, fd_ring_id, -1, in udma_alloc_rx_resources()
5384 ud->ringacc = of_k3_ringacc_get_by_phandle(dev->of_node, "ti,ringacc"); in udma_probe()
5399 ud->ringacc = k3_ringacc_dmarings_init(pdev, &ring_init_data); in udma_probe()
5402 if (IS_ERR(ud->ringacc)) in udma_probe()
5403 return PTR_ERR(ud->ringacc); in udma_probe()