Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpio-ws16c48.c114 static int ws16c48_handle_pre_irq(void *const irq_drv_data) __acquires(&ws16c48gpio->lock) in ws16c48_handle_pre_irq()
116 struct ws16c48_gpio *const ws16c48gpio = irq_drv_data; in ws16c48_handle_pre_irq() local
119 raw_spin_lock(&ws16c48gpio->lock); in ws16c48_handle_pre_irq()
124 static int ws16c48_handle_post_irq(void *const irq_drv_data) __releases(&ws16c48gpio->lock) in ws16c48_handle_post_irq()
126 struct ws16c48_gpio *const ws16c48gpio = irq_drv_data; in ws16c48_handle_post_irq() local
128 raw_spin_unlock(&ws16c48gpio->lock); in ws16c48_handle_post_irq()
136 struct ws16c48_gpio *const ws16c48gpio = irq_drv_data; in ws16c48_handle_mask_sync() local
140 raw_spin_lock_irqsave(&ws16c48gpio->lock, flags); in ws16c48_handle_mask_sync()
143 if (mask_buf == ws16c48gpio->irq_mask[index]) in ws16c48_handle_mask_sync()
145 ws16c48gpio->irq_mask[index] = mask_buf; in ws16c48_handle_mask_sync()
[all …]