Home
last modified time | relevance | path

Searched defs:attr (Results 326 – 350 of 2622) sorted by relevance

1...<<11121314151617181920>>...105

/openbmc/linux/drivers/counter/
H A Dcounter-sysfs.c106 struct device_attribute *attr, char *buf) in counter_comp_u8_show()
137 struct device_attribute *attr, in counter_comp_u8_store()
174 struct device_attribute *attr, char *buf) in counter_comp_u32_show()
238 struct device_attribute *attr, in counter_comp_u32_store()
303 struct device_attribute *attr, char *buf) in counter_comp_u64_show()
330 struct device_attribute *attr, in counter_comp_u64_store()
362 struct device_attribute *attr, in counter_comp_array_u32_show()
384 struct device_attribute *attr, in counter_comp_array_u32_store()
412 struct device_attribute *attr, in counter_comp_array_u64_show()
444 struct device_attribute *attr, in counter_comp_array_u64_store()
[all …]
/openbmc/linux/drivers/base/
H A Dmemory.c121 struct device_attribute *attr, char *buf) in phys_index_show()
141 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
357 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
404 struct device_attribute *attr, char *buf) in phys_device_show()
429 struct device_attribute *attr, char *buf) in valid_zones_show()
479 struct device_attribute *attr, char *buf) in block_size_bytes_show()
491 struct device_attribute *attr, char *buf) in auto_online_blocks_show()
498 struct device_attribute *attr, in auto_online_blocks_store()
515 struct device_attribute *attr, char *buf) in crash_hotplug_show()
571 struct device_attribute *attr, in soft_offline_page_store()
[all …]
/openbmc/linux/drivers/dma/qcom/
H A Dhidma_mgmt_sys.c16 struct kobj_attribute attr; member
99 static ssize_t show_values(struct device *dev, struct device_attribute *attr, in show_values()
116 static ssize_t set_values(struct device *dev, struct device_attribute *attr, in set_values()
141 struct kobj_attribute *attr, char *buf) in show_values_channel()
158 struct kobj_attribute *attr, const char *buf, in set_values_channel()
/openbmc/linux/drivers/platform/x86/intel/pmt/
H A Dclass.c66 struct bin_attribute *attr, char *buf, loff_t off, in intel_pmt_read()
93 struct bin_attribute *attr, struct vm_area_struct *vma) in intel_pmt_mmap()
122 guid_show(struct device *dev, struct device_attribute *attr, char *buf) in guid_show()
130 static ssize_t size_show(struct device *dev, struct device_attribute *attr, in size_show()
140 offset_show(struct device *dev, struct device_attribute *attr, char *buf) in offset_show()
/openbmc/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c60 status_show(struct device *dev, struct device_attribute *attr, char *buf) in status_show()
69 error_show(struct device *dev, struct device_attribute *attr, char *buf) in error_show()
91 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, in cancel_store()
113 struct device_attribute *attr, char *buf) in remaining_size_show()
122 fw_upload_is_visible(struct kobject *kobj, struct attribute *attr, int n) in fw_upload_is_visible()
/openbmc/linux/drivers/hwmon/
H A Dadt7470.c624 static int adt7470_fan_read(struct device *dev, u32 attr, int channel, long *val) in adt7470_fan_read()
859 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_max_show() local
872 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_max_store() local
894 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_min_show() local
907 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_min_store() local
929 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmax_show() local
942 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmin_show() local
955 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_tmin_store() local
978 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_temp_show() local
1005 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_auto_temp_store() local
[all …]
H A Dwm831x-hwmon.c31 struct device_attribute *attr, char *buf) in show_voltage()
45 struct device_attribute *attr, char *buf) in show_chip_temp()
63 struct device_attribute *attr, char *buf) in show_label()
H A Dnct6683.c664 show_in_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_in_reg()
676 struct attribute *attr, int index) in nct6683_in_is_visible()
712 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan()
741 struct attribute *attr, int index) in nct6683_fan_is_visible()
794 show_temp8(struct device *dev, struct device_attribute *attr, char *buf) in show_temp8()
816 show_temp16(struct device *dev, struct device_attribute *attr, char *buf) in show_temp16()
859 struct attribute *attr, int index) in nct6683_temp_is_visible()
912 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm()
946 struct attribute *attr, int index) in nct6683_pwm_is_visible()
999 beep_enable_store(struct device *dev, struct device_attribute *attr, in beep_enable_store()
[all …]
H A Dadt7475.c349 struct device_attribute *attr, const char *buf, in voltage_store()
386 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show()
444 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store()
573 struct device_attribute *attr, const char *buf, in temp_st_store()
694 static ssize_t tach_show(struct device *dev, struct device_attribute *attr, in tach_show()
735 static ssize_t pwm_show(struct device *dev, struct device_attribute *attr, in pwm_show()
822 struct device_attribute *attr, char *buf) in stall_disable_show()
833 struct device_attribute *attr, in stall_disable_store()
917 struct device_attribute *attr, const char *buf, in pwmchan_store()
941 struct device_attribute *attr, const char *buf, in pwmctrl_store()
[all …]
H A Dlm95241.c129 static int lm95241_read_chip(struct device *dev, u32 attr, int channel, in lm95241_read_chip()
143 static int lm95241_read_temp(struct device *dev, u32 attr, int channel, in lm95241_read_temp()
187 u32 attr, int channel, long *val) in lm95241_read()
199 static int lm95241_write_chip(struct device *dev, u32 attr, int channel, in lm95241_write_chip()
238 static int lm95241_write_temp(struct device *dev, u32 attr, int channel, in lm95241_write_temp()
323 u32 attr, int channel, long val) in lm95241_write()
337 u32 attr, int channel) in lm95241_is_visible()
/openbmc/linux/drivers/staging/greybus/
H A Daudio_manager_sysfs.c15 struct kobj_attribute *attr, in manager_sysfs_add_store()
40 struct kobj_attribute *attr, in manager_sysfs_remove_store()
61 struct kobj_attribute *attr, in manager_sysfs_dump_store()
/openbmc/linux/drivers/acpi/
H A Dfan_attr.c19 static ssize_t show_state(struct device *dev, struct device_attribute *attr, char *buf) in show_state()
52 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, char *buf) in show_fan_speed()
65 static ssize_t show_fine_grain_control(struct device *dev, struct device_attribute *attr, char *buf) in show_fine_grain_control()
H A Dplatform_profile.c26 struct device_attribute *attr, in platform_profile_choices_show()
53 struct device_attribute *attr, in platform_profile_show()
81 struct device_attribute *attr, in platform_profile_store()
/openbmc/linux/tools/net/ynl/generated/
H A Ddevlink-user.c164 const struct nlattr *attr; in devlink_dl_info_version_parse() local
206 const struct nlattr *attr; in devlink_dl_reload_stats_entry_parse() local
241 const struct nlattr *attr; in devlink_dl_reload_act_stats_parse() local
290 const struct nlattr *attr; in devlink_dl_reload_act_info_parse() local
344 const struct nlattr *attr; in devlink_dl_reload_stats_parse() local
389 const struct nlattr *attr; in devlink_dl_dev_stats_parse() local
442 const struct nlattr *attr; in devlink_get_rsp_parse() local
592 const struct nlattr *attr; in devlink_port_get_rsp_parse() local
672 const struct nlattr *attr; in devlink_port_get_rsp_dump_parse() local
779 const struct nlattr *attr; in devlink_sb_get_rsp_parse() local
[all …]
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c469 static int __parse_flow_nlattrs(const struct nlattr *attr, in __parse_flow_nlattrs()
668 static int ip_tun_from_nlattr(const struct nlattr *attr, in ip_tun_from_nlattr()
1295 int nsh_hdr_from_nlattr(const struct nlattr *attr, in nsh_hdr_from_nlattr()
1349 int nsh_key_from_nlattr(const struct nlattr *attr, in nsh_key_from_nlattr()
1760 static void nlattr_set(struct nlattr *attr, u8 val, in nlattr_set()
1778 static void mask_set_nlattr(struct nlattr *attr, u8 val) in mask_set_nlattr()
1926 u32 ovs_nla_get_ufid_flags(const struct nlattr *attr) in ovs_nla_get_ufid_flags()
2620 const struct nlattr *attr, in validate_and_copy_dec_ttl()
2679 const struct nlattr *attr, in validate_and_copy_clone()
3040 static int validate_userspace(const struct nlattr *attr) in validate_userspace()
[all …]
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c1194 struct kvm_device_attr *attr) in kvm_s390_vm_set_migration()
1215 struct kvm_device_attr *attr) in kvm_s390_vm_get_migration()
1440 struct kvm_device_attr *attr) in kvm_s390_set_processor_feat()
1466 struct kvm_device_attr *attr) in kvm_s390_set_processor_subfunc()
1659 struct kvm_device_attr *attr) in kvm_s390_get_processor_feat()
1674 struct kvm_device_attr *attr) in kvm_s390_get_machine_feat()
1689 struct kvm_device_attr *attr) in kvm_s390_get_processor_subfunc()
1757 struct kvm_device_attr *attr) in kvm_s390_get_machine_subfunc()
1911 struct kvm_device_attr *attr) in kvm_s390_set_topo_change_indication()
1921 struct kvm_device_attr *attr) in kvm_s390_get_topo_change_indication()
[all …]
/openbmc/linux/drivers/greybus/
H A Dbundle.c13 struct device_attribute *attr, char *buf) in bundle_class_show()
22 struct device_attribute *attr, char *buf) in bundle_id_show()
30 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
41 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
/openbmc/linux/drivers/misc/
H A Dds1682.c54 static ssize_t ds1682_show(struct device *dev, struct device_attribute *attr, in ds1682_show()
97 static ssize_t ds1682_store(struct device *dev, struct device_attribute *attr, in ds1682_store()
156 struct bin_attribute *attr, in ds1682_eeprom_read()
174 struct bin_attribute *attr, in ds1682_eeprom_write()
/openbmc/linux/drivers/mfd/
H A Dintel-m10-bmc-core.c101 struct device_attribute *attr, char *buf) in bmc_version_show()
116 struct device_attribute *attr, char *buf) in bmcfw_version_show()
131 struct device_attribute *attr, char *buf) in mac_address_show()
156 struct device_attribute *attr, char *buf) in mac_count_show()
/openbmc/linux/drivers/firmware/efi/
H A Dvars.c177 u32 *attr, unsigned long *size, void *data) in efivar_get_variable()
202 u32 attr, unsigned long data_size, in efivar_set_variable_locked()
235 u32 attr, unsigned long data_size, void *data) in efivar_set_variable()
249 efi_status_t efivar_query_variable_info(u32 attr, in efivar_query_variable_info()
/openbmc/linux/drivers/platform/x86/
H A Duv_sysfs.c151 struct attribute attr; member
187 static ssize_t hub_type_show(struct kobject *kobj, struct attribute *attr, in hub_type_show()
316 struct attribute attr; member
487 struct attribute attr; member
514 struct attribute *attr, char *buf) in pci_top_type_show()
726 struct kobj_attribute *attr, char *buf) in partition_id_show()
732 struct kobj_attribute *attr, char *buf) in coherence_id_show()
738 struct kobj_attribute *attr, char *buf) in uv_type_show()
744 struct kobj_attribute *attr, char *buf) in uv_archtype_show()
750 struct kobj_attribute *attr, char *buf) in uv_hub_type_show()
[all …]
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_srq.c13 struct ib_srq_attr *attr = &init->attr; in rxe_srq_chk_init() local
101 struct ib_srq_attr *attr, enum ib_srq_attr_mask mask) in rxe_srq_chk_attr()
152 struct ib_srq_attr *attr, enum ib_srq_attr_mask mask, in rxe_srq_from_attr()
/openbmc/linux/fs/ntfs3/
H A Drecord.c38 struct ATTRIB *attr; in mi_new_attt_id() local
198 struct ATTRIB *mi_enum_attr(struct mft_inode *mi, struct ATTRIB *attr) in mi_enum_attr()
344 struct ATTRIB *mi_find_attr(struct mft_inode *mi, struct ATTRIB *attr, in mi_find_attr()
465 struct ATTRIB *attr; in mi_insert_attr() local
526 struct ATTRIB *attr) in mi_remove_attr()
555 bool mi_resize_attr(struct mft_inode *mi, struct ATTRIB *attr, int bytes) in mi_resize_attr()
608 int mi_pack_runs(struct mft_inode *mi, struct ATTRIB *attr, in mi_pack_runs()
/openbmc/linux/sound/pci/hda/
H A Dhda_sysfs.c31 struct device_attribute *attr, in power_on_acct_show()
40 struct device_attribute *attr, in power_off_acct_show()
96 struct device_attribute *attr, in init_pin_configs_show()
104 struct device_attribute *attr, in driver_pin_configs_show()
217 struct device_attribute *attr, in init_verbs_show()
255 struct device_attribute *attr, in init_verbs_store()
266 struct device_attribute *attr, in hints_show()
360 struct device_attribute *attr, in hints_store()
371 struct device_attribute *attr, in user_pin_configs_show()
393 struct device_attribute *attr, in user_pin_configs_store()
/openbmc/linux/drivers/zorro/
H A Dzorro-sysfs.c41 static ssize_t serial_show(struct device *dev, struct device_attribute *attr, in serial_show()
51 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show()
63 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()

1...<<11121314151617181920>>...105