Home
last modified time | relevance | path

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

123456789

/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.c238 #define show(type, suffix, value) \ macro
246 show(TEMP, temp_input1, temp_in);
247 show(TEMP, temp_max1, temp_max);
248 show(TEMP, temp_hyst1, temp_hyst);
249 show(BOOL, fan_auto1, fan_auto1);
250 show(VDD, in_input0, voltage_in[0]);
251 show(IN, in_input1, voltage_in[1]);
252 show(IN, in_input2, voltage_in[2]);
253 show(IN, in_input3, voltage_in[3]);
254 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,
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/net/bonding/
Dbond_sysfs_slave.c19 ssize_t (*show)(struct slave *, char *); member
26 .show = _show, \
102 return slave_attr->show(slave, buf); in slave_show()
106 .show = slave_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/gpu/drm/nouveau/core/engine/mpeg/
Dnv44.c114 u32 show = stat; in nv44_mpeg_intr() local
124 show &= ~0x01000000; in nv44_mpeg_intr()
130 show &= ~0x01000000; in nv44_mpeg_intr()
138 if (show) { in nv44_mpeg_intr()
Dnv31.c209 u32 show = stat; in nv31_mpeg_intr() local
219 show &= ~0x01000000; in nv31_mpeg_intr()
225 show &= ~0x01000000; in nv31_mpeg_intr()
233 if (show) { in nv31_mpeg_intr()
Dnv50.c135 u32 show = stat; in nv50_mpeg_intr() local
141 show &= ~0x01000000; in nv50_mpeg_intr()
145 if (show) { in nv50_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.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,
/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()
416 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf); member
428 if (!port_attr->show) in port_attr_show()
430 return port_attr->show(p, port_attr, buf); in port_attr_show()
447 .show = port_attr_show,
518 alloc_group_attrs(ssize_t (*show)(struct mlx4_port *, in alloc_group_attrs()
550 element->attr.show = show; in alloc_group_attrs()
622 p->smi_enabled.show = sysfs_show_smi_enabled; in add_vf_smi_entries()
[all …]
/drivers/gpu/drm/nouveau/core/engine/graph/
Dnv50.c808 u32 show = stat, show_bitfield = stat; in nv50_graph_intr() local
817 show &= ~0x00000010; in nv50_graph_intr()
821 if (show & 0x00100000) { in nv50_graph_intr()
830 if (!nv50_graph_trap_handler(priv, show, chid, (u64)inst << 12, in nv50_graph_intr()
832 show &= ~0x00200000; in nv50_graph_intr()
839 if (show) { in nv50_graph_intr()
840 show &= show_bitfield; in nv50_graph_intr()
841 if (show) { in nv50_graph_intr()
843 nouveau_bitfield_print(nv50_graph_intr_name, show); in nv50_graph_intr()
/drivers/pci/
Dpci-label.c111 .show = smbioslabel_show,
116 .show = smbiosinstance_show,
253 .show = acpilabel_show,
258 .show = acpiindex_show,
/drivers/firmware/efi/
Druntime-map.c30 ssize_t (*show)(struct efi_runtime_map_entry *entry, char *buf); member
67 return map_attr->show(entry, buf); in map_attr_show()
89 .show = map_attr_show,
/drivers/uio/
Duio.c74 ssize_t (*show)(struct uio_mem *, char *); member
110 if (!entry->show) in map_type_show()
113 return entry->show(mem, buf); in map_type_show()
117 .show = map_type_show,
162 ssize_t (*show)(struct uio_port *, char *); member
198 if (!entry->show) in portio_type_show()
201 return entry->show(port, buf); in portio_type_show()
205 .show = portio_type_show,
/drivers/scsi/aacraid/
Dlinit.c530 .show = aac_show_raid_level
960 .show = aac_show_model,
967 .show = aac_show_vendor,
974 .show = aac_show_flags,
981 .show = aac_show_kernel_version,
988 .show = aac_show_monitor_version,
995 .show = aac_show_bios_version,
1002 .show = aac_show_serial_number,
1009 .show = aac_show_max_channel,
1016 .show = aac_show_max_id,
[all …]
/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.h116 ssize_t (*show)(struct psmouse *psmouse, void *data, char *buf); member
135 .show = psmouse_attr_show_helper, \
139 .show = _show, \
/drivers/xen/
Dsys-hypervisor.c33 ssize_t (*show)(struct hyp_sysfs_attr *, char *); member
426 if (hyp_attr->show) in hyp_sysfs_show()
427 return hyp_attr->show(hyp_attr, buffer); in hyp_sysfs_show()
444 .show = hyp_sysfs_show,

123456789