Home
last modified time | relevance | path

Searched refs:mutex_lock (Results 1 – 25 of 3701) sorted by relevance

12345678910>>...149

/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c49 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_get_sclk()
65 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_get_mclk()
85 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_set_powergating_by_smu()
117 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_set_gfx_power_up_by_imu()
135 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_baco_enter()
154 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_baco_exit()
171 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_set_mp1_state()
204 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_is_baco_supported()
223 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_mode2_reset()
241 mutex_lock(&adev->pm.mutex); in amdgpu_dpm_enable_gfx_features()
[all …]
/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c95 mutex_lock(&pwrpriv->mutex_lock); in r8712_cpwm_int_hdl()
102 mutex_unlock(&pwrpriv->mutex_lock); in r8712_cpwm_int_hdl()
133 mutex_lock(&pwrpriv->mutex_lock); in SetPSModeWorkItemCallback()
136 mutex_unlock(&pwrpriv->mutex_lock); in SetPSModeWorkItemCallback()
147 mutex_lock(&pwrpriv->mutex_lock); in rpwm_workitem_callback()
151 mutex_unlock(&pwrpriv->mutex_lock); in rpwm_workitem_callback()
168 mutex_init(&pwrctrlpriv->mutex_lock); in r8712_init_pwrctrl_priv()
195 mutex_lock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
201 mutex_unlock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
215 mutex_lock(&pwrctrl->mutex_lock); in r8712_unregister_cmd_alive()
[all …]
/drivers/gpu/host1x/
Dbus.c54 mutex_lock(&device->subdevs_lock); in host1x_subdev_add()
121 mutex_lock(&device->subdevs_lock); in host1x_subdev_register()
122 mutex_lock(&device->clients_lock); in host1x_subdev_register()
159 mutex_lock(&device->clients_lock); in __host1x_subdev_unregister()
178 mutex_lock(&device->subdevs_lock); in host1x_subdev_unregister()
198 mutex_lock(&device->clients_lock); in host1x_device_init()
259 mutex_lock(&device->clients_lock); in host1x_device_exit()
298 mutex_lock(&host1x->devices_lock); in host1x_add_client()
320 mutex_lock(&host1x->devices_lock); in host1x_del_client()
375 mutex_lock(&device->subdevs_lock); in __host1x_device_del()
[all …]
/drivers/usb/gadget/function/
Duvc_configfs.c196 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
201 mutex_lock(&opts->lock); \
220 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
225 mutex_lock(&opts->lock); \
315 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \
321 mutex_lock(&opts->lock); \
350 mutex_lock(su_mutex); in uvcg_default_processing_bm_controls_store()
356 mutex_lock(&opts->lock); in uvcg_default_processing_bm_controls_store()
407 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_processing_bm_controls_show()
413 mutex_lock(&opts->lock); in uvcg_default_processing_bm_controls_show()
[all …]
Du_ether_configfs.h35 mutex_lock(&opts->lock); \
48 mutex_lock(&opts->lock); \
70 mutex_lock(&opts->lock); \
83 mutex_lock(&opts->lock); \
105 mutex_lock(&opts->lock); \
118 mutex_lock(&opts->lock); \
144 mutex_lock(&opts->lock); \
157 mutex_lock(&opts->lock); \
173 mutex_lock(&opts->lock); \
188 mutex_lock(&opts->lock); \
/drivers/pci/endpoint/
Dpci-epc-core.c160 mutex_lock(&epc->lock); in pci_epc_get_features()
179 mutex_lock(&epc->lock); in pci_epc_stop()
201 mutex_lock(&epc->lock); in pci_epc_start()
233 mutex_lock(&epc->lock); in pci_epc_raise_irq()
277 mutex_lock(&epc->lock); in pci_epc_map_msi_irq()
308 mutex_lock(&epc->lock); in pci_epc_get_msi()
347 mutex_lock(&epc->lock); in pci_epc_set_msi()
376 mutex_lock(&epc->lock); in pci_epc_get_msix()
413 mutex_lock(&epc->lock); in pci_epc_set_msix()
443 mutex_lock(&epc->lock); in pci_epc_unmap_addr()
[all …]
/drivers/gpu/drm/
Ddrm_privacy_screen.c57 mutex_lock(&drm_privacy_screen_lookup_lock); in drm_privacy_screen_lookup_add()
73 mutex_lock(&drm_privacy_screen_lookup_lock); in drm_privacy_screen_lookup_remove()
87 mutex_lock(&drm_privacy_screen_devs_lock); in drm_privacy_screen_get_by_name()
140 mutex_lock(&drm_privacy_screen_lookup_lock); in drm_privacy_screen_get()
213 mutex_lock(&priv->lock); in drm_privacy_screen_set_sw_state()
253 mutex_lock(&priv->lock); in drm_privacy_screen_get_state()
315 mutex_lock(&priv->lock); in sw_state_show()
345 mutex_lock(&priv->lock); in hw_state_show()
420 mutex_lock(&drm_privacy_screen_devs_lock); in drm_privacy_screen_register()
440 mutex_lock(&drm_privacy_screen_devs_lock); in drm_privacy_screen_unregister()
[all …]
/drivers/w1/
Dw1.c119 mutex_lock(&sl->master->mutex); in rw_write()
138 mutex_lock(&sl->master->mutex); in rw_read()
209 mutex_lock(&md->mutex); in w1_master_attribute_show_name()
228 mutex_lock(&md->mutex); in w1_master_attribute_store_search()
245 mutex_lock(&md->mutex); in w1_master_attribute_show_search()
264 mutex_lock(&md->mutex); in w1_master_attribute_store_pullup()
278 mutex_lock(&md->mutex); in w1_master_attribute_show_pullup()
290 mutex_lock(&md->mutex); in w1_master_attribute_show_pointer()
316 mutex_lock(&md->mutex); in w1_master_attribute_store_max_slave_count()
330 mutex_lock(&md->mutex); in w1_master_attribute_show_max_slave_count()
[all …]
/drivers/acpi/
Dacpi_dbg.c129 mutex_lock(&acpi_aml_io.lock); in acpi_aml_running()
139 mutex_lock(&acpi_aml_io.lock); in acpi_aml_busy()
153 mutex_lock(&acpi_aml_io.lock); in acpi_aml_used()
163 mutex_lock(&acpi_aml_io.lock); in acpi_aml_kern_readable()
174 mutex_lock(&acpi_aml_io.lock); in acpi_aml_kern_writable()
185 mutex_lock(&acpi_aml_io.lock); in acpi_aml_user_readable()
196 mutex_lock(&acpi_aml_io.lock); in acpi_aml_user_writable()
207 mutex_lock(&acpi_aml_io.lock); in acpi_aml_lock_write()
226 mutex_lock(&acpi_aml_io.lock); in acpi_aml_lock_read()
243 mutex_lock(&acpi_aml_io.lock); in acpi_aml_unlock_fifo()
[all …]
/drivers/net/wireless/realtek/rtw89/
Dmac80211.c62 mutex_lock(&rtwdev->mutex); in rtw89_ops_start()
73 mutex_lock(&rtwdev->mutex); in rtw89_ops_stop()
85 mutex_lock(&rtwdev->mutex); in rtw89_ops_config()
118 mutex_lock(&rtwdev->mutex); in rtw89_ops_add_interface()
183 mutex_lock(&rtwdev->mutex); in rtw89_ops_remove_interface()
229 mutex_lock(&rtwdev->mutex); in rtw89_ops_configure_filter()
408 mutex_lock(&rtwdev->mutex); in rtw89_ops_bss_info_changed()
467 mutex_lock(&rtwdev->mutex); in rtw89_ops_start_ap()
500 mutex_lock(&rtwdev->mutex); in rtw89_ops_stop_ap()
527 mutex_lock(&rtwdev->mutex); in rtw89_ops_conf_tx()
[all …]
/drivers/base/power/
Dqos.c254 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_constraints_destroy()
263 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_constraints_destroy()
394 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_request()
468 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_update_request()
515 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_request()
541 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_add_notifier()
592 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_remove_notifier()
689 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_drop_user_request()
717 mutex_lock(&dev_pm_qos_sysfs_mtx); in dev_pm_qos_expose_latency_limit()
719 mutex_lock(&dev_pm_qos_mtx); in dev_pm_qos_expose_latency_limit()
[all …]
/drivers/thermal/
Dthermal_core.c126 mutex_lock(&thermal_governor_lock); in thermal_register_governor()
142 mutex_lock(&thermal_list_lock); in thermal_register_governor()
178 mutex_lock(&thermal_governor_lock); in thermal_unregister_governor()
183 mutex_lock(&thermal_list_lock); in thermal_unregister_governor()
203 mutex_lock(&thermal_governor_lock); in thermal_zone_device_set_policy()
204 mutex_lock(&tz->lock); in thermal_zone_device_set_policy()
229 mutex_lock(&thermal_governor_lock); in thermal_build_list_of_policies()
440 mutex_lock(&tz->lock); in thermal_zone_device_set_mode()
495 mutex_lock(&tz->lock); in thermal_zone_device_update()
513 mutex_lock(&tz->lock); in thermal_zone_device_exec()
[all …]
/drivers/net/wireless/ath/wil6210/
Dp2p.c138 mutex_lock(&wil->mutex); in wil_p2p_listen()
150 mutex_lock(&wil->vif_mutex); in wil_p2p_listen()
202 mutex_lock(&wil->mutex); in wil_p2p_cancel_listen()
220 mutex_lock(&wil->vif_mutex); in wil_p2p_cancel_listen()
242 mutex_lock(&wil->mutex); in wil_p2p_listen_expired()
249 mutex_lock(&wil->vif_mutex); in wil_p2p_listen_expired()
270 mutex_lock(&wil->mutex); in wil_p2p_search_expired()
279 mutex_lock(&wil->vif_mutex); in wil_p2p_search_expired()
300 mutex_lock(&wil->mutex); in wil_p2p_delayed_listen_work()
306 mutex_lock(&wil->vif_mutex); in wil_p2p_delayed_listen_work()
[all …]
/drivers/net/wireless/realtek/rtw88/
Dmac80211.c58 mutex_lock(&rtwdev->mutex); in rtw_ops_start()
69 mutex_lock(&rtwdev->mutex); in rtw_ops_stop()
82 mutex_lock(&rtwdev->mutex); in rtw_ops_config()
168 mutex_lock(&rtwdev->mutex); in rtw_ops_add_interface()
230 mutex_lock(&rtwdev->mutex); in rtw_ops_remove_interface()
277 mutex_lock(&rtwdev->mutex); in rtw_ops_configure_filter()
374 mutex_lock(&rtwdev->mutex); in rtw_ops_bss_info_changed()
456 mutex_lock(&rtwdev->mutex); in rtw_ops_start_ap()
472 mutex_lock(&rtwdev->mutex); in rtw_ops_stop_ap()
488 mutex_lock(&rtwdev->mutex); in rtw_ops_conf_tx()
[all …]
/drivers/gpu/vga/
Dvga_switcheroo.c239 mutex_lock(&vgasr_mutex); in vga_switcheroo_register_handler()
263 mutex_lock(&vgasr_mutex); in vga_switcheroo_unregister_handler()
264 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_unregister_handler()
312 mutex_lock(&vgasr_mutex); in register_client()
375 mutex_lock(&vgasr_mutex); in vga_switcheroo_register_audio_client()
481 mutex_lock(&vgasr_mutex); in vga_switcheroo_get_client_state()
502 mutex_lock(&vgasr_mutex); in vga_switcheroo_unregister_client()
532 mutex_lock(&vgasr_mutex); in vga_switcheroo_client_fb_set()
563 mutex_lock(&vgasr_priv.mux_hw_lock); in vga_switcheroo_lock_ddc()
651 mutex_lock(&vgasr_mutex); in vga_switcheroo_show()
[all …]
/drivers/infiniband/hw/cxgb4/
Dresource.c114 mutex_lock(&uctx->lock); in c4iw_get_cqid()
125 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid()
156 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid()
173 mutex_lock(&uctx->lock); in c4iw_put_cqid()
184 mutex_lock(&uctx->lock); in c4iw_get_qpid()
194 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
199 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
230 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
247 mutex_lock(&uctx->lock); in c4iw_put_qpid()
269 mutex_lock(&rdev->stats.lock); in c4iw_pblpool_alloc()
[all …]
/drivers/vfio/
Dgroup.c31 mutex_lock(&group->device_lock); in vfio_device_get_from_name()
80 mutex_lock(&group->group_lock); in vfio_group_ioctl_unset_container()
118 mutex_lock(&group->group_lock); in vfio_group_ioctl_set_container()
172 mutex_lock(&device->group->group_lock); in vfio_df_group_open()
178 mutex_lock(&device->dev_set->lock); in vfio_df_group_open()
240 mutex_lock(&device->group->group_lock); in vfio_df_group_close()
241 mutex_lock(&device->dev_set->lock); in vfio_df_group_close()
360 mutex_lock(&group->group_lock); in vfio_group_ioctl_get_status()
410 mutex_lock(&group->group_lock); in vfio_device_block_group()
427 mutex_lock(&group->group_lock); in vfio_device_unblock_group()
[all …]
/drivers/hid/
Dhid-roccat.c82 mutex_lock(&device->cbuf_lock); in roccat_read()
106 mutex_lock(&device->cbuf_lock); in roccat_read()
159 mutex_lock(&devices_lock); in roccat_open()
169 mutex_lock(&device->readers_lock); in roccat_open()
209 mutex_lock(&devices_lock); in roccat_release()
218 mutex_lock(&device->readers_lock); in roccat_release()
260 mutex_lock(&device->cbuf_lock); in roccat_report_event()
308 mutex_lock(&devices_lock); in roccat_connect()
359 mutex_lock(&devices_lock); in roccat_disconnect()
367 mutex_lock(&devices_lock); in roccat_disconnect()
[all …]
/drivers/fpga/
Ddfl-fme-error.c51 mutex_lock(&pdata->lock); in pcie0_errors_show()
72 mutex_lock(&pdata->lock); in pcie0_errors_store()
96 mutex_lock(&pdata->lock); in pcie1_errors_show()
117 mutex_lock(&pdata->lock); in pcie1_errors_store()
165 mutex_lock(&pdata->lock); in inject_errors_show()
190 mutex_lock(&pdata->lock); in inject_errors_store()
210 mutex_lock(&pdata->lock); in fme_errors_show()
231 mutex_lock(&pdata->lock); in fme_errors_store()
257 mutex_lock(&pdata->lock); in first_error_show()
274 mutex_lock(&pdata->lock); in next_error_show()
[all …]
/drivers/media/cec/core/
Dcec-api.c44 mutex_lock(&adap->lock); in cec_poll()
96 mutex_lock(&adap->lock); in cec_adap_g_phys_addr()
135 mutex_lock(&adap->lock); in cec_adap_s_phys_addr()
149 mutex_lock(&adap->lock); in cec_adap_g_log_addrs()
180 mutex_lock(&adap->lock); in cec_adap_s_log_addrs()
204 mutex_lock(&adap->lock); in cec_adap_g_connector_info()
222 mutex_lock(&adap->lock); in cec_transmit()
246 mutex_lock(&fh->lock); in cec_receive_msg()
317 mutex_lock(&fh->lock); in cec_dqevent()
324 mutex_lock(&fh->lock); in cec_dqevent()
[all …]
/drivers/soc/qcom/
Dpdr_interface.c79 mutex_lock(&pdr->lock); in pdr_locator_new_server()
89 mutex_lock(&pdr->list_lock); in pdr_locator_new_server()
105 mutex_lock(&pdr->lock); in pdr_locator_del_server()
171 mutex_lock(&pdr->list_lock); in pdr_notifier_work()
189 mutex_lock(&pdr->status_lock); in pdr_notifier_work()
203 mutex_lock(&pdr->list_lock); in pdr_notifier_new_server()
227 mutex_lock(&pdr->list_lock); in pdr_notifier_del_server()
283 mutex_lock(&pdr->status_lock); in pdr_indack_work()
291 mutex_lock(&pdr->list_lock); in pdr_indack_work()
313 mutex_lock(&pdr->list_lock); in pdr_indication_cb()
[all …]
/drivers/interconnect/
Dcore.c50 mutex_lock(&icc_lock); in icc_summary_show()
107 mutex_lock(&icc_lock); in icc_graph_show()
179 mutex_lock(&icc_bw_lock); in path_init()
384 mutex_lock(&icc_lock); in of_icc_get_from_provider()
515 mutex_lock(&icc_lock); in of_icc_get_by_index()
605 mutex_lock(&icc_lock); in icc_get()
650 mutex_lock(&icc_lock); in icc_set_tag()
705 mutex_lock(&icc_bw_lock); in icc_set_bw()
755 mutex_lock(&icc_lock); in __icc_enable()
798 mutex_lock(&icc_lock); in icc_put()
[all …]
/drivers/net/phy/
Dphy.c149 mutex_lock(&phydev->lock); in phy_get_rate_matching()
291 mutex_lock(&phydev->lock); in phy_ethtool_ksettings_get()
538 mutex_lock(&phydev->lock); in phy_ethtool_get_strings()
561 mutex_lock(&phydev->lock); in phy_ethtool_get_sset_count()
585 mutex_lock(&phydev->lock); in phy_ethtool_get_stats()
616 mutex_lock(&phydev->lock); in phy_ethtool_get_plca_cfg()
686 mutex_lock(&phydev->lock); in phy_ethtool_set_plca_cfg()
777 mutex_lock(&phydev->lock); in phy_ethtool_get_plca_status()
805 mutex_lock(&phydev->lock); in phy_start_cable_test()
876 mutex_lock(&phydev->lock); in phy_start_cable_test_tdr()
[all …]
/drivers/s390/char/
Dsclp_cpi_sys.c225 mutex_lock(&sclp_cpi_mutex); in system_name_show()
242 mutex_lock(&sclp_cpi_mutex); in system_name_store()
257 mutex_lock(&sclp_cpi_mutex); in sysplex_name_show()
274 mutex_lock(&sclp_cpi_mutex); in sysplex_name_store()
289 mutex_lock(&sclp_cpi_mutex); in system_type_show()
306 mutex_lock(&sclp_cpi_mutex); in system_type_store()
321 mutex_lock(&sclp_cpi_mutex); in system_level_show()
344 mutex_lock(&sclp_cpi_mutex); in system_level_store()
359 mutex_lock(&sclp_cpi_mutex); in set_store()
400 mutex_lock(&sclp_cpi_mutex); in sclp_cpi_set_data()
/drivers/vhost/
Dtest.c51 mutex_lock(&vq->mutex); in handle_vq()
135 mutex_lock(&vq->mutex); in vhost_test_stop_vq()
175 mutex_lock(&n->dev.mutex); in vhost_test_run()
190 mutex_lock(&vq->mutex); in vhost_test_run()
223 mutex_lock(&n->dev.mutex); in vhost_test_reset_owner()
245 mutex_lock(&n->dev.mutex); in vhost_test_set_features()
252 mutex_lock(&vq->mutex); in vhost_test_set_features()
267 mutex_lock(&n->dev.mutex); in vhost_test_set_backend()
277 mutex_lock(&vq->mutex); in vhost_test_set_backend()
344 mutex_lock(&n->dev.mutex); in vhost_test_ioctl()

12345678910>>...149