/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-psr.c | 22 struct kobj_attribute attr; member 25 static ssize_t psr_show(struct kobject *kobj, struct kobj_attribute *attr, in psr_show() 75 static ssize_t psr_store(struct kobject *kobj, struct kobj_attribute *attr, in psr_store()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 14 struct device_attribute *attr, char *buf) in dpaa_eth_show_addr() 27 struct device_attribute *attr, char *buf) in dpaa_eth_show_fqids() 104 struct device_attribute *attr, char *buf) in dpaa_eth_show_bpids()
|
/openbmc/linux/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 24 struct attribute attr; member 33 struct attribute *attr, char *buf) in iscsi_boot_show_attribute() 108 struct attribute *attr, int i) in iscsi_boot_tgt_attr_is_visible() 191 struct attribute *attr, int i) in iscsi_boot_eth_attr_is_visible() 266 struct attribute *attr, int i) in iscsi_boot_ini_attr_is_visible() 315 struct attribute *attr, int i) in iscsi_boot_acpitbl_attr_is_visible()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | usbsevseg.c | 165 struct device_attribute *attr, char *buf) in text_show() 174 struct device_attribute *attr, const char *buf, size_t count) in text_store() 196 struct device_attribute *attr, char *buf) in decimals_show() 218 struct device_attribute *attr, const char *buf, size_t count) in decimals_store() 245 struct device_attribute *attr, char *buf) in textmode_show() 271 struct device_attribute *attr, const char *buf, size_t count) in textmode_store()
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_sysfs.c | 229 static struct power_supply_attr *to_ps_attr(struct device_attribute *attr) in to_ps_attr() 234 static enum power_supply_property dev_attr_psp(struct device_attribute *attr) in dev_attr_psp() 274 struct device_attribute *attr, in power_supply_show_property() 321 struct device_attribute *attr, in power_supply_store_property() 359 struct attribute *attr, in power_supply_attr_is_visible() 416 struct device_attribute *attr; in power_supply_init_attrs() local
|
/openbmc/linux/drivers/xen/ |
H A D | xen-balloon.c | 155 static ssize_t target_kb_show(struct device *dev, struct device_attribute *attr, in target_kb_show() 162 struct device_attribute *attr, in target_kb_store() 180 static ssize_t target_show(struct device *dev, struct device_attribute *attr, in target_show() 189 struct device_attribute *attr, in target_store()
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fbtft-sysfs.c | 115 struct device_attribute *attr, in store_gamma_curve() 141 struct device_attribute *attr, char *buf) in show_gamma_curve() 181 struct device_attribute *attr, in store_debug() 197 struct device_attribute *attr, char *buf) in show_debug()
|
/openbmc/linux/drivers/s390/net/ |
H A D | netiucv.c | 1316 static ssize_t user_show(struct device *dev, struct device_attribute *attr, in user_show() 1373 static ssize_t user_write(struct device *dev, struct device_attribute *attr, in user_write() 1412 static ssize_t buffer_show (struct device *dev, struct device_attribute *attr, in buffer_show() 1482 struct device_attribute *attr, char *buf) in conn_fsm_show() 1493 struct device_attribute *attr, char *buf) in maxmulti_show() 1502 struct device_attribute *attr, in maxmulti_write() 1514 static ssize_t maxcq_show (struct device *dev, struct device_attribute *attr, in maxcq_show() 1523 static ssize_t maxcq_write (struct device *dev, struct device_attribute *attr, in maxcq_write() 1535 static ssize_t sdoio_show (struct device *dev, struct device_attribute *attr, in sdoio_show() 1556 static ssize_t mdoio_show (struct device *dev, struct device_attribute *attr, in mdoio_show() [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | prng.c | 679 struct device_attribute *attr, in prng_chunksize_show() 688 struct device_attribute *attr, in prng_counter_show() 707 struct device_attribute *attr, in prng_errorflag_show() 716 struct device_attribute *attr, in prng_mode_show() 728 struct device_attribute *attr, in prng_reseed_store() 742 struct device_attribute *attr, in prng_reseed_limit_show() 748 struct device_attribute *attr, in prng_reseed_limit_store() 773 struct device_attribute *attr, in prng_strength_show()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-roccat-kovaplus.c | 216 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings() 234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons() 271 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_profile() 279 struct device_attribute *attr, char const *buf, size_t size) in kovaplus_sysfs_set_actual_profile() 324 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_cpi() 333 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_sensitivity_x() 343 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_sensitivity_y() 353 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_firmware_version()
|
/openbmc/linux/drivers/hwmon/ |
H A D | tmp464.c | 133 static int tmp464_chip_read(struct device *dev, u32 attr, int channel, long *val) in tmp464_chip_read() 146 static int tmp464_temp_read(struct device *dev, u32 attr, int channel, long *val) in tmp464_temp_read() 248 u32 attr, int channel, long *val) in tmp464_read() 261 u32 attr, int channel, const char **str) in tmp464_read_string() 295 static int tmp464_chip_write(struct tmp464_data *data, u32 attr, int channel, long val) in tmp464_chip_write() 305 static int tmp464_temp_write(struct tmp464_data *data, u32 attr, int channel, long val) in tmp464_temp_write() 346 u32 attr, int channel, long val) in tmp464_write() 371 u32 attr, int channel) in tmp464_is_visible()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lcd.c | 73 static ssize_t lcd_power_show(struct device *dev, struct device_attribute *attr, in lcd_power_show() 90 struct device_attribute *attr, const char *buf, size_t count) in lcd_power_store() 115 struct device_attribute *attr, char *buf) in contrast_show() 129 struct device_attribute *attr, const char *buf, size_t count) in contrast_store() 154 struct device_attribute *attr, char *buf) in max_contrast_show()
|
/openbmc/linux/kernel/bpf/ |
H A D | tcx.c | 10 int tcx_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_attach() 59 int tcx_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_detach() 122 int tcx_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr) in tcx_prog_query() 300 const union bpf_attr *attr, in tcx_link_init() 310 int tcx_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_link_attach()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | nospec-sysfs.c | 8 struct device_attribute *attr, char *buf) in cpu_show_spectre_v1() 14 struct device_attribute *attr, char *buf) in cpu_show_spectre_v2()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | pvtime.c | 76 struct kvm_device_attr *attr) in kvm_arm_pvtime_set_attr() 108 struct kvm_device_attr *attr) in kvm_arm_pvtime_get_attr() 125 struct kvm_device_attr *attr) in kvm_arm_pvtime_has_attr()
|
/openbmc/linux/mm/ |
H A D | ksm.c | 3129 struct kobj_attribute *attr, in sleep_millisecs_store() 3147 struct kobj_attribute *attr, char *buf) in pages_to_scan_show() 3153 struct kobj_attribute *attr, in pages_to_scan_store() 3225 struct kobj_attribute *attr, in merge_across_nodes_store() 3281 struct kobj_attribute *attr, in use_zero_pages_store() 3304 struct kobj_attribute *attr, in max_page_sharing_store() 3339 struct kobj_attribute *attr, char *buf) in pages_scanned_show() 3346 struct kobj_attribute *attr, char *buf) in pages_shared_show() 3384 struct kobj_attribute *attr, char *buf) in ksm_zero_pages_show() 3418 struct kobj_attribute *attr, in stable_node_chains_prune_millisecs_show() [all …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_drvinfo.c | 28 u32 attr, int channel, long *value) in aq_hwmon_read() 68 u32 attr, int channel, const char **str) in aq_hwmon_read_string() 88 u32 attr, int channel) in aq_hwmon_is_visible()
|
/openbmc/linux/drivers/platform/mips/ |
H A D | cpu_hwmon.c | 59 struct device_attribute *attr, char *buf) in cpu_temp_label() 67 struct device_attribute *attr, char *buf) in get_cpu_temp() 97 struct attribute *attr, int i) in cpu_hwmon_is_visible()
|
/openbmc/linux/drivers/misc/mei/ |
H A D | main.c | 935 struct device_attribute *attr, char *buf) in trc_show() 958 struct device_attribute *attr, char *buf) in fw_status_show() 990 struct device_attribute *attr, char *buf) in hbm_ver_show() 1013 struct device_attribute *attr, char *buf) in hbm_ver_drv_show() 1020 struct device_attribute *attr, char *buf) in tx_queue_limit_show() 1033 struct device_attribute *attr, in tx_queue_limit_store() 1066 struct device_attribute *attr, char *buf) in fw_ver_show() 1093 struct device_attribute *attr, char *buf) in dev_state_show() 1138 struct device_attribute *attr, char *buf) in kind_show()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | hwmon.c | 67 u32 attr, int channel, long *val) in nvme_hwmon_read() 116 u32 attr, int channel, long val) in nvme_hwmon_write() 145 enum hwmon_sensor_types type, u32 attr, in nvme_hwmon_read_string() 154 u32 attr, int channel) in nvme_hwmon_is_visible()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | secvar-sysfs.c | 21 static ssize_t format_show(struct kobject *kobj, struct kobj_attribute *attr, in format_show() 38 static ssize_t size_show(struct kobject *kobj, struct kobj_attribute *attr, in size_show() 55 struct bin_attribute *attr, char *buf, loff_t off, in data_read() 88 struct bin_attribute *attr, char *buf, loff_t off, in update_write()
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | inspur-ipsps.c | 62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_string_show() local 84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_fw_version_show() local 105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_show() local 137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_store() local
|
/openbmc/linux/drivers/hwmon/occ/ |
H A D | common.c | 230 struct device_attribute *attr, char *buf) in occ_show_temp_1() 266 struct device_attribute *attr, char *buf) in occ_show_temp_2() 317 struct device_attribute *attr, char *buf) in occ_show_temp_10() 364 struct device_attribute *attr, char *buf) in occ_show_freq_1() 424 struct device_attribute *attr, char *buf) in occ_show_power_1() 471 struct device_attribute *attr, char *buf) in occ_show_power_2() 510 struct device_attribute *attr, char *buf) in occ_show_power_a0() 590 struct device_attribute *attr, char *buf) in occ_show_caps_1_2() 690 struct device_attribute *attr, in occ_store_caps_user() 712 struct device_attribute *attr, char *buf) in occ_show_extended() [all …]
|
/openbmc/linux/lib/ |
H A D | test_kmod.c | 449 struct device_attribute *attr, in config_show() 554 struct device_attribute *attr, in trigger_config_store() 642 struct device_attribute *attr, in config_test_driver_store() 677 struct device_attribute *attr, in config_test_driver_show() 689 struct device_attribute *attr, in config_test_fs_store() 708 struct device_attribute *attr, in config_test_fs_show() 835 struct device_attribute *attr, in reset_store() 966 struct device_attribute *attr, in test_result_store() 977 struct device_attribute *attr, in config_num_threads_store() 1013 struct device_attribute *attr, in config_test_case_show() [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_verbs.c | 19 struct ib_device_attr *attr, in rxe_query_device() 41 u32 port_num, struct ib_port_attr *attr) in rxe_query_port() 95 int mask, struct ib_device_modify *attr) in rxe_modify_device() 123 int mask, struct ib_port_modify *attr) in rxe_modify_port() 179 struct ib_port_attr attr = {}; in rxe_port_immutable() local 323 static int rxe_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_modify_ah() 343 static int rxe_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *attr) in rxe_query_ah() 467 static int rxe_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) in rxe_query_srq() 591 static int rxe_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in rxe_modify_qp() 629 static int rxe_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in rxe_query_qp() [all …]
|