Home
last modified time | relevance | path

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

/linux-5.19.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()
462 up_write(&chip->ops_sem); in tpm_del_char_device()
/linux-5.19.10/include/linux/
Dtpm.h129 struct rw_semaphore ops_sem; member