/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | table.c | 43 __must_hold(&tbl->ctx->ctrl_lock) in hws_table_up_default_fdb_miss_tbl() 85 __must_hold(&tbl->ctx->ctrl_lock) in hws_table_down_default_fdb_miss_tbl() 194 mutex_lock(&ctx->ctrl_lock); in hws_table_init() 201 mutex_unlock(&ctx->ctrl_lock); in hws_table_init() 212 mutex_unlock(&ctx->ctrl_lock); in hws_table_init() 218 mutex_unlock(&ctx->ctrl_lock); in hws_table_init() 224 mutex_lock(&tbl->ctx->ctrl_lock); in hws_table_uninit() 227 mutex_unlock(&tbl->ctx->ctrl_lock); in hws_table_uninit() 256 mutex_lock(&ctx->ctrl_lock); in mlx5hws_table_create() 258 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_table_create() [all …]
|
H A D | action.c | 88 mutex_lock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 91 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 133 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 140 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 183 mutex_lock(&ctx->ctrl_lock); in hws_action_put_shared_stc() 185 mutex_unlock(&ctx->ctrl_lock); in hws_action_put_shared_stc() 194 mutex_unlock(&ctx->ctrl_lock); in hws_action_put_shared_stc() 323 __must_hold(&ctx->ctrl_lock) in mlx5hws_action_alloc_single_stc() 390 __must_hold(&ctx->ctrl_lock) in mlx5hws_action_free_single_stc() 561 mutex_lock(&ctx->ctrl_lock); in hws_action_create_stcs() [all …]
|
H A D | matcher.c | 980 mutex_lock(&ctx->ctrl_lock); in hws_matcher_init() 991 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_init() 998 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_init() 1006 mutex_lock(&ctx->ctrl_lock); in hws_matcher_uninit() 1009 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_uninit() 1263 mutex_lock(&src_matcher->tbl->ctx->ctrl_lock); in mlx5hws_matcher_resize_set_target() 1272 mutex_unlock(&src_matcher->tbl->ctx->ctrl_lock); in mlx5hws_matcher_resize_set_target()
|
H A D | debug.c | 456 mutex_lock(&ctx->ctrl_lock); in hws_debug_dump() 458 mutex_unlock(&ctx->ctrl_lock); in hws_debug_dump()
|
H A D | pat_arg.c | 373 mutex_lock(&ctx->ctrl_lock); in mlx5hws_arg_write_inline_arg_data() 389 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_arg_write_inline_arg_data()
|
/linux/drivers/vdpa/solidrun/ |
H A D | snet_ctrl.c | 150 mutex_lock(&snet->ctrl_lock); in snet_ctrl_read_from_dpu() 211 mutex_unlock(&snet->ctrl_lock); in snet_ctrl_read_from_dpu() 224 mutex_lock(&snet->ctrl_lock); in snet_send_ctrl_msg_old() 245 mutex_unlock(&snet->ctrl_lock); in snet_send_ctrl_msg_old() 263 mutex_lock(&snet->ctrl_lock); in snet_send_ctrl_msg() 306 mutex_unlock(&snet->ctrl_lock); in snet_send_ctrl_msg()
|
H A D | snet_vdpa.h | 60 struct mutex ctrl_lock; member
|
/linux/sound/soc/sti/ |
H A D | uniperif_player.c | 366 mutex_lock(&player->ctrl_lock); in uni_player_prepare_iec958() 369 mutex_unlock(&player->ctrl_lock); in uni_player_prepare_iec958() 549 mutex_lock(&player->ctrl_lock); in uni_player_prepare_tdm() 553 mutex_unlock(&player->ctrl_lock); in uni_player_prepare_tdm() 578 mutex_lock(&player->ctrl_lock); in uni_player_ctl_iec958_get() 583 mutex_unlock(&player->ctrl_lock); in uni_player_ctl_iec958_get() 596 mutex_lock(&player->ctrl_lock); in uni_player_ctl_iec958_put() 610 mutex_unlock(&player->ctrl_lock); in uni_player_ctl_iec958_put() 645 mutex_lock(&player->ctrl_lock); in snd_sti_clk_adjustment_get() 647 mutex_unlock(&player->ctrl_lock); in snd_sti_clk_adjustment_get() [all …]
|
H A D | uniperif.h | 1325 struct mutex ctrl_lock; /* For resource updated by stream and controls*/ member
|
/linux/sound/soc/mediatek/mt8195/ |
H A D | mt8195-afe-clk.c | 99 spinlock_t ctrl_lock; /* lock for apll tuner ctrl*/ member 212 spin_lock_init(&cfg->ctrl_lock); in mt8195_afe_init_apll_tuner() 300 spin_lock_irqsave(&cfg->ctrl_lock, flags); in mt8195_afe_enable_apll_tuner() 309 spin_unlock_irqrestore(&cfg->ctrl_lock, flags); in mt8195_afe_enable_apll_tuner() 324 spin_lock_irqsave(&cfg->ctrl_lock, flags); in mt8195_afe_disable_apll_tuner() 335 spin_unlock_irqrestore(&cfg->ctrl_lock, flags); in mt8195_afe_disable_apll_tuner()
|
/linux/fs/smb/server/ |
H A D | server.c | 39 static DEFINE_MUTEX(ctrl_lock); 387 mutex_lock(&ctrl_lock); in server_ctrl_handle_work() 398 mutex_unlock(&ctrl_lock); in server_ctrl_handle_work() 455 mutex_lock(&ctrl_lock); in kill_server_store() 460 mutex_unlock(&ctrl_lock); in kill_server_store()
|
/linux/sound/soc/codecs/ |
H A D | ab8500-codec.c | 117 struct mutex ctrl_lock; member 1120 mutex_lock(&drvdata->ctrl_lock); in sid_status_control_get() 1122 mutex_unlock(&drvdata->ctrl_lock); in sid_status_control_get() 1145 mutex_lock(&drvdata->ctrl_lock); in sid_status_control_put() 1176 mutex_unlock(&drvdata->ctrl_lock); in sid_status_control_put() 1189 mutex_lock(&drvdata->ctrl_lock); in anc_status_control_get() 1191 mutex_unlock(&drvdata->ctrl_lock); in anc_status_control_get() 1209 mutex_lock(&drvdata->ctrl_lock); in anc_status_control_put() 1254 mutex_unlock(&drvdata->ctrl_lock); in anc_status_control_put() 1288 mutex_lock(&drvdata->ctrl_lock); in filter_control_get() [all …]
|
H A D | da7213.c | 221 mutex_lock(&da7213->ctrl_lock); in da7213_volsw_locked_get() 223 mutex_unlock(&da7213->ctrl_lock); in da7213_volsw_locked_get() 235 mutex_lock(&da7213->ctrl_lock); in da7213_volsw_locked_put() 237 mutex_unlock(&da7213->ctrl_lock); in da7213_volsw_locked_put() 249 mutex_lock(&da7213->ctrl_lock); in da7213_enum_locked_get() 251 mutex_unlock(&da7213->ctrl_lock); in da7213_enum_locked_get() 263 mutex_lock(&da7213->ctrl_lock); in da7213_enum_locked_put() 265 mutex_unlock(&da7213->ctrl_lock); in da7213_enum_locked_put() 468 mutex_lock(&da7213->ctrl_lock); in da7213_tonegen_freq_get() 470 mutex_unlock(&da7213->ctrl_lock); in da7213_tonegen_freq_get() [all …]
|
H A D | da7219.c | 261 mutex_lock(&da7219->ctrl_lock); in da7219_volsw_locked_get() 263 mutex_unlock(&da7219->ctrl_lock); in da7219_volsw_locked_get() 275 mutex_lock(&da7219->ctrl_lock); in da7219_volsw_locked_put() 277 mutex_unlock(&da7219->ctrl_lock); in da7219_volsw_locked_put() 289 mutex_lock(&da7219->ctrl_lock); in da7219_enum_locked_get() 291 mutex_unlock(&da7219->ctrl_lock); in da7219_enum_locked_get() 303 mutex_lock(&da7219->ctrl_lock); in da7219_enum_locked_put() 305 mutex_unlock(&da7219->ctrl_lock); in da7219_enum_locked_put() 425 mutex_lock(&da7219->ctrl_lock); in da7219_tonegen_freq_get() 427 mutex_unlock(&da7219->ctrl_lock); in da7219_tonegen_freq_get() [all …]
|
H A D | da7219-aad.c | 121 mutex_lock(&da7219->ctrl_lock); in da7219_aad_hptest_work() 130 mutex_unlock(&da7219->ctrl_lock); in da7219_aad_hptest_work() 324 mutex_unlock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
|
H A D | da7219.h | 815 struct mutex ctrl_lock; member
|
/linux/drivers/dma/qcom/ |
H A D | gpi.c | 508 struct mutex ctrl_lock; member 1465 mutex_lock(&gpii->ctrl_lock); in gpi_terminate_all() 1517 mutex_unlock(&gpii->ctrl_lock); in gpi_terminate_all() 1528 mutex_lock(&gpii->ctrl_lock); in gpi_pause() 1536 mutex_unlock(&gpii->ctrl_lock); in gpi_pause() 1544 mutex_unlock(&gpii->ctrl_lock); in gpi_pause() 1557 mutex_unlock(&gpii->ctrl_lock); in gpi_pause() 1569 mutex_lock(&gpii->ctrl_lock); in gpi_resume() 1572 mutex_unlock(&gpii->ctrl_lock); in gpi_resume() 1583 mutex_unlock(&gpii->ctrl_lock); in gpi_resume() [all …]
|
/linux/sound/soc/stm/ |
H A D | stm32_sai_sub.c | 133 struct mutex ctrl_lock; /* protect resources accessed by controls */ member 283 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_get() 285 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_get() 295 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_put() 297 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_put() 1075 mutex_lock(&sai->ctrl_lock); in stm32_sai_set_iec958_status() 1108 mutex_unlock(&sai->ctrl_lock); in stm32_sai_set_iec958_status() 1652 mutex_init(&sai->ctrl_lock); in stm32_sai_sub_probe()
|
/linux/drivers/net/usb/ |
H A D | catc.c | 157 spinlock_t tx_lock, ctrl_lock; member 509 spin_lock_irqsave(&catc->ctrl_lock, flags); in catc_ctrl_done() 530 spin_unlock_irqrestore(&catc->ctrl_lock, flags); in catc_ctrl_done() 540 spin_lock_irqsave(&catc->ctrl_lock, flags); in catc_ctrl_async() 563 spin_unlock_irqrestore(&catc->ctrl_lock, flags); in catc_ctrl_async() 801 spin_lock_init(&catc->ctrl_lock); in catc_probe()
|
/linux/drivers/media/platform/samsung/s5p-g2d/ |
H A D | g2d.h | 22 spinlock_t ctrl_lock; member
|
/linux/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d.h | 113 spinlock_t ctrl_lock; member
|
/linux/drivers/pci/hotplug/ |
H A D | pciehp.h | 99 struct mutex ctrl_lock; member
|
H A D | pciehp_hpc.c | 163 mutex_lock(&ctrl->ctrl_lock); in pcie_do_write_cmd() 204 mutex_unlock(&ctrl->ctrl_lock); in pcie_do_write_cmd() 1032 mutex_init(&ctrl->ctrl_lock); in pcie_init()
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.h | 295 spinlock_t ctrl_lock; /* lock for ctrl */ member
|
H A D | hfcsusb.c | 85 spin_lock(&hw->ctrl_lock); in write_reg() 87 spin_unlock(&hw->ctrl_lock); in write_reg() 97 spin_unlock(&hw->ctrl_lock); in write_reg() 1846 spin_lock_init(&hw->ctrl_lock); in setup_instance()
|