/drivers/cpuidle/ |
D | sysfs.c | 164 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/ |
D | gl518sm.c | 239 #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/ |
D | iscsi_boot_sysfs.c | 34 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/ |
D | edac_device_sysfs.c | 109 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 …]
|
D | edac_pci_sysfs.c | 92 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/ |
D | pvrusb2-sysfs.c | 325 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/ |
D | dim2_sysfs.c | 23 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/ |
D | dm-sysfs.c | 14 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/ |
D | kcapi_proc.c | 101 .show = controller_show, 108 .show = contrstats_show, 209 .show = applications_show, 216 .show = applstats_show, 279 .show = capi_driver_show,
|
/drivers/leds/ |
D | leds-lp55xx-common.h | 32 #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/ |
D | bond_sysfs_slave.c | 19 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/ |
D | nv50.c | 68 u32 show = stat; in nv50_mpeg_intr() local 74 show &= ~0x01000000; in nv50_mpeg_intr() 78 if (show) { in nv50_mpeg_intr()
|
D | nv44.c | 155 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()
|
D | nv31.c | 193 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/ |
D | ixgbe_sysfs.c | 120 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/ |
D | igb_hwmon.c | 121 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/ |
D | dmi-sysfs.c | 53 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/ |
D | sysfs.c | 164 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/ |
D | audio_manager_module.c | 21 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/ |
D | sysfs.c | 148 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/ |
D | pci-label.c | 113 .show = smbioslabel_show, 118 .show = smbiosinstance_show, 250 .show = acpilabel_show, 255 .show = acpiindex_show,
|
/drivers/gpu/drm/msm/ |
D | msm_debugfs.c | 32 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/ |
D | cxgb4_debugfs.h | 61 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/ |
D | runtime-map.c | 26 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/ |
D | sysfs.c | 62 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,
|