Searched refs:pincfg_mux (Results 1 – 4 of 4) sorted by relevance
185 mutex_destroy(&ptp->pincfg_mux); in ptp_clock_release()232 mutex_init(&ptp->pincfg_mux); in ptp_clock_register()297 mutex_destroy(&ptp->pincfg_mux); in ptp_clock_register()365 mutex_lock(&ptp->pincfg_mux); in ptp_find_pin()373 mutex_unlock(&ptp->pincfg_mux); in ptp_find_pin()
235 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_pin_show()241 mutex_unlock(&ptp->pincfg_mux); in ptp_pin_show()261 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_pin_store()264 mutex_unlock(&ptp->pincfg_mux); in ptp_pin_store()
256 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()259 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()275 if (mutex_lock_interruptible(&ptp->pincfg_mux)) in ptp_ioctl()278 mutex_unlock(&ptp->pincfg_mux); in ptp_ioctl()
52 struct mutex pincfg_mux; /* protect concurrent info->pin_config access */ member