Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c594 struct vchiq_arm_state *platform_state; in vchiq_platform_init_state() local
596 platform_state = devm_kzalloc(state->dev, sizeof(*platform_state), GFP_KERNEL); in vchiq_platform_init_state()
597 if (!platform_state) in vchiq_platform_init_state()
600 rwlock_init(&platform_state->susp_res_lock); in vchiq_platform_init_state()
602 init_completion(&platform_state->ka_evt); in vchiq_platform_init_state()
603 atomic_set(&platform_state->ka_use_count, 0); in vchiq_platform_init_state()
604 atomic_set(&platform_state->ka_use_ack_count, 0); in vchiq_platform_init_state()
605 atomic_set(&platform_state->ka_release_count, 0); in vchiq_platform_init_state()
607 platform_state->state = state; in vchiq_platform_init_state()
609 state->platform_state = (struct opaque_platform_state *)platform_state; in vchiq_platform_init_state()
[all …]
Dvchiq_core.h409 struct opaque_platform_state *platform_state; member