Home
last modified time | relevance | path

Searched refs:seqf (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/hwmon/
A Daquacomputer_d5next.c225 static int serial_number_show(struct seq_file *seqf, void *unused) in serial_number_show() argument
227 struct d5next_data *priv = seqf->private; in serial_number_show()
229 seq_printf(seqf, "%05u-%05u\n", priv->serial_number[0], priv->serial_number[1]); in serial_number_show()
235 static int firmware_version_show(struct seq_file *seqf, void *unused) in firmware_version_show() argument
237 struct d5next_data *priv = seqf->private; in firmware_version_show()
239 seq_printf(seqf, "%u\n", priv->firmware_version); in firmware_version_show()
245 static int power_cycles_show(struct seq_file *seqf, void *unused) in power_cycles_show() argument
247 struct d5next_data *priv = seqf->private; in power_cycles_show()
249 seq_printf(seqf, "%u\n", priv->power_cycles); in power_cycles_show()
A Dcorsair-psu.c604 static void print_uptime(struct seq_file *seqf, u8 cmd) in print_uptime() argument
606 struct corsairpsu_data *priv = seqf->private; in print_uptime()
612 seq_puts(seqf, "N/A\n"); in print_uptime()
627 static int uptime_show(struct seq_file *seqf, void *unused) in uptime_show() argument
629 print_uptime(seqf, PSU_CMD_UPTIME); in uptime_show()
637 print_uptime(seqf, PSU_CMD_TOTAL_UPTIME); in uptime_total_show()
643 static int vendor_show(struct seq_file *seqf, void *unused) in vendor_show() argument
645 struct corsairpsu_data *priv = seqf->private; in vendor_show()
647 seq_printf(seqf, "%s\n", priv->vendor); in vendor_show()
655 struct corsairpsu_data *priv = seqf->private; in product_show()
[all …]
/linux/block/
A Dgenhd.c198 void blkdev_show(struct seq_file *seqf, off_t offset) in blkdev_show() argument
205 seq_printf(seqf, "%3d %s\n", dp->major, dp->name); in blkdev_show()
766 seqf->private = iter; in disk_seqf_start()
782 dev = class_dev_iter_next(seqf->private); in disk_seqf_next()
791 struct class_dev_iter *iter = seqf->private; in disk_seqf_stop()
797 seqf->private = NULL; in disk_seqf_stop()
805 p = disk_seqf_start(seqf, pos); in show_partition_start()
807 seq_puts(seqf, "major minor #blocks name\n\n"); in show_partition_start()
811 static int show_partition(struct seq_file *seqf, void *v) in show_partition() argument
828 seq_printf(seqf, "%4d %7d %10llu %pg\n", in show_partition()
[all …]
/linux/arch/powerpc/kvm/
A Dtiming.c178 struct seq_file *seqf = file->private_data; in kvmppc_exit_timing_write() local
179 struct kvm_vcpu *vcpu = seqf->private; in kvmppc_exit_timing_write()
183 mutex_lock(&seqf->lock); in kvmppc_exit_timing_write()
185 mutex_unlock(&seqf->lock); in kvmppc_exit_timing_write()
/linux/drivers/hwspinlock/
A Dsun6i_hwspinlock.c39 static int hwlocks_supported_show(struct seq_file *seqf, void *unused) in hwlocks_supported_show() argument
41 struct sun6i_hwspinlock_data *priv = seqf->private; in hwlocks_supported_show()
43 seq_printf(seqf, "%d\n", priv->nlocks); in hwlocks_supported_show()
/linux/include/linux/
A Dblkdev.h1277 void blkdev_show(struct seq_file *seqf, off_t offset);

Completed in 16 milliseconds