Home
last modified time | relevance | path

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

/drivers/media/usb/gspca/
Dsq905.c165 mutex_lock(&gspca_dev->usb_lock); in sq905_read_data()
173 mutex_unlock(&gspca_dev->usb_lock); in sq905_read_data()
268 mutex_lock(&gspca_dev->usb_lock); in sq905_dostream()
270 mutex_unlock(&gspca_dev->usb_lock); in sq905_dostream()
277 mutex_lock(&gspca_dev->usb_lock); in sq905_dostream()
279 mutex_unlock(&gspca_dev->usb_lock); in sq905_dostream()
307 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
311 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
Djl2005bcd.c328 mutex_lock(&gspca_dev->usb_lock); in jl2005c_dostream()
330 mutex_unlock(&gspca_dev->usb_lock); in jl2005c_dostream()
382 mutex_lock(&gspca_dev->usb_lock); in jl2005c_dostream()
384 mutex_unlock(&gspca_dev->usb_lock); in jl2005c_dostream()
478 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
481 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
Dfinepix.c94 mutex_lock(&gspca_dev->usb_lock); in dostream()
96 mutex_unlock(&gspca_dev->usb_lock); in dostream()
227 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
229 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
Dsq905c.c185 mutex_lock(&gspca_dev->usb_lock); in sq905c_dostream()
187 mutex_unlock(&gspca_dev->usb_lock); in sq905c_dostream()
238 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
242 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
Dvicam.c141 mutex_lock(&gspca_dev->usb_lock); in vicam_read_frame()
143 mutex_unlock(&gspca_dev->usb_lock); in vicam_read_frame()
279 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
282 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
Dgspca.c1505 mutex_init(&gspca_dev->usb_lock); in gspca_dev_probe2()
1506 gspca_dev->vdev.lock = &gspca_dev->usb_lock; in gspca_dev_probe2()
1519 q->lock = &gspca_dev->usb_lock; in gspca_dev_probe2()
1628 mutex_lock(&gspca_dev->usb_lock); in gspca_disconnect()
1646 mutex_unlock(&gspca_dev->usb_lock); in gspca_disconnect()
1663 mutex_lock(&gspca_dev->usb_lock); in gspca_suspend()
1672 mutex_unlock(&gspca_dev->usb_lock); in gspca_suspend()
1683 mutex_lock(&gspca_dev->usb_lock); in gspca_resume()
1697 mutex_unlock(&gspca_dev->usb_lock); in gspca_resume()
Dgspca.h201 struct mutex usb_lock; /* usb exchange protection */ member
Dsonixj.c2162 mutex_lock(&gspca_dev->usb_lock); in qual_upd()
2166 mutex_unlock(&gspca_dev->usb_lock); in qual_upd()
2564 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
2566 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
Dsn9c20x.c2067 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
2069 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
2158 mutex_lock(&gspca_dev->usb_lock); in qual_upd()
2162 mutex_unlock(&gspca_dev->usb_lock); in qual_upd()
Dzc3xx.c5953 mutex_lock(&gspca_dev->usb_lock); in transfer_update()
5996 mutex_unlock(&gspca_dev->usb_lock); in transfer_update()
6000 mutex_unlock(&gspca_dev->usb_lock); in transfer_update()
6852 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
6854 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
/drivers/clk/mmp/
Dclk-of-pxa1928.c148 static DEFINE_SPINLOCK(usb_lock);
159 {PXA1928_CLK_USB, "usb_clk", "usb_pll", 0, PXA1928_CLK_USB * 4, 0x9, 0x9, 0x0, 0, &usb_lock},
160 {PXA1928_CLK_HSIC, "hsic_clk", "usb_pll", 0, PXA1928_CLK_HSIC * 4, 0x9, 0x9, 0x0, 0, &usb_lock},
Dclk-of-pxa168.c180 static DEFINE_SPINLOCK(usb_lock);
203 {PXA168_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock},
204 {PXA168_CLK_SPH, "sph_clk", "usb_pll", 0, APMU_USB, 0x12, 0x12, 0x0, 0, &usb_lock},
Dclk-of-pxa910.c186 static DEFINE_SPINLOCK(usb_lock);
209 {PXA910_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock},
210 {PXA910_CLK_SPH, "sph_clk", "usb_pll", 0, APMU_USB, 0x12, 0x12, 0x0, 0, &usb_lock},
Dclk-of-mmp2.c306 static DEFINE_SPINLOCK(usb_lock);
363 {MMP2_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock},
/drivers/staging/vt6656/
Dusbpipe.c45 mutex_lock(&priv->usb_lock); in vnt_control_out()
66 mutex_unlock(&priv->usb_lock); in vnt_control_out()
105 mutex_lock(&priv->usb_lock); in vnt_control_in()
129 mutex_unlock(&priv->usb_lock); in vnt_control_in()
Ddevice.h272 struct mutex usb_lock; member
Dmain_usb.c1025 mutex_init(&priv->usb_lock); in vt6656_probe()
/drivers/media/usb/gspca/m5602/
Dm5602_s5k83a.c301 if (mutex_lock_interruptible(&sd->gspca_dev.usb_lock)) in rotation_thread_function()
320 mutex_unlock(&sd->gspca_dev.usb_lock); in rotation_thread_function()
/drivers/media/usb/tm6000/
Dtm6000-core.c35 mutex_lock(&dev->usb_lock); in tm6000_read_write_usb()
96 mutex_unlock(&dev->usb_lock); in tm6000_read_write_usb()
Dtm6000.h242 struct mutex usb_lock; member
Dtm6000-cards.c1203 mutex_init(&dev->usb_lock); in tm6000_usb_probe()
/drivers/power/supply/
Dab8500_charger.c208 spinlock_t usb_lock; member
2408 spin_lock_irqsave(&di->usb_state.usb_lock, flags); in ab8500_charger_usb_state_changed_work()
2411 spin_unlock_irqrestore(&di->usb_state.usb_lock, flags); in ab8500_charger_usb_state_changed_work()
3213 spin_lock(&di->usb_state.usb_lock); in ab8500_charger_usb_notifier_call()
3216 spin_unlock(&di->usb_state.usb_lock); in ab8500_charger_usb_notifier_call()
3486 spin_lock_init(&di->usb_state.usb_lock); in ab8500_charger_probe()
/drivers/net/wireless/realtek/rtlwifi/
Dusb.c132 spin_lock_irqsave(&rtlpriv->locks.usb_lock, flags); in _usb_read_sync()
136 spin_unlock_irqrestore(&rtlpriv->locks.usb_lock, flags); in _usb_read_sync()
1030 spin_lock_init(&rtlpriv->locks.usb_lock); in rtl_usb_probe()
Dwifi.h2452 spinlock_t usb_lock; member