Home
last modified time | relevance | path

Searched refs:show (Results 1 – 25 of 271) sorted by relevance

1234567891011

/drivers/cpuidle/
Dsysfs.c164 ssize_t (*show)(struct cpuidle_device *, char *); member
168 #define define_one_ro(_name, show) \ argument
169 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
170 #define define_one_rw(_name, show, store) \ argument
171 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store)
196 if (cattr->show) { in cpuidle_show()
198 ret = cattr->show(dev, buf); in cpuidle_show()
220 .show = cpuidle_show,
239 ssize_t (*show)(struct cpuidle_state *, \ member
245 #define define_one_state_ro(_name, show) \ argument
[all …]
/drivers/hwmon/
Dgl518sm.c239 #define show(type, suffix, value) \ macro
247 show(TEMP, temp_input1, temp_in);
248 show(TEMP, temp_max1, temp_max);
249 show(TEMP, temp_hyst1, temp_hyst);
250 show(BOOL, fan_auto1, fan_auto1);
251 show(VDD, in_input0, voltage_in[0]);
252 show(IN, in_input1, voltage_in[1]);
253 show(IN, in_input2, voltage_in[2]);
254 show(IN, in_input3, voltage_in[3]);
255 show(VDD, in_min0, voltage_min[0]);
[all …]
/drivers/scsi/
Discsi_boot_sysfs.c34 ssize_t (*show) (void *data, int type, char *buf); member
53 if (boot_kobj->show) in iscsi_boot_show_attribute()
54 ret = boot_kobj->show(boot_kobj->data, boot_attr->type, str); in iscsi_boot_show_attribute()
59 .show = iscsi_boot_show_attribute,
349 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj()
367 boot_kobj->show = show; in iscsi_boot_create_kobj()
412 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target()
417 "target%d", index, data, show, is_visible, in iscsi_boot_create_target()
437 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_initiator()
443 "initiator", index, data, show, in iscsi_boot_create_initiator()
[all …]
/drivers/edac/
Dedac_device_sysfs.c109 ssize_t(*show) (struct edac_device_ctl_info *, char *); member
123 if (ctl_info_attr->show) in edac_dev_ctl_info_show()
124 return ctl_info_attr->show(edac_dev, buffer); in edac_dev_ctl_info_show()
143 .show = edac_dev_ctl_info_show,
150 .show = _show, \
340 ssize_t(*show) (struct edac_device_instance *, char *); member
351 if (instance_attr->show) in edac_dev_instance_show()
352 return instance_attr->show(instance, buffer); in edac_dev_instance_show()
371 .show = edac_dev_instance_show,
378 .show = _show, \
[all …]
Dedac_pci_sysfs.c92 ssize_t(*show) (struct edac_pci_ctl_info *, char *); member
103 if (instance_attr->show) in edac_pci_instance_show()
104 return instance_attr->show(pci, buffer); in edac_pci_instance_show()
123 .show = edac_pci_instance_show,
130 .show = _show, \
233 ssize_t(*show) (void *, char *); member
244 if (edac_pci_dev->show) in edac_pci_dev_show()
245 return edac_pci_dev->show(edac_pci_dev->value, buffer); in edac_pci_dev_show()
262 .show = edac_pci_dev_show,
270 .show = _show, \
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c325 cip->attr_name.show = show_name; in pvr2_sysfs_add_control()
330 cip->attr_type.show = show_type; in pvr2_sysfs_add_control()
335 cip->attr_min.show = show_min; in pvr2_sysfs_add_control()
340 cip->attr_max.show = show_max; in pvr2_sysfs_add_control()
345 cip->attr_def.show = show_def; in pvr2_sysfs_add_control()
358 cip->attr_enum.show = show_enum; in pvr2_sysfs_add_control()
363 cip->attr_bits.show = show_bits; in pvr2_sysfs_add_control()
375 cip->attr_val.show = show_val_norm; in pvr2_sysfs_add_control()
379 cip->attr_custom.show = show_val_custom; in pvr2_sysfs_add_control()
433 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc()
[all …]
/drivers/staging/most/hdm-dim2/
Ddim2_sysfs.c23 ssize_t (*show)(struct medialb_bus *bus, char *buf); member
57 if (!xattr->show) in bus_kobj_attr_show()
60 return xattr->show(bus, buf); in bus_kobj_attr_show()
77 .show = bus_kobj_attr_show,
/drivers/md/
Ddm-sysfs.c14 ssize_t (*show)(struct mapped_device *, char *); member
30 if (!dm_attr->show) in dm_attr_show()
37 ret = dm_attr->show(md, page); in dm_attr_show()
116 .show = dm_attr_show,
/drivers/isdn/capi/
Dkcapi_proc.c101 .show = controller_show,
108 .show = contrstats_show,
209 .show = applications_show,
216 .show = applstats_show,
279 .show = capi_driver_show,
/drivers/leds/
Dleds-lp55xx-common.h32 #define LP55XX_DEV_ATTR_RW(name, show, store) \ argument
33 DEVICE_ATTR(name, S_IRUGO | S_IWUSR, show, store)
34 #define LP55XX_DEV_ATTR_RO(name, show) \ argument
35 DEVICE_ATTR(name, S_IRUGO, show, NULL)
/drivers/net/bonding/
Dbond_sysfs_slave.c19 ssize_t (*show)(struct slave *, char *); member
26 .show = _show, \
136 return slave_attr->show(slave, buf); in slave_show()
140 .show = slave_show,
/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
Dnv50.c68 u32 show = stat; in nv50_mpeg_intr() local
74 show &= ~0x01000000; in nv50_mpeg_intr()
78 if (show) { in nv50_mpeg_intr()
Dnv44.c155 u32 show = stat; in nv44_mpeg_intr() local
171 show &= ~0x01000000; in nv44_mpeg_intr()
176 show &= ~0x01000000; in nv44_mpeg_intr()
183 if (show) { in nv44_mpeg_intr()
Dnv31.c193 u32 show = stat; in nv31_mpeg_intr() local
202 show &= ~0x01000000; in nv31_mpeg_intr()
207 show &= ~0x01000000; in nv31_mpeg_intr()
214 if (show) { in nv31_mpeg_intr()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c120 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_location; in ixgbe_add_hwmon_attr()
125 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_temp; in ixgbe_add_hwmon_attr()
130 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_cautionthresh; in ixgbe_add_hwmon_attr()
135 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_maxopthresh; in ixgbe_add_hwmon_attr()
/drivers/net/ethernet/intel/igb/
Digb_hwmon.c121 igb_attr->dev_attr.show = igb_hwmon_show_location; in igb_add_hwmon_attr()
126 igb_attr->dev_attr.show = igb_hwmon_show_temp; in igb_add_hwmon_attr()
131 igb_attr->dev_attr.show = igb_hwmon_show_cautionthresh; in igb_add_hwmon_attr()
136 igb_attr->dev_attr.show = igb_hwmon_show_maxopthresh; in igb_add_hwmon_attr()
/drivers/firmware/
Ddmi-sysfs.c53 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf); member
59 .show = dmi_sysfs_##_entry##_##_name, \
68 ssize_t (*show)(struct dmi_sysfs_entry *entry, member
76 .show = dmi_sysfs_##_entry##_##_name, \
107 return attr->show(entry, buf); in dmi_sysfs_attr_show()
111 .show = dmi_sysfs_attr_show,
211 return attr->show(entry, dh, data->buf); in dmi_entry_attr_show_helper()
229 .show = dmi_entry_attr_show,
/drivers/infiniband/hw/mlx4/
Dsysfs.c164 ssize_t (*show)(struct device *dev, in create_sysfs_entry()
176 vdentry->dentry.show = show; in create_sysfs_entry()
187 if (vdentry->dentry.show) in create_sysfs_entry()
393 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf); member
405 if (!port_attr->show) in port_attr_show()
407 return port_attr->show(p, port_attr, buf); in port_attr_show()
424 .show = port_attr_show,
495 alloc_group_attrs(ssize_t (*show)(struct mlx4_port *, in alloc_group_attrs()
527 element->attr.show = show; in alloc_group_attrs()
599 p->smi_enabled.show = sysfs_show_smi_enabled; in add_vf_smi_entries()
[all …]
/drivers/staging/greybus/
Daudio_manager_module.c21 ssize_t (*show)(struct gb_audio_manager_module *module, member
38 if (!attribute->show) in gb_audio_module_attr_show()
41 return attribute->show(module, attribute, buf); in gb_audio_module_attr_show()
61 .show = gb_audio_module_attr_show,
/drivers/infiniband/hw/hfi1/
Dsysfs.c148 ssize_t (*show)(struct hfi1_pportdata *, char *); member
179 return port_attr->show(ppd, buf); in cc_attr_show()
194 .show = cc_attr_show,
303 .show = sc2vl_attr_show,
408 .show = sl2sc_attr_show,
482 .show = vl2mtu_attr_show,
747 ssize_t (*show)(struct sdma_engine *sde, char *buf); member
758 if (!sde_attr->show) in sde_show()
761 return sde_attr->show(sde, buf); in sde_show()
782 .show = sde_show,
/drivers/pci/
Dpci-label.c113 .show = smbioslabel_show,
118 .show = smbiosinstance_show,
250 .show = acpilabel_show,
255 .show = acpiindex_show,
/drivers/gpu/drm/msm/
Dmsm_debugfs.c32 gpu->funcs->show(gpu, m); in msm_gpu_show()
92 int (*show)(struct drm_device *dev, struct seq_file *m) = in show_locked() local
100 ret = show(dev, m); in show_locked()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.h61 int (*show)(struct seq_file *seq, void *v, int idx); member
75 int (*show)(struct seq_file *seq, void *v, int i));
/drivers/firmware/efi/
Druntime-map.c26 ssize_t (*show)(struct efi_runtime_map_entry *entry, char *buf); member
63 return map_attr->show(entry, buf); in map_attr_show()
85 .show = map_attr_show,
/drivers/dma/ioat/
Dsysfs.c62 if (!entry->show) in ioat_attr_show()
64 return entry->show(&ioat_chan->dma_chan, page); in ioat_attr_show()
83 .show = ioat_attr_show,

1234567891011