Home
last modified time | relevance | path

Searched refs:spriv (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/staging/comedi/drivers/
Daddi_watchdog.c37 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 …]
Djr3_pci.c219 struct jr3_pci_subdev_private *spriv = s->private; in jr3_pci_ai_read_chan() local
222 if (spriv->state != state_jr3_done) in jr3_pci_ai_read_chan()
231 val = get_s16(&spriv->sensor->filter[filter].fx); in jr3_pci_ai_read_chan()
234 val = get_s16(&spriv->sensor->filter[filter].fy); in jr3_pci_ai_read_chan()
237 val = get_s16(&spriv->sensor->filter[filter].fz); in jr3_pci_ai_read_chan()
240 val = get_s16(&spriv->sensor->filter[filter].mx); in jr3_pci_ai_read_chan()
243 val = get_s16(&spriv->sensor->filter[filter].my); in jr3_pci_ai_read_chan()
246 val = get_s16(&spriv->sensor->filter[filter].mz); in jr3_pci_ai_read_chan()
249 val = get_s16(&spriv->sensor->filter[filter].v1); in jr3_pci_ai_read_chan()
252 val = get_s16(&spriv->sensor->filter[filter].v2); in jr3_pci_ai_read_chan()
[all …]
Dcomedi_8255.c67 struct subdev_8255_private *spriv = s->private; in subdev_8255_insn() local
68 unsigned long regbase = spriv->regbase; in subdev_8255_insn()
75 spriv->io(dev, 1, I8255_DATA_A_REG, in subdev_8255_insn()
78 spriv->io(dev, 1, I8255_DATA_B_REG, in subdev_8255_insn()
81 spriv->io(dev, 1, I8255_DATA_C_REG, in subdev_8255_insn()
85 v = spriv->io(dev, 0, I8255_DATA_A_REG, 0, regbase); in subdev_8255_insn()
86 v |= (spriv->io(dev, 0, I8255_DATA_B_REG, 0, regbase) << 8); in subdev_8255_insn()
87 v |= (spriv->io(dev, 0, I8255_DATA_C_REG, 0, regbase) << 16); in subdev_8255_insn()
97 struct subdev_8255_private *spriv = s->private; in subdev_8255_do_config() local
98 unsigned long regbase = spriv->regbase; in subdev_8255_do_config()
[all …]
/Linux-v5.10/net/l2tp/
Dl2tp_eth.c65 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-v5.10/drivers/usb/serial/
Dpl2303.c218 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_read() local
223 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_read()
247 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_write() local
254 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_write()
273 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_update_reg() local
281 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_update_reg()
365 struct pl2303_serial_private *spriv; in pl2303_startup() local
370 spriv = kzalloc(sizeof(*spriv), GFP_KERNEL); in pl2303_startup()
371 if (!spriv) in pl2303_startup()
376 kfree(spriv); in pl2303_startup()
[all …]
/Linux-v5.10/drivers/usb/host/
Dxhci-debugfs.c442 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_create_endpoint() local
444 if (!spriv) in xhci_debugfs_create_endpoint()
447 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
460 spriv->root); in xhci_debugfs_create_endpoint()
461 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
469 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_remove_endpoint() local
471 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
474 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
476 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
564 struct xhci_slot_priv *spriv = dev->debugfs_private; in xhci_debugfs_create_stream_files() local
[all …]
/Linux-v5.10/drivers/scsi/
Desp_scsi.c374 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-v5.10/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c441 struct security_priv *spriv = &padapter->securitypriv; in wpa_set_encryption() local
449 if (spriv->ndisencryptstatus == in wpa_set_encryption()
451 spriv->ndisencryptstatus == in wpa_set_encryption()
453 psta->XPrivacy = spriv->PrivacyAlgrthm; in wpa_set_encryption()
463 if (spriv->ndisencryptstatus == in wpa_set_encryption()
465 spriv->ndisencryptstatus == in wpa_set_encryption()
468 spriv->PrivacyAlgrthm; in wpa_set_encryption()