Lines Matching +full:sw +full:- +full:reset +full:- +full:number
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
16 * enum k3_ring_mode - &struct k3_ring_cfg mode
20 * @K3_RINGACC_RING_MODE_RING: Exposed Ring mode for SW direct access
24 * controls the entire state of the queue, and SW has no directly control,
26 * This is particularly useful when more than one SW or HW entity can be
41 * enum k3_ring_size - &struct k3_ring_cfg elm_size
60 * enum k3_ring_cfg - RA ring configuration structure
62 * @size: Ring size, number of elements
86 #define K3_RINGACC_RING_ID_ANY (-1)
89 * of_k3_ringacc_get_by_phandle - find a RA by phandle property
93 * Returns pointer on the RA - struct k3_ringacc
94 * or -ENODEV if not found,
95 * or -EPROBE_DEFER if not yet registered
103 * k3_ringacc_request_ring - request ring from ringacc
107 * @K3_RINGACC_RING_USE_PROXY: if set - proxy will be allocated and
111 * Returns pointer on the Ring - struct k3_ring
122 * k3_ringacc_ring_reset - ring reset
129 * k3_ringacc_ring_reset - ring reset for DMA rings
138 * k3_ringacc_ring_free - ring free
146 * k3_ringacc_get_ring_id - Get the Ring ID
154 * k3_ringacc_get_ring_irq_num - Get the irq number for the ring
157 * Returns the interrupt number which can be used to request the interrupt
162 * k3_ringacc_ring_cfg - ring configure
172 * k3_ringacc_ring_get_size - get ring size
175 * Returns ring size in number of elements.
180 * k3_ringacc_ring_get_free - get free elements
183 * Returns number of free elements in the ring.
188 * k3_ringacc_ring_get_occ - get ring occupancy
191 * Returns total number of valid entries on the ring
196 * k3_ringacc_ring_is_full - checks if ring is full
204 * k3_ringacc_ring_push - push element to the ring tail
216 * k3_ringacc_ring_pop - pop element from the ring head
228 * k3_ringacc_ring_push_head - push element to the ring head
241 * k3_ringacc_ring_pop_tail - pop element from the ring tail
259 * struct struct k3_ringacc_init_data - Initialization data for DMA rings