Searched refs:pincfg_mux (Results 1 – 4 of 4) sorted by relevance
182 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()185 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()250 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()253 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()264 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()267 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()386 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()389 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()418 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()421 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()
176 mutex_destroy(&ptp->pincfg_mux); in ptp_clock_release()233 mutex_init(&ptp->pincfg_mux); in ptp_clock_register()334 mutex_destroy(&ptp->pincfg_mux); in ptp_clock_register()432 mutex_lock(&ptp->pincfg_mux); in ptp_find_pin_unlocked()436 mutex_unlock(&ptp->pincfg_mux); in ptp_find_pin_unlocked()
400 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_pin_show()406 mutex_unlock(&ptp->pincfg_mux); in ptp_pin_show()426 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_pin_store()429 mutex_unlock(&ptp->pincfg_mux); in ptp_pin_store()
40 struct mutex pincfg_mux; /* protect concurrent info->pin_config access */ member