Home
last modified time | relevance | path

Searched refs:attr (Results 901 - 925 of 8868) sorted by relevance

1...<<31323334353637383940>>...355

/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-lm3533.c312 struct device_attribute *attr, char *buf) in show_id()
333 struct device_attribute *attr, in show_risefalltime()
351 struct device_attribute *attr, char *buf) in show_risetime()
353 return show_risefalltime(dev, attr, buf, in show_risetime()
358 struct device_attribute *attr, char *buf) in show_falltime()
360 return show_risefalltime(dev, attr, buf, in show_falltime()
365 struct device_attribute *attr, in store_risefalltime()
386 struct device_attribute *attr, in store_risetime()
389 return store_risefalltime(dev, attr, buf, len, in store_risetime()
394 struct device_attribute *attr, in store_falltime()
311 show_id(struct device *dev, struct device_attribute *attr, char *buf) show_id() argument
332 show_risefalltime(struct device *dev, struct device_attribute *attr, char *buf, u8 base) show_risefalltime() argument
350 show_risetime(struct device *dev, struct device_attribute *attr, char *buf) show_risetime() argument
357 show_falltime(struct device *dev, struct device_attribute *attr, char *buf) show_falltime() argument
364 store_risefalltime(struct device *dev, struct device_attribute *attr, const char *buf, size_t len, u8 base) store_risefalltime() argument
385 store_risetime(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_risetime() argument
393 store_falltime(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_falltime() argument
401 show_als_channel(struct device *dev, struct device_attribute *attr, char *buf) show_als_channel() argument
421 store_als_channel(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_als_channel() argument
451 show_als_en(struct device *dev, struct device_attribute *attr, char *buf) show_als_en() argument
471 store_als_en(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_als_en() argument
501 show_linear(struct device *dev, struct device_attribute *attr, char *buf) show_linear() argument
524 store_linear(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_linear() argument
554 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
570 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_pwm() argument
608 lm3533_led_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) lm3533_led_attr_is_visible() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_sysfs.c31 struct device_attribute *attr, in power_on_acct_show()
40 struct device_attribute *attr, in power_off_acct_show()
54 struct device_attribute *attr, \
63 struct device_attribute *attr, \
96 struct device_attribute *attr, in init_pin_configs_show()
104 struct device_attribute *attr, in driver_pin_configs_show()
168 struct device_attribute *attr, \
182 struct device_attribute *attr, \
203 struct device_attribute *attr, \
217 struct device_attribute *attr, in init_verbs_show()
30 power_on_acct_show(struct device *dev, struct device_attribute *attr, char *buf) power_on_acct_show() argument
39 power_off_acct_show(struct device *dev, struct device_attribute *attr, char *buf) power_off_acct_show() argument
95 init_pin_configs_show(struct device *dev, struct device_attribute *attr, char *buf) init_pin_configs_show() argument
103 driver_pin_configs_show(struct device *dev, struct device_attribute *attr, char *buf) driver_pin_configs_show() argument
216 init_verbs_show(struct device *dev, struct device_attribute *attr, char *buf) init_verbs_show() argument
255 init_verbs_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) init_verbs_store() argument
266 hints_show(struct device *dev, struct device_attribute *attr, char *buf) hints_show() argument
360 hints_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) hints_store() argument
371 user_pin_configs_show(struct device *dev, struct device_attribute *attr, char *buf) user_pin_configs_show() argument
395 user_pin_configs_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) user_pin_configs_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/fpga/
H A Ddfl-fme-main.c29 struct device_attribute *attr, char *buf) in ports_num_show()
48 struct device_attribute *attr, char *buf) in bitstream_id_show()
66 struct device_attribute *attr, char *buf) in bitstream_metadata_show()
80 struct device_attribute *attr, char *buf) in cache_size_show()
95 struct device_attribute *attr, char *buf) in fabric_version_show()
110 struct device_attribute *attr, char *buf) in socket_id_show()
125 &dev_attr_ports_num.attr,
126 &dev_attr_bitstream_id.attr,
127 &dev_attr_bitstream_metadata.attr,
128 &dev_attr_cache_size.attr,
28 ports_num_show(struct device *dev, struct device_attribute *attr, char *buf) ports_num_show() argument
47 bitstream_id_show(struct device *dev, struct device_attribute *attr, char *buf) bitstream_id_show() argument
65 bitstream_metadata_show(struct device *dev, struct device_attribute *attr, char *buf) bitstream_metadata_show() argument
79 cache_size_show(struct device *dev, struct device_attribute *attr, char *buf) cache_size_show() argument
94 fabric_version_show(struct device *dev, struct device_attribute *attr, char *buf) fabric_version_show() argument
109 socket_id_show(struct device *dev, struct device_attribute *attr, char *buf) socket_id_show() argument
213 thermal_hwmon_attrs_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, int channel) thermal_hwmon_attrs_visible() argument
226 thermal_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) thermal_hwmon_read() argument
281 temp1_max_policy_show(struct device *dev, struct device_attribute *attr, char *buf) temp1_max_policy_show() argument
300 thermal_extra_attrs_visible(struct kobject *kobj, struct attribute *attr, int index) thermal_extra_attrs_visible() argument
377 power_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) power_hwmon_read() argument
411 power_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) power_hwmon_write() argument
446 power_hwmon_attrs_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, int channel) power_hwmon_attrs_visible() argument
481 power1_xeon_limit_show(struct device *dev, struct device_attribute *attr, char *buf) power1_xeon_limit_show() argument
496 power1_fpga_limit_show(struct device *dev, struct device_attribute *attr, char *buf) power1_fpga_limit_show() argument
511 power1_ltr_show(struct device *dev, struct device_attribute *attr, char *buf) power1_ltr_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-lm3533.c312 struct device_attribute *attr, char *buf) in show_id()
333 struct device_attribute *attr, in show_risefalltime()
351 struct device_attribute *attr, char *buf) in show_risetime()
353 return show_risefalltime(dev, attr, buf, in show_risetime()
358 struct device_attribute *attr, char *buf) in show_falltime()
360 return show_risefalltime(dev, attr, buf, in show_falltime()
365 struct device_attribute *attr, in store_risefalltime()
386 struct device_attribute *attr, in store_risetime()
389 return store_risefalltime(dev, attr, buf, len, in store_risetime()
394 struct device_attribute *attr, in store_falltime()
311 show_id(struct device *dev, struct device_attribute *attr, char *buf) show_id() argument
332 show_risefalltime(struct device *dev, struct device_attribute *attr, char *buf, u8 base) show_risefalltime() argument
350 show_risetime(struct device *dev, struct device_attribute *attr, char *buf) show_risetime() argument
357 show_falltime(struct device *dev, struct device_attribute *attr, char *buf) show_falltime() argument
364 store_risefalltime(struct device *dev, struct device_attribute *attr, const char *buf, size_t len, u8 base) store_risefalltime() argument
385 store_risetime(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_risetime() argument
393 store_falltime(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_falltime() argument
401 show_als_channel(struct device *dev, struct device_attribute *attr, char *buf) show_als_channel() argument
421 store_als_channel(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_als_channel() argument
451 show_als_en(struct device *dev, struct device_attribute *attr, char *buf) show_als_en() argument
471 store_als_en(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_als_en() argument
501 show_linear(struct device *dev, struct device_attribute *attr, char *buf) show_linear() argument
524 store_linear(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_linear() argument
554 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
570 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_pwm() argument
608 lm3533_led_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) lm3533_led_attr_is_visible() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_sysfs.c31 struct device_attribute *attr, in power_on_acct_show()
40 struct device_attribute *attr, in power_off_acct_show()
54 struct device_attribute *attr, \
63 struct device_attribute *attr, \
96 struct device_attribute *attr, in init_pin_configs_show()
104 struct device_attribute *attr, in driver_pin_configs_show()
168 struct device_attribute *attr, \
182 struct device_attribute *attr, \
203 struct device_attribute *attr, \
217 struct device_attribute *attr, in init_verbs_show()
30 power_on_acct_show(struct device *dev, struct device_attribute *attr, char *buf) power_on_acct_show() argument
39 power_off_acct_show(struct device *dev, struct device_attribute *attr, char *buf) power_off_acct_show() argument
95 init_pin_configs_show(struct device *dev, struct device_attribute *attr, char *buf) init_pin_configs_show() argument
103 driver_pin_configs_show(struct device *dev, struct device_attribute *attr, char *buf) driver_pin_configs_show() argument
216 init_verbs_show(struct device *dev, struct device_attribute *attr, char *buf) init_verbs_show() argument
254 init_verbs_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) init_verbs_store() argument
265 hints_show(struct device *dev, struct device_attribute *attr, char *buf) hints_show() argument
359 hints_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) hints_store() argument
370 user_pin_configs_show(struct device *dev, struct device_attribute *attr, char *buf) user_pin_configs_show() argument
392 user_pin_configs_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) user_pin_configs_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_cmd.c326 struct ib_device_attr *attr) in copy_query_dev_fields()
330 resp->fw_ver = attr->fw_ver; in copy_query_dev_fields()
332 resp->sys_image_guid = attr->sys_image_guid; in copy_query_dev_fields()
333 resp->max_mr_size = attr->max_mr_size; in copy_query_dev_fields()
334 resp->page_size_cap = attr->page_size_cap; in copy_query_dev_fields()
335 resp->vendor_id = attr->vendor_id; in copy_query_dev_fields()
336 resp->vendor_part_id = attr->vendor_part_id; in copy_query_dev_fields()
337 resp->hw_ver = attr->hw_ver; in copy_query_dev_fields()
338 resp->max_qp = attr->max_qp; in copy_query_dev_fields()
339 resp->max_qp_wr = attr in copy_query_dev_fields()
324 copy_query_dev_fields(struct ib_ucontext *ucontext, struct ib_uverbs_query_device_resp *resp, struct ib_device_attr *attr) copy_query_dev_fields() argument
395 struct ib_port_attr attr; ib_uverbs_query_port() local
1012 struct ib_cq_init_attr attr = {}; create_cq() local
1289 struct ib_qp_init_attr attr = {}; create_qp() local
1556 struct ib_qp_open_attr attr = {}; ib_uverbs_open_qp() local
1642 struct ib_qp_attr *attr; ib_uverbs_query_qp() local
1754 struct ib_qp_attr *attr; modify_qp() local
2395 struct rdma_ah_attr attr = {}; ib_uverbs_create_ah() local
3366 struct ib_srq_init_attr attr; __uverbs_create_xsrq() local
3507 struct ib_srq_attr attr; ib_uverbs_modify_srq() local
3534 struct ib_srq_attr attr; ib_uverbs_query_srq() local
3592 struct ib_device_attr attr = {0}; ib_uverbs_ex_query_device() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dpower10-pmu.c182 &format_attr_event.attr,
183 &format_attr_pmcxsel.attr,
184 &format_attr_mark.attr,
185 &format_attr_combine.attr,
186 &format_attr_unit.attr,
187 &format_attr_pmc.attr,
188 &format_attr_cache_sel.attr,
189 &format_attr_sdar_mode.attr,
190 &format_attr_sample_mode.attr,
191 &format_attr_thresh_sel.attr,
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c50 struct device_attribute *attr, char *buf) in board_id_show()
68 config_show(struct device *device, struct device_attribute *attr, char *buf) in config_show() argument
130 iface_show(struct device *device, struct device_attribute *attr, char *buf) in iface_show() argument
141 max_vf_show(struct device *device, struct device_attribute *attr, char *buf) in max_vf_show() argument
152 qp_per_vf_show(struct device *device, struct device_attribute *attr, char *buf) in qp_per_vf_show() argument
167 cq_per_vf_show(struct device *device, struct device_attribute *attr, char *buf) in cq_per_vf_show() argument
178 &dev_attr_board_id.attr,
179 &dev_attr_config.attr,
180 &dev_attr_iface.attr,
181 &dev_attr_max_vf.attr,
49 board_id_show(struct device *device, struct device_attribute *attr, char *buf) board_id_show() argument
192 struct attribute attr; global() member
200 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) usnic_ib_qpn_attr_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv-sysfs.c30 struct kobj_attribute *attr, in rtrs_srv_disconnect_show()
34 attr->attr.name); in rtrs_srv_disconnect_show()
38 struct kobj_attribute *attr, in rtrs_srv_disconnect_store()
49 attr->attr.name, buf); in rtrs_srv_disconnect_store()
57 sysfs_remove_file_self(&sess->kobj, &attr->attr); in rtrs_srv_disconnect_store()
68 struct kobj_attribute *attr, in rtrs_srv_hca_port_show()
85 struct kobj_attribute *attr, in rtrs_srv_hca_name_show()
29 rtrs_srv_disconnect_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_disconnect_show() argument
37 rtrs_srv_disconnect_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) rtrs_srv_disconnect_store() argument
67 rtrs_srv_hca_port_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_hca_port_show() argument
84 rtrs_srv_hca_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_hca_name_show() argument
99 rtrs_srv_src_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_src_addr_show() argument
115 rtrs_srv_dst_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_dst_addr_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm77.c134 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local
137 return sprintf(buf, "%d\n", data->temp[attr->index]); in temp_show()
143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show() local
145 int nr = attr->index; in temp_hyst_show()
158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store() local
161 int nr = attr->index; in temp_store()
203 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show() argument
206 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
225 &sensor_dev_attr_temp1_input.dev_attr.attr,
226 &sensor_dev_attr_temp1_crit.dev_attr.attr,
[all...]
H A Dds620.c132 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() local
138 return sprintf(buf, "%d\n", ((data->temp[attr->index] / 8) * 625) / 10); in temp_show()
147 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store() local
159 data->temp[attr->index] = val; in temp_store()
160 i2c_smbus_write_word_swapped(client, DS620_REG_TEMP[attr->index], in temp_store()
161 data->temp[attr->index]); in temp_store()
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in alarm_show() local
186 new_conf &= ~attr->index; in alarm_show()
194 return sprintf(buf, "%d\n", !!(conf & attr->index)); in alarm_show()
204 &sensor_dev_attr_temp1_input.dev_attr.attr,
[all...]
H A Dvexpress-hwmon.c69 struct attribute *attr, int index) in vexpress_hwmon_attr_is_visible()
72 struct device_attribute *dev_attr = container_of(attr, in vexpress_hwmon_attr_is_visible()
73 struct device_attribute, attr); in vexpress_hwmon_attr_is_visible()
79 return attr->mode; in vexpress_hwmon_attr_is_visible()
91 &dev_attr_in1_label.attr,
92 &sensor_dev_attr_in1_input.dev_attr.attr,
111 &dev_attr_curr1_label.attr,
112 &sensor_dev_attr_curr1_input.dev_attr.attr,
130 &dev_attr_temp1_label.attr,
131 &sensor_dev_attr_temp1_input.dev_attr.attr,
68 vexpress_hwmon_attr_is_visible(struct kobject *kobj, struct attribute *attr, int index) vexpress_hwmon_attr_is_visible() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_cpi_sys.c179 static int check_string(const char *attr, const char *str) in check_string() argument
202 static void set_string(char *attr, const char *value) in set_string() argument
214 attr[i] = toupper(value[i]); in set_string()
216 attr[i] = ' '; in set_string()
221 struct kobj_attribute *attr, char *page) in system_name_show()
232 struct kobj_attribute *attr, in system_name_store()
253 struct kobj_attribute *attr, char *page) in sysplex_name_show()
264 struct kobj_attribute *attr, in sysplex_name_store()
285 struct kobj_attribute *attr, char *page) in system_type_show()
296 struct kobj_attribute *attr, in system_type_store()
220 system_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) system_name_show() argument
231 system_name_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) system_name_store() argument
252 sysplex_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) sysplex_name_show() argument
263 sysplex_name_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) sysplex_name_store() argument
284 system_type_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) system_type_show() argument
295 system_type_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) system_type_store() argument
316 system_level_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) system_level_show() argument
327 system_level_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) system_level_store() argument
353 set_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) set_store() argument
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dtask_fd_query_user.c127 struct perf_event_attr attr = {}; in test_nondebug_fs_kuprobe_common() local
136 attr.sample_period = 1; in test_nondebug_fs_kuprobe_common()
137 attr.wakeup_events = 1; in test_nondebug_fs_kuprobe_common()
139 attr.config |= 1 << is_return_bit; in test_nondebug_fs_kuprobe_common()
142 attr.config1 = ptr_to_u64((void *)name); in test_nondebug_fs_kuprobe_common()
143 attr.config2 = offset; in test_nondebug_fs_kuprobe_common()
145 attr.config1 = 0; in test_nondebug_fs_kuprobe_common()
146 attr.config2 = addr; in test_nondebug_fs_kuprobe_common()
148 attr.size = sizeof(attr); in test_nondebug_fs_kuprobe_common()
219 struct perf_event_attr attr = {}; test_debug_fs_uprobe() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_sysfs.c107 mapping->attributes[i].attr; in put_mapping()
231 for (i = 0; attrs[i].attr.attr.name != NULL; i++) { in gasket_sysfs_create_entries()
240 ret = device_create_file(device, &attrs[i].attr); in gasket_sysfs_create_entries()
297 gasket_sysfs_get_attr(struct device *device, struct device_attribute *attr) in gasket_sysfs_get_attr() argument
310 if (!strcmp(attrs[i].attr.attr.name, attr->attr.name)) in gasket_sysfs_get_attr()
315 attr in gasket_sysfs_get_attr()
320 gasket_sysfs_put_attr(struct device *device, struct gasket_sysfs_attribute *attr) gasket_sysfs_put_attr() argument
346 gasket_sysfs_register_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) gasket_sysfs_register_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dlm77.c134 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local
137 return sprintf(buf, "%d\n", data->temp[attr->index]); in temp_show()
143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show() local
145 int nr = attr->index; in temp_hyst_show()
158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store() local
161 int nr = attr->index; in temp_store()
203 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show() argument
206 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
225 &sensor_dev_attr_temp1_input.dev_attr.attr,
226 &sensor_dev_attr_temp1_crit.dev_attr.attr,
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv-sysfs.c30 struct kobj_attribute *attr, char *buf) in rtrs_srv_disconnect_show()
32 return sysfs_emit(buf, "Usage: echo 1 > %s\n", attr->attr.name); in rtrs_srv_disconnect_show()
36 struct kobj_attribute *attr, in rtrs_srv_disconnect_store()
47 attr->attr.name, buf); in rtrs_srv_disconnect_store()
56 sysfs_remove_file_self(&srv_path->kobj, &attr->attr); in rtrs_srv_disconnect_store()
67 struct kobj_attribute *attr, in rtrs_srv_hca_port_show()
83 struct kobj_attribute *attr, in rtrs_srv_hca_name_show()
29 rtrs_srv_disconnect_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) rtrs_srv_disconnect_show() argument
35 rtrs_srv_disconnect_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) rtrs_srv_disconnect_store() argument
66 rtrs_srv_hca_port_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_hca_port_show() argument
82 rtrs_srv_hca_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_hca_name_show() argument
96 rtrs_srv_src_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_src_addr_show() argument
112 rtrs_srv_dst_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) rtrs_srv_dst_addr_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_cpi_sys.c179 static int check_string(const char *attr, const char *str) in check_string() argument
202 static void set_string(char *attr, const char *value) in set_string() argument
214 attr[i] = toupper(value[i]); in set_string()
216 attr[i] = ' '; in set_string()
221 struct kobj_attribute *attr, char *page) in system_name_show()
232 struct kobj_attribute *attr, in system_name_store()
253 struct kobj_attribute *attr, char *page) in sysplex_name_show()
264 struct kobj_attribute *attr, in sysplex_name_store()
285 struct kobj_attribute *attr, char *page) in system_type_show()
296 struct kobj_attribute *attr, in system_type_store()
220 system_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) system_name_show() argument
231 system_name_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) system_name_store() argument
252 sysplex_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) sysplex_name_show() argument
263 sysplex_name_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) sysplex_name_store() argument
284 system_type_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) system_type_show() argument
295 system_type_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) system_type_store() argument
316 system_level_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) system_level_show() argument
327 system_level_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) system_level_store() argument
353 set_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) set_store() argument
[all...]
/third_party/python/Lib/test/test_importlib/frozen/
H A Dtest_loader.py74 for attr, value in check.items():
75 self.assertEqual(getattr(module, attr), value)
84 for attr, value in check.items():
85 attr_value = getattr(module, attr)
87 'for {name}.{attr}, {given!r} != {expected!r}'.format(
88 name=name, attr=attr, given=attr_value,
98 for attr, value in check.items():
99 attr_value = getattr(module, attr)
101 'for {name}.{attr}, {give
[all...]
/kernel/linux/linux-6.6/drivers/perf/
H A Darm_spe_pmu.c142 struct device_attribute *attr, in arm_spe_pmu_cap_show()
147 container_of(attr, struct dev_ext_attribute, attr); in arm_spe_pmu_cap_show()
156 })[0].attr.attr
222 #define _ATTR_CFG_GET_FLD(attr, cfg, lo, hi) \
223 ((((attr)->cfg) >> lo) & GENMASK(hi - lo, 0))
225 #define ATTR_CFG_GET_FLD(attr, name) \
226 _ATTR_CFG_GET_FLD(attr, \
243 &format_attr_ts_enable.attr,
141 arm_spe_pmu_cap_show(struct device *dev, struct device_attribute *attr, char *buf) arm_spe_pmu_cap_show() argument
256 arm_spe_pmu_format_attr_is_visible(struct kobject *kobj, struct attribute *attr, int unused) arm_spe_pmu_format_attr_is_visible() argument
275 cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) cpumask_show() argument
303 struct perf_event_attr *attr = &event->attr; arm_spe_event_to_pmscr() local
340 struct perf_event_attr *attr = &event->attr; arm_spe_event_to_pmsirr() local
353 struct perf_event_attr *attr = &event->attr; arm_spe_event_to_pmsfcr() local
377 struct perf_event_attr *attr = &event->attr; arm_spe_event_to_pmsevfr() local
383 struct perf_event_attr *attr = &event->attr; arm_spe_event_to_pmsnevfr() local
389 struct perf_event_attr *attr = &event->attr; arm_spe_event_to_pmslatfr() local
721 struct perf_event_attr *attr = &event->attr; arm_spe_pmu_event_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c104 struct mlx5_vport_tbl_attr *attr, in flow_attr_to_vport_key()
107 key->vport = attr->vport; in flow_attr_to_vport_key()
108 key->chain = attr->chain; in flow_attr_to_vport_key()
109 key->prio = attr->prio; in flow_attr_to_vport_key()
128 esw_vport_tbl_put(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) in esw_vport_tbl_put() argument
135 hkey = flow_attr_to_vport_key(esw, attr, &key); in esw_vport_tbl_put()
148 esw_vport_tbl_get(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) in esw_vport_tbl_get() argument
158 hkey = flow_attr_to_vport_key(esw, attr, &skey); in esw_vport_tbl_get()
199 struct mlx5_vport_tbl_attr attr; in mlx5_esw_vport_tbl_get() local
204 attr in mlx5_esw_vport_tbl_get()
103 flow_attr_to_vport_key(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr, struct mlx5_vport_key *key) flow_attr_to_vport_key() argument
221 struct mlx5_vport_tbl_attr attr; mlx5_esw_vport_tbl_put() local
245 mlx5_eswitch_set_rule_flow_source(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_esw_flow_attr *attr) mlx5_eswitch_set_rule_flow_source() argument
258 mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_esw_flow_attr *attr) mlx5_eswitch_set_rule_source_port() argument
299 mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5_eswitch_add_offloaded_rule() argument
444 mlx5_eswitch_add_fwd_rule(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5_eswitch_add_fwd_rule() argument
513 __mlx5_eswitch_del_rule(struct mlx5_eswitch *esw, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr, bool fwd_rule) __mlx5_eswitch_del_rule() argument
556 mlx5_eswitch_del_offloaded_rule(struct mlx5_eswitch *esw, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr) mlx5_eswitch_del_offloaded_rule() argument
564 mlx5_eswitch_del_fwd_rule(struct mlx5_eswitch *esw, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr) mlx5_eswitch_del_fwd_rule() argument
591 esw_vlan_action_get_vport(struct mlx5_esw_flow_attr *attr, bool push, bool pop) esw_vlan_action_get_vport() argument
608 esw_add_vlan_action_check(struct mlx5_esw_flow_attr *attr, bool push, bool pop, bool fwd) esw_add_vlan_action_check() argument
642 mlx5_eswitch_add_vlan_action(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) mlx5_eswitch_add_vlan_action() argument
711 mlx5_eswitch_del_vlan_action(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) mlx5_eswitch_del_vlan_action() argument
1209 struct mlx5_chains_attr attr = {}; esw_chains_create() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_svg.cpp116 [](const std::string& val, SvgAttributes& attr) { in ParseAndSetSpecializedAttr()
117 attr.autoMirror = val == "true"; in ParseAndSetSpecializedAttr()
120 [](const std::string& val, SvgAttributes& attr) { in ParseAndSetSpecializedAttr()
121 attr.height = SvgAttributesParser::ParseDimension(val); in ParseAndSetSpecializedAttr()
124 [](const std::string& val, SvgAttributes& attr) { in ParseAndSetSpecializedAttr()
131 attr.viewBox = Rect(viewBox[0], viewBox[1], viewBox[2], viewBox[3]); in ParseAndSetSpecializedAttr()
135 [](const std::string& val, SvgAttributes& attr) { in ParseAndSetSpecializedAttr()
142 attr.viewBox = Rect(viewBox[0], viewBox[1], viewBox[2], viewBox[3]); in ParseAndSetSpecializedAttr()
146 [](const std::string& val, SvgAttributes& attr) { in ParseAndSetSpecializedAttr()
147 attr in ParseAndSetSpecializedAttr()
[all...]
/foundation/multimedia/media_foundation/src/capi/
H A Dnative_avbuffer.cpp56 OH_AVErrCode OH_AVBuffer_GetBufferAttr(OH_AVBuffer *buffer, OH_AVCodecBufferAttr *attr) in OH_AVBuffer_GetBufferAttr() argument
61 FALSE_RETURN_V_MSG_E(attr != nullptr, AV_ERR_INVALID_VAL, "attr is nullptr!"); in OH_AVBuffer_GetBufferAttr()
62 attr->pts = buffer->buffer_->pts_; in OH_AVBuffer_GetBufferAttr()
63 attr->flags = static_cast<uint32_t>(buffer->buffer_->flag_); in OH_AVBuffer_GetBufferAttr()
65 attr->offset = buffer->buffer_->memory_->GetOffset(); in OH_AVBuffer_GetBufferAttr()
66 attr->size = buffer->buffer_->memory_->GetSize(); in OH_AVBuffer_GetBufferAttr()
68 attr->offset = 0; in OH_AVBuffer_GetBufferAttr()
69 attr->size = 0; in OH_AVBuffer_GetBufferAttr()
74 OH_AVErrCode OH_AVBuffer_SetBufferAttr(OH_AVBuffer *buffer, const OH_AVCodecBufferAttr *attr) in OH_AVBuffer_SetBufferAttr() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dds1682.c54 static ssize_t ds1682_show(struct device *dev, struct device_attribute *attr, in ds1682_show() argument
57 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_show()
63 dev_dbg(dev, "ds1682_show() called on %s\n", attr->attr.name); in ds1682_show()
97 static ssize_t ds1682_store(struct device *dev, struct device_attribute *attr, in ds1682_store() argument
100 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in ds1682_store()
106 dev_dbg(dev, "ds1682_store() called on %s\n", attr->attr.name); in ds1682_store()
145 &sensor_dev_attr_elapsed_time.dev_attr.attr,
146 &sensor_dev_attr_alarm_time.dev_attr.attr,
155 ds1682_eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) ds1682_eeprom_read() argument
173 ds1682_eeprom_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) ds1682_eeprom_write() argument
[all...]
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_sysfs.c14 struct device_attribute *attr, char *buf) in recovery_show()
46 struct device_attribute *attr, in recovery_store()
81 struct device_attribute *attr, char *buf) in coredump_show()
105 struct device_attribute *attr, in coredump_store()
131 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, in firmware_show() argument
153 struct device_attribute *attr, in firmware_store()
209 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show() argument
221 struct device_attribute *attr, in state_store()
248 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() argument
258 &dev_attr_coredump.attr,
13 recovery_show(struct device *dev, struct device_attribute *attr, char *buf) recovery_show() argument
45 recovery_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) recovery_store() argument
80 coredump_show(struct device *dev, struct device_attribute *attr, char *buf) coredump_show() argument
104 coredump_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) coredump_store() argument
152 firmware_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) firmware_store() argument
220 state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) state_store() argument
[all...]

Completed in 19 milliseconds

1...<<31323334353637383940>>...355