Searched refs:rlock (Results 1 – 7 of 7) sorted by relevance
/drivers/irqchip/ |
D | irq-imx-gpcv2.c | 22 struct raw_spinlock rlock; member 80 raw_spin_lock_irqsave(&cd->rlock, flags); in imx_gpcv2_irq_set_wake() 85 raw_spin_unlock_irqrestore(&cd->rlock, flags); in imx_gpcv2_irq_set_wake() 101 raw_spin_lock(&cd->rlock); in imx_gpcv2_irq_unmask() 106 raw_spin_unlock(&cd->rlock); in imx_gpcv2_irq_unmask() 117 raw_spin_lock(&cd->rlock); in imx_gpcv2_irq_mask() 122 raw_spin_unlock(&cd->rlock); in imx_gpcv2_irq_mask() 236 raw_spin_lock_init(&cd->rlock); in imx_gpcv2_irqchip_init()
|
D | irq-stm32-exti.c | 57 struct raw_spinlock rlock; member 465 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_eoi() 471 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_eoi() 482 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_mask() 484 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_mask() 495 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_unmask() 497 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_unmask() 512 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_type() 536 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_set_type() 546 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_wake() [all …]
|
/drivers/clk/st/ |
D | clk-flexgen.c | 317 spinlock_t *rlock = NULL; in st_of_flexgen_setup() local 363 rlock = kzalloc(sizeof(spinlock_t), GFP_KERNEL); in st_of_flexgen_setup() 364 if (!rlock) in st_of_flexgen_setup() 367 spin_lock_init(rlock); in st_of_flexgen_setup() 388 reg, rlock, i, flex_flags, clk_mode); in st_of_flexgen_setup() 407 kfree(rlock); in st_of_flexgen_setup()
|
/drivers/usb/class/ |
D | cdc-wdm.c | 99 struct mutex rlock; member 513 rv = mutex_lock_interruptible(&desc->rlock); /*concurrent reads */ in wdm_read() 610 mutex_unlock(&desc->rlock); in wdm_read() 861 mutex_init(&desc->rlock); in wdm_create() 1051 mutex_lock(&desc->rlock); in wdm_disconnect() 1057 mutex_unlock(&desc->rlock); in wdm_disconnect() 1081 mutex_lock(&desc->rlock); in wdm_suspend() 1103 mutex_unlock(&desc->rlock); in wdm_suspend() 1155 mutex_lock(&desc->rlock); in wdm_pre_reset() 1173 mutex_unlock(&desc->rlock); in wdm_post_reset()
|
/drivers/net/wan/ |
D | cosa.c | 114 struct mutex rlock; member 562 mutex_init(&chan->rlock); in cosa_probe() 783 if (mutex_lock_interruptible(&chan->rlock)) in cosa_read() 788 mutex_unlock(&chan->rlock); in cosa_read() 806 mutex_unlock(&chan->rlock); in cosa_read() 815 mutex_unlock(&chan->rlock); in cosa_read()
|
/drivers/net/ppp/ |
D | ppp_generic.c | 120 spinlock_t rlock; /* lock for receive side 58 */ member 370 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock) 371 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock) 1127 spin_lock_init(&ppp->rlock); in ppp_dev_configure()
|
/drivers/clk/ |
D | clk-stm32mp1.c | 20 static DEFINE_SPINLOCK(rlock); 2076 err = stm32_register_hw_clk(NULL, clk_data, base, &rlock, in stm32_rcc_init()
|