Searched refs:spriv (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/comedi/drivers/ |
| H A D | addi_watchdog.c | 37 struct addi_watchdog_private *spriv = s->private; in addi_watchdog_insn_config() local 42 spriv->wdog_ctrl = ADDI_TCW_CTRL_ENA; in addi_watchdog_insn_config() 44 outl(reload, spriv->iobase + ADDI_TCW_RELOAD_REG); in addi_watchdog_insn_config() 51 spriv->wdog_ctrl = 0; in addi_watchdog_insn_config() 57 outl(spriv->wdog_ctrl, spriv->iobase + ADDI_TCW_CTRL_REG); in addi_watchdog_insn_config() 67 struct addi_watchdog_private *spriv = s->private; in addi_watchdog_insn_read() local 71 data[i] = inl(spriv->iobase + ADDI_TCW_STATUS_REG); in addi_watchdog_insn_read() 81 struct addi_watchdog_private *spriv = s->private; in addi_watchdog_insn_write() local 84 if (spriv->wdog_ctrl == 0) { in addi_watchdog_insn_write() 91 outl(spriv->wdog_ctrl | ADDI_TCW_CTRL_TRIG, in addi_watchdog_insn_write() [all …]
|
| H A D | comedi_8255.c | 70 struct subdev_8255_private *spriv = s->private; in subdev_8255_insn() local 71 unsigned long context = spriv->context; in subdev_8255_insn() 78 spriv->io(dev, 1, I8255_DATA_A_REG, in subdev_8255_insn() 81 spriv->io(dev, 1, I8255_DATA_B_REG, in subdev_8255_insn() 84 spriv->io(dev, 1, I8255_DATA_C_REG, in subdev_8255_insn() 88 v = spriv->io(dev, 0, I8255_DATA_A_REG, 0, context); in subdev_8255_insn() 89 v |= (spriv->io(dev, 0, I8255_DATA_B_REG, 0, context) << 8); in subdev_8255_insn() 90 v |= (spriv->io(dev, 0, I8255_DATA_C_REG, 0, context) << 16); in subdev_8255_insn() 100 struct subdev_8255_private *spriv = s->private; in subdev_8255_do_config() local 101 unsigned long context = spriv->context; in subdev_8255_do_config() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | xhci-debugfs.c | 471 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_create_endpoint() local 473 if (!spriv) in xhci_debugfs_create_endpoint() 476 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint() 489 spriv->root); in xhci_debugfs_create_endpoint() 490 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint() 498 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_remove_endpoint() local 500 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint() 503 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint() 505 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint() 593 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_create_stream_files() local [all …]
|
| /linux/drivers/scsi/ |
| H A D | esp_scsi.c | 374 struct esp_cmd_priv *spriv = ESP_CMD_PRIV(cmd); in esp_map_dma() local 387 spriv->num_sg = scsi_sg_count(cmd); in esp_map_dma() 389 scsi_for_each_sg(cmd, s, spriv->num_sg, i) { in esp_map_dma() 394 spriv->num_sg = scsi_dma_map(cmd); in esp_map_dma() 395 scsi_for_each_sg(cmd, s, spriv->num_sg, i) in esp_map_dma() 398 spriv->cur_residue = sg_dma_len(sg); in esp_map_dma() 399 spriv->prv_sg = NULL; in esp_map_dma() 400 spriv->cur_sg = sg; in esp_map_dma() 401 spriv->tot_residue = total; in esp_map_dma() 468 struct esp_cmd_priv *spriv = ESP_CMD_PRIV(cmd); in esp_save_pointers() local [all …]
|