Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ipa/
Dgsi.c151 BUILD_BUG_ON(!GSI_RING_ELEMENT_SIZE); in gsi_validate_build()
157 BUILD_BUG_ON(sizeof(struct gsi_event) != GSI_RING_ELEMENT_SIZE); in gsi_validate_build()
163 BUILD_BUG_ON(!is_power_of_2(GSI_RING_ELEMENT_SIZE)); in gsi_validate_build()
365 return ring->virt + (index % ring->count) * GSI_RING_ELEMENT_SIZE; in gsi_ring_virt()
371 return lower_32_bits(ring->addr) + index * GSI_RING_ELEMENT_SIZE; in gsi_ring_addr()
377 return (offset - gsi_ring_addr(ring, 0)) / GSI_RING_ELEMENT_SIZE; in gsi_ring_index()
728 val |= reg_encode(reg, EV_ELEMENT_SIZE, GSI_RING_ELEMENT_SIZE); in gsi_evt_ring_program()
732 val = reg_encode(reg, R_LENGTH, ring->count * GSI_RING_ELEMENT_SIZE); in gsi_evt_ring_program()
825 size_t size = channel->tre_ring.count * GSI_RING_ELEMENT_SIZE; in gsi_channel_program()
843 val |= reg_encode(reg, ELEMENT_SIZE, GSI_RING_ELEMENT_SIZE); in gsi_channel_program()
[all …]
Dgsi_private.h18 #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()