Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dadl_pci7x3x.c135 unsigned long reg = sd_priv->port_offset; in process_irq()
141 spin_lock(&sd_priv->subd_slock); in process_irq()
142 if (sd_priv->cmd_running) in process_irq()
144 spin_unlock(&sd_priv->subd_slock); in process_irq()
247 sd_priv->cmd_running = 1; in adl_pci7x3x_asy_cmd()
262 sd_priv->cmd_running = 0; in adl_pci7x3x_asy_cancel()
475 sd_priv = comedi_alloc_spriv(s, sizeof(*sd_priv)); in adl_pci7x3x_auto_attach()
476 if (!sd_priv) in adl_pci7x3x_auto_attach()
479 spin_lock_init(&sd_priv->subd_slock); in adl_pci7x3x_auto_attach()
480 sd_priv->port_offset = PCI7X3X_DIO_REG; in adl_pci7x3x_auto_attach()
[all …]
H A Dadv_pci_dio.c242 unsigned long reg = sd_priv->port_offset; in process_irq()
248 spin_lock(&sd_priv->subd_slock); in process_irq()
249 if (sd_priv->cmd_running) in process_irq()
251 spin_unlock(&sd_priv->subd_slock); in process_irq()
362 sd_priv->cmd_running = 1; in pci_dio_asy_cmd()
378 sd_priv->cmd_running = 0; in pci_dio_asy_cancel()
689 sd_priv = comedi_alloc_spriv(s, sizeof(*sd_priv)); in pci_dio_auto_attach()
690 if (!sd_priv) in pci_dio_auto_attach()
693 spin_lock_init(&sd_priv->subd_slock); in pci_dio_auto_attach()
694 sd_priv->port_offset = d->addr; in pci_dio_auto_attach()
[all …]