Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm-chip.c158 down_read(&chip->ops_sem); in tpm_try_get_ops()
171 up_read(&chip->ops_sem); in tpm_try_get_ops()
188 up_read(&chip->ops_sem); in tpm_put_ops()
290 down_write(&chip->ops_sem); in tpm_class_shutdown()
298 up_write(&chip->ops_sem); in tpm_class_shutdown()
324 init_rwsem(&chip->ops_sem); in tpm_chip_alloc()
446 down_write(&chip->ops_sem); in tpm_del_char_device()
454 up_write(&chip->ops_sem); in tpm_del_char_device()
/kernel/linux/linux-5.10/include/linux/
Dtpm.h122 struct rw_semaphore ops_sem; member