/openbmc/linux/drivers/leds/ |
H A D | leds-lm3533.c | 312 struct device_attribute *attr, char *buf) in show_id() 333 struct device_attribute *attr, in show_risefalltime() 365 struct device_attribute *attr, in store_risefalltime() 386 struct device_attribute *attr, in store_risetime() 394 struct device_attribute *attr, in store_falltime() 422 struct device_attribute *attr, in store_als_channel() 472 struct device_attribute *attr, in store_als_en() 525 struct device_attribute *attr, in store_linear() 555 struct device_attribute *attr, in show_pwm() 571 struct device_attribute *attr, in store_pwm() [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-dump.c | 31 struct attribute attr; member 40 struct dump_attribute *attr, in dump_id_show() 57 struct dump_attribute *attr, in dump_type_show() 66 struct dump_attribute *attr, in dump_ack_show() 87 struct dump_attribute *attr, in dump_ack_store() 114 struct dump_attribute *attr, in init_dump_show() 132 struct dump_attribute *attr, in init_dump_store() 160 struct attribute *attr, in dump_attr_show() 176 struct attribute *attr, in dump_attr_store()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lm3533_bl.c | 65 struct device_attribute *attr, char *buf) in show_id() 73 struct device_attribute *attr, char *buf) in show_als_channel() 82 struct device_attribute *attr, char *buf) in show_als_en() 102 struct device_attribute *attr, in store_als_en() 131 struct device_attribute *attr, char *buf) in show_linear() 154 struct device_attribute *attr, in store_linear() 182 struct device_attribute *attr, in show_pwm() 197 struct device_attribute *attr, in store_pwm() 230 struct attribute *attr, int n) in lm3533_bl_attr_is_visible()
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_tad.c | 156 static ssize_t time_store(struct device *dev, struct device_attribute *attr, in time_store() 225 static ssize_t time_show(struct device *dev, struct device_attribute *attr, in time_show() 425 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, in caps_show() 435 static ssize_t ac_alarm_store(struct device *dev, struct device_attribute *attr, in ac_alarm_store() 443 static ssize_t ac_alarm_show(struct device *dev, struct device_attribute *attr, in ac_alarm_show() 459 static ssize_t ac_policy_show(struct device *dev, struct device_attribute *attr, in ac_policy_show() 475 static ssize_t ac_status_show(struct device *dev, struct device_attribute *attr, in ac_status_show() 494 static ssize_t dc_alarm_store(struct device *dev, struct device_attribute *attr, in dc_alarm_store() 502 static ssize_t dc_alarm_show(struct device *dev, struct device_attribute *attr, in dc_alarm_show() 518 static ssize_t dc_policy_show(struct device *dev, struct device_attribute *attr, in dc_policy_show() [all …]
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | kobjects.c | 30 struct kobj_attribute *attr, char *buf) in chars_chartab_show() 110 struct kobj_attribute *attr, in chars_chartab_store() 229 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show() 371 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show() 386 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store() 413 struct kobj_attribute *attr, in synth_direct_store() 459 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() 499 static ssize_t punc_store(struct kobject *kobj, struct kobj_attribute *attr, in punc_store() 546 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr, in spk_var_show() 622 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr, in spk_var_store() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mpls.c | 12 struct mlx5_flow_attr *attr) in tc_act_can_offload_mpls_push() 40 struct mlx5_flow_attr *attr) in tc_act_parse_mpls_push() 52 struct mlx5_flow_attr *attr) in tc_act_can_offload_mpls_pop() 82 struct mlx5_flow_attr *attr) in tc_act_parse_mpls_pop()
|
/openbmc/linux/drivers/hwmon/ |
H A D | adt7411.c | 165 struct device_attribute *attr, char *buf) in adt7411_show_bit() 176 struct device_attribute *attr, const char *buf, in adt7411_set_bit() 228 static int adt7411_read_in_vdd(struct device *dev, u32 attr, long *val) in adt7411_read_in_vdd() 337 static int adt7411_read_in(struct device *dev, u32 attr, int channel, in adt7411_read_in() 378 static int adt7411_read_temp(struct device *dev, u32 attr, int channel, in adt7411_read_temp() 418 u32 attr, int channel, long *val) in adt7411_read() 430 static int adt7411_write_in_vdd(struct device *dev, u32 attr, long val) in adt7411_write_in_vdd() 485 static int adt7411_write_in(struct device *dev, u32 attr, int channel, in adt7411_write_in() 494 static int adt7411_write_temp(struct device *dev, u32 attr, int channel, in adt7411_write_temp() 519 u32 attr, int channel, long val) in adt7411_write() [all …]
|
H A D | emc1403.c | 35 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show() 49 static ssize_t bit_show(struct device *dev, struct device_attribute *attr, in bit_show() 63 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store() 80 static ssize_t bit_store(struct device *dev, struct device_attribute *attr, in bit_store() 99 struct device_attribute *attr, char *buf, in show_hyst_common() 120 static ssize_t hyst_show(struct device *dev, struct device_attribute *attr, in hyst_show() 127 struct device_attribute *attr, char *buf) in min_hyst_show() 132 static ssize_t hyst_store(struct device *dev, struct device_attribute *attr, in hyst_store()
|
H A D | thmc50.c | 119 struct device_attribute *attr, char *buf) in analog_out_show() 126 struct device_attribute *attr, in analog_out_store() 157 struct device_attribute *attr, char *buf) in pwm_mode_show() 163 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show() 172 struct device_attribute *attr, char *buf) in temp_min_show() 180 struct device_attribute *attr, const char *buf, in temp_min_store() 202 struct device_attribute *attr, char *buf) in temp_max_show() 210 struct device_attribute *attr, const char *buf, in temp_max_store() 232 struct device_attribute *attr, char *buf) in temp_critical_show() 239 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
|
H A D | ltc2947-core.c | 325 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2947_show_value() local 591 u32 attr, int channel, long *val) in ltc2947_read() 607 static int ltc2947_write_temp(struct device *dev, const u32 attr, in ltc2947_write_temp() 684 static int ltc2947_write_curr(struct device *dev, const u32 attr, in ltc2947_write_curr() 762 u32 attr, int channel, long val) in ltc2947_write() 780 u32 attr, int channel, const char **str) in ltc2947_read_labels() 806 static int ltc2947_in_is_visible(const u32 attr) in ltc2947_in_is_visible() 826 static int ltc2947_curr_is_visible(const u32 attr) in ltc2947_curr_is_visible() 846 static int ltc2947_power_is_visible(const u32 attr) in ltc2947_power_is_visible() 866 static int ltc2947_temp_is_visible(const u32 attr) in ltc2947_temp_is_visible() [all …]
|
/openbmc/linux/drivers/hwtracing/intel_th/ |
H A D | pti.c | 49 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() 57 static ssize_t mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 80 freerunning_clock_show(struct device *dev, struct device_attribute *attr, in freerunning_clock_show() 89 freerunning_clock_store(struct device *dev, struct device_attribute *attr, in freerunning_clock_store() 108 clock_divider_show(struct device *dev, struct device_attribute *attr, in clock_divider_show() 117 clock_divider_store(struct device *dev, struct device_attribute *attr, in clock_divider_store() 248 static ssize_t lpp_dest_show(struct device *dev, struct device_attribute *attr, in lpp_dest_show() 271 static ssize_t lpp_dest_store(struct device *dev, struct device_attribute *attr, in lpp_dest_store()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | cytherm.c | 67 static ssize_t brightness_show(struct device *dev, struct device_attribute *attr, char *buf) in brightness_show() 75 static ssize_t brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, in brightness_store() 116 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show() 153 static ssize_t button_show(struct device *dev, struct device_attribute *attr, char *buf) in button_show() 183 static ssize_t port0_show(struct device *dev, struct device_attribute *attr, char *buf) in port0_show() 207 static ssize_t port0_store(struct device *dev, struct device_attribute *attr, const char *buf, size… in port0_store() 238 static ssize_t port1_show(struct device *dev, struct device_attribute *attr, char *buf) in port1_show() 262 static ssize_t port1_store(struct device *dev, struct device_attribute *attr, const char *buf, size… in port1_store()
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_sysfs.c | 47 version_show(struct device *dev, struct device_attribute *attr, char *buf) in version_show() 71 struct device_attribute *attr, char *buf) in rx_offload_show() 81 struct device_attribute *attr, char *buf) in tx_offload_show() 102 struct attribute *attr, int n) in ipa_endpoint_id_is_visible() 119 struct device_attribute *attr, char *buf) in endpoint_id_attr_show()
|
/openbmc/linux/drivers/misc/ |
H A D | apds990x.c | 623 struct device_attribute *attr, char *buf) in apds990x_lux_show() 654 struct device_attribute *attr, char *buf) in apds990x_lux_range_show() 662 struct device_attribute *attr, char *buf) in apds990x_lux_calib_format_show() 679 struct device_attribute *attr, in apds990x_lux_calib_store() 744 struct device_attribute *attr, in apds990x_rate_store() 803 struct device_attribute *attr, in apds990x_prox_enable_store() 845 struct device_attribute *attr, in apds990x_prox_reporting_mode_store() 916 struct device_attribute *attr, in apds990x_lux_thresh_above_store() 928 struct device_attribute *attr, in apds990x_lux_thresh_below_store() 956 struct device_attribute *attr, in apds990x_prox_threshold_store() [all …]
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | sysfs.c | 14 struct device_attribute *attr, in global_mmio_size_show() 24 struct device_attribute *attr, in pp_mmio_size_show() 34 struct device_attribute *attr, in afu_version_show() 45 struct device_attribute *attr, in contexts_show() 55 struct device_attribute *attr, in reload_on_reset_show() 70 struct device_attribute *attr, in reload_on_reset_store()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.h | 84 const struct fm10k_tlv_attr *attr; member 89 #define FM10K_MSG_HANDLER(id, attr, func) { id, attr, func } argument 113 #define fm10k_tlv_attr_get_u8(attr, ptr) \ argument 115 #define fm10k_tlv_attr_get_u16(attr, ptr) \ argument 117 #define fm10k_tlv_attr_get_u32(attr, ptr) \ argument 119 #define fm10k_tlv_attr_get_u64(attr, ptr) \ argument 121 #define fm10k_tlv_attr_get_s8(attr, ptr) \ argument 123 #define fm10k_tlv_attr_get_s16(attr, ptr) \ argument 125 #define fm10k_tlv_attr_get_s32(attr, ptr) \ argument 127 #define fm10k_tlv_attr_get_s64(attr, ptr) \ argument
|
/openbmc/linux/drivers/misc/uacce/ |
H A D | uacce.c | 315 struct device_attribute *attr, char *buf) in api_show() 323 struct device_attribute *attr, char *buf) in flags_show() 331 struct device_attribute *attr, in available_instances_show() 344 struct device_attribute *attr, char *buf) in algorithms_show() 352 struct device_attribute *attr, char *buf) in region_mmio_size_show() 361 struct device_attribute *attr, char *buf) in region_dus_size_show() 370 struct device_attribute *attr, char *buf) in isolate_show() 377 static ssize_t isolate_strategy_show(struct device *dev, struct device_attribute *attr, char *buf) in isolate_strategy_show() 387 static ssize_t isolate_strategy_store(struct device *dev, struct device_attribute *attr, in isolate_strategy_store() 429 struct attribute *attr, int n) in uacce_dev_is_visible()
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dcdbas.c | 132 struct device_attribute *attr, in smi_data_buf_phys_addr_show() 139 struct device_attribute *attr, in smi_data_buf_size_show() 146 struct device_attribute *attr, in smi_data_buf_size_store() 200 struct device_attribute *attr, in host_control_action_show() 207 struct device_attribute *attr, in host_control_action_store() 224 struct device_attribute *attr, in host_control_smi_type_show() 231 struct device_attribute *attr, in host_control_smi_type_store() 239 struct device_attribute *attr, in host_control_on_shutdown_show() 246 struct device_attribute *attr, in host_control_on_shutdown_store() 314 struct device_attribute *attr, in smi_request_store()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_ppi.c | 51 struct device_attribute *attr, char *buf) in tpm_show_ppi_version() 59 struct device_attribute *attr, char *buf) in tpm_show_ppi_request() 113 struct device_attribute *attr, in tpm_store_ppi_request() 176 struct device_attribute *attr, in tpm_show_ppi_transition_action() 222 struct device_attribute *attr, in tpm_show_ppi_response() 325 struct device_attribute *attr, in tpm_show_ppi_tcg_operations() 335 struct device_attribute *attr, in tpm_show_ppi_vs_operations()
|
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | spmobj-attributes.c | 129 struct kobj_attribute *attr, in statusbin() 145 static ssize_t status_show(struct kobject *kobj, struct kobj_attribute in status_show() 212 static ssize_t key_mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in key_mechanism_show() 222 struct kobj_attribute *attr, in sk_store() 257 struct kobj_attribute *attr, in kek_store() 293 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show() 302 struct kobj_attribute *attr, in auth_token_store()
|
/openbmc/linux/drivers/rapidio/ |
H A D | rio-sysfs.c | 37 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) in routes_show() 57 struct device_attribute *attr, char *buf) in lprev_show() 67 struct device_attribute *attr, char *buf) in lnext_show() 88 struct device_attribute *attr, char *buf) in modalias_show() 260 struct attribute *attr, int n) in rio_dev_is_attr_visible() 329 port_destid_show(struct device *dev, struct device_attribute *attr, in port_destid_show() 341 static ssize_t sys_size_show(struct device *dev, struct device_attribute *attr, in sys_size_show()
|
/openbmc/linux/fs/sysfs/ |
H A D | file.c | 180 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify() 255 const struct attribute *attr, umode_t mode, kuid_t uid, in sysfs_add_file_mode_ns() 308 const struct attribute *attr = &battr->attr; in sysfs_add_bin_file_mode_ns() local 345 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns() 380 const struct attribute *attr, const char *group) in sysfs_add_file_to_group() 413 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file() 445 const struct attribute *attr) in sysfs_break_active_protection() 488 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_remove_file_ns() 537 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group() 561 const struct bin_attribute *attr) in sysfs_create_bin_file() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | port.c | 22 struct device_attribute *attr, char *buf) in early_stop_show() 29 static ssize_t early_stop_store(struct device *dev, struct device_attribute *attr, in early_stop_store() 48 struct device_attribute *attr, char *buf) in disable_show() 99 static ssize_t disable_store(struct device *dev, struct device_attribute *attr, in disable_store() 164 struct device_attribute *attr, char *buf) in location_show() 173 struct device_attribute *attr, char *buf) in connect_type_show() 198 struct device_attribute *attr, char *buf) in state_show() 208 struct device_attribute *attr, char *buf) in over_current_count_show() 217 struct device_attribute *attr, char *buf) in quirks_show() 239 struct device_attribute *attr, char *buf) in usb3_lpm_permit_show() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | s390_flic_kvm.c | 63 struct kvm_device_attr attr = { in flic_get_all_irqs() local 77 struct kvm_device_attr attr = { in flic_enable_pfault() local 91 struct kvm_device_attr attr = { in flic_disable_wait_pfault() local 114 struct kvm_device_attr attr = { in flic_enqueue_irqs() local 191 struct kvm_device_attr attr = { in kvm_s390_clear_io_flic() local 211 struct kvm_device_attr attr = { in kvm_s390_modify_ais_mode() local 228 struct kvm_device_attr attr = { in kvm_s390_inject_airq() local 288 struct kvm_device_attr attr = { in kvm_s390_register_io_adapter() local 311 struct kvm_device_attr attr = { in kvm_s390_io_adapter_map() local 509 struct kvm_device_attr attr = { in kvm_flic_ais_pre_save() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | sysfs.h | 51 #define sysfs_attr_init(attr) \ argument 176 struct attribute attr; member 397 const struct attribute *attr, in sysfs_create_file_ns() 417 const struct attribute *attr) in sysfs_break_active_protection() 427 const struct attribute *attr, in sysfs_remove_file_ns() 433 const struct attribute *attr) in sysfs_remove_file_self() 444 const struct bin_attribute *attr) in sysfs_create_bin_file() 450 const struct bin_attribute *attr) in sysfs_remove_bin_file() 560 const char *attr) in sysfs_notify() 621 const struct attribute *attr) in sysfs_create_file() [all …]
|