/linux-6.12.1/fs/bcachefs/ |
D | sysfs.h | 9 struct attribute; 12 extern struct attribute *bch2_fs_files[]; 13 extern struct attribute *bch2_fs_counters_files[]; 14 extern struct attribute *bch2_fs_internal_files[]; 15 extern struct attribute *bch2_fs_opts_dir_files[]; 16 extern struct attribute *bch2_fs_time_stats_files[]; 17 extern struct attribute *bch2_dev_files[]; 30 static struct attribute *bch2_fs_files[] = {}; 31 static struct attribute *bch2_fs_counters_files[] = {}; 32 static struct attribute *bch2_fs_internal_files[] = {}; [all …]
|
/linux-6.12.1/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-class-firmware-attributes | 12 Unless otherwise specified in an attribute description all attributes are optional 16 A file that can be read to obtain the type of attribute. 17 This attribute is mandatory. 30 All attribute types support the following values: 39 This attribute is mandatory. 73 increments of current_value this attribute accepts. 91 A file that can be read to obtain attribute-level 92 dependency rule. It says an attribute X will become read-only or 93 suppressed, if/if-not attribute Y is configured. 97 [ReadOnlyIf:<attribute>=<value>] [all …]
|
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 …]
|
/linux-6.12.1/samples/kobject/ |
D | kset-example.c | 39 struct attribute attr; 53 struct attribute *attr, in foo_attr_show() 56 struct foo_attribute *attribute; in foo_attr_show() local 59 attribute = to_foo_attr(attr); in foo_attr_show() 62 if (!attribute->show) in foo_attr_show() 65 return attribute->show(foo, attribute, buf); in foo_attr_show() 73 struct attribute *attr, in foo_attr_store() 76 struct foo_attribute *attribute; in foo_attr_store() local 79 attribute = to_foo_attr(attr); in foo_attr_store() 82 if (!attribute->store) in foo_attr_store() [all …]
|
/linux-6.12.1/drivers/hid/ |
D | hid-sensor-custom.c | 31 struct hid_sensor_hub_attribute_info attribute; member 34 struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS]; 66 static struct attribute hid_custom_attrs[HID_CUSTOM_TOTAL_ATTRS] = { 189 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 190 sensor_inst->power_state->attribute.index, in set_power_report_state() 194 sensor_inst->report_state->attribute.report_id, in set_power_report_state() 195 sensor_inst->report_state->attribute.index, in set_power_report_state() 200 sensor_inst->power_state->attribute.logical_minimum; in set_power_report_state() 202 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 203 sensor_inst->power_state->attribute.index, in set_power_report_state() [all …]
|
/linux-6.12.1/sound/pci/asihpi/ |
D | hpicmn.c | 325 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single() 328 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single() 345 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single() 348 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single() 365 if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { in hpi_check_control_cache_single() 373 if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) in hpi_check_control_cache_single() 379 if (phm->u.c.attribute == HPI_LEVEL_GAIN) { in hpi_check_control_cache_single() 386 if (phm->u.c.attribute == HPI_TUNER_FREQ) in hpi_check_control_cache_single() 388 else if (phm->u.c.attribute == HPI_TUNER_BAND) in hpi_check_control_cache_single() 390 else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) in hpi_check_control_cache_single() [all …]
|
/linux-6.12.1/drivers/staging/greybus/ |
D | audio_manager_module.c | 22 struct attribute attr; 32 struct attribute *attr, char *buf) in gb_audio_module_attr_show() 34 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_show() local 37 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_show() 40 if (!attribute->show) in gb_audio_module_attr_show() 43 return attribute->show(module, attribute, buf); in gb_audio_module_attr_show() 47 struct attribute *attr, in gb_audio_module_attr_store() 50 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_store() local 53 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_store() 56 if (!attribute->store) in gb_audio_module_attr_store() [all …]
|
/linux-6.12.1/Documentation/userspace-api/netlink/ |
D | netlink-raw.rst | 66 :doc:`tc<../../networking/netlink_spec/tc>` use attribute nesting as an 86 those shared characteristics we refer to the payload of the wrapper attribute as 89 A sub-message attribute uses the value of another attribute as a selector key to 90 choose the right sub-message format. For example if the following attribute has 97 and we encounter the following attribute spec: 108 the value of the ``kind`` attribute i.e. ``gre`` as the key to choose the 118 attribute-set: linkinfo-bridge-attrs 121 attribute-set: linkinfo-gre-attrs 124 attribute-set: linkinfo-geneve-attrs 126 This would decode the attribute value as a sub-message with the attribute-set [all …]
|
D | specs.rst | 10 hand written Netlink code for each new family, command, attribute. 19 - policy tables for input attribute validation 46 all old genetlink families, strange attribute formats, binary structures etc. 143 attribute-sets 147 All families have at least one attribute set, most have multiple. 148 ``attribute-sets`` is an array, with each entry describing a single set. 152 formats seen in kernel comments). In the spec subordinate attribute sets 153 are not defined inline as a nest, but defined in a separate attribute set 165 Uniquely identifies the attribute set, operations and nested attributes 174 are contained. The ``value`` of each attribute in the fractional [all …]
|
/linux-6.12.1/include/linux/ |
D | sysfs.h | 30 struct attribute { struct 97 struct attribute *, int); 100 struct attribute **attrs; 149 struct kobject *kobj, struct attribute *attr, int n) \ 181 struct kobject *kobj, struct attribute *a, int n) \ 294 struct attribute attr; 386 ssize_t (*show)(struct kobject *, struct attribute *, char *); 387 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); 405 const struct attribute *attr, 408 const struct attribute * const *attr); [all …]
|
/linux-6.12.1/drivers/media/pci/mgb4/ |
D | mgb4_sysfs.h | 12 extern struct attribute *mgb4_pci_attrs[]; 13 extern struct attribute *mgb4_fpdl3_in_attrs[]; 14 extern struct attribute *mgb4_gmsl_in_attrs[]; 15 extern struct attribute *mgb4_fpdl3_out_attrs[]; 16 extern struct attribute *mgb4_gmsl_out_attrs[];
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 31 struct attribute attr; 96 struct attribute *attr, in elog_attr_show() 99 struct elog_attribute *attribute; in elog_attr_show() local 102 attribute = to_elog_attr(attr); in elog_attr_show() 105 if (!attribute->show) in elog_attr_show() 108 return attribute->show(elog, attribute, buf); in elog_attr_show() 112 struct attribute *attr, in elog_attr_store() 115 struct elog_attribute *attribute; in elog_attr_store() local 118 attribute = to_elog_attr(attr); in elog_attr_store() 121 if (!attribute->store) in elog_attr_store() [all …]
|
D | opal-dump.c | 31 struct attribute attr; 148 static struct attribute *initiate_attrs[] = { 160 struct attribute *attr, in dump_attr_show() 163 struct dump_attribute *attribute; in dump_attr_show() local 166 attribute = to_dump_attr(attr); in dump_attr_show() 169 if (!attribute->show) in dump_attr_show() 172 return attribute->show(dump, attribute, buf); in dump_attr_show() 176 struct attribute *attr, in dump_attr_store() 179 struct dump_attribute *attribute; in dump_attr_store() local 182 attribute = to_dump_attr(attr); in dump_attr_store() [all …]
|
/linux-6.12.1/drivers/dma-buf/ |
D | dma-buf-sysfs-stats.c | 54 struct attribute attr; 61 struct attribute *attr, in dma_buf_stats_attribute_show() 64 struct dma_buf_stats_attribute *attribute; in dma_buf_stats_attribute_show() local 68 attribute = to_dma_buf_stats_attr(attr); in dma_buf_stats_attribute_show() 72 if (!dmabuf || !attribute->show) in dma_buf_stats_attribute_show() 75 return attribute->show(dmabuf, attribute, buf); in dma_buf_stats_attribute_show() 100 static struct attribute *dma_buf_stats_default_attrs[] = {
|
/linux-6.12.1/Documentation/hwmon/ |
D | ibmpowernv.rst | 18 'hwmon' populates the 'sysfs' tree having attribute files, each for a given 19 sensor type and its attribute data. 22 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id' 44 sub-group. In POWER9, this attribute corresponds to 45 each OCC. Using this attribute each OCC can be asked to 57 sub-group. In POWER9, this attribute corresponds to 58 each OCC. Using this attribute each OCC can be asked to 68 sub-group. In POWER9, this attribute corresponds to 69 each OCC. Using this attribute each OCC can be asked to 79 sub-group. In POWER9, this attribute corresponds to [all …]
|
/linux-6.12.1/Documentation/admin-guide/pm/ |
D | intel_uncore_frequency_scaling.rst | 44 Out of reset, this attribute represent the maximum possible frequency. 45 This is a read-only attribute. If users adjust max_freq_khz, 46 they can always go back to maximum using the value from this attribute. 49 Out of reset, this attribute represent the minimum possible frequency. 50 This is a read-only attribute. If users adjust min_freq_khz, 51 they can always go back to minimum using the value from this attribute. 54 This attribute is used to set the maximum uncore frequency. 57 This attribute is used to set the minimum uncore frequency. 60 This attribute is used to get the current uncore frequency. 92 This attribute is used to get the power domain id of this instance. [all …]
|
/linux-6.12.1/drivers/perf/arm_cspmu/ |
D | nvidia_cspmu.c | 44 struct attribute **event_attr; 45 struct attribute **format_attr; 48 static struct attribute *scf_pmu_event_attrs[] = { 160 static struct attribute *mcf_pmu_event_attrs[] = { 179 static struct attribute *generic_pmu_event_attrs[] = { 184 static struct attribute *scf_pmu_format_attrs[] = { 189 static struct attribute *pcie_pmu_format_attrs[] = { 195 static struct attribute *nvlink_c2c_pmu_format_attrs[] = { 200 static struct attribute *cnvlink_pmu_format_attrs[] = { 206 static struct attribute *generic_pmu_format_attrs[] = { [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 93 struct attribute attr; 111 struct attribute attr; 132 struct attribute attr; 159 struct attribute attr_gpuid; 160 struct attribute attr_name; 161 struct attribute attr_props; 178 struct attribute attr_genid; 179 struct attribute attr_props;
|
/linux-6.12.1/Documentation/scsi/ |
D | tcm_qla2xxx.rst | 7 tcm_qla2xxx jam_host attribute 9 There is now a new module endpoint attribute called jam_host 10 attribute:: 14 This attribute and accompanying code is only included if the 19 Use this attribute to control the discarding of SCSI commands to a 25 Setting a boolean of 1 for the jam_host attribute for a particular host
|
/linux-6.12.1/Documentation/filesystems/ext4/ |
D | attributes.rst | 11 all attribute names begin with “user”; this restriction seems to have 18 available for in-inode extended attribute storage. The second place 21 block to contain a pointer to a second extended attribute block (or even 23 attribute's value to be stored in a separate data block, though as of 46 The beginning of an extended attribute block is in 76 - Checksum of the extended attribute block. 83 of the extended attribute block, and the entire block (header + 113 - Location of this attribute's value on the disk block where it is stored. 114 Multiple attributes can share the same value. For an inode attribute 126 - Length of attribute value. [all …]
|
/linux-6.12.1/arch/arm/kernel/ |
D | efi.c | 19 if (md->attribute & EFI_MEMORY_RO) in set_permissions() 21 if (md->attribute & EFI_MEMORY_XP) in set_permissions() 62 if (md->attribute & EFI_MEMORY_WB) in efi_create_mapping() 64 else if (md->attribute & EFI_MEMORY_WT) in efi_create_mapping() 66 else if (md->attribute & EFI_MEMORY_WC) in efi_create_mapping() 76 if (md->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP)) in efi_create_mapping()
|
/linux-6.12.1/drivers/pci/ |
D | pci-label.c | 59 enum smbios_attr_enum attribute) in find_smbios_instance_string() argument 75 if (attribute == SMBIOS_ATTR_INSTANCE_SHOW) in find_smbios_instance_string() 78 else if (attribute == SMBIOS_ATTR_LABEL_SHOW) in find_smbios_instance_string() 109 static struct attribute *smbios_attrs[] = { 115 static umode_t smbios_attr_is_visible(struct kobject *kobj, struct attribute *a, in smbios_attr_is_visible() 210 static struct attribute *acpi_attrs[] = { 216 static umode_t acpi_attr_is_visible(struct kobject *kobj, struct attribute *a, in acpi_attr_is_visible()
|
/linux-6.12.1/kernel/ |
D | params.c | 564 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show() local 566 if (!attribute->param->ops->get) in param_attr_show() 570 count = attribute->param->ops->get(buf, attribute->param); in param_attr_show() 581 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store() local 583 if (!attribute->param->ops->set) in param_attr_store() 587 if (param_check_unsafe(attribute->param)) in param_attr_store() 588 err = attribute->param->ops->set(buf, attribute->param); in param_attr_store() 633 struct attribute **new_attrs; in add_sysfs_param() 892 struct attribute *attr, in module_attr_show() 895 struct module_attribute *attribute; in module_attr_show() local [all …]
|