Searched refs:platform_state (Results 1 – 2 of 2) sorted by relevance
577 struct vchiq_2835_state *platform_state; in vchiq_platform_init_state() local579 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() local595 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()
425 struct opaque_platform_state *platform_state; member