Home
last modified time | relevance | path

Searched refs:platform_state (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c579 struct vchiq_2835_state *platform_state; in vchiq_platform_init_state() local
581 state->platform_state = kzalloc(sizeof(*platform_state), GFP_KERNEL); in vchiq_platform_init_state()
582 if (!state->platform_state) in vchiq_platform_init_state()
585 platform_state = (struct vchiq_2835_state *)state->platform_state; in vchiq_platform_init_state()
587 platform_state->inited = 1; in vchiq_platform_init_state()
588 vchiq_arm_init_state(state, &platform_state->arm_state); in vchiq_platform_init_state()
595 struct vchiq_2835_state *platform_state; in vchiq_platform_get_arm_state() local
597 platform_state = (struct vchiq_2835_state *)state->platform_state; in vchiq_platform_get_arm_state()
599 WARN_ON_ONCE(!platform_state->inited); in vchiq_platform_get_arm_state()
601 return &platform_state->arm_state; in vchiq_platform_get_arm_state()
Dvchiq_core.h424 struct opaque_platform_state *platform_state; member