Home
last modified time | relevance | path

Searched refs:attr (Results 2926 - 2950 of 6490) sorted by relevance

1...<<111112113114115116117118119120>>...260

/kernel/linux/linux-5.10/tools/perf/tests/
H A Dkeep-tracking.c99 evsel->core.attr.comm = 1; in test__keep_tracking()
100 evsel->core.attr.disabled = 1; in test__keep_tracking()
101 evsel->core.attr.enable_on_exec = 0; in test__keep_tracking()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dintel-wmi-sbl-fw-update.c71 struct device_attribute *attr, in firmware_update_request_show()
85 struct device_attribute *attr, in firmware_update_request_store()
108 &dev_attr_firmware_update_request.attr,
70 firmware_update_request_show(struct device *dev, struct device_attribute *attr, char *buf) firmware_update_request_show() argument
84 firmware_update_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) firmware_update_request_store() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dqos.c45 void *attr; in mlx5_qos_create_inner_node() local
53 attr = MLX5_ADDR_OF(scheduling_context, sched_ctx, element_attributes); in mlx5_qos_create_inner_node()
54 MLX5_SET(tsar_element, attr, tsar_type, TSAR_ELEMENT_TSAR_TYPE_DWRR); in mlx5_qos_create_inner_node()
/kernel/linux/linux-6.6/include/kvm/
H A Darm_arch_timer.h111 int kvm_arm_timer_set_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr);
112 int kvm_arm_timer_get_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr);
113 int kvm_arm_timer_has_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr);
/kernel/linux/linux-6.6/include/linux/
H A Dnd.h28 #define NVDIMM_EVENT_PTR(_id) (&event_attr_##_id.attr.attr)
63 struct device_attribute *attr,
/kernel/linux/linux-6.6/drivers/platform/x86/intel/wmi/
H A Dsbl-fw-update.c71 struct device_attribute *attr, in firmware_update_request_show()
85 struct device_attribute *attr, in firmware_update_request_store()
108 &dev_attr_firmware_update_request.attr,
70 firmware_update_request_show(struct device *dev, struct device_attribute *attr, char *buf) firmware_update_request_show() argument
84 firmware_update_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) firmware_update_request_store() argument
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dtrancevibrator.c33 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() argument
42 static ssize_t speed_store(struct device *dev, struct device_attribute *attr, in speed_store() argument
77 &dev_attr_speed.attr,
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/
H A Ddpbp.c156 * @attr: Returned object's attributes
163 struct dpbp_attr *attr) in dpbp_get_attributes()
180 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
181 attr->id = le32_to_cpu(rsp_params->id); in dpbp_get_attributes()
160 dpbp_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpbp_attr *attr) dpbp_get_attributes() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.h89 struct attribute attr; member
107 struct attribute attr; member
127 struct attribute attr; member
/kernel/linux/linux-6.6/drivers/devfreq/
H A Dgovernor_userspace.c34 static ssize_t set_freq_store(struct device *dev, struct device_attribute *attr, in set_freq_store() argument
56 struct device_attribute *attr, char *buf) in set_freq_show()
75 &dev_attr_set_freq.attr,
55 set_freq_show(struct device *dev, struct device_attribute *attr, char *buf) set_freq_show() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c14 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()
13 dpaa_eth_show_addr(struct device *dev, struct device_attribute *attr, char *buf) dpaa_eth_show_addr() argument
26 dpaa_eth_show_fqids(struct device *dev, struct device_attribute *attr, char *buf) dpaa_eth_show_fqids() argument
103 dpaa_eth_show_bpids(struct device *dev, struct device_attribute *attr, char *buf) dpaa_eth_show_bpids() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/
H A Dtestmode.c132 unsigned short attr; in wcn36xx_tm_cmd() local
143 attr = nla_get_u16(tb[WCN36XX_TM_ATTR_CMD]); in wcn36xx_tm_cmd()
145 if (attr != WCN36XX_TM_CMD_PTT) in wcn36xx_tm_cmd()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dintel_epb.c131 struct device_attribute *attr, in energy_perf_bias_show()
146 struct device_attribute *attr, in energy_perf_bias_store()
175 &dev_attr_energy_perf_bias.attr,
130 energy_perf_bias_show(struct device *dev, struct device_attribute *attr, char *buf) energy_perf_bias_show() argument
145 energy_perf_bias_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) energy_perf_bias_store() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Di5500_temp.c32 static umode_t i5500_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, in i5500_is_visible() argument
38 static int i5500_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, in i5500_read() argument
48 switch (attr) { in i5500_read()
H A Dsl28cpld-hwmon.c28 u32 attr, int channel) in sl28cpld_hwmon_is_visible()
34 enum hwmon_sensor_types type, u32 attr, in sl28cpld_hwmon_read()
41 switch (attr) { in sl28cpld_hwmon_read()
26 sl28cpld_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) sl28cpld_hwmon_is_visible() argument
33 sl28cpld_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *input) sl28cpld_hwmon_read() argument
/kernel/linux/linux-6.6/drivers/leds/trigger/
H A Dledtrig-backlight.c61 struct device_attribute *attr, char *buf) in bl_trig_invert_show()
69 struct device_attribute *attr, const char *buf, size_t num) in bl_trig_invert_store()
96 &dev_attr_inverted.attr,
60 bl_trig_invert_show(struct device *dev, struct device_attribute *attr, char *buf) bl_trig_invert_show() argument
68 bl_trig_invert_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t num) bl_trig_invert_store() argument
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dkeep-tracking.c99 evsel->core.attr.comm = 1; in test__keep_tracking()
100 evsel->core.attr.disabled = 1; in test__keep_tracking()
101 evsel->core.attr.enable_on_exec = 0; in test__keep_tracking()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dvport-vxlan.c51 static int vxlan_configure_exts(struct vport *vport, struct nlattr *attr, in vxlan_configure_exts() argument
57 if (nla_len(attr) < sizeof(struct nlattr)) in vxlan_configure_exts()
60 err = nla_parse_nested_deprecated(exts, OVS_VXLAN_EXT_MAX, attr, in vxlan_configure_exts()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
H A Dinstruction_count_test.c118 event.attr.exclude_kernel = 1; in instruction_count()
119 event.attr.exclude_hv = 1; in instruction_count()
120 event.attr.exclude_idle = 1; in instruction_count()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dstacktrace_build_id_nmi.c10 struct perf_event_attr attr = { in test_stacktrace_build_id_nmi() local
21 attr.sample_freq = read_perf_max_sample_freq(); in test_stacktrace_build_id_nmi()
35 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_stacktrace_build_id_nmi()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
H A DIt_posix_mutex_077.c64 pthread_attr_t attr; in Testcase() local
86 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
89 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
H A DIt_posix_pthread_018.c48 pthread_attr_t attr; in Testcase() local
58 ret = pthread_attr_init(&attr); in Testcase()
115 ret = pthread_attr_destroy(&attr); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mutex/
H A DIt_posix_mutex_035.c57 pthread_attr_t attr; in Testcase() local
79 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
82 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dcpufreq.c593 struct kobj_attribute *attr, char *buf) in show_boost()
598 static ssize_t store_boost(struct kobject *kobj, struct kobj_attribute *attr, in store_boost() argument
930 &cpuinfo_min_freq.attr,
931 &cpuinfo_max_freq.attr,
932 &cpuinfo_transition_latency.attr,
933 &scaling_min_freq.attr,
934 &scaling_max_freq.attr,
935 &affected_cpus.attr,
936 &related_cpus.attr,
937 &scaling_governor.attr,
592 show_boost(struct kobject *kobj, struct kobj_attribute *attr, char *buf) show_boost() argument
947 show(struct kobject *kobj, struct attribute *attr, char *buf) show() argument
963 store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) store() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/
H A Dcore.c76 struct device_attribute attr; /* device attribute */ member
2435 static inline struct mce_bank_dev *attr_to_bank(struct device_attribute *attr) in attr_to_bank() argument
2437 return container_of(attr, struct mce_bank_dev, attr); in attr_to_bank()
2440 static ssize_t show_bank(struct device *s, struct device_attribute *attr, in show_bank() argument
2443 u8 bank = attr_to_bank(attr)->bank; in show_bank()
2457 static ssize_t set_bank(struct device *s, struct device_attribute *attr, in set_bank() argument
2460 u8 bank = attr_to_bank(attr)->bank; in set_bank()
2482 struct device_attribute *attr, in set_ignore_ce()
2509 struct device_attribute *attr, in set_cmci_disabled()
2481 set_ignore_ce(struct device *s, struct device_attribute *attr, const char *buf, size_t size) set_ignore_ce() argument
2508 set_cmci_disabled(struct device *s, struct device_attribute *attr, const char *buf, size_t size) set_cmci_disabled() argument
2534 store_int_with_restart(struct device *s, struct device_attribute *attr, const char *buf, size_t size) store_int_with_restart() argument
[all...]

Completed in 16 milliseconds

1...<<111112113114115116117118119120>>...260