Lines Matching refs:semaphore
204 * @exchange_lock: semaphore used for signaling the st95hf_remove
225 struct semaphore exchange_lock;
780 * check semaphore, if not down() already, then we don't
782 * will be a bug. Note that down() of the semaphore is done
785 * semaphore before leaving. Hence when the ISR is called
787 * return 1 (indicating semaphore cant be taken and hence no
788 * change in semaphore count).
789 * If not, then we up() the semaphore and crash on
849 /* up the semaphore before returning */
862 /* up the semaphore before returning */
958 * down the semaphore to indicate to remove func that an
974 /* up the semaphore since ISR will never come in this case */
1217 dev_err(&spictx->spidev->dev, "sleep for semaphore interrupted by signal\n");