/openbmc/qemu/target/xtensa/ |
H A D | mmu_helper.c | 572 static unsigned mmu_attr_to_access(uint32_t attr) in mmu_attr_to_access() 608 static unsigned region_attr_to_access(uint32_t attr) in region_attr_to_access() 627 static unsigned cacheattr_attr_to_access(uint32_t attr) in cacheattr_attr_to_access() 646 static int attr_pattern_match(uint32_t attr, in attr_pattern_match() 660 static unsigned mpu_attr_to_cpu_cache(uint32_t attr) in mpu_attr_to_cpu_cache() 685 static unsigned mpu_attr_to_type(uint32_t attr) in mpu_attr_to_type() 741 static unsigned mpu_attr_to_access(uint32_t attr, unsigned ring) in mpu_attr_to_access() 1019 uint32_t attr; in get_physical_addr_mpu() local 1150 uint32_t attr = entry[i].attr; in dump_mpu() local
|
/openbmc/linux/drivers/hwmon/ |
H A D | ltq-cputemp.c | 33 u32 attr, int channel, long *temp) in ltq_read() 56 u32 attr, int channel) in ltq_is_visible()
|
H A D | drivetemp.c | 206 static int drivetemp_get_smarttemp(struct drivetemp_data *st, u32 attr, in drivetemp_get_smarttemp() 231 u8 *attr = buf + i * 12; in drivetemp_get_smarttemp() local 256 static int drivetemp_get_scttemp(struct drivetemp_data *st, u32 attr, long *val) in drivetemp_get_scttemp() 449 u32 attr, int channel, long *val) in drivetemp_read() 486 u32 attr, int channel) in drivetemp_is_visible()
|
H A D | dme1737.c | 799 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 830 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in() 914 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp() 1006 static ssize_t set_zone(struct device *dev, struct device_attribute *attr, in set_zone() 1080 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 1120 static ssize_t set_fan(struct device *dev, struct device_attribute *attr, in set_fan() 1196 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() 1259 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 1490 struct device_attribute *attr, char *buf) in cpu0_vid_show() 2044 struct attribute *attr, umode_t mode) in dme1737_chmod_file() [all …]
|
H A D | tmp103.c | 55 u32 attr, int channel, long *temp) in tmp103_read() 85 u32 attr, int channel, long temp) in tmp103_write() 106 u32 attr, int channel) in tmp103_is_visible()
|
H A D | sht21.c | 126 struct device_attribute *attr, in sht21_temperature_show() 148 struct device_attribute *attr, char *buf) in sht21_humidity_show() 223 struct device_attribute *attr, in eic_show()
|
H A D | lm77.c | 134 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local 143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show() local 158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store() local 203 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
|
/openbmc/linux/drivers/base/ |
H A D | class.c | 69 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, in class_attr_show() 81 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, in class_attr_store() 129 int class_create_file_ns(const struct class *cls, const struct class_attribute *attr, in class_create_file_ns() 145 void class_remove_file_ns(const struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() 536 const struct class_attribute *attr, char *buf) in show_class_attr_string()
|
H A D | cacheinfo.c | 631 struct device_attribute *attr, char *buf) in size_show() 639 struct device_attribute *attr, char *buf) in shared_cpu_map_show() 648 struct device_attribute *attr, char *buf) in shared_cpu_list_show() 657 struct device_attribute *attr, char *buf) in type_show() 680 struct device_attribute *attr, char *buf) in allocation_policy_show() 699 struct device_attribute *attr, char *buf) in write_policy_show() 743 struct attribute *attr, int unused) in cache_default_attrs_is_visible()
|
H A D | core.c | 425 struct device_attribute *attr, char *buf) in status_show() 1242 struct device_attribute *attr, in waiting_for_supplier_show() 2399 struct device_attribute *attr, in device_store_ulong() 2416 struct device_attribute *attr, in device_show_ulong() 2425 struct device_attribute *attr, in device_store_int() 2445 struct device_attribute *attr, in device_show_int() 3004 const struct device_attribute *attr) in device_create_file() 3028 const struct device_attribute *attr) in device_remove_file() 3043 const struct device_attribute *attr) in device_remove_file_self() 3058 const struct bin_attribute *attr) in device_create_bin_file() [all …]
|
/openbmc/linux/drivers/platform/x86/intel/int1092/ |
H A D | intel_sar.c | 157 static ssize_t intc_data_show(struct device *dev, struct device_attribute *attr, char *buf) in intc_data_show() 168 static ssize_t intc_reg_show(struct device *dev, struct device_attribute *attr, char *buf) in intc_reg_show() 175 static ssize_t intc_reg_store(struct device *dev, struct device_attribute *attr, in intc_reg_store()
|
/openbmc/linux/drivers/net/phy/ |
H A D | aquantia_hwmon.c | 34 u32 attr, int channel) in aqr_hwmon_is_visible() 105 u32 attr, int channel, long *value) in aqr_hwmon_read() 158 u32 attr, int channel, long value) in aqr_hwmon_write()
|
H A D | bcm54140.c | 144 u32 attr, int channel) in bcm54140_hwmon_is_visible() 200 static int bcm54140_hwmon_read_temp(struct device *dev, u32 attr, long *val) in bcm54140_hwmon_read_temp() 233 static int bcm54140_hwmon_read_in(struct device *dev, u32 attr, in bcm54140_hwmon_read_in() 268 enum hwmon_sensor_types type, u32 attr, in bcm54140_hwmon_read() 287 enum hwmon_sensor_types type, u32 attr, in bcm54140_hwmon_read_string() 304 static int bcm54140_hwmon_write_temp(struct device *dev, u32 attr, in bcm54140_hwmon_write_temp() 329 static int bcm54140_hwmon_write_in(struct device *dev, u32 attr, in bcm54140_hwmon_write_in() 354 enum hwmon_sensor_types type, u32 attr, in bcm54140_hwmon_write()
|
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 74 struct ib_port_attr attr; in ocrdma_port_immutable() local 103 struct device_attribute *attr, char *buf) in hw_rev_show() 113 struct device_attribute *attr, char *buf) in hca_type_show()
|
/openbmc/linux/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-trigger.c | 20 struct device_attribute *attr, in _hid_sensor_set_report_latency() 43 struct device_attribute *attr, in _hid_sensor_get_report_latency() 58 struct device_attribute *attr, in _hid_sensor_get_fifo_state()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | xdomain.c | 900 static ssize_t key_show(struct device *dev, struct device_attribute *attr, in key_show() 919 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 930 static ssize_t prtcid_show(struct device *dev, struct device_attribute *attr, in prtcid_show() 939 static ssize_t prtcvers_show(struct device *dev, struct device_attribute *attr, in prtcvers_show() 948 static ssize_t prtcrevs_show(struct device *dev, struct device_attribute *attr, in prtcrevs_show() 957 static ssize_t prtcstns_show(struct device *dev, struct device_attribute *attr, in prtcstns_show() 1704 static ssize_t device_show(struct device *dev, struct device_attribute *attr, in device_show() 1714 device_name_show(struct device *dev, struct device_attribute *attr, char *buf) in device_name_show() 1737 static ssize_t vendor_show(struct device *dev, struct device_attribute *attr, in vendor_show() 1747 vendor_name_show(struct device *dev, struct device_attribute *attr, char *buf) in vendor_name_show() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | ds2780_battery.c | 444 struct device_attribute *attr, in ds2780_get_pmod_enabled() 462 struct device_attribute *attr, in ds2780_set_pmod_enabled() 498 struct device_attribute *attr, in ds2780_get_sense_resistor_value() 515 struct device_attribute *attr, in ds2780_set_sense_resistor_value() 536 struct device_attribute *attr, in ds2780_get_rsgain_setting() 552 struct device_attribute *attr, in ds2780_set_rsgain_setting() 579 struct device_attribute *attr, in ds2780_get_pio_pin() 596 struct device_attribute *attr, in ds2780_set_pio_pin()
|
H A D | ds2781_battery.c | 446 struct device_attribute *attr, in ds2781_get_pmod_enabled() 464 struct device_attribute *attr, in ds2781_set_pmod_enabled() 500 struct device_attribute *attr, in ds2781_get_sense_resistor_value() 517 struct device_attribute *attr, in ds2781_set_sense_resistor_value() 538 struct device_attribute *attr, in ds2781_get_rsgain_setting() 554 struct device_attribute *attr, in ds2781_set_rsgain_setting() 581 struct device_attribute *attr, in ds2781_get_pio_pin() 598 struct device_attribute *attr, in ds2781_set_pio_pin()
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_main.c | 645 struct device_attribute *attr, in vf_type_show() 668 struct device_attribute *attr, in vf_engine_group_show() 677 struct device_attribute *attr, in vf_engine_group_store() 704 struct device_attribute *attr, in vf_coalesc_time_wait_show() 714 struct device_attribute *attr, in vf_coalesc_num_wait_show() 724 struct device_attribute *attr, in vf_coalesc_time_wait_store() 744 struct device_attribute *attr, in vf_coalesc_num_wait_store()
|
/openbmc/linux/drivers/perf/ |
H A D | arm_dmc620_pmu.c | 108 struct device_attribute attr; member 115 struct device_attribute *attr, char *page) in dmc620_pmu_event_show() 204 #define _ATTR_CFG_GET_FLD(attr, cfg, lo, hi) \ argument 207 #define ATTR_CFG_GET_FLD(attr, name) \ argument 236 struct device_attribute *attr, char *buf) in dmc620_pmu_cpumask_show() 280 struct perf_event_attr *attr = &event->attr; in dmc620_event_to_counter_control() local 591 struct perf_event_attr *attr = &event->attr; in dmc620_pmu_add() local
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | pci-sysfs.c | 67 struct bin_attribute *attr, in pci_mmap_resource() 96 struct bin_attribute *attr, in pci_mmap_resource_sparse() 103 struct bin_attribute *attr, in pci_mmap_resource_dense() 177 struct bin_attribute *attr; in pci_create_attr() local
|
/openbmc/linux/drivers/hid/ |
H A D | hid-picolcd_core.c | 254 struct device_attribute *attr, char *buf) in picolcd_operation_mode_show() 265 struct device_attribute *attr, const char *buf, size_t count) in picolcd_operation_mode_store() 300 struct device_attribute *attr, char *buf) in picolcd_operation_mode_delay_show() 308 struct device_attribute *attr, const char *buf, size_t count) in picolcd_operation_mode_delay_store()
|
/openbmc/linux/drivers/platform/x86/intel/pmt/ |
H A D | crashlog.c | 136 enable_show(struct device *dev, struct device_attribute *attr, char *buf) in enable_show() 145 enable_store(struct device *dev, struct device_attribute *attr, in enable_store() 167 trigger_show(struct device *dev, struct device_attribute *attr, char *buf) in trigger_show() 179 trigger_store(struct device *dev, struct device_attribute *attr, in trigger_store()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_error.c | 68 struct attribute attr; member 73 to_attr(struct attribute *attr) in to_attr() 89 struct attribute *attr, in xfs_errortag_attr_store() 115 struct attribute *attr, in xfs_errortag_attr_show()
|
/openbmc/linux/drivers/input/misc/ |
H A D | axp20x-pek.c | 111 struct device_attribute *attr, in axp20x_show_attr_startup() 121 struct device_attribute *attr, in axp20x_show_attr_shutdown() 176 struct device_attribute *attr, in axp20x_store_attr_startup() 186 struct device_attribute *attr, in axp20x_store_attr_shutdown()
|