Lines Matching refs:ce_ring

1770 				     struct CE_ring_state *ce_ring,  in ce_alloc_desc_ring()  argument
1787 ce_ring->base_addr_owner_space_unaligned = in ce_alloc_desc_ring()
1790 ce_ring->base_addr_owner_space_unaligned = in ce_alloc_desc_ring()
1796 ce_ring->hal_ring_type, in ce_alloc_desc_ring()
1797 &ce_ring->is_ring_prealloc); in ce_alloc_desc_ring()
1799 if (!ce_ring->base_addr_owner_space_unaligned) { in ce_alloc_desc_ring()
1818 struct CE_ring_state *ce_ring, uint32_t desc_size) in ce_free_desc_ring() argument
1827 ce_ring->base_addr_owner_space_unaligned = NULL; in ce_free_desc_ring()
1831 ce_ring->nentries * desc_size + CE_DESC_RING_ALIGN, in ce_free_desc_ring()
1832 ce_ring->base_addr_owner_space_unaligned, in ce_free_desc_ring()
1833 ce_ring->base_addr_CE_space, 0, in ce_free_desc_ring()
1834 ce_ring->is_ring_prealloc); in ce_free_desc_ring()
1835 ce_ring->base_addr_owner_space_unaligned = NULL; in ce_free_desc_ring()
1841 struct CE_ring_state *ce_ring, in ce_alloc_desc_ring() argument
1844 ce_ring->base_addr_owner_space_unaligned = in ce_alloc_desc_ring()
1850 ce_ring->hal_ring_type, in ce_alloc_desc_ring()
1851 &ce_ring->is_ring_prealloc); in ce_alloc_desc_ring()
1853 if (!ce_ring->base_addr_owner_space_unaligned) { in ce_alloc_desc_ring()
1862 struct CE_ring_state *ce_ring, uint32_t desc_size) in ce_free_desc_ring() argument
1866 ce_ring->nentries * desc_size + CE_DESC_RING_ALIGN, in ce_free_desc_ring()
1867 ce_ring->base_addr_owner_space_unaligned, in ce_free_desc_ring()
1868 ce_ring->base_addr_CE_space, 0, in ce_free_desc_ring()
1869 ce_ring->is_ring_prealloc); in ce_free_desc_ring()
1870 ce_ring->base_addr_owner_space_unaligned = NULL; in ce_free_desc_ring()
2025 struct CE_ring_state *ce_ring; in ce_alloc_ring_state() local
2035 ce_ring = (struct CE_ring_state *)ptr; in ce_alloc_ring_state()
2037 ce_ring->nentries = nentries; in ce_alloc_ring_state()
2038 ce_ring->nentries_mask = nentries - 1; in ce_alloc_ring_state()
2040 ce_ring->low_water_mark_nentries = 0; in ce_alloc_ring_state()
2041 ce_ring->high_water_mark_nentries = nentries; in ce_alloc_ring_state()
2042 ce_ring->per_transfer_context = (void **)ptr; in ce_alloc_ring_state()
2043 ce_ring->hal_ring_type = ce_ring_type_to_hal_ring_type(ring_type); in ce_alloc_ring_state()
2051 ce_ring, nentries, in ce_alloc_ring_state()
2055 qdf_mem_free(ce_ring); in ce_alloc_ring_state()
2058 ce_ring->base_addr_CE_space_unaligned = base_addr; in ce_alloc_ring_state()
2064 qdf_mem_zero(ce_ring->base_addr_owner_space_unaligned, in ce_alloc_ring_state()
2068 if (ce_ring->base_addr_CE_space_unaligned & (CE_DESC_RING_ALIGN - 1)) { in ce_alloc_ring_state()
2070 ce_ring->base_addr_CE_space = in ce_alloc_ring_state()
2071 (ce_ring->base_addr_CE_space_unaligned + in ce_alloc_ring_state()
2074 ce_ring->base_addr_owner_space = (void *) in ce_alloc_ring_state()
2075 (((size_t) ce_ring->base_addr_owner_space_unaligned + in ce_alloc_ring_state()
2078 ce_ring->base_addr_CE_space = in ce_alloc_ring_state()
2079 ce_ring->base_addr_CE_space_unaligned; in ce_alloc_ring_state()
2080 ce_ring->base_addr_owner_space = in ce_alloc_ring_state()
2081 ce_ring->base_addr_owner_space_unaligned; in ce_alloc_ring_state()
2084 return ce_ring; in ce_alloc_ring_state()
2534 struct CE_ring_state *ce_ring; in ce_ring_dump_register_region() local
2543 ce_ring = CE_state->status_ring; in ce_ring_dump_register_region()
2546 qdf_ssr_driver_dump_register_region(CE_ring_state, ce_ring, in ce_ring_dump_register_region()
2551 qdf_ssr_driver_dump_register_region(srng, ce_ring->srng_ctx, in ce_ring_dump_register_region()
2555 ce_ring = CE_state->dest_ring; in ce_ring_dump_register_region()
2558 qdf_ssr_driver_dump_register_region(CE_ring_state, ce_ring, in ce_ring_dump_register_region()
2563 qdf_ssr_driver_dump_register_region(srng, ce_ring->srng_ctx, in ce_ring_dump_register_region()
2567 ce_ring = CE_state->src_ring; in ce_ring_dump_register_region()
2570 qdf_ssr_driver_dump_register_region(CE_ring_state, ce_ring, in ce_ring_dump_register_region()
2575 qdf_ssr_driver_dump_register_region(srng, ce_ring->srng_ctx, in ce_ring_dump_register_region()