Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_cfg.h26 #define VCHIQ_MAX_SERVICES 4096 macro
H A Dvchiq_core.h418 atomic_t poll_services[BITSET_SIZE(VCHIQ_MAX_SERVICES)];
439 struct vchiq_service __rcu *services[VCHIQ_MAX_SERVICES];
440 struct vchiq_service_quota service_quotas[VCHIQ_MAX_SERVICES];
H A Dvchiq_core.c39 #define VCHIQ_PORT_MAX (VCHIQ_MAX_SERVICES - 1)
154 BUILD_BUG_ON_NOT_POWER_OF_2(VCHIQ_MAX_SERVICES); in check_sizes()
239 int idx = handle & (VCHIQ_MAX_SERVICES - 1); in handle_to_service()
2004 length = sizeof(*found) * BITSET_SIZE(VCHIQ_MAX_SERVICES); in recycle_func()
2006 found = kmalloc_array(BITSET_SIZE(VCHIQ_MAX_SERVICES), sizeof(*found), in recycle_func()
2215 for (i = 0; i < VCHIQ_MAX_SERVICES; i++) { in vchiq_init_state()
2425 if (state->unused_service < VCHIQ_MAX_SERVICES) in vchiq_add_service_internal()
2461 VCHIQ_MAX_SERVICES; in vchiq_add_service_internal()
2463 (state->id * VCHIQ_MAX_SERVICES) | in vchiq_add_service_internal()
2465 handle_seq += VCHIQ_MAX_STATES * VCHIQ_MAX_SERVICES; in vchiq_add_service_internal()
[all …]