Searched refs:subpriv (Results 1 – 2 of 2) sorted by relevance
174 data[1] = dio200_read8(dev, subpriv->ofs) & subpriv->valid_isns; in dio200_subdev_intr_insn_bits()189 subpriv->active = false; in dio200_stop_intr()230 if (subpriv->active) in dio200_inttrig_start_intr()310 if (subpriv->active) { in dio200_handle_read_intr()338 if (subpriv->active) in dio200_subdev_intr_cancel()425 subpriv = comedi_alloc_spriv(s, sizeof(*subpriv)); in dio200_subdev_intr_init()426 if (!subpriv) in dio200_subdev_intr_init()429 subpriv->ofs = offset; in dio200_subdev_intr_init()680 subpriv = comedi_alloc_spriv(s, sizeof(*subpriv)); in dio200_subdev_8255_init()681 if (!subpriv) in dio200_subdev_8255_init()[all …]
72 subpriv->active = false; in apci2032_int_stop()73 subpriv->enabled_isns = 0; in apci2032_int_stop()140 subpriv->active = true; in apci2032_int_cmd()155 if (subpriv->active) in apci2032_int_cancel()178 subpriv = s->private; in apci2032_interrupt()179 spin_lock(&subpriv->spinlock); in apci2032_interrupt()190 if (subpriv->active && (val & subpriv->enabled_isns) != 0) { in apci2032_interrupt()209 spin_unlock(&subpriv->spinlock); in apci2032_interrupt()277 subpriv = kzalloc(sizeof(*subpriv), GFP_KERNEL); in apci2032_auto_attach()278 if (!subpriv) in apci2032_auto_attach()[all …]