Home
last modified time | relevance | path

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

/linux-6.1.9/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()
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()
Djl2005bcd.c330 mutex_lock(&gspca_dev->usb_lock); in jl2005c_dostream()
332 mutex_unlock(&gspca_dev->usb_lock); in jl2005c_dostream()
384 mutex_lock(&gspca_dev->usb_lock); in jl2005c_dostream()
386 mutex_unlock(&gspca_dev->usb_lock); in jl2005c_dostream()
480 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
483 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.c1507 mutex_init(&gspca_dev->usb_lock); in gspca_dev_probe2()
1508 gspca_dev->vdev.lock = &gspca_dev->usb_lock; in gspca_dev_probe2()
1521 q->lock = &gspca_dev->usb_lock; in gspca_dev_probe2()
1630 mutex_lock(&gspca_dev->usb_lock); in gspca_disconnect()
1648 mutex_unlock(&gspca_dev->usb_lock); in gspca_disconnect()
1665 mutex_lock(&gspca_dev->usb_lock); in gspca_suspend()
1674 mutex_unlock(&gspca_dev->usb_lock); in gspca_suspend()
1685 mutex_lock(&gspca_dev->usb_lock); in gspca_resume()
1699 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.c2087 mutex_unlock(&gspca_dev->usb_lock); in sd_stop0()
2089 mutex_lock(&gspca_dev->usb_lock); in sd_stop0()
2178 mutex_lock(&gspca_dev->usb_lock); in qual_upd()
2182 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()
/linux-6.1.9/drivers/clk/mmp/
Dclk-of-pxa1928.c145 static DEFINE_SPINLOCK(usb_lock);
156 {PXA1928_CLK_USB, "usb_clk", "usb_pll", 0, PXA1928_CLK_USB * 4, 0x9, 0x9, 0x0, 0, &usb_lock},
157 {PXA1928_CLK_HSIC, "hsic_clk", "usb_pll", 0, PXA1928_CLK_HSIC * 4, 0x9, 0x9, 0x0, 0, &usb_lock},
Dclk-of-pxa910.c183 static DEFINE_SPINLOCK(usb_lock);
206 {PXA910_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock},
207 {PXA910_CLK_SPH, "sph_clk", "usb_pll", 0, APMU_USB, 0x12, 0x12, 0x0, 0, &usb_lock},
Dclk-of-pxa168.c221 static DEFINE_SPINLOCK(usb_lock);
247 {PXA168_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock},
248 {PXA168_CLK_SPH, "sph_clk", "usb_pll", 0, APMU_USB, 0x12, 0x12, 0x0, 0, &usb_lock},
Dclk-of-mmp2.c303 static DEFINE_SPINLOCK(usb_lock);
360 {MMP2_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock},
/linux-6.1.9/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; /* USB control messages */ member
Dmain_usb.c1025 mutex_init(&priv->usb_lock); in vt6656_probe()
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/media/deprecated/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()
/linux-6.1.9/drivers/power/supply/
Dab8500_charger.c208 spinlock_t usb_lock; member
2409 spin_lock_irqsave(&di->usb_state.usb_lock, flags); in ab8500_charger_usb_state_changed_work()
2412 spin_unlock_irqrestore(&di->usb_state.usb_lock, flags); in ab8500_charger_usb_state_changed_work()
3219 spin_lock(&di->usb_state.usb_lock); in ab8500_charger_usb_notifier_call()
3223 spin_unlock(&di->usb_state.usb_lock); in ab8500_charger_usb_notifier_call()
3480 spin_lock_init(&di->usb_state.usb_lock); in ab8500_charger_probe()
/linux-6.1.9/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.h2451 spinlock_t usb_lock; member