Searched refs:show (Results 1 - 25 of 209) sorted by relevance

123456789

/drivers/md/
H A Ddm-sysfs.c13 ssize_t (*show)(struct mapped_device *, char *); member in struct:dm_sysfs_attr
29 if (!dm_attr->show)
36 ret = dm_attr->show(md, page);
79 .show = dm_attr_show,
/drivers/net/bonding/
H A Dbond_sysfs_slave.c19 ssize_t (*show)(struct slave *, char *); member in struct:slave_attribute
26 .show = _show, \
102 return slave_attr->show(slave, buf);
106 .show = slave_show,
/drivers/cpuidle/
H A Dsysfs.c164 ssize_t (*show)(struct cpuidle_device *, char *); member in struct:cpuidle_attr
168 #define define_one_ro(_name, show) \
169 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
170 #define define_one_rw(_name, show, store) \
171 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store)
196 if (cattr->show) {
198 ret = cattr->show(dev, buf);
220 .show = cpuidle_show,
239 ssize_t (*show)(struct cpuidle_state *, \ member in struct:cpuidle_state_attr
245 #define define_one_state_ro(_name, show) \
458 ssize_t (*show)(struct cpuidle_driver *, char *); member in struct:cpuidle_driver_attr
[all...]
/drivers/scsi/
H A Discsi_boot_sysfs.c34 ssize_t (*show) (void *data, int type, char *buf); member in struct:iscsi_boot_attr
53 if (boot_kobj->show)
54 ret = boot_kobj->show(boot_kobj->data, boot_attr->type, str);
59 .show = iscsi_boot_show_attribute,
308 ssize_t (*show) (void *data, int type, char *buf),
326 boot_kobj->show = show;
361 * @show: attr show function
371 ssize_t (*show) (voi
[all...]
/drivers/gpu/drm/nouveau/core/engine/mpeg/
H A Dnv44.c114 u32 show = stat; local
124 show &= ~0x01000000;
130 show &= ~0x01000000;
138 if (show) {
H A Dnv31.c209 u32 show = stat; local
219 show &= ~0x01000000;
225 show &= ~0x01000000;
233 if (show) {
H A Dnv50.c135 u32 show = stat; local
141 show &= ~0x01000000;
145 if (show) {
/drivers/leds/
H A Dleds-lp55xx-common.h32 #define LP55XX_DEV_ATTR_RW(name, show, store) \
33 DEVICE_ATTR(name, S_IRUGO | S_IWUSR, show, store)
34 #define LP55XX_DEV_ATTR_RO(name, show) \
35 DEVICE_ATTR(name, S_IRUGO, show, NULL)
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c120 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_location;
125 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_temp;
130 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_cautionthresh;
135 ixgbe_attr->dev_attr.show = ixgbe_hwmon_show_maxopthresh;
/drivers/edac/
H A Dedac_pci_sysfs.c95 ssize_t(*show) (struct edac_pci_ctl_info *, char *); member in struct:instance_attribute
99 /* Function to 'show' fields from the edac_pci 'instance' structure */
106 if (instance_attr->show)
107 return instance_attr->show(pci, buffer);
126 .show = edac_pci_instance_show,
133 .show = _show, \
216 /* simple show/store functions for attributes */
236 ssize_t(*show) (void *, char *); member in struct:edac_pci_dev_attribute
240 /* Set of show/store abstract level functions for PCI Parity object */
247 if (edac_pci_dev->show)
[all...]
H A Dedac_device_sysfs.c28 * Set of edac_device_ctl_info attribute store/show functions
82 /* 'poll_msec' show and store functions*/
109 ssize_t(*show) (struct edac_device_ctl_info *, char *); member in struct:ctl_info_attribute
116 /* Function to 'show' fields from the edac_dev 'ctl_info' structure */
123 if (ctl_info_attr->show)
124 return ctl_info_attr->show(edac_dev, buffer);
143 .show = edac_dev_ctl_info_show,
150 .show = _show, \
315 * Set of low-level instance attribute show functions
349 ssize_t(*show) (struc member in struct:instance_attribute
[all...]
/drivers/hwmon/
H A 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(VD
[all...]
/drivers/isdn/capi/
H A Dkcapi_proc.c101 .show = controller_show,
108 .show = contrstats_show,
209 .show = applications_show,
216 .show = applstats_show,
279 .show = capi_driver_show,
/drivers/firmware/efi/
H A Druntime-map.c30 ssize_t (*show)(struct efi_runtime_map_entry *entry, char *buf); member in struct:map_attribute
67 return map_attr->show(entry, buf);
89 .show = map_attr_show,
/drivers/platform/x86/
H A Dintel-rst.c70 .show = irst_show_wakeup_events,
116 .show = irst_show_wakeup_time,
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c330 cip->attr_name.show = show_name;
335 cip->attr_type.show = show_type;
340 cip->attr_min.show = show_min;
345 cip->attr_max.show = show_max;
350 cip->attr_def.show = show_def;
363 cip->attr_enum.show = show_enum;
368 cip->attr_bits.show = show_bits;
380 cip->attr_val.show = show_val_norm;
384 cip->attr_custom.show = show_val_custom;
438 dip->attr_debugcmd.show
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_crtc.h62 void (*show)(struct nouveau_crtc *, bool update); member in struct:nouveau_crtc::__anon897
/drivers/net/ethernet/intel/igb/
H A Digb_hwmon.c121 igb_attr->dev_attr.show = igb_hwmon_show_location;
126 igb_attr->dev_attr.show = igb_hwmon_show_temp;
131 igb_attr->dev_attr.show = igb_hwmon_show_cautionthresh;
136 igb_attr->dev_attr.show = igb_hwmon_show_maxopthresh;
/drivers/pci/
H A Dpci-label.c111 .show = smbioslabel_show,
116 .show = smbiosinstance_show,
253 .show = acpilabel_show,
258 .show = acpiindex_show,
/drivers/infiniband/hw/mlx4/
H A Dsysfs.c184 ssize_t (*show)(struct device *dev,
196 vdentry->dentry.show = show;
207 if (vdentry->dentry.show)
416 ssize_t (*show)(struct mlx4_port *, struct port_attribute *, char *buf); member in struct:port_attribute
428 if (!port_attr->show)
430 return port_attr->show(p, port_attr, buf);
447 .show = port_attr_show,
518 alloc_group_attrs(ssize_t (*show)(struct mlx4_port *,
550 element->attr.show
[all...]
/drivers/firmware/
H A Ddmi-sysfs.c52 ssize_t (*show)(struct dmi_sysfs_entry *entry, char *buf); member in struct:dmi_sysfs_attribute
58 .show = dmi_sysfs_##_entry##_##_name, \
67 ssize_t (*show)(struct dmi_sysfs_entry *entry, member in struct:dmi_sysfs_mapped_attribute
75 .show = dmi_sysfs_##_entry##_##_name, \
106 return attr->show(entry, buf);
110 .show = dmi_sysfs_attr_show,
210 return attr->show(entry, dh, data->buf);
222 * normalized show method hanging off of the attribute */
228 .show = dmi_entry_attr_show,
H A Dmemmap.c65 ssize_t (*show)(struct firmware_map_entry *entry, char *buf); member in struct:memmap_attribute
83 .show = memmap_attr_show,
403 return memmap_attr->show(entry, buf);
/drivers/gpu/drm/nouveau/dispnv04/
H A Dcursor.c68 crtc->cursor.show = nv04_cursor_show;
/drivers/xen/
H A Dsys-hypervisor.c33 ssize_t (*show)(struct hyp_sysfs_attr *, char *); member in struct:hyp_sysfs_attr
426 if (hyp_attr->show)
427 return hyp_attr->show(hyp_attr, buffer);
444 .show = hyp_sysfs_show,
/drivers/input/mouse/
H A Dpsmouse.h116 ssize_t (*show)(struct psmouse *psmouse, void *data, char *buf); member in struct:psmouse_attribute
135 .show = psmouse_attr_show_helper, \
139 .show = _show, \

Completed in 493 milliseconds

123456789