Searched refs:platform_state (Results 1 – 2 of 2) sorted by relevance
579 struct vchiq_2835_state *platform_state; in vchiq_platform_init_state() local581 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() local597 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()
424 struct opaque_platform_state *platform_state; member