/linux-6.1.9/drivers/comedi/drivers/ |
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 …]
|
D | jr3_pci.c | 205 struct jr3_pci_subdev_private *spriv = s->private; in jr3_pci_ai_read_chan() local 208 if (spriv->state != state_jr3_done) in jr3_pci_ai_read_chan() 217 val = get_s16(&spriv->sensor->filter[filter].fx); in jr3_pci_ai_read_chan() 220 val = get_s16(&spriv->sensor->filter[filter].fy); in jr3_pci_ai_read_chan() 223 val = get_s16(&spriv->sensor->filter[filter].fz); in jr3_pci_ai_read_chan() 226 val = get_s16(&spriv->sensor->filter[filter].mx); in jr3_pci_ai_read_chan() 229 val = get_s16(&spriv->sensor->filter[filter].my); in jr3_pci_ai_read_chan() 232 val = get_s16(&spriv->sensor->filter[filter].mz); in jr3_pci_ai_read_chan() 235 val = get_s16(&spriv->sensor->filter[filter].v1); in jr3_pci_ai_read_chan() 238 val = get_s16(&spriv->sensor->filter[filter].v2); in jr3_pci_ai_read_chan() [all …]
|
D | comedi_8255.c | 66 struct subdev_8255_private *spriv = s->private; in subdev_8255_insn() local 67 unsigned long regbase = spriv->regbase; in subdev_8255_insn() 74 spriv->io(dev, 1, I8255_DATA_A_REG, in subdev_8255_insn() 77 spriv->io(dev, 1, I8255_DATA_B_REG, in subdev_8255_insn() 80 spriv->io(dev, 1, I8255_DATA_C_REG, in subdev_8255_insn() 84 v = spriv->io(dev, 0, I8255_DATA_A_REG, 0, regbase); in subdev_8255_insn() 85 v |= (spriv->io(dev, 0, I8255_DATA_B_REG, 0, regbase) << 8); in subdev_8255_insn() 86 v |= (spriv->io(dev, 0, I8255_DATA_C_REG, 0, regbase) << 16); in subdev_8255_insn() 96 struct subdev_8255_private *spriv = s->private; in subdev_8255_do_config() local 97 unsigned long regbase = spriv->regbase; in subdev_8255_do_config() [all …]
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_eth.c | 65 struct l2tp_eth_sess *spriv; in l2tp_eth_dev_uninit() local 67 spriv = l2tp_session_priv(priv->session); in l2tp_eth_dev_uninit() 68 RCU_INIT_POINTER(spriv->dev, NULL); in l2tp_eth_dev_uninit() 127 struct l2tp_eth_sess *spriv = l2tp_session_priv(session); in l2tp_eth_dev_recv() local 143 dev = rcu_dereference(spriv->dev); in l2tp_eth_dev_recv() 166 struct l2tp_eth_sess *spriv; in l2tp_eth_delete() local 170 spriv = l2tp_session_priv(session); in l2tp_eth_delete() 173 dev = rtnl_dereference(spriv->dev); in l2tp_eth_delete() 187 struct l2tp_eth_sess *spriv = l2tp_session_priv(session); in l2tp_eth_show() local 191 dev = rcu_dereference(spriv->dev); in l2tp_eth_show() [all …]
|
/linux-6.1.9/drivers/usb/serial/ |
D | pl2303.c | 245 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_read() local 250 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_read() 274 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_write() local 281 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_write() 300 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_update_reg() local 308 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_update_reg() 471 struct pl2303_serial_private *spriv; in pl2303_startup() local 483 spriv = kzalloc(sizeof(*spriv), GFP_KERNEL); in pl2303_startup() 484 if (!spriv) in pl2303_startup() 487 spriv->type = &pl2303_type_data[type]; in pl2303_startup() [all …]
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-debugfs.c | 448 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_create_endpoint() local 450 if (!spriv) in xhci_debugfs_create_endpoint() 453 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint() 466 spriv->root); in xhci_debugfs_create_endpoint() 467 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint() 475 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_remove_endpoint() local 477 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint() 480 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint() 482 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint() 570 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_create_stream_files() local [all …]
|
/linux-6.1.9/drivers/scsi/ |
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 …]
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 439 struct security_priv *spriv = &padapter->securitypriv; in wpa_set_encryption() local 447 if (spriv->ndisencryptstatus == in wpa_set_encryption() 449 spriv->ndisencryptstatus == in wpa_set_encryption() 451 psta->XPrivacy = spriv->PrivacyAlgrthm; in wpa_set_encryption() 461 if (spriv->ndisencryptstatus == in wpa_set_encryption() 463 spriv->ndisencryptstatus == in wpa_set_encryption() 466 spriv->PrivacyAlgrthm; in wpa_set_encryption()
|