/linux/drivers/clk/mmp/ |
H A D | clk-of-pxa1928.c | 96 static DEFINE_SPINLOCK(reset_lock); 108 … "twsi0_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_TWSI0 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 109 … "twsi1_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_TWSI1 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 110 … "twsi2_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_TWSI2 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 111 … "twsi3_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_TWSI3 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 112 … "twsi4_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_TWSI4 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 113 … "twsi5_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_TWSI5 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 114 …O, "gpio_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_GPIO * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 117 …0, "pwm0_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_PWM0 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, 118 …1, "pwm1_clk", "vctcxo", CLK_SET_RATE_PARENT, PXA1928_CLK_PWM1 * 4, 0x3, 0x3, 0x0, 0, &reset_lock}, [all …]
|
H A D | clk-of-mmp2.c | 236 static DEFINE_SPINLOCK(reset_lock); 251 …_CLK_TWSI0, "twsi0_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_TWSI0, 0x7, 0x3, 0x0, 0, &reset_lock}, 252 …_CLK_TWSI1, "twsi1_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_TWSI1, 0x7, 0x3, 0x0, 0, &reset_lock}, 253 …_CLK_TWSI2, "twsi2_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_TWSI2, 0x7, 0x3, 0x0, 0, &reset_lock}, 254 …_CLK_TWSI3, "twsi3_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_TWSI3, 0x7, 0x3, 0x0, 0, &reset_lock}, 255 …_CLK_TWSI4, "twsi4_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_TWSI4, 0x7, 0x3, 0x0, 0, &reset_lock}, 256 …_CLK_TWSI5, "twsi5_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_TWSI5, 0x7, 0x3, 0x0, 0, &reset_lock}, 257 …MP2_CLK_GPIO, "gpio_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_GPIO, 0x7, 0x3, 0x0, 0, &reset_lock}, 258 …clk", "clk32", CLK_SET_RATE_PARENT, APBC_KPC, 0x7, 0x3, 0x0, MMP_CLK_GATE_NEED_DELAY, &reset_lock}, 259 …k", "clk32", CLK_SET_RATE_PARENT, APBC_RTC, 0x87, 0x83, 0x0, MMP_CLK_GATE_NEED_DELAY, &reset_lock}, [all …]
|
H A D | clk-of-pxa910.c | 125 static DEFINE_SPINLOCK(reset_lock); 141 …TWSI0, "twsi0_clk", "pll1_13_1_5", CLK_SET_RATE_PARENT, APBC_TWSI0, 0x3, 0x3, 0x0, 0, &reset_lock}, 142 …910_CLK_GPIO, "gpio_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_GPIO, 0x3, 0x3, 0x0, 0, &reset_lock}, 145 …10_CLK_PWM0, "pwm0_clk", "pll1_48", CLK_SET_RATE_PARENT, APBC_PWM0, 0x3, 0x3, 0x0, 0, &reset_lock}, 146 …10_CLK_PWM1, "pwm1_clk", "pll1_48", CLK_SET_RATE_PARENT, APBC_PWM1, 0x3, 0x3, 0x0, 0, &reset_lock}, 147 …10_CLK_PWM2, "pwm2_clk", "pll1_48", CLK_SET_RATE_PARENT, APBC_PWM2, 0x3, 0x3, 0x0, 0, &reset_lock}, 148 …10_CLK_PWM3, "pwm3_clk", "pll1_48", CLK_SET_RATE_PARENT, APBC_PWM3, 0x3, 0x3, 0x0, 0, &reset_lock}, 159 …WSI1, "twsi1_clk", "pll1_13_1_5", CLK_SET_RATE_PARENT, APBCP_TWSI1, 0x3, 0x3, 0x0, 0, &reset_lock},
|
H A D | clk-of-pxa168.c | 160 static DEFINE_SPINLOCK(reset_lock); 184 …168_CLK_GPIO, "gpio_clk", "vctcxo", CLK_SET_RATE_PARENT, APBC_GPIO, 0x1, 0x1, 0x0, 0, &reset_lock},
|
/linux/drivers/pci/hotplug/ |
H A D | pciehp_pci.c | 71 up_read(&ctrl->reset_lock); in pciehp_configure_device() 73 down_read_nested(&ctrl->reset_lock, ctrl->depth); in pciehp_configure_device() 123 up_read(&ctrl->reset_lock); in pciehp_unconfigure_device() 125 down_read_nested(&ctrl->reset_lock, ctrl->depth); in pciehp_unconfigure_device()
|
H A D | pciehp_core.c | 170 down_read_nested(&ctrl->reset_lock, ctrl->depth); in pciehp_check_presence() 181 up_read(&ctrl->reset_lock); in pciehp_check_presence()
|
H A D | pciehp.h | 114 struct rw_semaphore reset_lock; member
|
/linux/drivers/accel/ivpu/ |
H A D | ivpu_pm.c | 136 down_write(&vdev->pm->reset_lock); in ivpu_pm_recovery_work() 147 up_write(&vdev->pm->reset_lock); in ivpu_pm_recovery_work() 332 down_write(&vdev->pm->reset_lock); in ivpu_pm_reset_prepare_cb() 351 up_write(&vdev->pm->reset_lock); in ivpu_pm_reset_done_cb() 367 init_rwsem(&pm->reset_lock); in ivpu_pm_init()
|
H A D | ivpu_pm.h | 18 struct rw_semaphore reset_lock; member
|
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 110 struct mutex reset_lock; member 461 lockdep_assert_held(&ihid->reset_lock); in i2c_hid_start_hwreset() 694 mutex_lock(&ihid->reset_lock); in i2c_hid_output_raw_report() 710 mutex_unlock(&ihid->reset_lock); in i2c_hid_output_raw_report() 755 mutex_lock(&ihid->reset_lock); in i2c_hid_parse() 763 mutex_unlock(&ihid->reset_lock); in i2c_hid_parse() 1007 mutex_lock(&ihid->reset_lock); in i2c_hid_core_resume() 1011 mutex_unlock(&ihid->reset_lock); in i2c_hid_core_resume() 1229 mutex_init(&ihid->reset_lock); in i2c_hid_core_probe()
|
/linux/drivers/vfio/pci/mlx5/ |
H A D | main.c | 1216 spin_lock(&mvdev->reset_lock); in mlx5vf_state_mutex_unlock() 1219 spin_unlock(&mvdev->reset_lock); in mlx5vf_state_mutex_unlock() 1225 spin_unlock(&mvdev->reset_lock); in mlx5vf_state_mutex_unlock() 1304 spin_lock(&mvdev->reset_lock); in mlx5vf_pci_aer_reset_done() 1307 spin_unlock(&mvdev->reset_lock); in mlx5vf_pci_aer_reset_done() 1310 spin_unlock(&mvdev->reset_lock); in mlx5vf_pci_aer_reset_done()
|
H A D | cmd.h | 184 spinlock_t reset_lock; member
|
H A D | cmd.c | 257 spin_lock_init(&mvdev->reset_lock); in mlx5vf_cmd_set_migratable()
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac.h | 377 struct mutex reset_lock; member
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_sched.c | 689 mutex_lock(&v3d->reset_lock); in v3d_gpu_reset_for_timeout() 709 mutex_unlock(&v3d->reset_lock); in v3d_gpu_reset_for_timeout()
|
H A D | v3d_drv.h | 169 struct mutex reset_lock; member
|
/linux/drivers/scsi/ |
H A D | hpsa.h | 313 spinlock_t reset_lock; member
|
H A D | hpsa.c | 1937 spin_lock_irqsave(&h->reset_lock, flags); in adjust_hpsa_scsi_table() 1940 spin_unlock_irqrestore(&h->reset_lock, flags); in adjust_hpsa_scsi_table() 1943 spin_unlock_irqrestore(&h->reset_lock, flags); in adjust_hpsa_scsi_table() 5807 spin_lock_irqsave(&h->reset_lock, flags); in hpsa_scan_start() 5810 spin_unlock_irqrestore(&h->reset_lock, flags); in hpsa_scan_start() 5814 spin_unlock_irqrestore(&h->reset_lock, flags); in hpsa_scan_start() 6039 spin_lock_irqsave(&h->reset_lock, flags); in hpsa_eh_device_reset_handler() 6041 spin_unlock_irqrestore(&h->reset_lock, flags); in hpsa_eh_device_reset_handler() 6119 spin_lock_irqsave(&h->reset_lock, flags); in hpsa_eh_device_reset_handler() 6123 spin_unlock_irqrestore(&h->reset_lock, flags); in hpsa_eh_device_reset_handler() [all …]
|