Lines Matching full:spinlock

185 	spin_lock_irqsave(&drvdata->spinlock, flags);  in tmc_enable_etf_sink_sysfs()
187 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
189 /* Allocating the memory here while outside of the spinlock */ in tmc_enable_etf_sink_sysfs()
195 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
238 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
240 /* Free memory outside the spinlock if need be */ in tmc_enable_etf_sink_sysfs()
256 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
299 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
334 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
337 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
343 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
354 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
369 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_link()
371 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_link()
384 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_link()
399 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_link()
401 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_link()
411 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_link()
491 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_update_etf_buffer()
588 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_update_etf_buffer()
626 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_prepare_etb()
658 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_prepare_etb()
675 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
682 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
696 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
709 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_unprepare_etb()
712 * Free allocated memory outside of the spinlock. There is no need in tmc_read_unprepare_etb()