/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-devices-power | 13 The /sys/devices/.../power/wakeup attribute allows the user 39 The /sys/devices/.../power/control attribute allows the user 50 drivers. Changing this attribute to "on" prevents the driver 58 The /sys/devices/.../async attribute allows the user space to 70 The value of this attribute may be changed by writing either 76 devices this attribute is set to "enabled" by bus type code or 84 The /sys/devices/.../wakeup_count attribute contains the number 86 attribute is read-only. If the device is not capable to wake up 87 the system from sleep states, this attribute is not present. 89 states, this attribute is empty. [all …]
|
D | sysfs-devices-lpss_ltr | 14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an 18 This attribute is read-only. If the device's runtime PM status 19 is not "active", attempts to read from this attribute cause 26 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the 30 This attribute is read-only. If the device's runtime PM status 31 is not "active", attempts to read from this attribute cause 38 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the 42 This attribute is read-only. If the device's runtime PM status 43 is not "active", attempts to read from this attribute cause
|
D | sysfs-bus-acpi | 5 This attribute indicates the full path of ACPI namespace 16 This attribute indicates the PNP IDs of the device object. 24 This attribute indicates the hardware ID (_HID) of the 33 This attribute contains the output of the device object's 40 This attribute contains the output of the device object's 49 This attribute contains the output of the device object's 56 Writing 1 to this attribute will trigger hot removal of
|
D | sysfs-devices-edac | 15 Description: This attribute file displays how many seconds have elapsed 22 Description: This attribute file displays the type of memory controller 28 Description: This attribute file displays, in count of megabytes, of memory 34 Description: This attribute file displays the total count of uncorrectable 42 Description: This attribute file displays the number of UEs that have 49 Description: This attribute file displays the total count of correctable 59 Description: This attribute file displays the number of CEs that 69 Description: Read/Write attribute file that controls memory scrubbing. 71 writing a minimum bandwidth in bytes/sec to the attribute file. 76 the value of the attribute file will be -1. [all …]
|
D | sysfs-driver-ppi | 22 This attribute shows the version of the PPI supported by the 30 This attribute shows the request for an operation to be 40 This attribute shows the response to the most recent operation 49 This attribute shows the platform-specific action that should 59 This attribute shows whether it is allowed to request an 63 This attribute is only supported by PPI version 1.2+. 70 This attribute shows whether it is allowed to request an 73 255. The format is same with tcg_operations. This attribute
|
D | sysfs-devices-mmc | 8 is enabled, this attribute will indicate the start address of 9 enhanced data area. If not, this attribute will be -EINVAL. 19 is enabled, this attribute will indicate the size of enhanced 20 data area. If not, this attribute will be -EINVAL.
|
D | sysfs-devices-real_power_state | 5 The /sys/devices/.../real_power_state attribute is only present 17 In some situations the value of this attribute may be different 18 from the value of the /sys/devices/.../power_state attribute for 23 This attribute is read-only.
|
D | sysfs-driver-hid-multitouch | 4 Description: The integer value of this attribute corresponds to the 6 When read, this attribute returns the current settings (see 8 When written this attribute change on the fly the quirks, then
|
D | sysfs-class-rtc-rtc0-device-rtc_calibration | 5 Description: The rtc_calibration attribute allows the userspace to 8 by adding to it the value of this attribute. 9 The range of the attribute is -127 to +127 in units of
|
D | sysfs-devices-firmware_node | 13 The /sys/devices/.../firmware/description attribute contains a string 15 namespace. This attribute is read-only. If the device does not have 17 attribute is not present.
|
D | sysfs-bus-css | 6 This attribute is present for all subchannel types. 23 Note: This is an I/O-subchannel specific attribute. 32 layer (this implies that this attribute is not necessarily 34 Note: This is an I/O-subchannel specific attribute.
|
D | sysfs-devices-soc | 19 Read-only attribute common to all SoCs. Contains the SoC machine 26 Read-only attribute common to all SoCs. Contains SoC family name 33 Read-only attribute supported by most SoCs. In the case of 40 Read-only attribute supported by most SoCs. Contains the SoC's 47 Read-only attribute supported ST-Ericsson's silicon. Contains the
|
D | sysfs-block-dm | 24 Otherwise it contains 0. Read-only attribute. 35 Setting this attribute to 0 (the default) will disable 37 accounting. This attribute is not applicable to 47 Otherwise it contains 0. Read-only attribute.
|
D | sysfs-bus-mdio | 6 This attribute contains the 32-bit PHY Identifier as reported 16 This attribute contains the PHY interface as configured by the 26 This attribute contains the boolean value whether a given PHY
|
D | sysfs-class-net | 81 allow this attribute to be written to force a link state for 104 This attribute can be used by supplicant software to signal that 106 authentication is performed (e.g: 802.1x). 'link_mode' attribute 119 Note: This attribute is only valid for interfaces that implement 145 decimal number. This attribute is used for mapping an interface 156 the interface is linked to. Format is decimal. This attribute is 166 attribute should be used in conjunction with 'dormant' attribute 179 a 'mtu' attribute value of 1500 unless changed. 226 Note: this attribute is only valid for interfaces that implement
|
D | sysfs-devices-resource_in_use | 5 The /sys/devices/.../resource_in_use attribute is only present 12 This attribute is read-only.
|
D | sysfs-bus-event_source-devices-format | 8 Each attribute of this group defines the 'hardware' bitmask 19 Defines contents of attribute that occupies bits 1,6-10,44 of
|
D | sysfs-class-zram | 14 RO attribute. Read operation will cause zram to add a new 23 WO attribute. Remove a specific /dev/zramX device, where X
|
D | sysfs-bus-pci | 64 Writing a non-zero value to this attribute will 72 Writing a zero value to this attribute disallows MSI and 90 This attribute indicates the mode that the irq vector named by 97 Writing a non-zero value to this attribute will 104 Writing a non-zero value to this attribute will 113 Writing a non-zero value to this attribute will 178 Reading this attribute will provide the firmware 180 the PCI device. The attribute will be created only 192 Reading this attribute will provide the firmware 194 PCI device. The attribute will be created only if the firmware [all …]
|
D | sysfs-bus-iio-trigger-sysfs | 17 The name attribute holds a description string for the current 26 This attribute is provided by the iio-trig-sysfs stand-alone 37 This attribute is used to unregister and delete a previously
|
D | sysfs-devices-power_state | 5 The /sys/devices/.../power_state attribute is only present for 20 This attribute is read-only.
|
D | sysfs-firmware-efi-runtime-map | 5 that all efi memory ranges which have the runtime attribute 27 attribute : The attributes of the memory range.
|
D | configfs-usb-gadget-phonet | 6 This item contains just one readonly attribute: ifname.
|
D | configfs-usb-gadget-acm | 6 This item contains just one readonly attribute: port_num.
|
D | configfs-usb-gadget-obex | 6 This item contains just one readonly attribute: port_num.
|
D | configfs-usb-gadget-serial | 6 This item contains just one readonly attribute: port_num.
|
/linux-4.4.14/drivers/hid/ |
D | hid-sensor-custom.c | 36 struct hid_sensor_hub_attribute_info attribute; member 39 struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS]; 70 static struct attribute hid_custom_attrs[] = { 194 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 195 sensor_inst->power_state->attribute.index, in set_power_report_state() 199 sensor_inst->report_state->attribute.report_id, in set_power_report_state() 200 sensor_inst->report_state->attribute.index, in set_power_report_state() 205 sensor_inst->power_state->attribute.logical_minimum; in set_power_report_state() 207 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 208 sensor_inst->power_state->attribute.index, in set_power_report_state() [all …]
|
/linux-4.4.14/include/linux/ |
D | sysfs.h | 29 struct attribute { struct 86 struct attribute *, int); 89 struct attribute **attrs; 156 struct attribute attr; 210 ssize_t (*show)(struct kobject *, struct attribute *, char *); 211 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); 229 const struct attribute *attr, 232 const struct attribute **attr); 234 const struct attribute *attr, umode_t mode); 235 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, [all …]
|
D | mbus.h | 73 unsigned int attribute, 76 int mvebu_mbus_add_window_by_id(unsigned int target, unsigned int attribute,
|
D | cpufreq.h | 189 struct attribute attr; 207 struct attribute attr; 209 struct attribute *attr, char *buf); 210 ssize_t (*store)(struct kobject *a, struct attribute *b,
|
D | extcon.h | 125 struct attribute **attrs_muex; 146 struct attribute *attrs[3]; /* to be fed to attr_g.attrs */
|
D | kobject.h | 119 struct attribute **default_attrs; 140 struct attribute attr;
|
/linux-4.4.14/samples/kobject/ |
D | kset-example.c | 41 struct attribute attr; 55 struct attribute *attr, in foo_attr_show() 58 struct foo_attribute *attribute; in foo_attr_show() local 61 attribute = to_foo_attr(attr); in foo_attr_show() 64 if (!attribute->show) in foo_attr_show() 67 return attribute->show(foo, attribute, buf); in foo_attr_show() 75 struct attribute *attr, in foo_attr_store() 78 struct foo_attribute *attribute; in foo_attr_store() local 81 attribute = to_foo_attr(attr); in foo_attr_store() 84 if (!attribute->store) in foo_attr_store() [all …]
|
/linux-4.4.14/sound/pci/asihpi/ |
D | hpicmn.c | 334 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single() 337 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single() 354 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single() 357 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single() 374 if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { in hpi_check_control_cache_single() 382 if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) in hpi_check_control_cache_single() 388 if (phm->u.c.attribute == HPI_LEVEL_GAIN) { in hpi_check_control_cache_single() 395 if (phm->u.c.attribute == HPI_TUNER_FREQ) in hpi_check_control_cache_single() 397 else if (phm->u.c.attribute == HPI_TUNER_BAND) in hpi_check_control_cache_single() 399 else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) in hpi_check_control_cache_single() [all …]
|
D | hpifunc.c | 1317 hm.u.c.attribute = attrib; in hpi_control_param_set() 1334 hm.u.c.attribute = attrib; in hpi_control_log_set2() 1352 hm.u.c.attribute = attrib; in hpi_control_param_get() 1378 hm.u.c.attribute = attrib; in hpi_control_log_get2() 1399 hm.u.c.attribute = attrib; in hpi_control_query() 1409 static u16 hpi_control_get_string(const u32 h_control, const u16 attribute, in hpi_control_get_string() argument 1429 hm.u.c.attribute = attribute; in hpi_control_get_string() 1511 hm.u.c.attribute = HPI_AESEBURX_USERDATA; in hpi_aesebu_receiver_get_user_data() 1530 hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS; in hpi_aesebu_receiver_get_channel_status() 1627 hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY; in hpi_bitstream_get_activity() [all …]
|
D | hpidebug.c | 53 phm->u.c.attribute); in hpi_debug_message()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/ |
D | linux-sysctl.c | 55 struct attribute attr; 56 ssize_t (*show)(struct kobject *kobj, struct attribute *attr, 58 ssize_t (*store)(struct kobject *kobj, struct attribute *attr, 65 struct attribute *attr, in static_uintvalue_show() 74 struct attribute *attr, in static_uintvalue_store() 99 static ssize_t max_dirty_mb_show(struct kobject *kobj, struct attribute *attr, in max_dirty_mb_show() 106 static ssize_t max_dirty_mb_store(struct kobject *kobj, struct attribute *attr, in max_dirty_mb_store() 143 static struct attribute *lustre_attrs[] = {
|
D | linux-module.c | 216 static ssize_t version_show(struct kobject *kobj, struct attribute *attr, in version_show() 222 static ssize_t pinger_show(struct kobject *kobj, struct attribute *attr, in pinger_show() 228 static ssize_t health_show(struct kobject *kobj, struct attribute *attr, in health_show() 269 static ssize_t jobid_var_show(struct kobject *kobj, struct attribute *attr, in jobid_var_show() 275 static ssize_t jobid_var_store(struct kobject *kobj, struct attribute *attr, in jobid_var_store() 293 static ssize_t jobid_name_show(struct kobject *kobj, struct attribute *attr, in jobid_name_show() 299 static ssize_t jobid_name_store(struct kobject *kobj, struct attribute *attr, in jobid_name_store() 327 static struct attribute *lustre_attrs[] = {
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 35 struct attribute attr; 95 struct attribute *attr, in elog_attr_show() 98 struct elog_attribute *attribute; in elog_attr_show() local 101 attribute = to_elog_attr(attr); in elog_attr_show() 104 if (!attribute->show) in elog_attr_show() 107 return attribute->show(elog, attribute, buf); in elog_attr_show() 111 struct attribute *attr, in elog_attr_store() 114 struct elog_attribute *attribute; in elog_attr_store() local 117 attribute = to_elog_attr(attr); in elog_attr_store() 120 if (!attribute->store) in elog_attr_store() [all …]
|
D | opal-dump.c | 35 struct attribute attr; 147 static struct attribute *initiate_attrs[] = { 159 struct attribute *attr, in dump_attr_show() 162 struct dump_attribute *attribute; in dump_attr_show() local 165 attribute = to_dump_attr(attr); in dump_attr_show() 168 if (!attribute->show) in dump_attr_show() 171 return attribute->show(dump, attribute, buf); in dump_attr_show() 175 struct attribute *attr, in dump_attr_store() 178 struct dump_attribute *attribute; in dump_attr_store() local 181 attribute = to_dump_attr(attr); in dump_attr_store() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 91 struct attribute attr; 114 struct attribute attr; 132 struct attribute attr; 150 struct attribute attr_gpuid; 151 struct attribute attr_name; 152 struct attribute attr_props; 163 struct attribute attr_genid; 164 struct attribute attr_props;
|
/linux-4.4.14/drivers/firmware/efi/ |
D | fake_mem.c | 40 u64 attribute; member 125 m_attr = fake_mems[i].attribute; in efi_fake_memmap() 128 md->attribute |= m_attr; in efi_fake_memmap() 133 md->attribute |= m_attr; in efi_fake_memmap() 153 md->attribute |= m_attr; in efi_fake_memmap() 178 md->attribute |= m_attr; in efi_fake_memmap() 197 u64 start = 0, mem_size = 0, attribute = 0; in setup_fake_mem() local 211 attribute = simple_strtoull(p+1, &p, 0); in setup_fake_mem() 220 fake_mems[nr_fake_mem].attribute = attribute; in setup_fake_mem() 232 fake_mems[i].attribute, fake_mems[i].range.start, in setup_fake_mem()
|
D | runtime-map.c | 29 struct attribute attr; 33 static inline struct map_attribute *to_map_attr(struct attribute *attr) in to_map_attr() 54 EFI_RUNTIME_U64_ATTR_SHOW(attribute); 61 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show() 74 static struct map_attribute map_attribute_attr = __ATTR_RO(attribute); 79 static struct attribute *def_attrs[] = {
|
D | esrt.c | 74 struct attribute attr; 85 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() 91 struct attribute *_attr, char *buf) in esre_attr_show() 139 static struct attribute *esre1_attrs[] = { 211 static struct attribute *esrt_attrs[] = { 228 struct attribute *attr, int n) in esrt_attr_is_visible()
|
D | efi.c | 144 static struct attribute *efi_subsys_attrs[] = { 154 struct attribute *attr, int n) in efi_attr_is_visible() 297 if (!(md->attribute & EFI_MEMORY_RUNTIME) && in efi_mem_desc_lookup() 346 if (!(md->attribute & EFI_MEMORY_RUNTIME) && in efi_lookup_mapped_addr() 611 attr = md->attribute; in efi_md_typeattr_format() 662 return md->attribute; in efi_mem_attributes()
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | lproc_osc.c | 45 static ssize_t active_show(struct kobject *kobj, struct attribute *attr, in active_show() 54 static ssize_t active_store(struct kobject *kobj, struct attribute *attr, in active_store() 81 struct attribute *attr, in max_rpcs_in_flight_show() 92 struct attribute *attr, in max_rpcs_in_flight_store() 133 struct attribute *attr, in max_dirty_mb_show() 151 struct attribute *attr, in max_dirty_mb_store() 234 struct attribute *attr, in cur_dirty_bytes_show() 251 struct attribute *attr, in cur_grant_bytes_show() 267 struct attribute *attr, in cur_grant_bytes_store() 298 struct attribute *attr, in cur_lost_grant_bytes_show() [all …]
|
/linux-4.4.14/net/core/ |
D | net-sysfs.c | 489 static struct attribute *net_class_attrs[] = { 577 static struct attribute *netstat_attrs[] = { 611 static struct attribute *wireless_attrs[] = { 631 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show() 634 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_show() local 637 if (!attribute->show) in rx_queue_attr_show() 640 return attribute->show(queue, attribute, buf); in rx_queue_attr_show() 643 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store() 646 struct rx_queue_attribute *attribute = to_rx_queue_attr(attr); in rx_queue_attr_store() local 649 if (!attribute->store) in rx_queue_attr_store() [all …]
|
/linux-4.4.14/Documentation/zh_CN/filesystems/ |
D | sysfs.txt | 87 struct attribute { 94 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr); 95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr); 104 struct attribute attr; 142 ssize_t (*show)(struct kobject *, struct attribute *, char *); 143 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); 151 将一般的kobject 和 attribute 结构体指针转换为适当的指针类型后 160 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, 308 struct attribute attr; 330 struct attribute attr; [all …]
|
/linux-4.4.14/drivers/edac/ |
D | edac_device_sysfs.c | 108 struct attribute attr; 118 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show() 130 struct attribute *attr, in edac_dev_ctl_info_store() 220 .default_attrs = (struct attribute **)device_ctrl_attr, 348 struct attribute attr; 355 struct attribute *attr, char *buffer) in edac_dev_instance_show() 367 struct attribute *attr, in edac_dev_instance_store() 410 .default_attrs = (struct attribute **)device_instance_attr, 423 struct attribute *attr, char *data) in block_ue_count_show() 431 struct attribute *attr, char *data) in block_ce_count_show() [all …]
|
D | edac_pci_sysfs.c | 91 struct attribute attr; 98 struct attribute *attr, char *buffer) in edac_pci_instance_show() 110 struct attribute *attr, in edac_pci_instance_store() 148 .default_attrs = (struct attribute **)pci_instance_attr, 231 struct attribute attr; 238 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show() 250 struct attribute *attr, const char *buffer, in edac_pci_dev_store() 330 .default_attrs = (struct attribute **)edac_pci_attr,
|
D | edac_core.h | 153 struct attribute attr; 171 struct attribute attr; 172 ssize_t (*show)(struct kobject *, struct attribute *, char *); 173 ssize_t (*store)(struct kobject *, struct attribute *,
|
D | edac_mc_sysfs.c | 280 static struct attribute *csrow_attrs[] = { 331 static struct attribute *dynamic_csrow_dimm_attr[] = { 356 static struct attribute *dynamic_csrow_ce_count_attr[] = { 367 struct attribute *attr, int idx) in csrow_dev_is_visible() 564 static struct attribute *dimm_attrs[] = { 819 static struct attribute *mci_attrs[] = { 834 struct attribute *attr, int idx) in mci_attr_is_visible()
|
D | amd64_edac_inj.c | 210 static struct attribute *amd64_edac_inj_attrs[] = { 220 struct attribute *attr, int idx) in amd64_edac_inj_is_visible()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_sysfs.c | 27 struct attribute attr; 34 to_attr(struct attribute *attr) in to_attr() 61 struct attribute *attr, in xfs_sysfs_object_show() 72 struct attribute *attr, in xfs_sysfs_object_store() 119 static struct attribute *xfs_dbg_attrs[] = { 175 static struct attribute *xfs_stats_attrs[] = { 258 static struct attribute *xfs_log_attrs[] = {
|
/linux-4.4.14/drivers/pci/ |
D | slot.c | 20 struct attribute *attr, char *buf) in pci_slot_attr_show() 23 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_show() local 24 return attribute->show ? attribute->show(slot, buf) : -EIO; in pci_slot_attr_show() 28 struct attribute *attr, const char *buf, size_t len) in pci_slot_attr_store() 31 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_store() local 32 return attribute->store ? attribute->store(slot, buf, len) : -EIO; in pci_slot_attr_store() 128 static struct attribute *pci_slot_default_attrs[] = {
|
D | pci-label.c | 42 enum smbios_attr_enum attribute) in find_smbios_instance_string() argument 59 if (attribute == SMBIOS_ATTR_INSTANCE_SHOW) in find_smbios_instance_string() 63 else if (attribute == SMBIOS_ATTR_LABEL_SHOW) in find_smbios_instance_string() 75 struct attribute *attr, int n) in smbios_instance_string_exist() 117 static struct attribute *smbios_attributes[] = { 220 struct attribute *attr, int n) in acpi_index_string_exist() 254 static struct attribute *acpi_attributes[] = {
|
/linux-4.4.14/kernel/ |
D | params.c | 596 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show() local 598 if (!attribute->param->ops->get) in param_attr_show() 602 count = attribute->param->ops->get(buf, attribute->param); in param_attr_show() 617 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store() local 619 if (!attribute->param->ops->set) in param_attr_store() 623 param_check_unsafe(attribute->param); in param_attr_store() 624 err = attribute->param->ops->set(buf, attribute->param); in param_attr_store() 667 struct attribute **new_attrs; in add_sysfs_param() 926 struct attribute *attr, in module_attr_show() 929 struct module_attribute *attribute; in module_attr_show() local [all …]
|
D | padata.c | 902 struct attribute attr; 903 ssize_t (*show)(struct padata_instance *, struct attribute *, char *); 904 ssize_t (*store)(struct padata_instance *, struct attribute *, 909 struct attribute *attr, char *buf) in show_cpumask() 927 struct attribute *attr, in store_cpumask() 968 static struct attribute *padata_default_attrs[] = { 975 struct attribute *attr, char *buf) in padata_sysfs_show() 989 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | lproc_llite.c | 51 static ssize_t blocksize_show(struct kobject *kobj, struct attribute *attr, in blocksize_show() 69 static ssize_t kbytestotal_show(struct kobject *kobj, struct attribute *attr, in kbytestotal_show() 94 static ssize_t kbytesfree_show(struct kobject *kobj, struct attribute *attr, in kbytesfree_show() 119 static ssize_t kbytesavail_show(struct kobject *kobj, struct attribute *attr, in kbytesavail_show() 144 static ssize_t filestotal_show(struct kobject *kobj, struct attribute *attr, in filestotal_show() 162 static ssize_t filesfree_show(struct kobject *kobj, struct attribute *attr, in filesfree_show() 180 static ssize_t client_type_show(struct kobject *kobj, struct attribute *attr, in client_type_show() 191 static ssize_t fstype_show(struct kobject *kobj, struct attribute *attr, in fstype_show() 201 static ssize_t uuid_show(struct kobject *kobj, struct attribute *attr, in uuid_show() 225 struct attribute *attr, char *buf) in max_read_ahead_mb_show() [all …]
|
/linux-4.4.14/net/batman-adv/ |
D | sysfs.c | 143 struct attribute *attr, char *buff, \ 155 struct attribute *attr, char *buff) \ 175 struct attribute *attr, char *buff, \ 188 struct attribute *attr, char *buff) \ 206 struct attribute *attr, char *buff, \ 222 struct attribute *attr, char *buff) \ 281 struct attribute *attr, in __batadv_store_bool_attr() 336 const struct attribute *attr, in __batadv_store_uint_attr() 350 struct attribute *attr, char *buff) in batadv_show_bat_algo() 364 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode() [all …]
|
D | sysfs.h | 39 struct attribute attr; 40 ssize_t (*show)(struct kobject *kobj, struct attribute *attr, 42 ssize_t (*store)(struct kobject *kobj, struct attribute *attr,
|
/linux-4.4.14/Documentation/filesystems/ |
D | sysfs.txt | 68 An attribute definition is simply: 70 struct attribute { 77 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr); 78 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr); 81 A bare attribute contains no means to read or write the value of the 82 attribute. Subsystems are encouraged to define their own attribute 89 struct attribute attr; 123 When a subsystem defines a new attribute type, it must implement a 125 show and store methods of the attribute owners. 128 ssize_t (*show)(struct kobject *, struct attribute *, char *); [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | perf_cpum_cf_events.c | 118 static struct attribute *cpumcf_pmu_event_attr[] = { 150 static struct attribute *cpumcf_z10_pmu_event_attr[] __initdata = { 172 static struct attribute *cpumcf_z196_pmu_event_attr[] __initdata = { 200 static struct attribute *cpumcf_zec12_pmu_event_attr[] __initdata = { 248 static struct attribute *cpumsf_pmu_format_attr[] = { 265 static __init struct attribute **merge_attr(struct attribute **a, in merge_attr() 266 struct attribute **b) in merge_attr() 268 struct attribute **new; in merge_attr() 277 new = kmalloc(sizeof(struct attribute *) * j, GFP_KERNEL); in merge_attr() 292 struct attribute **combined, **model; in cpumf_cf_event_group()
|
D | ipl.c | 265 static void make_attrs_ro(struct attribute **attrs) in make_attrs_ro() 494 static struct attribute *ipl_fcp_attrs[] = { 512 static struct attribute *ipl_ccw_attrs_vm[] = { 520 static struct attribute *ipl_ccw_attrs_lpar[] = { 539 static struct attribute *ipl_nss_attrs[] = { 553 static struct attribute *ipl_unknown_attrs[] = { 822 static struct attribute *reipl_fcp_attrs[] = { 872 static struct attribute *reipl_ccw_attrs_vm[] = { 879 static struct attribute *reipl_ccw_attrs_lpar[] = { 951 static struct attribute *reipl_nss_attrs[] = { [all …]
|
/linux-4.4.14/Documentation/ |
D | DMA-attributes.txt | 10 DMA_ATTR_WRITE_BARRIER is a (write) barrier attribute for DMA. DMA 11 to a memory region with the DMA_ATTR_WRITE_BARRIER attribute forces 32 those that do not will simply ignore the attribute and exhibit default 42 those that do not will simply ignore the attribute and exhibit default 60 Buffers allocated with this attribute can be only passed to user space 64 dma_free_attrs(). Make sure that both of these also get this attribute 69 attribute and exhibit default behavior. 90 transferred to 'device' domain. This attribute can be also used for 92 device domain after releasing a mapping for it. Use this attribute with 101 specifying this attribute the allocated buffer is forced to be contiguous
|
D | edac.txt | 60 There is a PCI device attribute located in sysfs that is checked by 61 the EDAC PCI scanning code. If that attribute is set, PCI parity/error 62 scanning is skipped for that device. The attribute is: 194 control and attribute files. 200 In 'mcX' directories are EDAC control and attribute files for 216 In the 'csrowX' directories are EDAC control and attribute files for 220 Total Uncorrectable Errors count attribute file: 224 This attribute file displays the total count of uncorrectable 230 Total Correctable Errors count attribute file: 234 This attribute file displays the total count of correctable [all …]
|
D | VGA-softcursor.txt | 23 The second parameter selects character attribute bits you want to change 30 The third parameter consists of character attribute bits you want to set.
|
/linux-4.4.14/fs/sysfs/ |
D | file.c | 241 const struct attribute *attr, bool is_bin, in sysfs_add_file_mode_ns() 309 int sysfs_add_file(struct kernfs_node *parent, const struct attribute *attr, in sysfs_add_file() 321 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns() 331 int sysfs_create_files(struct kobject *kobj, const struct attribute **ptr) in sysfs_create_files() 352 const struct attribute *attr, const char *group) in sysfs_add_file_to_group() 381 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file() 410 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_remove_file_ns() 426 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) in sysfs_remove_file_self() 442 void sysfs_remove_files(struct kobject *kobj, const struct attribute **ptr) in sysfs_remove_files() 457 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
|
D | sysfs.h | 32 const struct attribute *attr, bool is_bin); 34 const struct attribute *attr, bool is_bin,
|
D | group.c | 24 struct attribute *const *attr; in remove_files() 38 struct attribute *const *attr; in create_files() 287 struct attribute *const *attr; in sysfs_merge_group() 315 struct attribute *const *attr; in sysfs_unmerge_group()
|
/linux-4.4.14/drivers/staging/most/hdm-dim2/ |
D | dim2_sysfs.c | 22 struct attribute attr; 37 static struct attribute *bus_default_attrs[] = { 50 static ssize_t bus_kobj_attr_show(struct kobject *kobj, struct attribute *attr, in bus_kobj_attr_show() 63 static ssize_t bus_kobj_attr_store(struct kobject *kobj, struct attribute *attr, in bus_kobj_attr_store()
|
/linux-4.4.14/Documentation/hwmon/ |
D | hwmon-kernel-api.txt | 45 the parent device prior to calling hwmon_device_register. A name attribute must 50 device name. The registration function wil create a name sysfs attribute 55 a pointer to a list of sysfs attribute groups. The list must be NULL terminated. 56 hwmon_device_register_with_groups creates the hwmon device with name attribute 77 attributes. This is feasible if an attribute has no additional context. However, 79 will need to be passed to the sysfs attribute handling function. 94 attribute read or write function. Its parameter is the device to which the 95 attribute is attached. 107 is the device to which the attribute is attached.
|
D | ibmpowernv | 17 'hwmon' populates the 'sysfs' tree having attribute files, each for a given 18 sensor type and its attribute data. 21 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
|
D | lm73 | 28 conversion time via the 'update_interval' sysfs attribute for the 29 device. This attribute will normalize ranges of input values to the 41 The following examples show how the 'update_interval' attribute can be
|
D | max34440 | 54 For MAX34446, the value of the currX_crit attribute determines if current or 57 attribute is set to a positive value. Power measurement is only enabled if 126 MAX34460 supports attribute groups in[1-12] and temp[1-5]. 127 MAX34461 supports attribute groups in[1-16] and temp[1-5].
|
D | dme1737 | 129 when crossed. Additionally, each temperature input has a fault attribute that 143 attribute that needs to be set to the maximum attainable RPM (fan at 100% duty- 153 the appropriate enable attribute accordingly. PWM outputs 5-6 can only operate 156 appropriate PWM attribute. In automatic mode, the PWM attribute returns the 158 support the setting of the output frequency via the freq attribute. 243 mapping. This attribute is a bitfield 295 This attribute is a bitfield and
|
D | ina2xx | 55 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please 59 Additionally ina226 supports update_interval attribute as described in
|
/linux-4.4.14/drivers/hwmon/ |
D | vexpress.c | 76 struct attribute *attr, int index) in vexpress_hwmon_attr_is_visible() 98 static struct attribute *vexpress_hwmon_attrs_volt[] = { 119 static struct attribute *vexpress_hwmon_attrs_amp[] = { 139 static struct attribute *vexpress_hwmon_attrs_temp[] = { 159 static struct attribute *vexpress_hwmon_attrs_power[] = { 179 static struct attribute *vexpress_hwmon_attrs_energy[] = {
|
D | dme1737.c | 1265 static struct attribute *dme1737_pwm_chmod_attr[]; 1266 static void dme1737_chmod_file(struct device*, struct attribute*, umode_t); 1658 static struct attribute *dme1737_attr[] = { 1725 static struct attribute *dme1737_temp_offset_attr[] = { 1741 static struct attribute *dme1737_vid_attr[] = { 1756 static struct attribute *dme1737_zone3_attr[] = { 1774 static struct attribute *dme1737_zone_hyst_attr[] = { 1790 static struct attribute *dme1737_in7_attr[] = { 1807 static struct attribute *dme1737_pwm1_attr[] = { 1817 static struct attribute *dme1737_pwm2_attr[] = { [all …]
|
D | nct7904.c | 177 struct attribute *a, int n) in nct7904_fanin_is_visible() 200 static struct attribute *nct7904_fanin_attrs[] = { 259 struct attribute *a, int n) in nct7904_vsen_is_visible() 296 static struct attribute *nct7904_vsen_attrs[] = { 345 struct attribute *a, int n) in nct7904_tcpu_is_visible() 365 static struct attribute *nct7904_tcpu_attrs[] = { 468 static struct attribute *nct7904_fanctl_attrs[] = {
|
D | ad7418.c | 157 static struct attribute *ad7416_attrs[] = { 165 static struct attribute *ad7417_attrs[] = { 177 static struct attribute *ad7418_attrs[] = {
|
D | mc13783-adc.c | 128 static struct attribute *mc13783_attr_base[] = { 142 static struct attribute *mc13783_attr_16chans[] = { 155 static struct attribute *mc13783_attr_ts[] = {
|
D | smsc47m1.c | 454 static struct attribute *smsc47m1_attributes_fan1[] = { 466 static struct attribute *smsc47m1_attributes_fan2[] = { 478 static struct attribute *smsc47m1_attributes_fan3[] = { 490 static struct attribute *smsc47m1_attributes_pwm1[] = { 500 static struct attribute *smsc47m1_attributes_pwm2[] = { 510 static struct attribute *smsc47m1_attributes_pwm3[] = { 520 static struct attribute *smsc47m1_attributes[] = {
|
D | max16065.c | 415 static struct attribute *max16065_basic_attributes[] = { 479 static struct attribute *max16065_current_attributes[] = { 486 static struct attribute *max16065_min_attributes[] = { 502 static struct attribute *max16065_max_attributes[] = { 519 struct attribute *a, int n) in max16065_basic_is_visible() 531 struct attribute *a, int index) in max16065_secondary_is_visible()
|
D | k10temp.c | 119 struct attribute *attr, int index) in k10temp_is_visible() 137 static struct attribute *k10temp_attrs[] = {
|
D | abx500.h | 30 int (*is_visible)(struct attribute *, int);
|
D | lm87.c | 682 static struct attribute *lm87_attributes[] = { 722 static struct attribute *lm87_attributes_in6[] = { 734 static struct attribute *lm87_attributes_fan1[] = { 746 static struct attribute *lm87_attributes_in7[] = { 758 static struct attribute *lm87_attributes_fan2[] = { 770 static struct attribute *lm87_attributes_temp3[] = { 784 static struct attribute *lm87_attributes_in0_5[] = { 800 static struct attribute *lm87_attributes_vid[] = {
|
D | hwmon.c | 43 static struct attribute *hwmon_dev_attrs[] = { 49 struct attribute *attr, int n) in hwmon_dev_name_is_visible()
|
D | emc1403.c | 251 static struct attribute *emc1402_attrs[] = { 276 static struct attribute *emc1403_attrs[] = { 304 static struct attribute *emc1404_attrs[] = { 341 static struct attribute *emc1402_alarm_attrs[] = {
|
/linux-4.4.14/drivers/cpuidle/ |
D | sysfs.c | 121 static struct attribute *cpuidle_default_attrs[] = { 131 static struct attribute *cpuidle_switch_attrs[] = { 163 struct attribute attr; 189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show() 204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store() 238 struct attribute attr; 314 static struct attribute *cpuidle_state_default_attrs[] = { 338 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show() 352 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store() 458 struct attribute attr; [all …]
|
/linux-4.4.14/arch/ia64/kernel/ |
D | efi.c | 256 if (!(md->attribute & EFI_MEMORY_WB)) in is_memory_available() 271 u64 attribute; member 295 return (md->attribute & EFI_MEMORY_WB); in efi_wb() 301 return (md->attribute & EFI_MEMORY_UC); in efi_uc() 312 if (k->attribute != attr) in walk() 616 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_enter_virtual_mode() 621 if (md->attribute & EFI_MEMORY_WB) { in efi_enter_virtual_mode() 623 } else if (md->attribute & EFI_MEMORY_UC) { in efi_enter_virtual_mode() 625 } else if (md->attribute & EFI_MEMORY_WC) { in efi_enter_virtual_mode() 638 } else if (md->attribute & EFI_MEMORY_WT) { in efi_enter_virtual_mode() [all …]
|
D | topology.c | 240 struct attribute attr; 261 static struct attribute * cache_default_attrs[] = { 276 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
|
/linux-4.4.14/fs/nilfs2/ |
D | sysfs.h | 64 struct attribute attr; \ 65 ssize_t (*show)(struct kobject *, struct attribute *, \ 67 ssize_t (*store)(struct kobject *, struct attribute *, \ 75 struct attribute attr; \ 91 struct attribute attr; \
|
D | sysfs.c | 46 struct attribute *attr, char *buf) \ 57 struct attribute *attr, \ 150 static struct attribute *nilfs_snapshot_attrs[] = { 158 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show() 169 struct attribute *attr, in nilfs_snapshot_attr_store() 249 static struct attribute *nilfs_mounted_snapshots_attrs[] = { 358 static struct attribute *nilfs_checkpoints_attrs[] = { 447 static struct attribute *nilfs_segments_attrs[] = { 700 static struct attribute *nilfs_segctor_attrs[] = { 835 static struct attribute *nilfs_superblock_attrs[] = { [all …]
|
/linux-4.4.14/Documentation/power/ |
D | power_supply_class.txt | 13 Each attribute has well defined meaning, up to unit of measure used. While 19 The core attribute set is subject to the standard Linux evolution (i.e. 20 if it will be found that some attribute is applicable to many power supply 66 ~ CAPACITY attribute represents capacity in *percents*, from 0 to 100. ~ 75 STATUS - this attribute represents operating status (charging, full, 97 Battery driver also can use this attribute just to inform userspace 179 Q: Where is POWER_SUPPLY_PROP_XYZ attribute? 180 A: If you cannot find attribute suitable for your driver needs, feel free 190 Q: I have some very specific attribute (e.g. battery color), should I add 191 this attribute to standard ones? [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/ |
D | lproc_lmv.c | 45 static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr, in numobd_show() 80 static ssize_t placement_show(struct kobject *kobj, struct attribute *attr, in placement_show() 93 static ssize_t placement_store(struct kobject *kobj, struct attribute *attr, in placement_store() 124 static ssize_t activeobd_show(struct kobject *kobj, struct attribute *attr, in activeobd_show() 217 static struct attribute *lmv_attrs[] = {
|
/linux-4.4.14/drivers/video/console/ |
D | fbcon.h | 238 int attribute = 0; in get_attribute() local 242 attribute |= FBCON_ATTRIBUTE_UNDERLINE; in get_attribute() 244 attribute |= FBCON_ATTRIBUTE_REVERSE; in get_attribute() 246 attribute |= FBCON_ATTRIBUTE_BOLD; in get_attribute() 249 return attribute; in get_attribute()
|
D | bitblit.c | 25 static void update_attr(u8 *dst, u8 *src, int attribute, in update_attr() argument 36 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i >= offset) in update_attr() 38 if (attribute & FBCON_ATTRIBUTE_BOLD) in update_attr() 40 if (attribute & FBCON_ATTRIBUTE_REVERSE) in update_attr() 154 u32 attribute = get_attribute(info, scr_readw(s)); in bit_putcs() local 164 if (attribute) { in bit_putcs() 185 bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, in bit_putcs() 188 bit_putcs_unaligned(vc, info, s, attribute, cnt, in bit_putcs() 244 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in bit_cursor() local 260 attribute = get_attribute(info, c); in bit_cursor() [all …]
|
D | fbcon_ccw.c | 25 static void ccw_update_attr(u8 *dst, u8 *src, int attribute, in ccw_update_attr() argument 43 if (attribute & FBCON_ATTRIBUTE_UNDERLINE) { in ccw_update_attr() 51 if (attribute & FBCON_ATTRIBUTE_BOLD && i) in ccw_update_attr() 54 if (attribute & FBCON_ATTRIBUTE_REVERSE) in ccw_update_attr() 141 u32 attribute = get_attribute(info, scr_readw(s)); in ccw_putcs() local 155 if (attribute) { in ccw_putcs() 176 ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ccw_putcs() 229 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in ccw_cursor() local 249 attribute = get_attribute(info, c); in ccw_cursor() 258 if (attribute) { in ccw_cursor() [all …]
|
D | fbcon_cw.c | 25 static void cw_update_attr(u8 *dst, u8 *src, int attribute, in cw_update_attr() argument 35 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && !j) in cw_update_attr() 37 if (attribute & FBCON_ATTRIBUTE_BOLD && i) in cw_update_attr() 39 if (attribute & FBCON_ATTRIBUTE_REVERSE) in cw_update_attr() 126 u32 attribute = get_attribute(info, scr_readw(s)); in cw_putcs() local 140 if (attribute) { in cw_putcs() 159 cw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in cw_putcs() 212 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in cw_cursor() local 232 attribute = get_attribute(info, c); in cw_cursor() 241 if (attribute) { in cw_cursor() [all …]
|
D | fbcon_ud.c | 25 static void ud_update_attr(u8 *dst, u8 *src, int attribute, in ud_update_attr() argument 37 if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i < offset) in ud_update_attr() 39 if (attribute & FBCON_ATTRIBUTE_BOLD) in ud_update_attr() 41 if (attribute & FBCON_ATTRIBUTE_REVERSE) in ud_update_attr() 163 u32 attribute = get_attribute(info, scr_readw(s)); in ud_putcs() local 178 if (attribute) { in ud_putcs() 201 ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ud_putcs() 204 ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch, in ud_putcs() 259 int attribute, use_sw = (vc->vc_cursor_type & 0x10); in ud_cursor() local 280 attribute = get_attribute(info, c); in ud_cursor() [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-sysfs.c | 12 struct attribute attr; 21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, in dm_attr_show() 46 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr, in dm_attr_store() 105 static struct attribute *dm_attrs[] = {
|
/linux-4.4.14/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-ad7192 | 5 This attribute, if available, is used to enable the AC 14 This attribute, if available, is used to close or open the 20 using the bridge_switch_en attribute.
|
/linux-4.4.14/Documentation/ia64/ |
D | aliasing.txt | 11 The attribute is part of the virtual translation, i.e., it is 19 System memory typically uses the WB attribute. The UC attribute is 20 used for memory-mapped I/O devices. The WC attribute is uncacheable 47 memory Linux is actually using and the attribute for each region. 64 means that to avoid attribute aliasing, Linux can create a cacheable 93 attribute as the kernel mapping. 96 an attribute reported as being supported in the EFI memory map. 118 may not be requested as using the WC attribute. 124 Otherwise, the user mapping must use the same attribute as the 136 mapping. This would not cause attribute aliasing. But [all …]
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | masklog.c | 102 struct attribute attr; 139 static struct attribute *mlog_attr_ptrs[MLOG_MAX_BITS] = {NULL, }; 141 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, in mlog_show() 149 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, in mlog_store()
|
D | sys.c | 46 static struct attribute *o2cb_attrs[] = {
|
/linux-4.4.14/scripts/genksyms/ |
D | keywords.gperf | 36 # attribute commented out in modutils 2.4.2. People are using 'attribute' as a 39 # attribute, ATTRIBUTE_KEYW
|
/linux-4.4.14/Documentation/ABI/obsolete/ |
D | sysfs-driver-hid-roccat-kovaplus | 4 Description: The integer value of this attribute ranges from 1-4. 5 When read, this attribute returns the number of the active 14 Description: The integer value of this attribute ranges from 0-4. 15 When read, this attribute returns the number of the active 25 Description: The integer value of this attribute ranges from 1-10. 26 When read, this attribute returns the number of the actual 35 Description: The integer value of this attribute ranges from 1-10. 36 When read, this attribute returns the number of the actual 51 Obsoleted by binary sysfs attribute "info".
|
D | sysfs-driver-hid-roccat-arvo | 4 Description: The integer value of this attribute ranges from 1-5. 5 When read, this attribute returns the number of the actual 7 When written this attribute activates the selected profile 37 The integer value of this attribute has bits 0-4 set depending 50 The integer value of this attribute ranges from 0 (OFF) to 1 (ON).
|
D | sysfs-driver-hid-roccat-pyra | 25 Please use binary attribute "settings" which provides this information. 37 Please use binary attribute "info" which provides this information. 118 Description: The integer value of this attribute ranges from 0-4. 119 When read, this attribute returns the number of the profile 122 Please use binary attribute "settings" which provides this information.
|
D | sysfs-driver-hid-roccat-koneplus | 4 Description: The integer value of this attribute ranges from 0-4. 5 When read, this attribute returns the number of the actual 15 Description: The integer value of this attribute ranges from 0-4. 16 When read, this attribute returns the number of the actual 33 Please read binary attribute info which contains firmware version.
|
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
D | lproc_mdc.c | 44 struct attribute *attr, in max_rpcs_in_flight_show() 60 struct attribute *attr, in max_rpcs_in_flight_store() 176 struct attribute *attr, in max_pages_per_rpc_show() 204 static struct attribute *mdc_attrs[] = {
|
/linux-4.4.14/drivers/firmware/ |
D | memmap.c | 51 struct attribute *attr, char *buf); 64 struct attribute attr; 75 static struct attribute *def_attrs[] = { 394 static inline struct memmap_attribute *to_memmap_attr(struct attribute *attr) in to_memmap_attr() 400 struct attribute *attr, char *buf) in memmap_attr_show()
|
D | dmi-sysfs.c | 51 struct attribute attr; 66 struct attribute attr; 91 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() 97 struct attribute *_attr, char *buf) in dmi_sysfs_attr_show() 197 struct attribute *attr; 214 struct attribute *attr, in dmi_entry_attr_show() 290 static struct attribute *dmi_sysfs_sel_attrs[] = { 511 static struct attribute *dmi_sysfs_entry_attrs[] = {
|
/linux-4.4.14/block/ |
D | blk-mq-sysfs.c | 21 struct attribute attr; 27 struct attribute attr; 32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show() 55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store() 79 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show() 102 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store() 267 static struct attribute *default_ctx_attrs[] = { 308 static struct attribute *default_hw_ctx_attrs[] = {
|
D | blk-integrity.c | 240 struct attribute attr; 245 static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr, in integrity_attr_show() 257 struct attribute *attr, const char *page, in integrity_attr_store() 367 static struct attribute *integrity_attrs[] = {
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 183 struct attribute attr; 195 static struct attribute *port_default_attributes[] = { 297 struct attribute *attr, char *buf) in qib_portattr_show() 308 struct attribute *attr, const char *buf, size_t len) in qib_portattr_store() 339 struct attribute attr; 360 static struct attribute *sl2vl_default_attributes[] = { 380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show() 413 struct attribute attr; 433 static struct attribute *diagc_default_attributes[] = { 452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show() [all …]
|
/linux-4.4.14/fs/exofs/ |
D | sys.c | 28 struct attribute attr; 33 static ssize_t odev_attr_show(struct kobject *kobj, struct attribute *attr, in odev_attr_show() 42 static ssize_t odev_attr_store(struct kobject *kobj, struct attribute *attr, in odev_attr_store() 102 static struct attribute *odev_attrs[] = {
|
/linux-4.4.14/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 32 struct attribute attr; 41 struct attribute *attr, char *buf) in iscsi_boot_show_attribute() 99 static struct attribute *target_attrs[] = { 116 struct attribute *attr, int i) in iscsi_boot_tgt_attr_is_visible() 180 static struct attribute *ethernet_attrs[] = { 197 struct attribute *attr, int i) in iscsi_boot_eth_attr_is_visible() 257 static struct attribute *initiator_attrs[] = { 269 struct attribute *attr, int i) in iscsi_boot_ini_attr_is_visible()
|
/linux-4.4.14/Documentation/scsi/ |
D | hpsa.txt | 51 the host "rescan" attribute is a write only attribute. Writing to this 52 attribute will cause the driver to scan for new, changed, or removed devices 60 The "firmware_revision" attribute contains the firmware version of the Smart Array. 70 The "resettable" read-only attribute indicates whether a particular 77 remaining on the controller from the previous kernel. This attribute enables 113 hpsa specific host "rescan" attribute.
|
/linux-4.4.14/drivers/md/bcache/ |
D | sysfs.h | 15 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ 19 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\ 43 static struct attribute sysfs_##_name = \
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | sysfs.c | 162 struct attribute attr; 200 static struct attribute *sc2vl_default_attributes[] = { 236 static ssize_t sc2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sc2vl_attr_show() 268 struct attribute attr; 306 static struct attribute *sl2sc_default_attributes[] = { 342 static ssize_t sl2sc_attr_show(struct kobject *kobj, struct attribute *attr, in sl2sc_attr_show() 375 struct attribute attr; 396 static struct attribute *vl2mtu_default_attributes[] = { 416 static ssize_t vl2mtu_attr_show(struct kobject *kobj, struct attribute *attr, in vl2mtu_attr_show()
|
/linux-4.4.14/Documentation/rapidio/ |
D | sysfs.txt | 42 that that owns this attribute 45 In addition to the files listed above, each device has a binary attribute file 51 This attribute is similar in behavior to the "config" attribute of PCI devices 75 attribute reports only valid routing table entries, one line for 98 attribute: 101 is a write-only attribute. To initiate an enumeration or discovery 108 a user must write '-1' (or RIO_MPORT_ANY) into this attribute file.
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 53 static struct attribute ttm_mem_sys = { 57 static struct attribute ttm_mem_emer = { 61 static struct attribute ttm_mem_max = { 65 static struct attribute ttm_mem_swap = { 69 static struct attribute ttm_mem_used = { 85 struct attribute *attr, in ttm_mem_zone_show() 112 struct attribute *attr, in ttm_mem_zone_store() 149 static struct attribute *ttm_mem_zone_attrs[] = {
|
D | ttm_page_alloc.c | 126 static struct attribute ttm_page_pool_max = { 130 static struct attribute ttm_page_pool_small = { 134 static struct attribute ttm_page_pool_alloc_size = { 139 static struct attribute *ttm_pool_attrs[] = { 154 struct attribute *attr, const char *buffer, size_t size) in ttm_pool_store() 188 struct attribute *attr, char *buffer) in ttm_pool_show()
|
/linux-4.4.14/drivers/xen/ |
D | sys-hypervisor.c | 35 struct attribute attr; 97 static struct attribute *version_attrs[] = { 221 static struct attribute *xen_compile_attrs[] = { 350 static struct attribute *xen_properties_attrs[] = { 472 static struct attribute *xen_pmu_attrs[] = { 555 struct attribute *attr, in hyp_sysfs_show() 566 struct attribute *attr, in hyp_sysfs_store()
|
D | xen-balloon.c | 196 static struct attribute *balloon_attrs[] = { 210 static struct attribute *balloon_info_attrs[] = {
|
/linux-4.4.14/arch/powerpc/perf/ |
D | hv-24x7.c | 114 static struct attribute *format_attrs[] = { 325 static struct attribute *device_str_attr_create_(char *name, char *str) in device_str_attr_create_() 342 static struct attribute *device_str_attr_create(char *name, int name_max, in device_str_attr_create() 348 struct attribute *a; in device_str_attr_create() 373 static void device_str_attr_destroy(struct attribute *attr) in device_str_attr_destroy() 383 static struct attribute *event_to_attr(unsigned ix, in event_to_attr() 391 struct attribute *attr; in event_to_attr() 427 static struct attribute *event_to_desc_attr(struct hv_24x7_event_data *event, in event_to_desc_attr() 441 static struct attribute * 455 static ssize_t event_data_to_attrs(unsigned ix, struct attribute **attrs, in event_data_to_attrs() [all …]
|
/linux-4.4.14/sound/hda/ |
D | hdac_sysfs.c | 55 static struct attribute *hdac_dev_attrs[] = { 87 struct attribute attr; 108 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show() 124 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store() 279 static struct attribute *widget_node_attrs[] = { 292 static struct attribute *widget_afg_attrs[] = {
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | efi.c | 131 if (md->attribute & EFI_MEMORY_MORE_RELIABLE) { in efi_find_mirror() 163 if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap() 592 if (!(md->attribute & EFI_MEMORY_WB)) in old_map_region() 596 md->type, md->attribute); in old_map_region() 620 prev_md->attribute != md->attribute) { in efi_merge_regions() 630 md->attribute = 0; in efi_merge_regions() 664 if (!(md->attribute & EFI_MEMORY_RUNTIME) || in save_runtime_map() 784 if (!(md->attribute & EFI_MEMORY_RUNTIME)) { in efi_map_regions()
|
D | efi_64.c | 209 if (!(md->attribute & EFI_MEMORY_WB)) in __map_region() 279 u32 type, u64 attribute) in efi_ioremap() argument 289 efi_ioremap(top, size - (top - phys_addr), type, attribute); in efi_ioremap() 292 if (!(attribute & EFI_MEMORY_WB)) in efi_ioremap()
|
/linux-4.4.14/drivers/platform/mips/ |
D | cpu_hwmon.c | 37 static struct attribute *cpu_hwmon_attributes[] = { 68 static const struct attribute *hwmon_cputemp1[] = { 74 static const struct attribute *hwmon_cputemp2[] = {
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_cstate.c | 198 static struct attribute *core_events_attrs[PERF_CSTATE_CORE_EVENT_MAX + 1] = { 208 static struct attribute *core_format_attrs[] = { 221 static struct attribute *cstate_cpumask_attrs[] = { 341 static struct attribute *pkg_events_attrs[PERF_CSTATE_PKG_EVENT_MAX + 1] = { 351 static struct attribute *pkg_format_attrs[] = { 576 struct attribute **events_attrs, in cstate_probe_msr()
|
D | perf_event_amd_iommu.c | 63 static struct attribute *iommu_format_attrs[] = { 137 static struct attribute *iommu_cpumask_attrs[] = { 404 struct attribute **attrs; in _init_events_attrs() 411 attr_group = kzalloc(sizeof(struct attribute *) in _init_events_attrs() 416 attrs = (struct attribute **)(attr_group + 1); in _init_events_attrs()
|
D | perf_event_intel_rapl.c | 399 static struct attribute *rapl_pmu_attrs[] = { 439 static struct attribute *rapl_events_srv_attr[] = { 454 static struct attribute *rapl_events_cln_attr[] = { 469 static struct attribute *rapl_events_hsw_attr[] = { 487 static struct attribute *rapl_events_knl_attr[] = { 505 static struct attribute *rapl_formats_attr[] = {
|
D | perf_event.h | 561 struct attribute **format_attrs; 562 struct attribute **event_attrs; 565 struct attribute **cpu_events; 801 struct attribute **merge_attr(struct attribute **a, struct attribute **b);
|
D | perf_event_msr.c | 86 static struct attribute *events_attrs[PERF_MSR_EVENT_MAX + 1] = { 96 static struct attribute *format_attrs[] = {
|
D | perf_event_intel_uncore_snbep.c | 375 static struct attribute *snbep_uncore_formats_attr[] = { 384 static struct attribute *snbep_uncore_ubox_formats_attr[] = { 393 static struct attribute *snbep_uncore_cbox_formats_attr[] = { 407 static struct attribute *snbep_uncore_pcu_formats_attr[] = { 422 static struct attribute *snbep_uncore_qpi_formats_attr[] = { 1211 static struct attribute *ivbep_uncore_formats_attr[] = { 1220 static struct attribute *ivbep_uncore_ubox_formats_attr[] = { 1229 static struct attribute *ivbep_uncore_cbox_formats_attr[] = { 1246 static struct attribute *ivbep_uncore_pcu_formats_attr[] = { 1260 static struct attribute *ivbep_uncore_qpi_formats_attr[] = { [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | dib9000.c | 203 static int dib9000_risc_apb_access_read(struct dib9000_state *state, u32 address, u16 attribute, co… 204 static int dib9000_risc_apb_access_write(struct dib9000_state *state, u32 address, u16 attribute, c… 228 static u16 dib9000_read16_attr(struct dib9000_state *state, u16 reg, u8 * b, u32 len, u16 attribute) in dib9000_read16_attr() argument 235 return dib9000_risc_apb_access_read(state, reg, attribute, NULL, 0, b, len); in dib9000_read16_attr() 250 if (attribute & DATA_BUS_ACCESS_MODE_8BIT) in dib9000_read16_attr() 252 if (attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT) in dib9000_read16_attr() 268 if (!(attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT)) in dib9000_read16_attr() 302 static inline u16 dib9000_read_word_attr(struct dib9000_state *state, u16 reg, u16 attribute) in dib9000_read_word_attr() argument 305 attribute) != 0) in dib9000_read_word_attr() 310 …dib9000_read16_noinc_attr(state, reg, b, len, attribute) dib9000_read16_attr(state, reg, b, len, (… argument [all …]
|
/linux-4.4.14/drivers/cpufreq/ |
D | cpufreq_governor.h | 77 (struct kobject *kobj, struct attribute *attr, char *buf) \ 93 (struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) \ 257 (struct kobject *kobj, struct attribute *attr, char *buf) \
|
/linux-4.4.14/Documentation/accounting/ |
D | taskstats.txt | 78 a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID, 79 containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes 83 consist of one attribute, of type 85 attribute payload. The cpumask is specified as an ascii string of 95 a) TASKSTATS_TYPE_AGGR_PID/TGID : attribute containing no payload but indicates 98 b) TASKSTATS_TYPE_PID/TGID: attribute whose payload is the pid/tgid whose stats 101 c) TASKSTATS_TYPE_STATS: attribute with a struct taskstats as payload. The 146 interface to return them. Since userspace processes each netlink attribute
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 262 struct attribute attr; 269 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show() 280 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store() 325 static struct attribute *sq_sysfs_attrs[] = {
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-transport-srp | 14 Zero means immediate removal. Setting this attribute to "off" 23 failing I/O immediately. Setting this attribute to "off" will 38 attempt failed before retrying. Setting this attribute to
|
D | sysfs-bus-firewire | 12 Binary attribute; an array of host-endian u32. 25 IEEE 1394 node device attribute. 47 IEEE 1394 node device attribute. 125 Read-only attribute, immutable during the target's lifetime.
|
/linux-4.4.14/fs/btrfs/ |
D | sysfs.h | 70 static inline struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) in attr_to_btrfs_attr() 76 attr_to_btrfs_feature_attr(struct attribute *attr) in attr_to_btrfs_feature_attr()
|
D | sysfs.c | 175 struct attribute *attr, int unused) in btrfs_feature_visible() 206 static struct attribute *btrfs_supported_feature_attrs[] = { 282 static struct attribute *raid_attributes[] = { 328 static struct attribute *space_info_attrs[] = { 354 static const struct attribute *allocation_attrs[] = { 432 static const struct attribute *btrfs_attrs[] = { 483 struct attribute *attrs[2]; in addrm_unknown_feature_attrs() 610 struct attribute *a = btrfs_supported_feature_attrs[i]; in init_feature_attrs()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_internal.h | 229 struct attribute *attr, \ 246 struct attribute *attr, \ 270 struct attribute *attr, \ 282 struct attribute *attr, \
|
D | ldlm_resource.c | 155 static ssize_t resource_count_show(struct kobject *kobj, struct attribute *attr, in resource_count_show() 171 static ssize_t lock_count_show(struct kobject *kobj, struct attribute *attr, in lock_count_show() 185 struct attribute *attr, in lock_unused_count_show() 195 static ssize_t lru_size_show(struct kobject *kobj, struct attribute *attr, in lru_size_show() 207 static ssize_t lru_size_store(struct kobject *kobj, struct attribute *attr, in lru_size_store() 292 static ssize_t lru_max_age_show(struct kobject *kobj, struct attribute *attr, in lru_max_age_show() 301 static ssize_t lru_max_age_store(struct kobject *kobj, struct attribute *attr, in lru_max_age_store() 320 struct attribute *attr, in early_lock_cancel_show() 330 struct attribute *attr, in early_lock_cancel_store() 352 static struct attribute *ldlm_ns_attrs[] = {
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | display-sysfs.c | 244 struct attribute attr; 268 static struct attribute *display_sysfs_attrs[] = { 280 static ssize_t display_attr_show(struct kobject *kobj, struct attribute *attr, in display_attr_show() 295 static ssize_t display_attr_store(struct kobject *kobj, struct attribute *attr, in display_attr_store()
|
D | overlay-sysfs.c | 363 struct attribute attr; 391 static struct attribute *overlay_sysfs_attrs[] = { 405 static ssize_t overlay_attr_show(struct kobject *kobj, struct attribute *attr, in overlay_attr_show() 420 static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr, in overlay_attr_store()
|
D | manager-sysfs.c | 433 struct attribute attr; 465 static struct attribute *manager_sysfs_attrs[] = { 478 static ssize_t manager_attr_show(struct kobject *kobj, struct attribute *attr, in manager_attr_show() 493 static ssize_t manager_attr_store(struct kobject *kobj, struct attribute *attr, in manager_attr_store()
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | exfield.c | 179 ACPI_READ | (obj_desc->field.attribute << 16); in acpi_ex_read_data_from_field() 182 accessor_type = obj_desc->field.attribute; in acpi_ex_read_data_from_field() 391 ACPI_WRITE | (obj_desc->field.attribute << 16); in acpi_ex_write_data_to_field() 394 accessor_type = obj_desc->field.attribute; in acpi_ex_write_data_to_field()
|
/linux-4.4.14/fs/ext4/ |
D | sysfs.c | 41 struct attribute attr; 194 static struct attribute *ext4_attrs[] = { 229 static struct attribute *ext4_feat_attrs[] = { 252 struct attribute *attr, char *buf) in ext4_attr_show() 291 struct attribute *attr, in ext4_attr_store()
|
/linux-4.4.14/arch/s390/pci/ |
D | pci_sysfs.c | 85 static struct attribute *zpci_dev_attrs[] = { 101 static struct attribute *pfip_attrs[] = {
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_sysfs.c | 246 static struct attribute *genwqe_attributes[] = { 261 static struct attribute *genwqe_normal_attributes[] = { 278 struct attribute *attr, int n) in genwqe_is_visible()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | sysfs.c | 52 struct attribute attr; 71 struct attribute *attr, char *buf) in port_attr_show() 271 static struct attribute *port_default_attrs[] = { 406 static struct attribute *pma_attrs[] = { 434 struct attribute *a; in ib_port_release() 460 static struct attribute ** 465 struct attribute **tab_attr; in alloc_group_attrs() 469 tab_attr = kcalloc(1 + len, sizeof(struct attribute *), GFP_KERNEL); in alloc_group_attrs() 749 static struct attribute *iw_proto_stats_attrs[] = {
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_sysfs.c | 395 static struct attribute *connector_dev_attrs[] = { 406 static struct attribute *connector_tv_dev_attrs[] = { 415 static struct attribute *connector_dvii_dev_attrs[] = { 431 struct attribute *attr, int idx) in connector_is_dvii() 438 struct attribute *attr, int idx) in connector_is_tv()
|
/linux-4.4.14/drivers/dma/ioat/ |
D | sysfs.c | 54 ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in ioat_attr_show() 124 static struct attribute *ioat_attrs[] = {
|
/linux-4.4.14/drivers/leds/ |
D | led-class-flash.c | 219 static struct attribute *led_flash_strobe_attrs[] = { 224 static struct attribute *led_flash_timeout_attrs[] = { 230 static struct attribute *led_flash_brightness_attrs[] = { 236 static struct attribute *led_flash_fault_attrs[] = {
|
/linux-4.4.14/Documentation/networking/ |
D | openvswitch.txt | 107 Support for the mask Netlink attribute is optional for both the kernel and user 108 space program. The kernel can ignore the mask attribute, installing an exact 172 key attribute to contain the VLAN tag, then continue to decode the 180 has not been updated to understand the new "vlan" flow key attribute. 182 ignore the "vlan" attribute that it does not understand and therefore 196 nested inside the "encap" attribute. Thus, an application that does 208 Instead, in such a case, include an attribute with "empty" content. 217 packet would include a tcp attribute with all-zero src and dst, like 225 an all-zero-bits vlan and an empty encap attribute, like this: 232 attribute expressly to allow this situation to be distinguished.
|
/linux-4.4.14/net/netfilter/ |
D | xt_IDLETIMER.c | 45 struct attribute attr; 47 struct attribute *attr, char *buf); 81 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr, in idletimer_tg_show()
|
/linux-4.4.14/Documentation/filesystems/configfs/ |
D | configfs.txt | 56 apply. Don't mix more than one attribute in one attribute file. 90 The target attribute contains the IP address of the server FakeNBD will 91 connect to. The device attribute is the device on the server. 92 Predictably, the rw attribute determines whether the connection is 192 When a config_item wants an attribute to appear as a file in the item's 194 It then adds the attribute to the NULL-terminated array 196 attribute file will appear with the configfs_attribute->ca_name 199 If an attribute is readable and provides a ->show method, that method will 200 be called whenever userspace asks for a read(2) on the attribute. If an 201 attribute is writable and provides a ->store method, that method will be [all …]
|
/linux-4.4.14/Documentation/s390/ |
D | driver-model.txt | 142 activated via the 'online' attribute. The driver should finally 152 de-activated via the 'online' attribute. The driver should shut 211 The ccw driver provides a 'group' attribute. Piping bus ids of ccw devices to 216 Each ccwgroup device also provides an 'ungroup' attribute to destroy the device 265 attribute 'online' which can be 0 or 1. 274 The netiucv driver creates an attribute 'connection' under 275 bus/iucv/drivers/netiucv. Piping to this attribute creates a new netiucv 280 attribute.
|
/linux-4.4.14/drivers/base/power/ |
D | sysfs.c | 594 static struct attribute *power_attrs[] = { 611 static struct attribute *wakeup_attrs[] = { 633 static struct attribute *runtime_attrs[] = { 648 static struct attribute *pm_qos_resume_latency_attrs[] = { 657 static struct attribute *pm_qos_latency_tolerance_attrs[] = { 666 static struct attribute *pm_qos_flags_attrs[] = {
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 201 struct attribute *attr) in add_sysfs_port_mcg_attr() 214 struct attribute *attr) in del_sysfs_port_mcg_attr() 382 struct attribute *a; in mlx4_port_release() 395 struct attribute attr; 402 struct attribute *attr, char *buf) in port_attr_show() 414 struct attribute *attr, in port_attr_store() 497 static struct attribute ** 504 struct attribute **tab_attr; in alloc_group_attrs() 508 tab_attr = kcalloc(1 + len, sizeof (struct attribute *), GFP_KERNEL); in alloc_group_attrs()
|
/linux-4.4.14/drivers/usb/core/ |
D | sysfs.c | 572 static struct attribute *usb2_hardware_lpm_attr[] = { 583 static struct attribute *usb3_hardware_lpm_attr[] = { 593 static struct attribute *power_attrs[] = { 732 static struct attribute *dev_attrs[] = { 770 static struct attribute *dev_string_attrs[] = { 778 struct attribute *a, int n) in dev_string_attrs_are_visible() 1016 static struct attribute *intf_attrs[] = { 1032 static struct attribute *intf_assoc_attrs[] = { 1042 struct attribute *a, int n) in intf_assoc_attrs_are_visible()
|
D | endpoint.c | 27 struct attribute attr; 144 static struct attribute *ep_dev_attrs[] = {
|
/linux-4.4.14/Documentation/vm/ |
D | zswap.txt | 30 the "enabled" attribute to 1 at boot time. ie: zswap.enabled=1. Zswap 58 attribute, e.g. zswap.zpool=zbud. It can also be changed at runtime using the 59 sysfs "zpool" attribute, e.g. 90 the “compressor” attribute, e.g. zswap.compressor=lzo. It can also be changed 91 at runtime using the sysfs "compressor" attribute, e.g.
|
/linux-4.4.14/Documentation/driver-model/ |
D | device.txt | 41 struct attribute attr; 55 that is by defining an attribute group. 70 static struct attribute *dev_attrs[] = {
|
/linux-4.4.14/arch/arm64/kernel/ |
D | efi.c | 55 if (md->attribute & EFI_MEMORY_WB) in is_normal_ram() 70 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_to_phys() 244 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_virtmap_init()
|
/linux-4.4.14/drivers/uio/ |
D | uio.c | 73 struct attribute attr; 87 static struct attribute *attrs[] = { 101 static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr, in map_type_show() 161 struct attribute attr; 175 static struct attribute *portio_attrs[] = { 189 static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr, in portio_type_show() 238 static struct attribute *uio_attrs[] = {
|
/linux-4.4.14/Documentation/devicetree/bindings/usb/ |
D | generic.txt | 11 "peripheral" and "otg". In case this attribute isn't 28 This is an attribute to a USB controller such as:
|
/linux-4.4.14/Documentation/powerpc/ |
D | hvcs.txt | 181 The output from reading the "dev" attribute is the char device major and 249 attribute has been added to each vty-server sysfs entry. This entry is 252 index attribute of vty-server adapter 30000004 shows the following. 292 connected vty is a manual procedure using a write to a sysfs attribute 298 "vterm_state" sysfs attribute within each vty-server's sysfs entry is used. 299 Reading this attribute reveals the current connection state of the 303 Writing a '0' (zero) to the vterm_state attribute will disconnect the VTERM 307 attribute. The following example will show the method used for verifying 334 driver sysfs directory with the "rescan" update attribute which will query 336 driver manages. Writing a '1' to the attribute triggers the update. An [all …]
|
/linux-4.4.14/drivers/base/ |
D | soc.c | 45 struct attribute *attr, in soc_attribute_mode() 87 static struct attribute *soc_attr[] = {
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lproc_lov.c | 173 static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr, in numobd_show() 185 static ssize_t activeobd_show(struct kobject *kobj, struct attribute *attr, in activeobd_show() 280 static struct attribute *lov_attrs[] = {
|
/linux-4.4.14/drivers/misc/ |
D | ad525x_dpot.c | 560 static const struct attribute *dpot_attrib_wipers[] = { 570 static const struct attribute *dpot_attrib_eeprom[] = { 580 static const struct attribute *dpot_attrib_otp[] = { 590 static const struct attribute *dpot_attrib_otp_en[] = { 600 static const struct attribute *dpot_attrib_tolerance[] = { 626 static struct attribute *ad525x_attributes_commands[] = {
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 18 struct attribute attr; 129 struct attribute *attr, char *buf) in slave_show()
|
/linux-4.4.14/drivers/firmware/efi/libstub/ |
D | arm-stub.c | 344 return ((left->attribute ^ right->attribute) & mem_type_mask) == 0; in regions_have_compatible_memory_type_attrs() 377 if (!(in->attribute & EFI_MEMORY_RUNTIME)) in efi_get_virtmap()
|
/linux-4.4.14/net/irda/ |
D | af_irda.c | 1971 ias_opt->attribute.irda_attrib_int, in irda_setsockopt() 1976 if(ias_opt->attribute.irda_attrib_octet_seq.len > in irda_setsockopt() 1991 ias_opt->attribute.irda_attrib_octet_seq.octet_seq, in irda_setsockopt() 1992 ias_opt->attribute.irda_attrib_octet_seq.len, in irda_setsockopt() 2003 ias_opt->attribute.irda_attrib_string.string[ias_opt->attribute.irda_attrib_string.len] = '\0'; in irda_setsockopt() 2008 ias_opt->attribute.irda_attrib_string.string, in irda_setsockopt() 2189 ias_opt->attribute.irda_attrib_int = ias_value->t.integer; in irda_extract_ias_value() 2193 ias_opt->attribute.irda_attrib_octet_seq.len = ias_value->len; in irda_extract_ias_value() 2195 memcpy(ias_opt->attribute.irda_attrib_octet_seq.octet_seq, in irda_extract_ias_value() 2200 ias_opt->attribute.irda_attrib_string.len = ias_value->len; in irda_extract_ias_value() [all …]
|
/linux-4.4.14/Documentation/filesystems/pohmelfs/ |
D | network_protocol.txt | 43 NETFS_XATTR_SET, /* Set extended attribute */ 44 NETFS_XATTR_GET, /* Get extended attribute */ 224 @id - attribute generation number or xattr setting type 225 @start - size of the attribute (request or attached) 226 @size - name length, path len and data size for given attribute
|
/linux-4.4.14/drivers/iio/trigger/ |
D | iio-trig-sysfs.c | 67 static struct attribute *iio_sysfs_trig_attrs[] = { 115 static struct attribute *iio_sysfs_trigger_attrs[] = {
|
/linux-4.4.14/net/bluetooth/ |
D | hci_sysfs.c | 46 static struct attribute *bt_link_attrs[] = { 171 static struct attribute *bt_host_attrs[] = {
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib_sysfs.c | 214 struct attribute attr; 222 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in usnic_ib_qpn_attr_show() 284 static struct attribute *usnic_ib_qpn_default_attrs[] = {
|
/linux-4.4.14/net/bridge/ |
D | br_sysfs_if.c | 24 struct attribute attr; 227 struct attribute *attr, char *buf) in brport_show() 236 struct attribute *attr, in brport_store()
|
/linux-4.4.14/fs/gfs2/ |
D | sys.c | 33 struct attribute attr; 38 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show() 46 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store() 299 static struct attribute *gfs2_attrs[] = { 535 static struct attribute *lock_module_attrs[] = { 627 static struct attribute *tune_attrs[] = {
|
/linux-4.4.14/Documentation/acpi/ |
D | namespace.txt | 236 directory in sysfs will contain the 'path' attribute whose value is 242 attribute. 246 device's type in the second column). The 'path' attribute containing 266 The 'modalias' attribute is also present for struct acpi_device 384 sysfs attribute. 386 attribute (as described earlier in this document). 388 'modalias' attribute.
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | lproc_ptlrpc.c | 329 static ssize_t threads_min_show(struct kobject *kobj, struct attribute *attr, in threads_min_show() 338 static ssize_t threads_min_store(struct kobject *kobj, struct attribute *attr, in threads_min_store() 367 struct attribute *attr, in threads_started_show() 383 static ssize_t threads_max_show(struct kobject *kobj, struct attribute *attr, in threads_max_show() 392 static ssize_t threads_max_store(struct kobject *kobj, struct attribute *attr, in threads_max_store() 997 struct attribute *attr, in high_priority_ratio_show() 1006 struct attribute *attr, in high_priority_ratio_store() 1030 static struct attribute *ptlrpc_svc_attrs[] = {
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | lprocfs_status.c | 360 static ssize_t uuid_show(struct kobject *kobj, struct attribute *attr, in uuid_show() 370 static ssize_t blocksize_show(struct kobject *kobj, struct attribute *attr, in blocksize_show() 386 static ssize_t kbytestotal_show(struct kobject *kobj, struct attribute *attr, in kbytestotal_show() 409 static ssize_t kbytesfree_show(struct kobject *kobj, struct attribute *attr, in kbytesfree_show() 432 static ssize_t kbytesavail_show(struct kobject *kobj, struct attribute *attr, in kbytesavail_show() 455 static ssize_t filestotal_show(struct kobject *kobj, struct attribute *attr, in filestotal_show() 471 static ssize_t filesfree_show(struct kobject *kobj, struct attribute *attr, in filesfree_show() 884 static struct attribute *obd_def_attrs[] = { 1501 struct attribute *attr, char *buf) in lustre_attr_show() 1508 static ssize_t lustre_attr_store(struct kobject *kobj, struct attribute *attr, in lustre_attr_store()
|
/linux-4.4.14/drivers/staging/most/mostcore/ |
D | core.c | 111 struct attribute attr; 133 static ssize_t channel_attr_show(struct kobject *kobj, struct attribute *attr, in channel_attr_show() 153 struct attribute *attr, in channel_attr_store() 501 static struct attribute *most_channel_def_attrs[] = { 593 struct attribute attr; 613 struct attribute *attr, in instance_attr_show() 636 struct attribute *attr, in instance_attr_store() 711 static struct attribute *most_inst_def_attrs[] = { 796 struct attribute attr; 815 struct attribute *attr, in aim_attr_show() [all …]
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | sysfs.c | 72 struct attribute *i2400m_dev_attrs[] = {
|
/linux-4.4.14/Documentation/laptops/ |
D | thinkpad-acpi.txt | 112 as a driver attribute (see below). 114 Sysfs driver attributes are on the driver's sysfs attribute space, 118 Sysfs device attributes are on the thinkpad_acpi device sysfs attribute 122 thinkpad_hwmon device's sysfs attribute space, but you should locate it 123 looking for a hwmon device with the name attribute of "thinkpad", or 131 sysfs driver attribute: version 139 sysfs driver attribute: interface_version 150 attribute. 163 expect that an attribute might not be there, and deal with it properly 164 (an attribute not being there *is* a valid way to make it clear that a [all …]
|
/linux-4.4.14/Documentation/arm/ |
D | CCN.txt | 36 The driver also provides a "cpumask" sysfs attribute, which contains 41 the events are migrated to another one and the attribute is updated.
|
/linux-4.4.14/drivers/rapidio/ |
D | rio-sysfs.c | 101 static struct attribute *rio_dev_attrs[] = { 331 static struct attribute *rio_bus_attrs[] = { 370 static struct attribute *rio_mport_attrs[] = {
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | power.c | 59 static struct attribute *g[] = {
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-sysfs.c | 214 static struct attribute *rtc_attrs[] = { 239 struct attribute *attr, int n) in rtc_attr_is_visible()
|
/linux-4.4.14/Documentation/netlabel/ |
D | cipso_ipv4.txt | 42 different security attribute mapping table. 46 The NetLabel system provides a framework for caching security attribute
|
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/ |
D | ibmpowernv.txt | 11 given sensor and its attribute data
|
/linux-4.4.14/drivers/parisc/ |
D | pdc_stable.c | 110 struct attribute attr; 448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show() 468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store() 493 static struct attribute *paths_subsys_attrs[] = { 944 static struct attribute *pdcs_subsys_attrs[] = {
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 114 static struct attribute *rc6_attrs[] = { 125 static struct attribute *rc6p_attrs[] = { 136 static struct attribute *media_rc6_attrs[] = { 495 static const struct attribute *gen6_attrs[] = { 506 static const struct attribute *vlv_attrs[] = {
|
/linux-4.4.14/Documentation/blockdev/ |
D | zram.txt | 38 -EBUSY -- an attempt to modify an attribute that cannot be changed once 84 Using comp_algorithm device attribute one can see available and 143 attribute. This will return either new device's device id (meaning that you 180 current value, write 1 to this attribute) 197 Basically, every attribute that has its own read accessible sysfs node
|