Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hwmon/
Dcorsair-psu.c669 static void print_uptime(struct seq_file *seqf, u8 cmd) in print_uptime() argument
671 struct corsairpsu_data *priv = seqf->private; in print_uptime()
677 seq_puts(seqf, "N/A\n"); in print_uptime()
682 seq_printf(seqf, "%ld day(s), %02ld:%02ld:%02ld\n", val / SECONDS_PER_DAY, in print_uptime()
688 seq_printf(seqf, "%02ld:%02ld:%02ld\n", val % SECONDS_PER_DAY / SECONDS_PER_HOUR, in print_uptime()
692 static int uptime_show(struct seq_file *seqf, void *unused) in uptime_show() argument
694 print_uptime(seqf, PSU_CMD_UPTIME); in uptime_show()
700 static int uptime_total_show(struct seq_file *seqf, void *unused) in uptime_total_show() argument
702 print_uptime(seqf, PSU_CMD_TOTAL_UPTIME); in uptime_total_show()
708 static int vendor_show(struct seq_file *seqf, void *unused) in vendor_show() argument
[all …]
Dhp-wmi-sensors.c1219 static int basic_string_show(struct seq_file *seqf, void *ignored) in basic_string_show() argument
1221 const char *str = seqf->private; in basic_string_show()
1223 seq_printf(seqf, "%s\n", str); in basic_string_show()
1229 static int fungible_show(struct seq_file *seqf, enum hp_wmi_property prop) in fungible_show() argument
1236 info = seqf->private; in fungible_show()
1246 seq_printf(seqf, "%u\n", nsensor->operational_status); in fungible_show()
1250 seq_printf(seqf, "%s\n", nsensor->current_state); in fungible_show()
1254 seq_printf(seqf, "%d\n", nsensor->unit_modifier); in fungible_show()
1258 seq_printf(seqf, "%u\n", nsensor->current_reading); in fungible_show()
1268 static int operational_status_show(struct seq_file *seqf, void *ignored) in operational_status_show() argument
[all …]
Dcorsair-cpro.c539 static int firmware_show(struct seq_file *seqf, void *unused) in firmware_show() argument
541 struct ccp_device *ccp = seqf->private; in firmware_show()
543 seq_printf(seqf, "%d.%d.%d\n", in firmware_show()
552 static int bootloader_show(struct seq_file *seqf, void *unused) in bootloader_show() argument
554 struct ccp_device *ccp = seqf->private; in bootloader_show()
556 seq_printf(seqf, "%d.%d\n", in bootloader_show()
Dsg2042-mcu.c38 static int _name##_show(struct seq_file *seqf, \
41 struct sg2042_mcu_data *mcu = seqf->private; \
46 seq_printf(seqf, _format "\n", ret); \
Dgigabyte_waterforce.c289 static int firmware_version_show(struct seq_file *seqf, void *unused) in firmware_version_show() argument
291 struct waterforce_data *priv = seqf->private; in firmware_version_show()
293 seq_printf(seqf, "%u\n", priv->firmware_version); in firmware_version_show()
Daquacomputer_d5next.c1492 static int serial_number_show(struct seq_file *seqf, void *unused) in serial_number_show() argument
1494 struct aqc_data *priv = seqf->private; in serial_number_show()
1496 seq_printf(seqf, "%05u-%05u\n", priv->serial_number[0], priv->serial_number[1]); in serial_number_show()
1502 static int firmware_version_show(struct seq_file *seqf, void *unused) in firmware_version_show() argument
1504 struct aqc_data *priv = seqf->private; in firmware_version_show()
1506 seq_printf(seqf, "%u\n", priv->firmware_version); in firmware_version_show()
1512 static int power_cycles_show(struct seq_file *seqf, void *unused) in power_cycles_show() argument
1514 struct aqc_data *priv = seqf->private; in power_cycles_show()
1516 seq_printf(seqf, "%u\n", priv->power_cycles); in power_cycles_show()
Dnzxt-kraken3.c848 static int firmware_version_show(struct seq_file *seqf, void *unused) in firmware_version_show() argument
850 struct kraken3_data *priv = seqf->private; in firmware_version_show()
852 seq_printf(seqf, "%u.%u.%u\n", priv->firmware_version[0], priv->firmware_version[1], in firmware_version_show()
/linux-6.12.1/block/
Dgenhd.c176 void blkdev_show(struct seq_file *seqf, off_t offset) in blkdev_show() argument
183 seq_printf(seqf, "%3d %s\n", dp->major, dp->name); in blkdev_show()
800 static void *disk_seqf_start(struct seq_file *seqf, loff_t *pos) in disk_seqf_start() argument
810 seqf->private = iter; in disk_seqf_start()
821 static void *disk_seqf_next(struct seq_file *seqf, void *v, loff_t *pos) in disk_seqf_next() argument
826 dev = class_dev_iter_next(seqf->private); in disk_seqf_next()
833 static void disk_seqf_stop(struct seq_file *seqf, void *v) in disk_seqf_stop() argument
835 struct class_dev_iter *iter = seqf->private; in disk_seqf_stop()
841 seqf->private = NULL; in disk_seqf_stop()
845 static void *show_partition_start(struct seq_file *seqf, loff_t *pos) in show_partition_start() argument
[all …]
/linux-6.12.1/arch/powerpc/kvm/
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-6.12.1/drivers/hwspinlock/
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-6.12.1/include/linux/
Dblkdev.h1548 void blkdev_show(struct seq_file *seqf, off_t offset);