Home
last modified time | relevance | path

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

/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.h30 #define VCHIQ_SLOT_SIZE 4096 macro
31 #define VCHIQ_MAX_MSG_SIZE (VCHIQ_SLOT_SIZE - sizeof(struct vchiq_header))
66 #define VCHIQ_SLOT_MASK (VCHIQ_SLOT_SIZE - 1)
69 VCHIQ_SLOT_SIZE)
178 char data[VCHIQ_SLOT_SIZE];
Dvchiq_core.c96 VCHIQ_SLOT_SIZE)
100 ((int)((unsigned int)(pos) / VCHIQ_SLOT_SIZE))
148 BUILD_BUG_ON_NOT_POWER_OF_2(VCHIQ_SLOT_SIZE); in check_sizes()
670 int slot_space = VCHIQ_SLOT_SIZE - (tx_pos & VCHIQ_SLOT_MASK); in reserve_space()
705 if (tx_pos == (state->slot_queue_available * VCHIQ_SLOT_SIZE)) { in reserve_space()
821 while (pos < VCHIQ_SLOT_SIZE) { in process_free_queue()
833 if (pos > VCHIQ_SLOT_SIZE) { in process_free_queue()
921 WARN_ON(stride > VCHIQ_SLOT_SIZE); in queue_message()
1651 calc_stride(size) > VCHIQ_SLOT_SIZE) { in parse_message()
2119 (int)((VCHIQ_SLOT_SIZE - (long)mem_base) & VCHIQ_SLOT_MASK); in vchiq_init_slots()
[all …]
Dvchiq_arm.c490 slot_mem_size = PAGE_ALIGN(TOTAL_SLOTS * VCHIQ_SLOT_SIZE); in vchiq_platform_init()