Home
last modified time | relevance | path

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

/linux/drivers/comedi/drivers/
H A Damplc_dio200_common.c224 struct dio200_subdev_intr *subpriv = s->private; in dio200_subdev_intr_insn_bits() local
228 data[1] = dio200_read8(dev, subpriv->ofs) & subpriv->valid_isns; in dio200_subdev_intr_insn_bits()
241 struct dio200_subdev_intr *subpriv = s->private; in dio200_stop_intr() local
243 subpriv->active = false; in dio200_stop_intr()
244 subpriv->enabled_isns = 0; in dio200_stop_intr()
246 dio200_write8(dev, subpriv->ofs, 0); in dio200_stop_intr()
253 struct dio200_subdev_intr *subpriv = s->private; in dio200_start_intr() local
264 isn_bits &= subpriv->valid_isns; in dio200_start_intr()
266 subpriv->enabled_isns = isn_bits; in dio200_start_intr()
268 dio200_write8(dev, subpriv->ofs, isn_bits); in dio200_start_intr()
[all …]
H A Daddi_apci_2032.c70 struct apci2032_int_private *subpriv = s->private; in apci2032_int_stop() local
72 subpriv->active = false; in apci2032_int_stop()
73 subpriv->enabled_isns = 0; in apci2032_int_stop()
128 struct apci2032_int_private *subpriv = s->private; in apci2032_int_cmd() local
137 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cmd()
139 subpriv->enabled_isns = enabled_isns; in apci2032_int_cmd()
140 subpriv->active = true; in apci2032_int_cmd()
143 spin_unlock_irqrestore(&subpriv->spinlock, flags); in apci2032_int_cmd()
151 struct apci2032_int_private *subpriv = s->private; in apci2032_int_cancel() local
154 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cancel()
[all …]