Lines Matching refs:state_lock
147 mutex_lock(&ctrl->state_lock); in pciehp_queue_pushbutton_work()
158 mutex_unlock(&ctrl->state_lock); in pciehp_queue_pushbutton_work()
163 mutex_lock(&ctrl->state_lock); in pciehp_handle_button_press()
207 mutex_unlock(&ctrl->state_lock); in pciehp_handle_button_press()
212 mutex_lock(&ctrl->state_lock); in pciehp_handle_disable_request()
220 mutex_unlock(&ctrl->state_lock); in pciehp_handle_disable_request()
233 mutex_lock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
240 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
250 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
255 mutex_lock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
259 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
269 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
279 mutex_unlock(&ctrl->state_lock); in pciehp_handle_presence_or_link_change()
321 mutex_lock(&ctrl->state_lock); in pciehp_enable_slot()
323 mutex_unlock(&ctrl->state_lock); in pciehp_enable_slot()
353 mutex_lock(&ctrl->state_lock); in pciehp_disable_slot()
355 mutex_unlock(&ctrl->state_lock); in pciehp_disable_slot()
364 mutex_lock(&ctrl->state_lock); in pciehp_sysfs_enable_slot()
368 mutex_unlock(&ctrl->state_lock); in pciehp_sysfs_enable_slot()
394 mutex_unlock(&ctrl->state_lock); in pciehp_sysfs_enable_slot()
403 mutex_lock(&ctrl->state_lock); in pciehp_sysfs_disable_slot()
407 mutex_unlock(&ctrl->state_lock); in pciehp_sysfs_disable_slot()
428 mutex_unlock(&ctrl->state_lock); in pciehp_sysfs_disable_slot()