Home
last modified time | relevance | path

Searched refs:GSI_RING_ELEMENT_SIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ipa/
Dgsi.c153 BUILD_BUG_ON(!GSI_RING_ELEMENT_SIZE); in gsi_validate_build()
159 BUILD_BUG_ON(sizeof(struct gsi_event) != GSI_RING_ELEMENT_SIZE); in gsi_validate_build()
165 BUILD_BUG_ON(!is_power_of_2(GSI_RING_ELEMENT_SIZE)); in gsi_validate_build()
367 return ring->virt + (index % ring->count) * GSI_RING_ELEMENT_SIZE; in gsi_ring_virt()
373 return lower_32_bits(ring->addr) + index * GSI_RING_ELEMENT_SIZE; in gsi_ring_addr()
379 return (offset - gsi_ring_addr(ring, 0)) / GSI_RING_ELEMENT_SIZE; in gsi_ring_index()
730 val |= reg_encode(reg, EV_ELEMENT_SIZE, GSI_RING_ELEMENT_SIZE); in gsi_evt_ring_program()
734 val = reg_encode(reg, R_LENGTH, ring->count * GSI_RING_ELEMENT_SIZE); in gsi_evt_ring_program()
827 size_t size = channel->tre_ring.count * GSI_RING_ELEMENT_SIZE; in gsi_channel_program()
845 val |= reg_encode(reg, ELEMENT_SIZE, GSI_RING_ELEMENT_SIZE); in gsi_channel_program()
[all …]
Dgsi_private.h17 #define GSI_RING_ELEMENT_SIZE 16 /* bytes; must be a power of 2 */ macro
Dgsi_trans.c713 BUILD_BUG_ON(sizeof(struct gsi_tre) != GSI_RING_ELEMENT_SIZE); in gsi_channel_trans_init()