Searched refs:platform_state (Results 1 – 2 of 2) sorted by relevance
987 struct vchiq_arm_state *platform_state; in vchiq_platform_init_state() local990 platform_state = devm_kzalloc(state->dev, sizeof(*platform_state), GFP_KERNEL); in vchiq_platform_init_state()991 if (!platform_state) in vchiq_platform_init_state()998 if (IS_ERR(platform_state->ka_thread)) { in vchiq_platform_init_state()1000 return PTR_ERR(platform_state->ka_thread); in vchiq_platform_init_state()1003 rwlock_init(&platform_state->susp_res_lock); in vchiq_platform_init_state()1005 init_completion(&platform_state->ka_evt); in vchiq_platform_init_state()1006 atomic_set(&platform_state->ka_use_count, 0); in vchiq_platform_init_state()1007 atomic_set(&platform_state->ka_use_ack_count, 0); in vchiq_platform_init_state()1010 platform_state->state = state; in vchiq_platform_init_state()[all …]
414 struct opaque_platform_state *platform_state; member