Home
last modified time | relevance | path

Searched refs:xfer_lock (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/power/supply/
Dlp8727_charger.c87 struct mutex xfer_lock; member
105 mutex_lock(&pchg->xfer_lock); in lp8727_read_bytes()
107 mutex_unlock(&pchg->xfer_lock); in lp8727_read_bytes()
121 mutex_lock(&pchg->xfer_lock); in lp8727_write_byte()
123 mutex_unlock(&pchg->xfer_lock); in lp8727_write_byte()
569 mutex_init(&pchg->xfer_lock); in lp8727_probe()
/linux-6.1.9/drivers/firmware/arm_scmi/
Ddriver.c90 spinlock_t xfer_lock; member
363 spin_lock_irqsave(&minfo->xfer_lock, flags); in scmi_xfer_get()
365 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in scmi_xfer_get()
398 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in scmi_xfer_get()
419 spin_lock_irqsave(&minfo->xfer_lock, flags); in __scmi_xfer_put()
428 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in __scmi_xfer_put()
573 spin_lock_irqsave(&minfo->xfer_lock, flags); in scmi_xfer_command_acquire()
579 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in scmi_xfer_command_acquire()
583 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in scmi_xfer_command_acquire()
1943 spin_lock_init(&info->xfer_lock); in __scmi_xfer_info_init()
/linux-6.1.9/drivers/firmware/
Dti_sci.c65 spinlock_t xfer_lock; member
335 spin_lock_irqsave(&minfo->xfer_lock, flags); in ti_sci_get_one_xfer()
339 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in ti_sci_get_one_xfer()
390 spin_lock_irqsave(&minfo->xfer_lock, flags); in ti_sci_put_one_xfer()
392 spin_unlock_irqrestore(&minfo->xfer_lock, flags); in ti_sci_put_one_xfer()
3433 spin_lock_init(&minfo->xfer_lock); in ti_sci_probe()