k3_ring
struct k3_ring *ringtx;
struct k3_ring *ringtxcq;
struct k3_ring *ringrx;
struct k3_ring *ringrxfdq;
struct k3_ring *irq_ring;
struct k3_ring *ring = NULL;
struct k3_ring *ring = NULL;
struct k3_ring *ring1 = NULL;
struct k3_ring *ring2 = NULL;
struct k3_ring *t_ring; /* Transmit ring */
struct k3_ring *tc_ring; /* Transmit Completion ring */
struct k3_ring *fd_ring; /* Free Descriptor ring */
struct k3_ring *r_ring; /* Receive ring */
static int k3_ringacc_ring_push_tail_proxy(struct k3_ring *ring, void *elem)
static int k3_ringacc_ring_pop_head_proxy(struct k3_ring *ring, void *elem)
static int k3_ringacc_ring_pop_tail_proxy(struct k3_ring *ring, void *elem)
static int k3_ringacc_ring_access_io(struct k3_ring *ring, void *elem,
static int k3_ringacc_ring_push_head_io(struct k3_ring *ring, void *elem)
static int k3_ringacc_ring_push_io(struct k3_ring *ring, void *elem)
static int k3_ringacc_ring_pop_io(struct k3_ring *ring, void *elem)
static int k3_ringacc_ring_pop_tail_io(struct k3_ring *ring, void *elem)
static int k3_dmaring_fwd_pop(struct k3_ring *ring, void *elem)
static int k3_dmaring_reverse_pop(struct k3_ring *ring, void *elem)
int (*push_tail)(struct k3_ring *ring, void *elm);
int (*push_head)(struct k3_ring *ring, void *elm);
static int k3_ringacc_ring_push_mem(struct k3_ring *ring, void *elem)
int (*pop_tail)(struct k3_ring *ring, void *elm);
int (*pop_head)(struct k3_ring *ring, void *elm);
static int k3_ringacc_ring_pop_mem(struct k3_ring *ring, void *elem)
int k3_ringacc_ring_push(struct k3_ring *ring, void *elem)
int k3_ringacc_ring_push_head(struct k3_ring *ring, void *elem)
int k3_ringacc_ring_pop(struct k3_ring *ring, void *elem)
int k3_ringacc_ring_pop_tail(struct k3_ring *ring, void *elem)
struct k3_ring *ring = &ringacc->rings[i];
struct k3_ring *rings;
static int k3_ringacc_ring_read_occ(struct k3_ring *ring)
static void k3_ringacc_ring_update_occ(struct k3_ring *ring)
static long k3_ringacc_ring_get_fifo_pos(struct k3_ring *ring)
static void *k3_ringacc_get_elm_addr(struct k3_ring *ring, u32 idx)
static int k3_ringacc_ring_push_mem(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_pop_mem(struct k3_ring *ring, void *elem);
static int k3_dmaring_fwd_pop(struct k3_ring *ring, void *elem);
static int k3_dmaring_reverse_pop(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_push_io(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_pop_io(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_push_head_io(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_pop_tail_io(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_push_head_proxy(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_push_tail_proxy(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_pop_head_proxy(struct k3_ring *ring, void *elem);
static int k3_ringacc_ring_pop_tail_proxy(struct k3_ring *ring, void *elem);
static void k3_ringacc_ring_dump(struct k3_ring *ring)
struct k3_ring *k3_ringacc_request_ring(struct k3_ringacc *ringacc,
struct k3_ring **fwd_ring,
struct k3_ring **compl_ring)
struct k3_ring **fwd_ring,
struct k3_ring **compl_ring)
static void k3_ringacc_ring_reset_sci(struct k3_ring *ring)
void k3_ringacc_ring_reset(struct k3_ring *ring)
static void k3_ringacc_ring_reconfig_qmode_sci(struct k3_ring *ring,
void k3_ringacc_ring_reset_dma(struct k3_ring *ring, u32 occ)
static void k3_ringacc_ring_free_sci(struct k3_ring *ring)
int k3_ringacc_ring_free(struct k3_ring *ring)
u32 k3_ringacc_get_ring_id(struct k3_ring *ring)
u32 k3_ringacc_get_tisci_dev_id(struct k3_ring *ring)
int k3_ringacc_get_ring_irq_num(struct k3_ring *ring)
static int k3_ringacc_ring_cfg_sci(struct k3_ring *ring)
static int k3_dmaring_cfg(struct k3_ring *ring, struct k3_ring_cfg *cfg)
struct k3_ring *reverse_ring;
int k3_ringacc_ring_cfg(struct k3_ring *ring, struct k3_ring_cfg *cfg)
u32 k3_ringacc_ring_get_size(struct k3_ring *ring)
u32 k3_ringacc_ring_get_free(struct k3_ring *ring)
u32 k3_ringacc_ring_get_occ(struct k3_ring *ring)
u32 k3_ringacc_ring_is_full(struct k3_ring *ring)
static int k3_ringacc_ring_cfg_proxy(struct k3_ring *ring,
static int k3_ringacc_ring_access_proxy(struct k3_ring *ring, void *elem,
static int k3_ringacc_ring_push_head_proxy(struct k3_ring *ring, void *elem)
struct k3_ring *k3_ringacc_request_ring(struct k3_ringacc *ringacc,
struct k3_ring **fwd_ring,
struct k3_ring **compl_ring);
void k3_ringacc_ring_reset(struct k3_ring *ring);
void k3_ringacc_ring_reset_dma(struct k3_ring *ring, u32 occ);
int k3_ringacc_ring_free(struct k3_ring *ring);
u32 k3_ringacc_get_ring_id(struct k3_ring *ring);
int k3_ringacc_get_ring_irq_num(struct k3_ring *ring);
int k3_ringacc_ring_cfg(struct k3_ring *ring, struct k3_ring_cfg *cfg);
u32 k3_ringacc_ring_get_size(struct k3_ring *ring);
u32 k3_ringacc_ring_get_free(struct k3_ring *ring);
u32 k3_ringacc_ring_get_occ(struct k3_ring *ring);
u32 k3_ringacc_ring_is_full(struct k3_ring *ring);
int k3_ringacc_ring_push(struct k3_ring *ring, void *elem);
int k3_ringacc_ring_pop(struct k3_ring *ring, void *elem);
int k3_ringacc_ring_push_head(struct k3_ring *ring, void *elem);
int k3_ringacc_ring_pop_tail(struct k3_ring *ring, void *elem);
u32 k3_ringacc_get_tisci_dev_id(struct k3_ring *ring);
struct k3_ring;