Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c186 spin_lock(&drvdata->spinlock); in reset_store()
280 spin_unlock(&drvdata->spinlock); in reset_store()
309 spin_lock(&drvdata->spinlock); in mode_store()
447 spin_unlock(&drvdata->spinlock); in mode_store()
476 spin_lock(&drvdata->spinlock); in pe_store()
478 spin_unlock(&drvdata->spinlock); in pe_store()
483 spin_unlock(&drvdata->spinlock); in pe_store()
511 spin_lock(&drvdata->spinlock); in event_store()
532 spin_unlock(&drvdata->spinlock); in event_store()
560 spin_lock(&drvdata->spinlock); in event_instren_store()
[all …]
Dcoresight-etm3x-sysfs.c62 spin_lock_irqsave(&drvdata->spinlock, flags); in etmsr_show()
68 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etmsr_show()
89 spin_lock(&drvdata->spinlock); in reset_store()
98 spin_unlock(&drvdata->spinlock); in reset_store()
129 spin_lock(&drvdata->spinlock); in mode_store()
170 spin_unlock(&drvdata->spinlock); in mode_store()
175 spin_unlock(&drvdata->spinlock); in mode_store()
301 spin_lock(&drvdata->spinlock); in addr_idx_store()
303 spin_unlock(&drvdata->spinlock); in addr_idx_store()
317 spin_lock(&drvdata->spinlock); in addr_single_show()
[all …]
Dcoresight-tmc-etf.c118 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
120 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
128 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
163 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
181 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
200 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
223 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
225 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
235 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
246 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_link()
[all …]
Dcoresight-tmc-etr.c129 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etr_sink_sysfs()
131 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etr_sink_sysfs()
144 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etr_sink_sysfs()
175 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etr_sink_sysfs()
193 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etr_sink_perf()
212 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etr_sink_perf()
235 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etr_sink()
237 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etr_sink()
247 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etr_sink()
494 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_prepare_etr()
[all …]
/drivers/gpu/drm/
Ddrm_lock.c59 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
71 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()
123 spin_lock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
127 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
130 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
182 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
184 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
209 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
211 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
288 spin_lock_bh(&lock_data->spinlock); in drm_legacy_idlelock_take()
[all …]
/drivers/staging/comedi/drivers/
Ddas800.c247 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable()
255 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable()
262 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable()
265 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable()
390 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
393 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
414 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
416 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
453 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_interrupt()
462 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_interrupt()
[all …]
Daddi_apci_2032.c47 spinlock_t spinlock; /* protects the following members */ member
146 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cmd()
152 spin_unlock_irqrestore(&subpriv->spinlock, flags); in apci2032_int_cmd()
163 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cancel()
166 spin_unlock_irqrestore(&subpriv->spinlock, flags); in apci2032_int_cancel()
188 spin_lock(&subpriv->spinlock); in apci2032_interrupt()
218 spin_unlock(&subpriv->spinlock); in apci2032_interrupt()
289 spin_lock_init(&subpriv->spinlock); in apci2032_auto_attach()
/drivers/watchdog/
Dof_xilinx_wdt.c47 spinlock_t spinlock; member
57 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
68 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
78 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
87 spin_unlock(&xdev->spinlock); in xilinx_wdt_stop()
98 spin_lock(&xdev->spinlock); in xilinx_wdt_keepalive()
104 spin_unlock(&xdev->spinlock); in xilinx_wdt_keepalive()
129 spin_lock(&xdev->spinlock); in xwdt_selftest()
140 spin_unlock(&xdev->spinlock); in xwdt_selftest()
197 spin_lock_init(&xdev->spinlock); in xwdt_probe()
Dw83977f_wdt.c52 static DEFINE_SPINLOCK(spinlock);
75 spin_lock_irqsave(&spinlock, flags); in wdt_start()
131 spin_unlock_irqrestore(&spinlock, flags); in wdt_start()
146 spin_lock_irqsave(&spinlock, flags); in wdt_stop()
185 spin_unlock_irqrestore(&spinlock, flags); in wdt_stop()
201 spin_lock_irqsave(&spinlock, flags); in wdt_keepalive()
216 spin_unlock_irqrestore(&spinlock, flags); in wdt_keepalive()
262 spin_lock_irqsave(&spinlock, flags); in wdt_get_status()
277 spin_unlock_irqrestore(&spinlock, flags); in wdt_get_status()
Dwdt977.c62 static DEFINE_SPINLOCK(spinlock);
84 spin_lock_irqsave(&spinlock, flags); in wdt977_start()
120 spin_unlock_irqrestore(&spinlock, flags); in wdt977_start()
133 spin_lock_irqsave(&spinlock, flags); in wdt977_stop()
165 spin_unlock_irqrestore(&spinlock, flags); in wdt977_stop()
179 spin_lock_irqsave(&spinlock, flags); in wdt977_keepalive()
194 spin_unlock_irqrestore(&spinlock, flags); in wdt977_keepalive()
237 spin_lock_irqsave(&spinlock, flags); in wdt977_get_status()
252 spin_unlock_irqrestore(&spinlock, flags); in wdt977_get_status()
/drivers/staging/speakup/
Dspeakup_soft.c180 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
182 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
186 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
194 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
197 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
214 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_read()
219 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_read()
229 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_read()
246 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_read()
249 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_read()
[all …]
Dspeakup_apollo.c147 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
149 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
153 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
159 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
164 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
170 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
179 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
183 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
193 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_decext.c165 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
167 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
171 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
174 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
179 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
185 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
193 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
206 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
210 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dsynth.c40 .spinlock = __SPIN_LOCK_UNLOCKED(speakup_info.spinlock),
98 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
100 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
104 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
107 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
112 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
118 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
126 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
130 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
140 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
[all …]
Dkobjects.c38 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_show()
73 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_show()
130 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_store()
215 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_store()
236 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show()
253 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_show()
270 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store()
273 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
280 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
299 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
[all …]
Dspeakup_acntpc.c186 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
192 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
200 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
205 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
217 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
219 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
231 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
234 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_keypc.c188 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
190 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
194 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
197 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
202 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
207 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
221 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
223 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
238 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
241 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_dectlk.c217 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
219 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
235 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
238 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
243 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
250 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
258 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
260 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
271 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
275 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dspeakup_dtlk.c200 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
202 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
205 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
208 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
213 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
218 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
224 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
226 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
232 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
235 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_decpc.c382 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
384 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
388 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
391 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
396 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
402 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
410 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
412 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
423 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
427 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
/drivers/tty/
Dn_hdlc.c127 spinlock_t spinlock; member
386 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
389 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
394 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
447 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
449 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
750 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
757 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
765 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
770 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
[all …]
/drivers/gpio/
Dgpio-ml-ioh.c101 spinlock_t spinlock; member
112 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_set()
120 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_set()
138 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_output()
151 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_output()
162 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_input()
167 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_input()
273 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_type()
313 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_type()
343 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_disable()
[all …]
Dgpio-pch.c106 spinlock_t spinlock; member
115 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set()
123 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set()
141 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output()
154 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_output()
165 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_input()
169 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_input()
256 spin_lock_irqsave(&chip->spinlock, flags); in pch_irq_type()
289 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_irq_type()
395 spin_lock_init(&chip->spinlock); in pch_gpio_probe()
[all …]
/drivers/base/
Ddma-coherent.c18 spinlock_t spinlock; member
54 spin_lock_init(&dma_mem->spinlock); in dma_init_coherent_memory()
135 spin_lock_irqsave(&mem->spinlock, flags); in dma_mark_declared_memory_occupied()
138 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_mark_declared_memory_occupied()
177 spin_lock_irqsave(&mem->spinlock, flags); in dma_alloc_from_coherent()
192 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_alloc_from_coherent()
201 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_alloc_from_coherent()
233 spin_lock_irqsave(&mem->spinlock, flags); in dma_release_from_coherent()
235 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_release_from_coherent()
/drivers/video/fbdev/
Dpxa3xx-gcu.c106 spinlock_t spinlock; member
260 spin_lock(&priv->spinlock); in pxa3xx_gcu_handle_irq()
294 spin_unlock(&priv->spinlock); in pxa3xx_gcu_handle_irq()
415 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_write()
418 spin_unlock_irqrestore(&priv->spinlock, flags); in pxa3xx_gcu_write()
424 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_write()
427 spin_unlock_irqrestore(&priv->spinlock, flags); in pxa3xx_gcu_write()
439 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_write()
455 spin_unlock_irqrestore(&priv->spinlock, flags); in pxa3xx_gcu_write()
469 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_ioctl()
[all …]

1234