/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxbf-bootctl.c | 234 struct device_attribute *attr, in reset_action_store() 241 struct device_attribute *attr, in second_reset_action_show() 248 struct device_attribute *attr, in second_reset_action_store() 288 struct device_attribute *attr, in secure_boot_fuse_state_show() 493 struct device_attribute *attr, in os_up_store() 588 struct device_attribute *attr, in opn_store() 639 struct device_attribute *attr, in sku_store() 690 struct device_attribute *attr, in modl_store() 741 struct device_attribute *attr, in sn_store() 792 struct device_attribute *attr, in uuid_store() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | adm1026.c | 879 struct device_attribute *attr, in temp_offset_store() 916 struct device_attribute *attr, in temp_auto_point2_temp_show() 926 struct device_attribute *attr, in temp_auto_point1_temp_show() 935 struct device_attribute *attr, in temp_auto_point1_temp_store() 1048 struct device_attribute *attr, in analog_out_store() 1161 struct device_attribute *attr, in alarm_mask_store() 1229 struct device_attribute *attr, in gpio_mask_show() 1293 struct device_attribute *attr, in temp1_auto_point1_pwm_show() 1301 struct device_attribute *attr, in temp1_auto_point1_pwm_store() 1325 struct device_attribute *attr, in temp1_auto_point2_pwm_show() [all …]
|
H A D | vt8231.c | 319 struct device_attribute *attr, char *buf) in in5_input_show() 346 struct device_attribute *attr, const char *buf, in in5_min_store() 366 struct device_attribute *attr, const char *buf, in in5_max_store() 407 struct device_attribute *attr, char *buf) in temp1_input_show() 421 struct device_attribute *attr, char *buf) in temp1_max_hyst_show() 446 struct device_attribute *attr, in temp1_max_hyst_store() 474 struct device_attribute *attr, char *buf) in temp_max_show() 483 struct device_attribute *attr, char *buf) in temp_min_show() 492 struct device_attribute *attr, const char *buf, in temp_max_store() 588 struct device_attribute *attr, const char *buf, in fan_min_store() [all …]
|
H A D | asc7621.c | 194 struct device_attribute *attr, char *buf) in show_bitmask() 204 struct device_attribute *attr, in store_bitmask() 234 struct device_attribute *attr, char *buf) in show_fan16() 348 struct device_attribute *attr, char *buf) in show_temp8() 385 struct device_attribute *attr, char *buf) in show_temp10() 466 struct device_attribute *attr, in store_ap2_temp() 517 struct device_attribute *attr, in store_pwm_ac() 585 struct device_attribute *attr, in store_pwm_enable() 658 struct device_attribute *attr, in store_pwm_freq() 707 struct device_attribute *attr, in store_pwm_ast() [all …]
|
H A D | gl520sm.c | 190 struct device_attribute *attr, char *buf) in cpu0_vid_show() 206 struct device_attribute *attr, char *buf) in in_input_show() 339 struct device_attribute *attr, char *buf) in fan_input_show() 368 struct device_attribute *attr, char *buf) in fan1_off_show() 502 struct device_attribute *attr, char *buf) in temp_input_show() 511 struct device_attribute *attr, char *buf) in temp_max_show() 520 struct device_attribute *attr, char *buf) in temp_max_hyst_show() 550 struct device_attribute *attr, in temp_max_hyst_store() 586 struct device_attribute *attr, char *buf) in beep_enable_show() 593 struct device_attribute *attr, char *buf) in beep_mask_show() [all …]
|
/openbmc/linux/drivers/usb/typec/ |
H A D | class.c | 448 struct attribute *attr, int n) in typec_altmode_attr_is_visible() 601 struct device_attribute *attr, in accessory_mode_show() 611 struct device_attribute *attr, in supports_usb_power_delivery_show() 1420 struct device_attribute *attr, in data_role_store() 1465 struct device_attribute *attr, in power_role_store() 1576 struct device_attribute *attr, in power_operation_mode_show() 1586 struct device_attribute *attr, in vconn_source_store() 1625 struct device_attribute *attr, in supported_accessory_modes_show() 1659 struct device_attribute *attr, in usb_power_delivery_revision_show() 1681 struct device_attribute *attr, in orientation_show() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_hwmon.c | 21 static int power_supply_hwmon_in_to_property(u32 attr) in power_supply_hwmon_in_to_property() 37 static int power_supply_hwmon_curr_to_property(u32 attr) in power_supply_hwmon_curr_to_property() 51 static int power_supply_hwmon_temp_to_property(u32 attr, int channel) in power_supply_hwmon_temp_to_property() 86 u32 attr, int channel) in power_supply_hwmon_to_property() 101 u32 attr) in power_supply_hwmon_is_a_label() 140 u32 attr) in power_supply_hwmon_is_writable() 160 u32 attr, int channel) in power_supply_hwmon_is_visible() 185 u32 attr, int channel, in power_supply_hwmon_read_string() 207 u32 attr, int channel, long *val) in power_supply_hwmon_read() 251 u32 attr, int channel, long val) in power_supply_hwmon_write()
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_sysfs.c | 92 struct device_attribute *attr, in zfcp_sysfs_port_failed_show() 104 struct device_attribute *attr, in zfcp_sysfs_port_failed_store() 124 struct device_attribute *attr, in zfcp_sysfs_unit_failed_show() 142 struct device_attribute *attr, in zfcp_sysfs_unit_failed_store() 168 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_show() 214 struct device_attribute *attr, in zfcp_sysfs_port_rescan_store() 299 struct device_attribute *attr, in zfcp_sysfs_port_remove_store() 443 struct device_attribute *attr, in zfcp_sysfs_unit_add_store() 462 struct device_attribute *attr, in zfcp_sysfs_unit_remove_store() 479 struct device_attribute *attr, in zfcp_sysfs_port_fc_security_show() [all …]
|
/openbmc/linux/drivers/pps/ |
H A D | sysfs.c | 18 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, in assert_show() 32 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, in clear_show() 46 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() 55 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, in echo_show() 64 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() 73 static ssize_t path_show(struct device *dev, struct device_attribute *attr, in path_show()
|
/openbmc/linux/block/ |
H A D | blk-crypto-sysfs.c | 19 struct attribute attr; member 29 static struct blk_crypto_attr *attr_to_crypto_attr(struct attribute *attr) in attr_to_crypto_attr() 35 struct blk_crypto_attr *attr, char *page) in max_dun_bits_show() 41 struct blk_crypto_attr *attr, char *page) in num_keyslots_show() 70 struct attribute *attr, int n) in blk_crypto_mode_is_visible() 82 struct blk_crypto_attr *attr, char *page) in blk_crypto_mode_show() 102 struct attribute *attr, char *page) in blk_crypto_attr_show() 164 struct blk_crypto_attr *attr = &__blk_crypto_mode_attrs[i]; in blk_crypto_sysfs_init() local
|
/openbmc/linux/drivers/input/tablet/ |
H A D | aiptek.c | 1034 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletSize() 1139 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletToolMode() 1168 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletXtilt() 1209 static ssize_t show_tabletYtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletYtilt() 1434 static ssize_t show_tabletMouseLeft(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletMouseLeft() 1492 static ssize_t show_tabletMouseRight(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletMouseRight() 1521 static ssize_t show_tabletWheel(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletWheel() 1553 static ssize_t show_tabletExecute(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletExecute() 1585 static ssize_t show_tabletODMCode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletODMCode() 1598 static ssize_t show_tabletModelCode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletModelCode() [all …]
|
/openbmc/linux/lib/ |
H A D | test_firmware.c | 250 struct device_attribute *attr, in reset_store() 278 struct device_attribute *attr, in config_show() 335 struct device_attribute *attr, in config_name_store() 453 struct device_attribute *attr, in config_name_show() 461 struct device_attribute *attr, in config_upload_name_store() 509 struct device_attribute *attr, in config_num_requests_show() 564 struct device_attribute *attr, in config_file_offset_store() 611 struct device_attribute *attr, in config_sync_direct_store() 633 struct device_attribute *attr, in config_send_uevent_store() 649 struct device_attribute *attr, in config_read_fw_idx_store() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_sysfs.c | 27 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show() 35 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show() 49 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show() 62 mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 82 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show() 152 trip_point_temp_show(struct device *dev, struct device_attribute *attr, in trip_point_temp_show() 234 policy_store(struct device *dev, struct device_attribute *attr, in policy_store() 267 emul_temp_store(struct device *dev, struct device_attribute *attr, in emul_temp_store() 615 cur_state_store(struct device *dev, struct device_attribute *attr, in cur_state_store() 709 struct device_attribute *attr, char *buf) in total_trans_show() [all …]
|
/openbmc/linux/drivers/fpga/ |
H A D | dfl-fme-error.c | 43 struct device_attribute *attr, char *buf) in pcie0_errors_show() 59 struct device_attribute *attr, in pcie0_errors_store() 88 struct device_attribute *attr, char *buf) in pcie1_errors_show() 104 struct device_attribute *attr, in pcie1_errors_store() 133 struct device_attribute *attr, char *buf) in nonfatal_errors_show() 145 struct device_attribute *attr, char *buf) in catfatal_errors_show() 157 struct device_attribute *attr, char *buf) in inject_errors_show() 174 struct device_attribute *attr, in inject_errors_store() 218 struct device_attribute *attr, in fme_errors_store() 249 struct device_attribute *attr, char *buf) in first_error_show() [all …]
|
/openbmc/linux/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 18 struct attribute attr; member 34 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_show() local 47 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_store() local 62 struct mdev_type_attribute *attr, const char *buf, in create_store() 90 struct mdev_type_attribute *attr, char *buf) in device_api_show() 97 struct mdev_type_attribute *attr, char *buf) in name_show() 106 struct mdev_type_attribute *attr, in available_instances_show() 119 struct mdev_type_attribute *attr, in description_show() 136 struct attribute *attr, int n) in mdev_types_core_is_visible() 240 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_manager_module.c | 22 struct attribute attr; member 32 struct attribute *attr, char *buf) in gb_audio_module_attr_show() 47 struct attribute *attr, in gb_audio_module_attr_store() 77 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_name_show() 86 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_vid_show() 95 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_pid_show() 104 struct gb_audio_manager_module_attribute *attr, in gb_audio_module_intf_id_show() 115 struct gb_audio_manager_module_attribute *attr, in gb_audio_module_ip_devices_show() 126 struct gb_audio_manager_module_attribute *attr, in gb_audio_module_op_devices_show()
|
/openbmc/linux/sound/hda/ |
H A D | hdac_sysfs.c | 88 struct attribute attr; member 162 struct widget_attribute *attr, char *buf) in caps_show() 168 struct widget_attribute *attr, char *buf) in pin_caps_show() 177 struct widget_attribute *attr, char *buf) in pin_cfg_show() 202 struct widget_attribute *attr, char *buf) in pcm_caps_show() 211 struct widget_attribute *attr, char *buf) in pcm_formats_show() 220 struct widget_attribute *attr, char *buf) in amp_in_caps_show() 229 struct widget_attribute *attr, char *buf) in amp_out_caps_show() 238 struct widget_attribute *attr, char *buf) in power_caps_show() 247 struct widget_attribute *attr, char *buf) in gpio_caps_show() [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | netlink_dumper.c | 14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, in xdp_dump_prog_id() 29 static int do_xdp_dump_one(struct nlattr *attr, unsigned int ifindex, in do_xdp_dump_one() 81 static int do_bpf_dump_one_act(struct nlattr *attr) in do_bpf_dump_one_act() 102 static int do_dump_one_act(struct nlattr *attr) in do_dump_one_act() 119 static int do_bpf_act_dump(struct nlattr *attr) in do_bpf_act_dump() 138 static int do_bpf_filter_dump(struct nlattr *attr) in do_bpf_filter_dump()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_hwmon.c | 236 nouveau_chip_is_visible(const void *data, u32 attr, int channel) in nouveau_chip_is_visible() 247 nouveau_power_is_visible(const void *data, u32 attr, int channel) in nouveau_power_is_visible() 272 nouveau_temp_is_visible(const void *data, u32 attr, int channel) in nouveau_temp_is_visible() 296 nouveau_pwm_is_visible(const void *data, u32 attr, int channel) in nouveau_pwm_is_visible() 315 nouveau_input_is_visible(const void *data, u32 attr, int channel) in nouveau_input_is_visible() 335 nouveau_fan_is_visible(const void *data, u32 attr, int channel) in nouveau_fan_is_visible() 352 nouveau_chip_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_chip_read() 415 nouveau_fan_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_fan_read() 438 nouveau_in_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_in_read() 469 nouveau_pwm_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_pwm_read() [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 2553 lpfc_fdmi_set_attr_fullwwn(void *attr, uint16_t attrtype, in lpfc_fdmi_set_attr_fullwwn() 2625 lpfc_fdmi_hba_attr_wwnn(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_wwnn() 2642 lpfc_fdmi_hba_attr_sn(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_sn() 2651 lpfc_fdmi_hba_attr_model(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_model() 2716 lpfc_fdmi_hba_attr_os_ver(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_os_ver() 2729 lpfc_fdmi_hba_attr_ct_len(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_ct_len() 2885 lpfc_fdmi_port_attr_speed(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_port_attr_speed() 2982 lpfc_fdmi_port_attr_wwnn(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_port_attr_wwnn() 2989 lpfc_fdmi_port_attr_wwpn(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_port_attr_wwpn() 3110 lpfc_fdmi_smart_attr_qos(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_smart_attr_qos() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | sysfs.c | 69 struct device_attribute *attr, in store_admin_alias_guid() 112 struct device_attribute *attr, in show_port_gid() 141 struct device_attribute *attr, in show_phys_port_pkey() 167 struct device_attribute *attr, in create_sysfs_entry() 203 struct attribute *attr) in add_sysfs_port_mcg_attr() 216 struct attribute *attr) in del_sysfs_port_mcg_attr() 229 struct ib_port_attr attr; in add_port_entries() local 394 struct attribute attr; member 413 struct attribute *attr, in port_attr_store() 436 struct port_attribute attr; member [all …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | adp5520_bl.c | 170 struct device_attribute *attr, char *buf) in adp5520_bl_dark_max_show() 176 struct device_attribute *attr, in adp5520_bl_dark_max_store() 185 struct device_attribute *attr, char *buf) in adp5520_bl_office_max_show() 191 struct device_attribute *attr, in adp5520_bl_office_max_store() 200 struct device_attribute *attr, char *buf) in adp5520_bl_daylight_max_show() 206 struct device_attribute *attr, in adp5520_bl_daylight_max_store() 222 struct device_attribute *attr, char *buf) in adp5520_bl_dark_dim_show() 228 struct device_attribute *attr, in adp5520_bl_dark_dim_store() 237 struct device_attribute *attr, char *buf) in adp5520_bl_office_dim_show() 243 struct device_attribute *attr, in adp5520_bl_office_dim_store() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.c | 38 u32 *attr; in fm10k_tlv_attr_put_null_string() local 116 u32 *attr; in fm10k_tlv_attr_put_mac_vlan() local 149 s32 fm10k_tlv_attr_get_mac_vlan(u32 *attr, u8 *mac_addr, u16 *vlan) in fm10k_tlv_attr_get_mac_vlan() 200 u32 *attr; in fm10k_tlv_attr_put_value() local 238 s32 fm10k_tlv_attr_get_value(u32 *attr, void *value, u32 len) in fm10k_tlv_attr_get_value() 274 u32 *attr; in fm10k_tlv_attr_put_le_struct() local 309 s32 fm10k_tlv_attr_get_le_struct(u32 *attr, void *le_struct, u32 len) in fm10k_tlv_attr_get_le_struct() 342 u32 *attr; in fm10k_tlv_attr_nest_start() local 367 u32 *attr; in fm10k_tlv_attr_nest_stop() local 398 static s32 fm10k_tlv_attr_validate(u32 *attr, in fm10k_tlv_attr_validate() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | sysfs.c | 50 struct ib_port_attribute attr; member 77 struct device_attribute attr; member 86 struct ib_port_attribute attr; member 216 struct ib_port_attr attr; in state_show() local 242 struct ib_port_attr attr; in lid_show() local 255 struct ib_port_attr attr; in lid_mask_count_show() local 268 struct ib_port_attr attr; in sm_lid_show() local 281 struct ib_port_attr attr; in sm_sl_show() local 294 struct ib_port_attr attr; in cap_mask_show() local 307 struct ib_port_attr attr; in rate_show() local [all …]
|
/openbmc/linux/drivers/firmware/ |
H A D | stratix10-rsu.c | 462 struct device_attribute *attr, char *buf) in dcmf0_show() 473 struct device_attribute *attr, char *buf) in dcmf1_show() 484 struct device_attribute *attr, char *buf) in dcmf2_show() 495 struct device_attribute *attr, char *buf) in dcmf3_show() 506 struct device_attribute *attr, char *buf) in dcmf0_status_show() 520 struct device_attribute *attr, char *buf) in dcmf1_status_show() 534 struct device_attribute *attr, char *buf) in dcmf2_status_show() 548 struct device_attribute *attr, char *buf) in dcmf3_status_show() 561 struct device_attribute *attr, in reboot_image_store() 586 struct device_attribute *attr, in notify_store() [all …]
|