Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/include/linux/
Dtpm.h129 struct rw_semaphore ops_sem; member