Home
last modified time | relevance | path

Searched refs:user_service (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c48 static void close_delivered(struct user_service *user_service) in close_delivered() argument
50 dev_dbg(user_service->service->state->dev, in close_delivered()
51 "arm: (handle=%x)\n", user_service->service->handle); in close_delivered()
53 if (user_service->close_pending) { in close_delivered()
55 vchiq_service_put(user_service->service); in close_delivered()
58 complete(&user_service->close_event); in close_delivered()
60 user_service->close_pending = 0; in close_delivered()
142 struct user_service *user_service = NULL; in vchiq_ioc_create_service() local
151 user_service = kmalloc(sizeof(*user_service), GFP_KERNEL); in vchiq_ioc_create_service()
152 if (!user_service) in vchiq_ioc_create_service()
[all …]
Dvchiq_arm.c998 struct vchiq_header *header, struct user_service *user_service, in add_completion() argument
1028 completion->service_userdata = user_service->service; in add_completion()
1036 vchiq_service_get(user_service->service); in add_completion()
1038 user_service->close_pending = 1; in add_completion()
1048 user_service->message_available_pos = insert; in add_completion()
1063 struct user_service *user_service; in service_single_message() local
1065 user_service = (struct user_service *)service->base.userdata; in service_single_message()
1072 if ((user_service->message_available_pos - in service_single_message()
1078 ret = add_completion(instance, reason, NULL, user_service, in service_single_message()
1084 if (wait_for_completion_interruptible(&user_service->remove_event)) { in service_single_message()
[all …]
Dvchiq_arm.h59 struct user_service { struct