/openbmc/linux/drivers/cxl/core/ |
H A D | port.c | 47 static ssize_t devtype_show(struct device *dev, struct device_attribute *attr, in devtype_show() 78 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 95 static ssize_t start_show(struct device *dev, struct device_attribute *attr, in start_show() 104 static ssize_t size_show(struct device *dev, struct device_attribute *attr, in size_show() 131 struct device_attribute *attr, char *buf) in target_type_show() 171 struct device_attribute *attr, char *buf) in target_list_show() 191 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() 199 static ssize_t mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 231 static ssize_t dpa_size_show(struct device *dev, struct device_attribute *attr, in dpa_size_show() 270 struct device_attribute *attr, in interleave_granularity_show() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | tracex6_user.c | 25 static void check_on_cpu(int cpu, struct perf_event_attr *attr) in check_on_cpu() 73 static void test_perf_event_array(struct perf_event_attr *attr, in test_perf_event_array()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 640 struct ib_qp_init_attr *attr) in set_user_buf_size() 943 struct ib_qp_init_attr *attr, u32 **in, in _create_user_qp() 1710 struct ib_qp_init_attr *attr; member 1995 struct ib_qp_init_attr *attr = params->attr; in create_xrc_tgt_qp() local 2436 struct ib_qp_init_attr *attr = params->attr; in create_kernel_qp() local 2733 struct ib_qp_init_attr *attr = params->attr; in create_dct() local 2801 struct ib_qp_init_attr *attr, in check_valid_flow() 2974 struct ib_qp_init_attr *attr) in process_create_flags() 3148 struct ib_qp_init_attr *attr) in check_qp_attr() 3519 const struct ib_qp_attr *attr, bool alt) in mlx5_set_path() [all …]
|
/openbmc/linux/drivers/platform/x86/amd/pmf/ |
H A D | cnqf.c | 382 struct device_attribute *attr, in cnqf_enable_store() 408 struct device_attribute *attr, in cnqf_enable_show() 419 struct attribute *attr, int n) in cnqf_feature_is_visible()
|
/openbmc/linux/drivers/xen/ |
H A D | efi.c | 121 u32 *attr, unsigned long *data_size, in xen_efi_get_variable() 167 u32 attr, unsigned long data_size, in xen_efi_set_variable() 186 static efi_status_t xen_efi_query_variable_info(u32 attr, u64 *storage_space, in xen_efi_query_variable_info()
|
/openbmc/linux/drivers/memory/ |
H A D | brcmstb_memc.c | 70 struct device_attribute *attr, char *buf) in frequency_show() 78 struct device_attribute *attr, char *buf) in srpd_show() 85 static ssize_t srpd_store(struct device *dev, struct device_attribute *attr, in srpd_store()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | vpe-mt.c | 260 static ssize_t store_kill(struct device *dev, struct device_attribute *attr, in store_kill() 278 static ssize_t ntcs_show(struct device *cd, struct device_attribute *attr, in ntcs_show() 286 static ssize_t ntcs_store(struct device *dev, struct device_attribute *attr, in ntcs_store()
|
/openbmc/linux/drivers/hwmon/ |
H A D | hwmon.c | 51 u32 attr; member 71 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() 78 label_show(struct device *dev, struct device_attribute *attr, char *buf) in label_show() 91 struct attribute *attr, int n) in hwmon_dev_attr_is_visible() 375 static bool is_string_attr(enum hwmon_sensor_types type, u32 attr) in is_string_attr() 388 u32 attr, in hwmon_genattr() 647 u32 attr, int channel) in hwmon_notify_event() 705 u32 attr; in hwmon_genattrs() local
|
/openbmc/linux/tools/lib/bpf/ |
H A D | gen_loader.c | 43 #define attr_field(attr, field) (attr + offsetof(union bpf_attr, field)) argument 266 static void emit_sys_bpf(struct bpf_gen *gen, int cmd, int attr, int attr_size) in emit_sys_bpf() 422 union bpf_attr attr; in bpf_gen__load_btf() local 457 union bpf_attr attr; in bpf_gen__map_create() local 941 union bpf_attr attr; in bpf_gen__prog_load() local 1039 union bpf_attr attr; in bpf_gen__map_update_elem() local 1086 union bpf_attr attr; in bpf_gen__populate_outer_map() local 1112 union bpf_attr attr; in bpf_gen__map_freeze() local
|
/openbmc/linux/drivers/power/supply/ |
H A D | ltc4162-l-charger.c | 505 struct device_attribute *attr, char *buf) in charge_status_show() 533 struct device_attribute *attr, char *buf) in vbat_show() 549 struct device_attribute *attr, char *buf) in vbat_avg_show() 565 struct device_attribute *attr, char *buf) in ibat_show() 581 struct device_attribute *attr, char *buf) in force_telemetry_show() 596 struct device_attribute *attr, in force_telemetry_store() 620 struct device_attribute *attr, char *buf) in arm_ship_mode_show() 636 struct device_attribute *attr, in arm_ship_mode_store()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | uvesafb.c | 1544 struct device_attribute *attr, char *buf) in uvesafb_show_vbe_ver() 1555 struct device_attribute *attr, char *buf) in uvesafb_show_vbe_modes() 1574 struct device_attribute *attr, char *buf) in uvesafb_show_vendor() 1589 struct device_attribute *attr, char *buf) in uvesafb_show_product_name() 1604 struct device_attribute *attr, char *buf) in uvesafb_show_product_rev() 1619 struct device_attribute *attr, char *buf) in uvesafb_show_oem_string() 1634 struct device_attribute *attr, char *buf) in uvesafb_show_nocrtc() 1643 struct device_attribute *attr, const char *buf, size_t count) in uvesafb_store_nocrtc()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ad7877.c | 471 struct device_attribute *attr, in ad7877_disable_store() 493 struct device_attribute *attr, char *buf) in ad7877_dac_show() 501 struct device_attribute *attr, in ad7877_dac_store() 523 struct device_attribute *attr, char *buf) in ad7877_gpio3_show() 531 struct device_attribute *attr, in ad7877_gpio3_store() 554 struct device_attribute *attr, char *buf) in ad7877_gpio4_show() 562 struct device_attribute *attr, in ad7877_gpio4_store() 600 struct attribute *attr, int n) in ad7877_attr_is_visible()
|
/openbmc/linux/drivers/perf/ |
H A D | arm_pmuv3.c | 159 struct device_attribute *attr, char *page) in armv8pmu_events_sysfs_show() 271 struct attribute *attr, int unused) in armv8pmu_event_attr_is_visible() 329 static ssize_t slots_show(struct device *dev, struct device_attribute *attr, in slots_show() 341 static ssize_t bus_slots_show(struct device *dev, struct device_attribute *attr, in bus_slots_show() 354 static ssize_t bus_width_show(struct device *dev, struct device_attribute *attr, in bus_width_show() 613 struct perf_event_attr *attr = &event->attr; in armv8pmu_enable_event_counter() local 635 struct perf_event_attr *attr = &event->attr; in armv8pmu_disable_event_counter() local 918 struct perf_event_attr *attr) in armv8pmu_set_event_filter()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | device.c | 198 devtype_show (struct device *dev, struct device_attribute *attr, char *buf) in devtype_show() 211 cutype_show (struct device *dev, struct device_attribute *attr, char *buf) in cutype_show() 221 modalias_show (struct device *dev, struct device_attribute *attr, char *buf) in modalias_show() 233 online_show (struct device *dev, struct device_attribute *attr, char *buf) in online_show() 492 static ssize_t online_store (struct device *dev, struct device_attribute *attr, in online_store() 543 available_show (struct device *dev, struct device_attribute *attr, char *buf) in available_show() 568 initiate_logging(struct device *dev, struct device_attribute *attr, in initiate_logging() 585 static ssize_t vpm_show(struct device *dev, struct device_attribute *attr, in vpm_show()
|
/openbmc/linux/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.c | 24 #define copy_descr_attr16(dev, descr, attr) \ argument 27 #define copy_descr_attr(dev, descr, attr) \ argument
|
/openbmc/linux/include/linux/ |
H A D | mbus.h | 72 u8 *target, u8 *attr) in mvebu_mbus_get_io_win_info() 103 u8 *attr) in mvebu_mbus_get_dram_win_info()
|
H A D | netlink.h | 143 #define NL_SET_BAD_ATTR_POLICY(extack, attr, pol) do { \ argument 150 #define NL_SET_BAD_ATTR(extack, attr) NL_SET_BAD_ATTR_POLICY(extack, attr, NULL) argument 152 #define NL_SET_ERR_MSG_ATTR_POL(extack, attr, pol, msg) do { \ argument 165 #define NL_SET_ERR_MSG_ATTR_POL_FMT(extack, attr, pol, fmt, args...) do { \ argument 184 #define NL_SET_ERR_MSG_ATTR(extack, attr, msg) \ argument 187 #define NL_SET_ERR_MSG_ATTR_FMT(extack, attr, msg, args...) \ argument
|
/openbmc/linux/tools/perf/tests/ |
H A D | wp.c | 38 static void get__perf_event_attr(struct perf_event_attr *attr, int wp_type, in get__perf_event_attr() 57 struct perf_event_attr attr; in __event() local
|
/openbmc/linux/arch/mips/alchemy/devboards/ |
H A D | pm.c | 119 struct kobj_attribute *attr, in db1x_pmattr_show() 149 struct kobj_attribute *attr, in db1x_pmattr_store()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types_qp.c | 64 static void set_caps(struct ib_qp_init_attr *attr, in set_caps() 88 struct ib_qp_init_attr attr = {}; in UVERBS_HANDLER() local
|
/openbmc/linux/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1265 struct device_attribute *attr, in tpacpi_rfk_sysfs_enable_store() 2604 struct device_attribute *attr, in hotkey_enable_show() 2641 struct device_attribute *attr, in hotkey_mask_show() 2677 struct device_attribute *attr, in hotkey_bios_enabled_show() 2687 struct device_attribute *attr, in hotkey_bios_mask_show() 9726 struct device_attribute *attr, in charge_control_start_threshold_show() 9733 struct device_attribute *attr, in charge_control_end_threshold_show() 9774 struct device_attribute *attr, in charge_control_start_threshold_store() 9781 struct device_attribute *attr, in charge_control_end_threshold_store() 10675 struct device_attribute *attr, in keyboard_lang_show() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 193 struct ib_port_attr attr; in mthca_modify_port() local 576 const struct ib_cq_init_attr *attr, in mthca_create_cq() 933 struct device_attribute *attr, char *buf) in hw_rev_show() 960 struct device_attribute *attr, char *buf) in hca_type_show() 970 struct device_attribute *attr, char *buf) in board_id_show() 1031 struct ib_port_attr attr; in mthca_port_immutable() local
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ocp.c | 2793 struct device_attribute *attr, char *buf) in available_sma_inputs_show() 2803 struct device_attribute *attr, char *buf) in available_sma_outputs_show() 3090 struct device_attribute *attr, char *buf) in utc_tai_offset_show() 3099 struct device_attribute *attr, in utc_tai_offset_store() 3118 struct device_attribute *attr, char *buf) in ts_window_adjust_show() 3127 struct device_attribute *attr, in ts_window_adjust_store() 3157 struct device_attribute *attr, in irig_b_mode_store() 3219 struct device_attribute *attr, char *buf) in available_clock_sources_show() 3227 struct device_attribute *attr, char *buf) in clock_status_drift_show() 3242 struct device_attribute *attr, char *buf) in clock_status_offset_show() [all …]
|
/openbmc/linux/drivers/platform/x86/hp/ |
H A D | hp-wmi.c | 655 static ssize_t display_show(struct device *dev, struct device_attribute *attr, in display_show() 665 static ssize_t hddtemp_show(struct device *dev, struct device_attribute *attr, in hddtemp_show() 675 static ssize_t als_show(struct device *dev, struct device_attribute *attr, in als_show() 685 static ssize_t dock_show(struct device *dev, struct device_attribute *attr, in dock_show() 695 static ssize_t tablet_show(struct device *dev, struct device_attribute *attr, in tablet_show() 705 static ssize_t postcode_show(struct device *dev, struct device_attribute *attr, in postcode_show() 716 static ssize_t als_store(struct device *dev, struct device_attribute *attr, in als_store() 734 static ssize_t postcode_store(struct device *dev, struct device_attribute *attr, in postcode_store() 1568 u32 attr, int channel) in hp_wmi_hwmon_is_visible() 1585 u32 attr, int channel, long *val) in hp_wmi_hwmon_read() [all …]
|
/openbmc/linux/drivers/firmware/xilinx/ |
H A D | zynqmp.c | 1609 struct device_attribute *attr, in shutdown_scope_show() 1630 struct device_attribute *attr, in shutdown_scope_store() 1655 struct device_attribute *attr, in health_status_store() 1678 struct device_attribute *attr, in ggs_show() 1693 struct device_attribute *attr, in ggs_store() 1746 struct device_attribute *attr, in pggs_show() 1761 struct device_attribute *attr, in pggs_store() 1827 struct device_attribute *attr, in feature_config_id_show() 1836 struct device_attribute *attr, in feature_config_id_store() 1858 struct device_attribute *attr, in feature_config_value_show() [all …]
|