Home
last modified time | relevance | path

Searched refs:sfile (Results 1 – 5 of 5) sorted by relevance

/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c13 static void *adf_ring_start(struct seq_file *sfile, loff_t *pos) in adf_ring_start() argument
15 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_start()
29 static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos) in adf_ring_next() argument
31 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_next()
41 static int adf_ring_show(struct seq_file *sfile, void *v) in adf_ring_show() argument
43 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_show()
57 seq_puts(sfile, "------- Ring configuration -------\n"); in adf_ring_show()
58 seq_printf(sfile, "ring name: %s\n", in adf_ring_show()
60 seq_printf(sfile, "ring num %d, bank num %d\n", in adf_ring_show()
62 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show()
[all …]
Dadf_cfg.c13 static void *qat_dev_cfg_start(struct seq_file *sfile, loff_t *pos) in qat_dev_cfg_start() argument
15 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_start()
21 static int qat_dev_cfg_show(struct seq_file *sfile, void *v) in qat_dev_cfg_show() argument
27 seq_printf(sfile, "[%s]\n", sec->name); in qat_dev_cfg_show()
31 seq_printf(sfile, "%s = %s\n", ptr->key, ptr->val); in qat_dev_cfg_show()
36 static void *qat_dev_cfg_next(struct seq_file *sfile, void *v, loff_t *pos) in qat_dev_cfg_next() argument
38 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_next()
43 static void qat_dev_cfg_stop(struct seq_file *sfile, void *v) in qat_dev_cfg_stop() argument
/drivers/scsi/
Dscsi_proc.c387 static void *scsi_seq_start(struct seq_file *sfile, loff_t *pos) in scsi_seq_start() argument
395 sfile->private++; in scsi_seq_start()
400 static void *scsi_seq_next(struct seq_file *sfile, void *v, loff_t *pos) in scsi_seq_next() argument
403 sfile->private++; in scsi_seq_next()
407 static void scsi_seq_stop(struct seq_file *sfile, void *v) in scsi_seq_stop() argument
412 static int scsi_seq_show(struct seq_file *sfile, void *dev) in scsi_seq_show() argument
414 if (!sfile->private) in scsi_seq_show()
415 seq_puts(sfile, "Attached devices:\n"); in scsi_seq_show()
417 return proc_print_scsidevice(dev, sfile); in scsi_seq_show()
/drivers/gpio/
Dgpio-mockup.c264 struct seq_file *sfile; in gpio_mockup_debugfs_read() local
272 sfile = file->private_data; in gpio_mockup_debugfs_read()
273 priv = sfile->private; in gpio_mockup_debugfs_read()
289 struct seq_file *sfile; in gpio_mockup_debugfs_write() local
300 sfile = file->private_data; in gpio_mockup_debugfs_write()
301 priv = sfile->private; in gpio_mockup_debugfs_write()
/drivers/pinctrl/
Dpinmux.c681 struct seq_file *sfile = file->private_data; in pinmux_select() local
682 struct pinctrl_dev *pctldev = sfile->private; in pinmux_select()