Home
last modified time | relevance | path

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

/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c577 struct vchiq_2835_state *platform_state; in vchiq_platform_init_state() local
579 state->platform_state = kzalloc(sizeof(*platform_state), GFP_KERNEL); in vchiq_platform_init_state()
580 if (!state->platform_state) in vchiq_platform_init_state()
583 platform_state = (struct vchiq_2835_state *)state->platform_state; in vchiq_platform_init_state()
585 platform_state->inited = 1; in vchiq_platform_init_state()
586 vchiq_arm_init_state(state, &platform_state->arm_state); in vchiq_platform_init_state()
593 struct vchiq_2835_state *platform_state; in vchiq_platform_get_arm_state() local
595 platform_state = (struct vchiq_2835_state *)state->platform_state; in vchiq_platform_get_arm_state()
597 WARN_ON_ONCE(!platform_state->inited); in vchiq_platform_get_arm_state()
599 return &platform_state->arm_state; in vchiq_platform_get_arm_state()
Dvchiq_core.h425 struct opaque_platform_state *platform_state; member