Home
last modified time | relevance | path

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

12345678

/drivers/cpuidle/
Dsysfs.c160 ssize_t (*show)(struct cpuidle_device *, char *); member
164 #define define_one_ro(_name, show) \ argument
165 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
166 #define define_one_rw(_name, show, store) \ argument
167 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store)
177 if (cattr->show) { in cpuidle_show()
179 ret = cattr->show(dev, buf); in cpuidle_show()
201 .show = cpuidle_show,
219 ssize_t (*show)(struct cpuidle_state *, \ member
225 #define define_one_state_ro(_name, show) \ argument
[all …]
/drivers/hwmon/
Dgl518sm.c172 #define show(type, suffix, value) \ macro
180 show(TEMP, temp_input1, temp_in);
181 show(TEMP, temp_max1, temp_max);
182 show(TEMP, temp_hyst1, temp_hyst);
183 show(BOOL, fan_auto1, fan_auto1);
184 show(VDD, in_input0, voltage_in[0]);
185 show(IN, in_input1, voltage_in[1]);
186 show(IN, in_input2, voltage_in[2]);
187 show(IN, in_input3, voltage_in[3]);
188 show(VDD, in_min0, voltage_min[0]);
[all …]
Dlm77.c116 #define show(value) \ macro
125 show(temp_input);
126 show(temp_crit);
127 show(temp_min);
128 show(temp_max);
/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,
308 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj()
326 boot_kobj->show = show; in iscsi_boot_create_kobj()
371 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target()
376 "target%d", index, data, show, is_visible, in iscsi_boot_create_target()
396 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_initiator()
402 "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, \
349 ssize_t(*show) (struct edac_device_instance *, char *); member
360 if (instance_attr->show) in edac_dev_instance_show()
361 return instance_attr->show(instance, buffer); in edac_dev_instance_show()
380 .show = edac_dev_instance_show,
387 .show = _show, \
[all …]
Dedac_pci_sysfs.c95 ssize_t(*show) (struct edac_pci_ctl_info *, char *); member
106 if (instance_attr->show) in edac_pci_instance_show()
107 return instance_attr->show(pci, buffer); in edac_pci_instance_show()
126 .show = edac_pci_instance_show,
133 .show = _show, \
236 ssize_t(*show) (void *, char *); member
247 if (edac_pci_dev->show) in edac_pci_dev_show()
248 return edac_pci_dev->show(edac_pci_dev->value, buffer); in edac_pci_dev_show()
265 .show = edac_pci_dev_show,
273 .show = _show, \
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c330 cip->attr_name.show = show_name; in pvr2_sysfs_add_control()
335 cip->attr_type.show = show_type; in pvr2_sysfs_add_control()
340 cip->attr_min.show = show_min; in pvr2_sysfs_add_control()
345 cip->attr_max.show = show_max; in pvr2_sysfs_add_control()
350 cip->attr_def.show = show_def; in pvr2_sysfs_add_control()
363 cip->attr_enum.show = show_enum; in pvr2_sysfs_add_control()
368 cip->attr_bits.show = show_bits; in pvr2_sysfs_add_control()
380 cip->attr_val.show = show_val_norm; in pvr2_sysfs_add_control()
384 cip->attr_custom.show = show_val_custom; in pvr2_sysfs_add_control()
438 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc()
[all …]
/drivers/md/
Ddm-sysfs.c13 ssize_t (*show)(struct mapped_device *, char *); member
29 if (!dm_attr->show) in dm_attr_show()
36 ret = dm_attr->show(md, page); in dm_attr_show()
79 .show = dm_attr_show,
/drivers/staging/zcache/ramster/
Dnodemanager.c356 ssize_t (*show)(struct r2nm_node *, char *); member
364 .show = r2nm_node_num_read,
372 .show = r2nm_node_ipv4_port_read,
380 .show = r2nm_node_ipv4_address_read,
388 .show = r2nm_node_local_read,
420 if (r2nm_node_attr->show) in r2nm_node_show()
421 ret = r2nm_node_attr->show(node, page); in r2nm_node_show()
482 ssize_t (*show)(struct r2nm_cluster *, char *); member
632 .show = r2nm_cluster_attr_idle_timeout_ms_read,
640 .show = r2nm_cluster_attr_keepalive_delay_ms_read,
[all …]
Dheartbeat.c185 ssize_t (*show)(struct r2hb_hb_group *, char *); member
198 if (r2hb_hb_group_attr->show) in r2hb_hb_group_show()
199 ret = r2hb_hb_group_attr->show(reg, page); in r2hb_hb_group_show()
280 .show = r2hb_hb_group_threshold_show,
288 .show = r2hb_hb_group_mode_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/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c119 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_location; in ixgbe_add_hwmon_attr()
124 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_temp; in ixgbe_add_hwmon_attr()
129 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_cautionthresh; in ixgbe_add_hwmon_attr()
134 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_maxopthresh; in ixgbe_add_hwmon_attr()
/drivers/firmware/
Ddmi-sysfs.c52 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf); member
58 .show = dmi_sysfs_##_entry##_##_name, \
67 ssize_t (*show)(struct dmi_sysfs_entry *entry, member
75 .show = dmi_sysfs_##_entry##_##_name, \
106 return attr->show(entry, buf); in dmi_sysfs_attr_show()
110 .show = dmi_sysfs_attr_show,
210 return attr->show(entry, dh, data->buf); in dmi_entry_attr_show_helper()
228 .show = dmi_entry_attr_show,
Dmemmap.c65 ssize_t (*show)(struct firmware_map_entry *entry, char *buf); member
83 .show = memmap_attr_show,
396 return memmap_attr->show(entry, buf); in memmap_attr_show()
/drivers/infiniband/hw/mlx4/
Dsysfs.c184 ssize_t (*show)(struct device *dev, in create_sysfs_entry()
196 vdentry->dentry.show = show; in create_sysfs_entry()
207 if (vdentry->dentry.show) in create_sysfs_entry()
414 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf); member
426 if (!port_attr->show) in port_attr_show()
428 return port_attr->show(p, port_attr, buf); in port_attr_show()
445 .show = port_attr_show,
516 alloc_group_attrs(ssize_t (*show)(struct mlx4_port *, in alloc_group_attrs()
548 element->attr.show = show; in alloc_group_attrs()
/drivers/net/ethernet/intel/igb/
Digb_hwmon.c125 igb_attr->dev_attr.show = igb_hwmon_show_location; in igb_add_hwmon_attr()
130 igb_attr->dev_attr.show = igb_hwmon_show_temp; in igb_add_hwmon_attr()
135 igb_attr->dev_attr.show = igb_hwmon_show_cautionthresh; in igb_add_hwmon_attr()
140 igb_attr->dev_attr.show = igb_hwmon_show_maxopthresh; in igb_add_hwmon_attr()
/drivers/gpu/drm/nouveau/core/engine/mpeg/
Dnv31.c210 u32 show = stat; in nv31_mpeg_intr() local
220 show &= ~0x01000000; in nv31_mpeg_intr()
226 show &= ~0x01000000; in nv31_mpeg_intr()
234 if (show) { in nv31_mpeg_intr()
Dnv50.c143 u32 show = stat; in nv50_mpeg_intr() local
149 show &= ~0x01000000; in nv50_mpeg_intr()
153 if (show) { in nv50_mpeg_intr()
/drivers/pci/
Dpci-label.c129 .show = smbioslabel_show,
134 .show = smbiosinstance_show,
336 .show = acpilabel_show,
341 .show = acpiindex_show,
/drivers/scsi/aacraid/
Dlinit.c530 .show = aac_show_raid_level
958 .show = aac_show_model,
965 .show = aac_show_vendor,
972 .show = aac_show_flags,
979 .show = aac_show_kernel_version,
986 .show = aac_show_monitor_version,
993 .show = aac_show_bios_version,
1000 .show = aac_show_serial_number,
1007 .show = aac_show_max_channel,
1014 .show = aac_show_max_id,
[all …]
/drivers/gpu/drm/nouveau/core/engine/graph/
Dnv50.c768 u32 show = stat; in nv50_graph_intr() local
777 show &= ~0x00000010; in nv50_graph_intr()
781 if (show & 0x00100000) { in nv50_graph_intr()
789 if (!nv50_graph_trap_handler(priv, show, chid, (u64)inst << 12, in nv50_graph_intr()
791 show &= ~0x00200000; in nv50_graph_intr()
797 if (show) { in nv50_graph_intr()
799 nouveau_bitfield_print(nv50_graph_intr_name, show); in nv50_graph_intr()
/drivers/infiniband/hw/qib/
Dqib_sysfs.c178 #define QIB_PORT_ATTR(name, mode, show, store) \ argument
180 __ATTR(name, mode, show, store)
184 ssize_t (*show)(struct qib_pportdata *, char *); member
304 return pattr->show(ppd, buf); in qib_portattr_show()
320 .show = qib_portattr_show,
393 .show = sl2vl_attr_show,
483 .show = diagc_attr_show,
/drivers/input/mouse/
Dpsmouse.h115 ssize_t (*show)(struct psmouse *psmouse, void *data, char *buf); member
134 .show = psmouse_attr_show_helper, \
138 .show = _show, \
/drivers/uio/
Duio.c87 ssize_t (*show)(struct uio_mem *, char *); member
123 if (!entry->show) in map_type_show()
126 return entry->show(mem, buf); in map_type_show()
130 .show = map_type_show,
175 ssize_t (*show)(struct uio_port *, char *); member
211 if (!entry->show) in portio_type_show()
214 return entry->show(port, buf); in portio_type_show()
218 .show = portio_type_show,
/drivers/firmware/efi/
Defivars.c91 ssize_t (*show) (struct efivar_entry *entry, char *buf); member
98 .show = _show, \
271 if (efivar_attr->show) { in efivar_attr_show()
272 ret = efivar_attr->show(var, buf); in efivar_attr_show()
294 .show = efivar_attr_show,

12345678