/openbmc/linux/drivers/counter/ |
H A D | counter-sysfs.c | 106 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 D | memory.c | 121 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 D | hidma_mgmt_sys.c | 16 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 D | class.c | 66 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 D | sysfs_upload.c | 60 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 D | adt7470.c | 624 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 D | wm831x-hwmon.c | 31 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 D | nct6683.c | 664 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 D | adt7475.c | 349 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 D | lm95241.c | 129 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 D | audio_manager_sysfs.c | 15 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 D | fan_attr.c | 19 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 D | platform_profile.c | 26 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 D | devlink-user.c | 164 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 D | flow_netlink.c | 469 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 D | kvm-s390.c | 1194 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 D | bundle.c | 13 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 D | ds1682.c | 54 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 D | intel-m10-bmc-core.c | 101 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 D | vars.c | 177 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 D | uv_sysfs.c | 151 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 D | rxe_srq.c | 13 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 D | record.c | 38 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 D | hda_sysfs.c | 31 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 D | zorro-sysfs.c | 41 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()
|