Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/comedi/drivers/
Damplc_dio200_common.c170 struct dio200_subdev_intr *subpriv = s->private; in dio200_subdev_intr_insn_bits() local
174 data[1] = dio200_read8(dev, subpriv->ofs) & subpriv->valid_isns; in dio200_subdev_intr_insn_bits()
187 struct dio200_subdev_intr *subpriv = s->private; in dio200_stop_intr() local
189 subpriv->active = false; in dio200_stop_intr()
190 subpriv->enabled_isns = 0; in dio200_stop_intr()
192 dio200_write8(dev, subpriv->ofs, 0); in dio200_stop_intr()
199 struct dio200_subdev_intr *subpriv = s->private; in dio200_start_intr() local
210 isn_bits &= subpriv->valid_isns; in dio200_start_intr()
212 subpriv->enabled_isns = isn_bits; in dio200_start_intr()
214 dio200_write8(dev, subpriv->ofs, isn_bits); in dio200_start_intr()
[all …]
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 …]