Lines Matching full:spinlock
163 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
165 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
167 /* Allocating the memory here while outside of the spinlock */ in tmc_enable_etf_sink_sysfs()
173 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
216 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
218 /* Free memory outside the spinlock if need be */ in tmc_enable_etf_sink_sysfs()
234 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
277 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
312 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
315 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
320 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
331 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
345 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_link()
347 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_link()
360 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_link()
374 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_link()
376 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_link()
385 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_link()
465 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_update_etf_buffer()
562 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_update_etf_buffer()
600 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_prepare_etb()
632 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_prepare_etb()
648 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
655 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
678 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
681 * Free allocated memory outside of the spinlock. There is no need in tmc_read_unprepare_etb()