Home
last modified time | relevance | path

Searched refs:mtx (Results 1 – 24 of 24) sorted by relevance

/drivers/vme/
Dvme.c257 mutex_lock(&slave_image->mtx); in vme_slave_request()
263 mutex_unlock(&slave_image->mtx); in vme_slave_request()
267 mutex_unlock(&slave_image->mtx); in vme_slave_request()
286 mutex_lock(&slave_image->mtx); in vme_slave_request()
288 mutex_unlock(&slave_image->mtx); in vme_slave_request()
371 mutex_lock(&slave_image->mtx); in vme_slave_free()
376 mutex_unlock(&slave_image->mtx); in vme_slave_free()
673 mutex_lock(&dma_ctrlr->mtx); in vme_dma_request()
678 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
682 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
[all …]
Dvme_bridge.h28 struct mutex mtx; member
55 struct mutex mtx; member
61 struct mutex mtx; member
72 struct mutex mtx; member
/drivers/regulator/
Disl6271a-regulator.c35 struct mutex mtx; member
43 mutex_lock(&pmic->mtx); in isl6271a_get_voltage_sel()
49 mutex_unlock(&pmic->mtx); in isl6271a_get_voltage_sel()
59 mutex_lock(&pmic->mtx); in isl6271a_set_voltage_sel()
65 mutex_unlock(&pmic->mtx); in isl6271a_set_voltage_sel()
126 mutex_init(&pmic->mtx); in isl6271a_probe()
/drivers/staging/frontier/
Dalphatrack.c137 struct mutex mtx; /* locks this structure */ member
350 if (mutex_lock_interruptible(&dev->mtx)) { in usb_alphatrack_open()
393 mutex_unlock(&dev->mtx); in usb_alphatrack_open()
416 if (mutex_lock_interruptible(&dev->mtx)) { in usb_alphatrack_release()
428 mutex_unlock(&dev->mtx); in usb_alphatrack_release()
444 mutex_unlock(&dev->mtx); in usb_alphatrack_release()
489 if (mutex_lock_interruptible(&dev->mtx)) { in usb_alphatrack_read()
536 mutex_unlock(&dev->mtx); in usb_alphatrack_read()
560 if (mutex_lock_interruptible(&dev->mtx)) { in usb_alphatrack_write()
633 mutex_unlock(&dev->mtx); in usb_alphatrack_write()
[all …]
Dtranzport.c126 struct mutex mtx; /* locks this structure */ member
370 if (mutex_lock_interruptible(&dev->mtx)) { in usb_tranzport_open()
414 mutex_unlock(&dev->mtx); in usb_tranzport_open()
437 if (mutex_lock_interruptible(&dev->mtx)) { in usb_tranzport_release()
449 mutex_unlock(&dev->mtx); in usb_tranzport_release()
465 mutex_unlock(&dev->mtx); in usb_tranzport_release()
515 if (mutex_lock_interruptible(&dev->mtx)) { in usb_tranzport_read()
665 mutex_unlock(&dev->mtx);
689 if (mutex_lock_interruptible(&dev->mtx)) {
760 mutex_unlock(&dev->mtx);
[all …]
/drivers/usb/misc/
Dadutux.c94 struct mutex mtx; member
413 if (mutex_lock_interruptible(&dev->mtx)) in adu_read()
552 mutex_unlock(&dev->mtx); in adu_read()
573 retval = mutex_lock_interruptible(&dev->mtx); in adu_write()
598 mutex_unlock(&dev->mtx); in adu_write()
611 retval = mutex_lock_interruptible(&dev->mtx); in adu_write()
661 mutex_unlock(&dev->mtx); in adu_write()
665 mutex_unlock(&dev->mtx); in adu_write()
728 mutex_init(&dev->mtx); in adu_probe()
858 mutex_lock(&dev->mtx); /* not interruptible */ in adu_disconnect()
[all …]
/drivers/vme/bridges/
Dvme_ca91cx42.c1203 mutex_lock(&ctrlr->mtx); in ca91cx42_dma_list_exec()
1212 mutex_unlock(&ctrlr->mtx); in ca91cx42_dma_list_exec()
1224 mutex_unlock(&ctrlr->mtx); in ca91cx42_dma_list_exec()
1262 mutex_lock(&ctrlr->mtx); in ca91cx42_dma_list_exec()
1264 mutex_unlock(&ctrlr->mtx); in ca91cx42_dma_list_exec()
1311 mutex_lock(&lm->mtx); in ca91cx42_lm_set()
1316 mutex_unlock(&lm->mtx); in ca91cx42_lm_set()
1334 mutex_unlock(&lm->mtx); in ca91cx42_lm_set()
1352 mutex_unlock(&lm->mtx); in ca91cx42_lm_set()
1368 mutex_lock(&lm->mtx); in ca91cx42_lm_get()
[all …]
Dvme_tsi148.c1898 mutex_lock(&ctrlr->mtx); in tsi148_dma_list_exec()
1909 mutex_unlock(&ctrlr->mtx); in tsi148_dma_list_exec()
1923 mutex_unlock(&ctrlr->mtx); in tsi148_dma_list_exec()
1955 mutex_lock(&ctrlr->mtx); in tsi148_dma_list_exec()
1957 mutex_unlock(&ctrlr->mtx); in tsi148_dma_list_exec()
2006 mutex_lock(&lm->mtx); in tsi148_lm_set()
2011 mutex_unlock(&lm->mtx); in tsi148_lm_set()
2032 mutex_unlock(&lm->mtx); in tsi148_lm_set()
2053 mutex_unlock(&lm->mtx); in tsi148_lm_set()
2069 mutex_lock(&lm->mtx); in tsi148_lm_get()
[all …]
/drivers/net/wireless/
Dat76c50x-usb.c1460 mutex_lock(&priv->mtx); in at76_work_set_promisc()
1472 mutex_unlock(&priv->mtx); in at76_work_set_promisc()
1481 mutex_lock(&priv->mtx); in at76_work_submit_rx()
1483 mutex_unlock(&priv->mtx); in at76_work_submit_rx()
1657 mutex_lock(&priv->mtx); in at76_work_join_bssid()
1662 mutex_unlock(&priv->mtx); in at76_work_join_bssid()
1777 mutex_lock(&priv->mtx); in at76_mac80211_start()
1791 mutex_unlock(&priv->mtx); in at76_mac80211_start()
1806 mutex_lock(&priv->mtx); in at76_mac80211_stop()
1818 mutex_unlock(&priv->mtx); in at76_mac80211_stop()
[all …]
Dat76c50x-usb.h385 struct mutex mtx; /* locks this structure */ member
/drivers/video/omap2/omapfb/
Domapfb.h92 struct mutex mtx; member
177 mutex_lock(&fbdev->mtx); in omapfb_lock()
182 mutex_unlock(&fbdev->mtx); in omapfb_unlock()
Domapfb-main.c2445 mutex_init(&fbdev->mtx); in omapfb_probe()
/drivers/net/irda/
Dvlsi_ir.c1660 mutex_init(&idev->mtx); in vlsi_irda_probe()
1661 mutex_lock(&idev->mtx); in vlsi_irda_probe()
1688 mutex_unlock(&idev->mtx); in vlsi_irda_probe()
1693 mutex_unlock(&idev->mtx); in vlsi_irda_probe()
1715 mutex_lock(&idev->mtx); in vlsi_irda_remove()
1720 mutex_unlock(&idev->mtx); in vlsi_irda_remove()
1750 mutex_lock(&idev->mtx); in vlsi_irda_suspend()
1758 mutex_unlock(&idev->mtx); in vlsi_irda_suspend()
1774 mutex_unlock(&idev->mtx); in vlsi_irda_suspend()
1789 mutex_lock(&idev->mtx); in vlsi_irda_resume()
[all …]
Dvlsi_ir.h730 struct mutex mtx; member
/drivers/watchdog/
Dpcwd_usb.c172 struct mutex mtx; member
669 mutex_init(&usb_pcwd->mtx); in usb_pcwd_probe()
800 mutex_lock(&usb_pcwd->mtx); in usb_pcwd_disconnect()
814 mutex_unlock(&usb_pcwd->mtx); in usb_pcwd_disconnect()
DMakefile129 obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
/drivers/isdn/i4l/
Disdn_common.c1362 ret = mutex_lock_interruptible(&dev->mtx); in isdn_ioctl()
1372 mutex_unlock(&dev->mtx); in isdn_ioctl()
1381 ret = mutex_lock_interruptible(&dev->mtx); in isdn_ioctl()
1391 mutex_unlock(&dev->mtx); in isdn_ioctl()
1398 ret = mutex_lock_interruptible(&dev->mtx); in isdn_ioctl()
1401 mutex_unlock(&dev->mtx); in isdn_ioctl()
1430 ret = mutex_lock_interruptible(&dev->mtx); in isdn_ioctl()
1433 mutex_unlock(&dev->mtx); in isdn_ioctl()
1442 ret = mutex_lock_interruptible(&dev->mtx); in isdn_ioctl()
1445 mutex_unlock(&dev->mtx); in isdn_ioctl()
[all …]
/drivers/net/usb/
Dcdc_ncm.c373 spin_lock_init(&ctx->mtx); in cdc_ncm_bind_common()
835 spin_lock_bh(&ctx->mtx); in cdc_ncm_txpath_bh()
839 spin_unlock_bh(&ctx->mtx); in cdc_ncm_txpath_bh()
841 spin_unlock_bh(&ctx->mtx); in cdc_ncm_txpath_bh()
846 spin_unlock_bh(&ctx->mtx); in cdc_ncm_txpath_bh()
866 spin_lock_bh(&ctx->mtx); in cdc_ncm_tx_fixup()
868 spin_unlock_bh(&ctx->mtx); in cdc_ncm_tx_fixup()
Dcdc_mbim.c175 spin_lock_bh(&ctx->mtx); in cdc_mbim_tx_fixup()
177 spin_unlock_bh(&ctx->mtx); in cdc_mbim_tx_fixup()
/drivers/media/platform/omap/
Domap_voutdef.h98 struct mutex mtx; member
/drivers/media/dvb-core/
Ddvb_frontend.c213 mutex_lock(&events->mtx); in dvb_frontend_add_event()
227 mutex_unlock(&events->mtx); in dvb_frontend_add_event()
263 mutex_lock(&events->mtx); in dvb_frontend_get_event()
266 mutex_unlock(&events->mtx); in dvb_frontend_get_event()
276 mutex_lock(&events->mtx); in dvb_frontend_clear_events()
278 mutex_unlock(&events->mtx); in dvb_frontend_clear_events()
2613 mutex_init(&fepriv->events.mtx); in dvb_register_frontend()
Ddvb_frontend.h329 struct mutex mtx; member
/drivers/net/wireless/orinoco/
Dorinoco_usb.c258 struct mutex mtx; member
1473 mutex_lock(&upriv->mtx); in ezusb_delete()
1512 mutex_unlock(&upriv->mtx); in ezusb_delete()
1602 mutex_init(&upriv->mtx); in ezusb_probe()
/drivers/media/i2c/
Dov9650.c496 static const u8 mtx[] = { in ov965x_set_color_matrix() local
503 for (i = 0; i < ARRAY_SIZE(mtx); i++) { in ov965x_set_color_matrix()
504 int ret = ov965x_write(ov965x->client, addr, mtx[i]); in ov965x_set_color_matrix()