Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dpcmuio.c117 spinlock_t pagelock; /* protects the page registers */ member
160 spin_lock_irqsave(&chip->pagelock, flags); in pcmuio_write()
172 spin_unlock_irqrestore(&chip->pagelock, flags); in pcmuio_write()
184 spin_lock_irqsave(&chip->pagelock, flags); in pcmuio_read()
196 spin_unlock_irqrestore(&chip->pagelock, flags); in pcmuio_read()
539 spin_lock_init(&chip->pagelock); in pcmuio_attach()
H A Dpcmmio.c178 spinlock_t pagelock; /* protects the page registers */ member
191 spin_lock_irqsave(&devpriv->pagelock, flags); in pcmmio_dio_write()
203 spin_unlock_irqrestore(&devpriv->pagelock, flags); in pcmmio_dio_write()
214 spin_lock_irqsave(&devpriv->pagelock, flags); in pcmmio_dio_read()
226 spin_unlock_irqrestore(&devpriv->pagelock, flags); in pcmmio_dio_read()
678 spin_lock_init(&devpriv->pagelock); in pcmmio_attach()