Searched refs:mfgpt (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/misc/
H A Dcs5535-mfgpt.c23 #define DRV_NAME "cs5535-mfgpt"
150 struct cs5535_mfgpt_chip *mfgpt = &cs5535_mfgpt_chip; cs5535_mfgpt_alloc_timer() local
155 if (!mfgpt->initialized) cs5535_mfgpt_alloc_timer()
170 spin_lock_irqsave(&mfgpt->lock, flags); cs5535_mfgpt_alloc_timer()
175 t = find_first_bit(mfgpt->avail, max); cs5535_mfgpt_alloc_timer()
180 if (!test_bit(timer_nr, mfgpt->avail)) cs5535_mfgpt_alloc_timer()
186 __clear_bit(timer_nr, mfgpt->avail); cs5535_mfgpt_alloc_timer()
187 spin_unlock_irqrestore(&mfgpt->lock, flags); cs5535_mfgpt_alloc_timer()
195 spin_lock_irqsave(&mfgpt->lock, flags); cs5535_mfgpt_alloc_timer()
196 __set_bit(timer_nr, mfgpt->avail); cs5535_mfgpt_alloc_timer()
197 spin_unlock_irqrestore(&mfgpt->lock, flags); cs5535_mfgpt_alloc_timer()
200 timer->chip = mfgpt; cs5535_mfgpt_alloc_timer()
202 dev_info(&mfgpt->pdev->dev, "registered timer %d\n", timer_nr); cs5535_mfgpt_alloc_timer()
290 static int scan_timers(struct cs5535_mfgpt_chip *mfgpt) scan_timers() argument
292 struct cs5535_mfgpt_timer timer = { .chip = mfgpt }; scan_timers()
305 spin_lock_irqsave(&mfgpt->lock, flags); scan_timers()
310 __set_bit(i, mfgpt->avail); scan_timers()
314 spin_unlock_irqrestore(&mfgpt->lock, flags); scan_timers()
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/cs5536/
H A Dcs5536_mfgpt.h2 * cs5536 mfgpt header file
/linux-4.4.14/arch/mips/loongson64/common/cs5536/
H A Dcs5536_mfgpt.c78 .name = "mfgpt",
195 .name = "mfgpt",
H A Dcs5536_isa.c320 * The mfgpt timer interrupt is running early, so we must keep the south bridge
/linux-4.4.14/drivers/mfd/
H A Dcs5535-mfd.c90 .name = "cs5535-mfgpt",

Completed in 146 milliseconds