Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c182 static void vchiq_call_connected_callbacks(struct vchiq_drv_mgmt *drv_mgmt) in vchiq_call_connected_callbacks() argument
186 if (mutex_lock_killable(&drv_mgmt->connected_mutex)) in vchiq_call_connected_callbacks()
189 for (i = 0; i < drv_mgmt->num_deferred_callbacks; i++) in vchiq_call_connected_callbacks()
190 drv_mgmt->deferred_callback[i](); in vchiq_call_connected_callbacks()
192 drv_mgmt->num_deferred_callbacks = 0; in vchiq_call_connected_callbacks()
193 drv_mgmt->connected = true; in vchiq_call_connected_callbacks()
194 mutex_unlock(&drv_mgmt->connected_mutex); in vchiq_call_connected_callbacks()
205 struct vchiq_drv_mgmt *drv_mgmt = device->drv_mgmt; in vchiq_add_connected_callback() local
207 if (mutex_lock_killable(&drv_mgmt->connected_mutex)) in vchiq_add_connected_callback()
210 if (drv_mgmt->connected) { in vchiq_add_connected_callback()
[all …]
Dvchiq_bus.h16 struct vchiq_drv_mgmt *drv_mgmt; member
Dvchiq_bus.c81 device->drv_mgmt = dev_get_drvdata(parent); in vchiq_device_register()