Home
last modified time | relevance | path

Searched refs:osem (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/input/serio/
H A Dhp_sdc_mlc.c187 BUG_ON(down_trylock(&mlc->osem)); in hp_sdc_mlc_cts()
190 up(&mlc->osem); in hp_sdc_mlc_cts()
217 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_cts()
229 BUG_ON(down_trylock(&mlc->osem)); in hp_sdc_mlc_out()
236 up(&mlc->osem); in hp_sdc_mlc_out()
245 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_out()
286 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_out()
316 hp_sdc_mlc_priv.trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_init()
H A Dhil_mlc.c695 if (down_trylock(&mlc->osem)) { in hilse_donode()
699 up(&mlc->osem); in hilse_donode()
926 sema_init(&mlc->osem, 1); in hil_mlc_register()
/openbmc/linux/include/linux/
H A Dhil_mlc.h139 struct semaphore osem; /* Raised when outpacket dispatched */ member