Searched refs:subpriv (Results 1 – 2 of 2) sorted by relevance
224 struct dio200_subdev_intr *subpriv = s->private; in dio200_subdev_intr_insn_bits() local228 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() local243 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() local264 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 …]
70 struct apci2032_int_private *subpriv = s->private; in apci2032_int_stop() local72 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() local137 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() local154 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cancel()[all …]