/linux/drivers/soc/mediatek/ |
A D | mtk-mutex.c | 319 return &mtx->mutex[i]; in mtk_mutex_get() 400 mtx->regs + in mtk_mutex_add_comp() 423 mtx->regs + in mtk_mutex_remove_comp() 493 struct mtk_mutex_ctx *mtx; in mtk_mutex_probe() local 497 mtx = devm_kzalloc(dev, sizeof(*mtx), GFP_KERNEL); in mtk_mutex_probe() 498 if (!mtx) in mtk_mutex_probe() 502 mtx->mutex[i].id = i; in mtk_mutex_probe() 506 if (!mtx->data->no_clk) { in mtk_mutex_probe() 508 if (IS_ERR(mtx->clk)) { in mtk_mutex_probe() 511 return PTR_ERR(mtx->clk); in mtk_mutex_probe() [all …]
|
/linux/sound/aoa/codecs/ |
A D | tas.c | 97 struct mutex mtx; member 238 mutex_lock(&tas->mtx); in tas_snd_vol_get() 257 mutex_lock(&tas->mtx); in tas_snd_vol_put() 288 mutex_lock(&tas->mtx); in tas_snd_mute_get() 300 mutex_lock(&tas->mtx); in tas_snd_mute_put() 340 mutex_lock(&tas->mtx); in tas_snd_mixer_get() 354 mutex_lock(&tas->mtx); in tas_snd_mixer_put() 399 mutex_lock(&tas->mtx); in tas_snd_drc_range_get() 414 mutex_lock(&tas->mtx); in tas_snd_drc_range_put() 443 mutex_lock(&tas->mtx); in tas_snd_drc_switch_get() [all …]
|
/linux/kernel/locking/ |
A D | test-ww_mutex.c | 42 struct test_mutex *mtx = container_of(work, typeof(*mtx), work); in test_mutex_work() local 44 complete(&mtx->ready); in test_mutex_work() 53 complete(&mtx->done); in test_mutex_work() 60 struct test_mutex mtx; in __test_mutex() local 68 init_completion(&mtx.ready); in __test_mutex() 69 init_completion(&mtx.go); in __test_mutex() 70 init_completion(&mtx.done); in __test_mutex() 71 mtx.flags = flags; in __test_mutex() 73 schedule_work(&mtx.work); in __test_mutex() 77 complete(&mtx.go); in __test_mutex() [all …]
|
/linux/net/mac80211/ |
A D | scan.c | 1051 mutex_lock(&local->mtx); in ieee80211_scan_work() 1136 mutex_unlock(&local->mtx); in ieee80211_scan_work() 1161 mutex_lock(&local->mtx); in ieee80211_request_ibss_scan() 1218 mutex_unlock(&local->mtx); in ieee80211_request_ibss_scan() 1245 mutex_lock(&local->mtx); in ieee80211_scan_cancel() 1283 mutex_unlock(&local->mtx); in ieee80211_scan_cancel() 1353 mutex_lock(&local->mtx); in ieee80211_request_sched_scan_start() 1362 mutex_unlock(&local->mtx); in ieee80211_request_sched_scan_start() 1371 mutex_lock(&local->mtx); in ieee80211_request_sched_scan_stop() 1389 mutex_unlock(&local->mtx); in ieee80211_request_sched_scan_stop() [all …]
|
A D | offchannel.c | 265 mutex_lock(&local->mtx); in ieee80211_hw_roc_start() 275 mutex_unlock(&local->mtx); in ieee80211_hw_roc_start() 457 mutex_lock(&local->mtx); in ieee80211_roc_work() 459 mutex_unlock(&local->mtx); in ieee80211_roc_work() 467 mutex_lock(&local->mtx); in ieee80211_hw_roc_done() 474 mutex_unlock(&local->mtx); in ieee80211_hw_roc_done() 678 mutex_lock(&local->mtx); in ieee80211_remain_on_channel() 682 mutex_unlock(&local->mtx); in ieee80211_remain_on_channel() 698 mutex_lock(&local->mtx); in ieee80211_cancel_roc() 841 mutex_lock(&local->mtx); in ieee80211_mgmt_tx() [all …]
|
A D | ocb.c | 187 mutex_lock(&sdata->local->mtx); in ieee80211_ocb_join() 190 mutex_unlock(&sdata->local->mtx); in ieee80211_ocb_join() 230 mutex_lock(&sdata->local->mtx); in ieee80211_ocb_leave() 232 mutex_unlock(&sdata->local->mtx); in ieee80211_ocb_leave()
|
A D | agg-rx.c | 72 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_stop_rx_ba_session() 75 lockdep_is_held(&sta->ampdu_mlme.mtx)); in ___ieee80211_stop_rx_ba_session() 120 mutex_lock(&sta->ampdu_mlme.mtx); in __ieee80211_stop_rx_ba_session() 122 mutex_unlock(&sta->ampdu_mlme.mtx); in __ieee80211_stop_rx_ba_session() 343 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_start_rx_ba_session() 468 mutex_lock(&sta->ampdu_mlme.mtx); in __ieee80211_start_rx_ba_session() 472 mutex_unlock(&sta->ampdu_mlme.mtx); in __ieee80211_start_rx_ba_session()
|
A D | iface.c | 452 mutex_lock(&local->mtx); in ieee80211_do_stop() 461 mutex_unlock(&local->mtx); in ieee80211_do_stop() 472 mutex_lock(&local->mtx); in ieee80211_do_stop() 474 mutex_unlock(&local->mtx); in ieee80211_do_stop() 502 mutex_lock(&local->mtx); in ieee80211_do_stop() 602 mutex_lock(&local->mtx); in ieee80211_do_stop() 1003 mutex_lock(&local->mtx); in ieee80211_add_virtual_monitor() 1048 mutex_lock(&local->mtx); in ieee80211_del_virtual_monitor() 1078 mutex_lock(&local->mtx); in ieee80211_do_open() 1188 mutex_lock(&local->mtx); in ieee80211_do_open() [all …]
|
A D | chan.c | 504 lockdep_assert_held(&local->mtx); in ieee80211_is_radar_required() 527 lockdep_assert_held(&local->mtx); in ieee80211_chanctx_radar_required() 577 lockdep_assert_held(&local->mtx); in ieee80211_add_chanctx() 610 lockdep_assert_held(&local->mtx); in ieee80211_new_chanctx() 731 lockdep_assert_held(&local->mtx); in ieee80211_recalc_radar_chanctx() 909 lockdep_assert_held(&local->mtx); in __ieee80211_vif_copy_chanctx_to_vlans() 1125 lockdep_assert_held(&local->mtx); in ieee80211_vif_use_reserved_reassign() 1272 lockdep_assert_held(&local->mtx); in ieee80211_chsw_switch_hwconf() 1294 lockdep_assert_held(&local->mtx); in ieee80211_chsw_switch_vifs() 1339 lockdep_assert_held(&local->mtx); in ieee80211_chsw_switch_ctxs() [all …]
|
A D | agg-tx.c | 145 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_assign_tid_tx() 216 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_agg_start_txq() 274 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_remove_tid_tx() 314 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_stop_tx_ba_session() 734 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_agg_tx_operational() 837 mutex_lock(&sta->ampdu_mlme.mtx); in __ieee80211_stop_tx_ba_session() 841 mutex_unlock(&sta->ampdu_mlme.mtx); in __ieee80211_stop_tx_ba_session() 967 mutex_lock(&sta->ampdu_mlme.mtx); in ieee80211_process_addba_resp() 1033 mutex_unlock(&sta->ampdu_mlme.mtx); in ieee80211_process_addba_resp()
|
/linux/drivers/net/ethernet/atheros/alx/ |
A D | ethtool.c | 166 mutex_lock(&alx->mtx); in alx_get_link_ksettings() 169 mutex_unlock(&alx->mtx); in alx_get_link_ksettings() 205 mutex_lock(&alx->mtx); in alx_set_link_ksettings() 207 mutex_unlock(&alx->mtx); in alx_set_link_ksettings() 218 mutex_lock(&alx->mtx); in alx_get_pauseparam() 223 mutex_unlock(&alx->mtx); in alx_get_pauseparam() 243 mutex_lock(&alx->mtx); in alx_set_pauseparam() 257 mutex_unlock(&alx->mtx); in alx_set_pauseparam() 267 mutex_unlock(&alx->mtx); in alx_set_pauseparam()
|
A D | main.c | 1094 mutex_init(&alx->mtx); in alx_init_sw() 1353 mutex_lock(&alx->mtx); in alx_open() 1364 mutex_lock(&alx->mtx); in alx_stop() 1377 mutex_lock(&alx->mtx); in alx_link_check() 1386 mutex_lock(&alx->mtx); in alx_reset() 1795 mutex_lock(&alx->mtx); in alx_probe() 1914 mutex_lock(&alx->mtx); in alx_suspend() 1927 mutex_lock(&alx->mtx); in alx_resume() 1962 mutex_lock(&alx->mtx); in alx_pci_error_detected() 1987 mutex_lock(&alx->mtx); in alx_pci_error_slot_reset() [all …]
|
/linux/drivers/vme/ |
A D | vme.c | 1127 mutex_unlock(&list->mtx); in vme_dma_list_add() 1153 mutex_lock(&list->mtx); in vme_dma_list_exec() 1157 mutex_unlock(&list->mtx); in vme_dma_list_exec() 1197 mutex_unlock(&list->mtx); in vme_dma_list_free() 1489 mutex_lock(&lm->mtx); in vme_lm_request() 1492 mutex_unlock(&lm->mtx); in vme_lm_request() 1496 mutex_unlock(&lm->mtx); in vme_lm_request() 1514 mutex_lock(&lm->mtx); in vme_lm_request() 1516 mutex_unlock(&lm->mtx); in vme_lm_request() 1714 mutex_lock(&lm->mtx); in vme_lm_free() [all …]
|
A D | vme_bridge.h | 31 struct mutex mtx; member 58 struct mutex mtx; member 64 struct mutex mtx; member 75 struct mutex mtx; member
|
/linux/drivers/regulator/ |
A D | isl6271a-regulator.c | 34 struct mutex mtx; member 42 mutex_lock(&pmic->mtx); in isl6271a_get_voltage_sel() 48 mutex_unlock(&pmic->mtx); in isl6271a_get_voltage_sel() 58 mutex_lock(&pmic->mtx); in isl6271a_set_voltage_sel() 64 mutex_unlock(&pmic->mtx); in isl6271a_set_voltage_sel() 126 mutex_init(&pmic->mtx); in isl6271a_probe()
|
/linux/fs/ |
A D | eventpoll.c | 184 struct mutex mtx; member 768 mutex_lock(&ep->mtx); in ep_free() 774 mutex_unlock(&ep->mtx); in ep_free() 829 mutex_unlock(&ep->mtx); in __ep_eventpoll_poll() 863 mutex_lock(&ep->mtx); in ep_show_fdinfo() 877 mutex_unlock(&ep->mtx); in ep_show_fdinfo() 941 mutex_init(&ep->mtx); in ep_alloc() 1020 mutex_lock(&ep->mtx); in get_epoll_tfile_raw_ptr() 1026 mutex_unlock(&ep->mtx); in get_epoll_tfile_raw_ptr() 1648 mutex_lock(&ep->mtx); in ep_send_events() [all …]
|
/linux/net/rfkill/ |
A D | core.c | 78 struct mutex mtx; member 284 mutex_lock(&data->mtx); in rfkill_send_events() 286 mutex_unlock(&data->mtx); in rfkill_send_events() 1145 mutex_init(&data->mtx); in rfkill_fop_open() 1149 mutex_lock(&data->mtx); in rfkill_fop_open() 1163 mutex_unlock(&data->mtx); in rfkill_fop_open() 1171 mutex_unlock(&data->mtx); in rfkill_fop_open() 1187 mutex_lock(&data->mtx); in rfkill_fop_poll() 1203 mutex_lock(&data->mtx); in rfkill_fop_read() 1216 mutex_lock(&data->mtx); in rfkill_fop_read() [all …]
|
/linux/drivers/vme/bridges/ |
A D | vme_fake.c | 206 mutex_lock(&image->mtx); in fake_slave_set() 234 mutex_lock(&image->mtx); in fake_slave_get() 867 mutex_lock(&lm->mtx); in fake_lm_set() 894 mutex_unlock(&lm->mtx); in fake_lm_set() 909 mutex_lock(&lm->mtx); in fake_lm_get() 915 mutex_unlock(&lm->mtx); in fake_lm_get() 935 mutex_lock(&lm->mtx); in fake_lm_attach() 958 mutex_unlock(&lm->mtx); in fake_lm_attach() 974 mutex_lock(&lm->mtx); in fake_lm_detach() 990 mutex_unlock(&lm->mtx); in fake_lm_detach() [all …]
|
A D | vme_ca91cx42.c | 1192 mutex_lock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1263 mutex_lock(&ctrlr->mtx); in ca91cx42_dma_list_exec() 1312 mutex_lock(&lm->mtx); in ca91cx42_lm_set() 1353 mutex_unlock(&lm->mtx); in ca91cx42_lm_set() 1369 mutex_lock(&lm->mtx); in ca91cx42_lm_get() 1394 mutex_unlock(&lm->mtx); in ca91cx42_lm_get() 1414 mutex_lock(&lm->mtx); in ca91cx42_lm_attach() 1446 mutex_unlock(&lm->mtx); in ca91cx42_lm_attach() 1461 mutex_lock(&lm->mtx); in ca91cx42_lm_detach() 1483 mutex_unlock(&lm->mtx); in ca91cx42_lm_detach() [all …]
|
A D | vme_tsi148.c | 1817 mutex_lock(&ctrlr->mtx); in tsi148_dma_list_exec() 1881 mutex_lock(&ctrlr->mtx); in tsi148_dma_list_exec() 1932 mutex_lock(&lm->mtx); in tsi148_lm_set() 1978 mutex_unlock(&lm->mtx); in tsi148_lm_set() 1994 mutex_lock(&lm->mtx); in tsi148_lm_get() 2027 mutex_unlock(&lm->mtx); in tsi148_lm_get() 2048 mutex_lock(&lm->mtx); in tsi148_lm_attach() 2085 mutex_unlock(&lm->mtx); in tsi148_lm_attach() 2100 mutex_lock(&lm->mtx); in tsi148_lm_detach() 2126 mutex_unlock(&lm->mtx); in tsi148_lm_detach() [all …]
|
/linux/drivers/usb/misc/ |
A D | adutux.c | 71 struct mutex mtx; member 356 if (mutex_lock_interruptible(&dev->mtx)) in adu_read() 498 mutex_unlock(&dev->mtx); in adu_read() 516 retval = mutex_lock_interruptible(&dev->mtx); in adu_write() 541 mutex_unlock(&dev->mtx); in adu_write() 556 retval = mutex_lock_interruptible(&dev->mtx); in adu_write() 610 mutex_unlock(&dev->mtx); in adu_write() 614 mutex_unlock(&dev->mtx); in adu_write() 664 mutex_init(&dev->mtx); in adu_probe() 773 mutex_lock(&dev->mtx); /* not interruptible */ in adu_disconnect() [all …]
|
/linux/sound/pci/aw2/ |
A D | aw2-alsa.c | 88 struct mutex mtx; member 281 mutex_init(&chip->mtx); in snd_aw2_probe() 347 mutex_lock(&chip->mtx); in snd_aw2_pcm_prepare_playback() 363 mutex_unlock(&chip->mtx); in snd_aw2_pcm_prepare_playback() 376 mutex_lock(&chip->mtx); in snd_aw2_pcm_prepare_capture() 392 mutex_unlock(&chip->mtx); in snd_aw2_pcm_prepare_capture()
|
/linux/drivers/net/wireless/atmel/ |
A D | at76c50x-usb.c | 1475 mutex_lock(&priv->mtx); in at76_work_set_promisc() 1496 mutex_lock(&priv->mtx); in at76_work_submit_rx() 1720 mutex_lock(&priv->mtx); in at76_work_join_bssid() 1840 mutex_lock(&priv->mtx); in at76_mac80211_start() 1869 mutex_lock(&priv->mtx); in at76_mac80211_stop() 1892 mutex_lock(&priv->mtx); in at76_add_interface() 1927 mutex_lock(&priv->mtx); in at76_dwork_hw_scan() 1968 mutex_lock(&priv->mtx); in at76_hw_scan() 2019 mutex_lock(&priv->mtx); in at76_config() 2047 mutex_lock(&priv->mtx); in at76_bss_info_changed() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/ |
A D | omapfb.h | 80 struct mutex mtx; member 165 mutex_lock(&fbdev->mtx); in omapfb_lock() 170 mutex_unlock(&fbdev->mtx); in omapfb_unlock()
|
/linux/net/wireless/ |
A D | core.h | 220 mutex_lock(&wdev->mtx); in wdev_lock() 221 __acquire(wdev->mtx); in wdev_lock() 227 __release(wdev->mtx); in wdev_unlock() 228 mutex_unlock(&wdev->mtx); in wdev_unlock() 231 #define ASSERT_WDEV_LOCK(wdev) lockdep_assert_held(&(wdev)->mtx) 235 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_has_monitors_only()
|