Home
last modified time | relevance | path

Searched refs:attr (Results 1601 - 1625 of 7190) sorted by relevance

1...<<61626364656667686970>>...288

/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Dmanager-sysfs.c417 struct attribute attr; member
450 &manager_attr_name.attr,
451 &manager_attr_display.attr,
452 &manager_attr_default_color.attr,
453 &manager_attr_trans_key_type.attr,
454 &manager_attr_trans_key_value.attr,
455 &manager_attr_trans_key_enabled.attr,
456 &manager_attr_alpha_blending_enabled.attr,
457 &manager_attr_cpr_enable.attr,
458 &manager_attr_cpr_coef.attr,
463 manager_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) manager_attr_show() argument
478 manager_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) manager_attr_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Druntime-wrappers.c69 u32 *attr; member
83 u32 attr; member
89 u32 attr; member
250 args->GET_VARIABLE.attr, in efi_call_rts()
264 args->SET_VARIABLE.attr, in efi_call_rts()
270 args->QUERY_VARIABLE_INFO.attr, in efi_call_rts()
395 u32 *attr, in virt_efi_get_variable()
403 status = efi_queue_work(GET_VARIABLE, name, vendor, attr, data_size, in virt_efi_get_variable()
424 u32 attr, in virt_efi_set_variable()
432 status = efi_queue_work(SET_VARIABLE, name, vendor, attr, data_siz in virt_efi_set_variable()
393 virt_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, unsigned long *data_size, void *data) virt_efi_get_variable() argument
422 virt_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) virt_efi_set_variable() argument
439 virt_efi_set_variable_nb(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) virt_efi_set_variable_nb() argument
454 virt_efi_query_variable_info(u32 attr, u64 *storage_space, u64 *remaining_space, u64 *max_variable_size) virt_efi_query_variable_info() argument
473 virt_efi_query_variable_info_nb(u32 attr, u64 *storage_space, u64 *remaining_space, u64 *max_variable_size) virt_efi_query_variable_info_nb() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_sysfs.c149 err = class_create_file(drm_class, &class_attr_version.attr); in drm_sysfs_init()
172 class_remove_file(drm_class, &class_attr_version.attr); in drm_sysfs_destroy()
186 struct device_attribute *attr, in status_store()
228 struct device_attribute *attr, in status_show()
241 struct device_attribute *attr, in dpms_show()
253 struct device_attribute *attr, in enabled_show()
265 struct bin_attribute *attr, char *buf, loff_t off, in edid_show()
298 struct device_attribute *attr, in modes_show()
316 struct device_attribute *attr, in connector_id_show()
331 &dev_attr_status.attr,
185 status_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) status_store() argument
227 status_show(struct device *device, struct device_attribute *attr, char *buf) status_show() argument
240 dpms_show(struct device *device, struct device_attribute *attr, char *buf) dpms_show() argument
252 enabled_show(struct device *device, struct device_attribute *attr, char *buf) enabled_show() argument
264 edid_show(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) edid_show() argument
297 modes_show(struct device *device, struct device_attribute *attr, char *buf) modes_show() argument
315 connector_id_show(struct device *device, struct device_attribute *attr, char *buf) connector_id_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dadm1021.c173 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show() argument
176 int index = to_sensor_dev_attr(attr)->index; in alarm_show()
182 struct device_attribute *attr, in alarms_show()
293 &sensor_dev_attr_temp1_max.dev_attr.attr,
294 &sensor_dev_attr_temp1_input.dev_attr.attr,
295 &sensor_dev_attr_temp2_max.dev_attr.attr,
296 &sensor_dev_attr_temp2_input.dev_attr.attr,
297 &sensor_dev_attr_temp1_max_alarm.dev_attr.attr,
298 &sensor_dev_attr_temp2_max_alarm.dev_attr.attr,
299 &sensor_dev_attr_temp2_fault.dev_attr.attr,
181 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) alarms_show() argument
[all...]
H A Dibmaem.c831 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_power() local
837 update_aem_energy_one(data, attr->index); in aem_show_power()
839 before = data->energy[attr->index]; in aem_show_power()
842 msecs_to_jiffies(data->power_period[attr->index]) in aem_show_power()
849 update_aem_energy_one(data, attr->index); in aem_show_power()
851 after = data->energy[attr->index]; in aem_show_power()
865 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_energy() local
868 update_aem_energy_one(a, attr->index); in aem_show_energy()
872 (unsigned long long)a->energy[attr->index] * 1000); in aem_show_energy()
880 struct sensor_device_attribute *attr in aem_show_power_period() local
892 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); aem_set_power_period() local
973 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); aem2_show_temp() local
985 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); aem2_show_pcap_value() local
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dtime.c733 struct device_attribute *attr, in ctn_id_show()
749 struct device_attribute *attr, in ctn_type_show()
764 struct device_attribute *attr, in dst_offset_show()
779 struct device_attribute *attr, in leap_seconds_show()
794 struct device_attribute *attr, in leap_seconds_scheduled_show()
822 struct device_attribute *attr, in stratum_show()
837 struct device_attribute *attr, in time_offset_show()
852 struct device_attribute *attr, in time_zone_offset_show()
867 struct device_attribute *attr, in timing_mode_show()
882 struct device_attribute *attr, in timing_state_show()
732 ctn_id_show(struct device *dev, struct device_attribute *attr, char *buf) ctn_id_show() argument
748 ctn_type_show(struct device *dev, struct device_attribute *attr, char *buf) ctn_type_show() argument
763 dst_offset_show(struct device *dev, struct device_attribute *attr, char *buf) dst_offset_show() argument
778 leap_seconds_show(struct device *dev, struct device_attribute *attr, char *buf) leap_seconds_show() argument
793 leap_seconds_scheduled_show(struct device *dev, struct device_attribute *attr, char *buf) leap_seconds_scheduled_show() argument
821 stratum_show(struct device *dev, struct device_attribute *attr, char *buf) stratum_show() argument
836 time_offset_show(struct device *dev, struct device_attribute *attr, char *buf) time_offset_show() argument
851 time_zone_offset_show(struct device *dev, struct device_attribute *attr, char *buf) time_zone_offset_show() argument
866 timing_mode_show(struct device *dev, struct device_attribute *attr, char *buf) timing_mode_show() argument
881 timing_state_show(struct device *dev, struct device_attribute *attr, char *buf) timing_state_show() argument
896 online_show(struct device *dev, struct device_attribute *attr, char *buf) online_show() argument
903 online_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) online_store() argument
948 struct device_attribute **attr; stp_init_sysfs() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dport.c22 struct device_attribute *attr, char *buf) in early_stop_show()
29 static ssize_t early_stop_store(struct device *dev, struct device_attribute *attr, in early_stop_store() argument
48 struct device_attribute *attr, char *buf) in disable_show()
82 static ssize_t disable_store(struct device *dev, struct device_attribute *attr, in disable_store() argument
130 struct device_attribute *attr, char *buf) in location_show()
139 struct device_attribute *attr, char *buf) in connect_type_show()
164 struct device_attribute *attr, char *buf) in state_show()
174 struct device_attribute *attr, char *buf) in over_current_count_show()
183 struct device_attribute *attr, char *buf) in quirks_show()
190 static ssize_t quirks_store(struct device *dev, struct device_attribute *attr, in quirks_store() argument
21 early_stop_show(struct device *dev, struct device_attribute *attr, char *buf) early_stop_show() argument
47 disable_show(struct device *dev, struct device_attribute *attr, char *buf) disable_show() argument
129 location_show(struct device *dev, struct device_attribute *attr, char *buf) location_show() argument
138 connect_type_show(struct device *dev, struct device_attribute *attr, char *buf) connect_type_show() argument
163 state_show(struct device *dev, struct device_attribute *attr, char *buf) state_show() argument
173 over_current_count_show(struct device *dev, struct device_attribute *attr, char *buf) over_current_count_show() argument
182 quirks_show(struct device *dev, struct device_attribute *attr, char *buf) quirks_show() argument
204 usb3_lpm_permit_show(struct device *dev, struct device_attribute *attr, char *buf) usb3_lpm_permit_show() argument
225 usb3_lpm_permit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) usb3_lpm_permit_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/perf/
H A Darm_dsu_pmu.c79 .attr = __ATTR(_name, 0444, _func, NULL), \
82 })[0].attr.attr)
134 struct device_attribute *attr, in dsu_pmu_sysfs_event_show()
137 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_event_show()
138 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_event_show()
143 struct device_attribute *attr, in dsu_pmu_sysfs_format_show()
146 struct dev_ext_attribute *eattr = container_of(attr, in dsu_pmu_sysfs_format_show()
147 struct dev_ext_attribute, attr); in dsu_pmu_sysfs_format_show()
152 struct device_attribute *attr, in dsu_pmu_cpumask_show()
133 dsu_pmu_sysfs_event_show(struct device *dev, struct device_attribute *attr, char *buf) dsu_pmu_sysfs_event_show() argument
142 dsu_pmu_sysfs_format_show(struct device *dev, struct device_attribute *attr, char *buf) dsu_pmu_sysfs_format_show() argument
151 dsu_pmu_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) dsu_pmu_cpumask_show() argument
198 dsu_pmu_event_attr_is_visible(struct kobject *kobj, struct attribute *attr, int unused) dsu_pmu_event_attr_is_visible() argument
[all...]
H A Dfsl_imx9_ddr_perf.c81 struct device_attribute *attr, in ddr_perf_identifier_show()
93 &ddr_perf_identifier_attr.attr,
102 struct device_attribute *attr, char *buf) in ddr_perf_cpumask_show()
113 &ddr_perf_cpumask_attr.attr,
122 struct device_attribute *attr, char *page) in ddr_pmu_event_show()
126 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); in ddr_pmu_event_show()
132 { .attr = __ATTR(_name, 0444, ddr_pmu_event_show, NULL),\
134 })[0].attr.attr)
80 ddr_perf_identifier_show(struct device *dev, struct device_attribute *attr, char *page) ddr_perf_identifier_show() argument
101 ddr_perf_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) ddr_perf_cpumask_show() argument
121 ddr_pmu_event_show(struct device *dev, struct device_attribute *attr, char *page) ddr_pmu_event_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-ntrig.c169 struct device_attribute *attr, in show_phys_width()
181 struct device_attribute *attr, in show_phys_height()
193 struct device_attribute *attr, in show_log_width()
205 struct device_attribute *attr, in show_log_height()
217 struct device_attribute *attr, in show_min_width()
229 struct device_attribute *attr, in set_min_width()
252 struct device_attribute *attr, in show_min_height()
264 struct device_attribute *attr, in set_min_height()
288 struct device_attribute *attr, in show_activate_slack()
298 struct device_attribute *attr, in set_activate_slack()
168 show_phys_width(struct device *dev, struct device_attribute *attr, char *buf) show_phys_width() argument
180 show_phys_height(struct device *dev, struct device_attribute *attr, char *buf) show_phys_height() argument
192 show_log_width(struct device *dev, struct device_attribute *attr, char *buf) show_log_width() argument
204 show_log_height(struct device *dev, struct device_attribute *attr, char *buf) show_log_height() argument
216 show_min_width(struct device *dev, struct device_attribute *attr, char *buf) show_min_width() argument
228 set_min_width(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_min_width() argument
251 show_min_height(struct device *dev, struct device_attribute *attr, char *buf) show_min_height() argument
263 set_min_height(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_min_height() argument
287 show_activate_slack(struct device *dev, struct device_attribute *attr, char *buf) show_activate_slack() argument
297 set_activate_slack(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_activate_slack() argument
320 show_activation_width(struct device *dev, struct device_attribute *attr, char *buf) show_activation_width() argument
332 set_activation_width(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_activation_width() argument
356 show_activation_height(struct device *dev, struct device_attribute *attr, char *buf) show_activation_height() argument
368 set_activation_height(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_activation_height() argument
392 show_deactivate_slack(struct device *dev, struct device_attribute *attr, char *buf) show_deactivate_slack() argument
402 set_deactivate_slack(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_deactivate_slack() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dad7877.c441 name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \
461 struct device_attribute *attr, char *buf) in ad7877_disable_show()
469 struct device_attribute *attr, in ad7877_disable_store()
491 struct device_attribute *attr, char *buf) in ad7877_dac_show()
499 struct device_attribute *attr, in ad7877_dac_store()
521 struct device_attribute *attr, char *buf) in ad7877_gpio3_show()
529 struct device_attribute *attr, in ad7877_gpio3_store()
552 struct device_attribute *attr, char *buf) in ad7877_gpio4_show()
560 struct device_attribute *attr, in ad7877_gpio4_store()
583 &dev_attr_temp1.attr,
460 ad7877_disable_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_disable_show() argument
468 ad7877_disable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_disable_store() argument
490 ad7877_dac_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_dac_show() argument
498 ad7877_dac_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_dac_store() argument
520 ad7877_gpio3_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_gpio3_show() argument
528 ad7877_gpio3_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_gpio3_store() argument
551 ad7877_gpio4_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_gpio4_show() argument
559 ad7877_gpio4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_gpio4_store() argument
597 ad7877_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) ad7877_attr_is_visible() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dibmaem.c831 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_power() local
837 update_aem_energy_one(data, attr->index); in aem_show_power()
839 before = data->energy[attr->index]; in aem_show_power()
842 msecs_to_jiffies(data->power_period[attr->index]) in aem_show_power()
849 update_aem_energy_one(data, attr->index); in aem_show_power()
851 after = data->energy[attr->index]; in aem_show_power()
865 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in aem_show_energy() local
868 update_aem_energy_one(a, attr->index); in aem_show_energy()
872 (unsigned long long)a->energy[attr->index] * 1000); in aem_show_energy()
880 struct sensor_device_attribute *attr in aem_show_power_period() local
892 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); aem_set_power_period() local
973 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); aem2_show_temp() local
985 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); aem2_show_pcap_value() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dperf_event.h682 struct perf_event_attr attr; member
977 perf_event_create_kernel_counter(struct perf_event_attr *attr,
1114 struct perf_event_attr *attr = &event->attr; in event_has_any_exclude_flag() local
1116 return attr->exclude_idle || attr->exclude_user || in event_has_any_exclude_flag()
1117 attr->exclude_kernel || attr->exclude_hv || in event_has_any_exclude_flag()
1118 attr->exclude_guest || attr in event_has_any_exclude_flag()
1340 perf_allow_kernel(struct perf_event_attr *attr) perf_allow_kernel() argument
1348 perf_allow_cpu(struct perf_event_attr *attr) perf_allow_cpu() argument
1356 perf_allow_tracepoint(struct perf_event_attr *attr) perf_allow_tracepoint() argument
1560 struct device_attribute attr; global() member
1566 struct device_attribute attr; global() member
[all...]
/kernel/linux/linux-5.10/fs/hostfs/
H A Dhostfs_kern.c785 static int hostfs_setattr(struct dentry *dentry, struct iattr *attr) in hostfs_setattr() argument
794 err = setattr_prepare(dentry, attr); in hostfs_setattr()
799 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr()
802 if (attr->ia_valid & ATTR_MODE) { in hostfs_setattr()
804 attrs.ia_mode = attr->ia_mode; in hostfs_setattr()
806 if (attr->ia_valid & ATTR_UID) { in hostfs_setattr()
808 attrs.ia_uid = from_kuid(&init_user_ns, attr->ia_uid); in hostfs_setattr()
810 if (attr->ia_valid & ATTR_GID) { in hostfs_setattr()
812 attrs.ia_gid = from_kgid(&init_user_ns, attr->ia_gid); in hostfs_setattr()
814 if (attr in hostfs_setattr()
[all...]
/kernel/linux/linux-5.10/drivers/visorbus/
H A Dvisorbus_main.c31 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument
44 &dev_attr_modalias.attr,
238 static ssize_t physaddr_show(struct device *dev, struct device_attribute *attr, in physaddr_show() argument
248 static ssize_t nbytes_show(struct device *dev, struct device_attribute *attr, in nbytes_show() argument
259 struct device_attribute *attr, char *buf) in clientpartition_show()
268 static ssize_t typeguid_show(struct device *dev, struct device_attribute *attr, in typeguid_show() argument
279 static ssize_t zoneguid_show(struct device *dev, struct device_attribute *attr, in zoneguid_show() argument
290 static ssize_t typename_show(struct device *dev, struct device_attribute *attr, in typename_show() argument
309 &dev_attr_physaddr.attr,
310 &dev_attr_nbytes.attr,
258 clientpartition_show(struct device *dev, struct device_attribute *attr, char *buf) clientpartition_show() argument
326 partition_handle_show(struct device *dev, struct device_attribute *attr, char *buf) partition_handle_show() argument
336 partition_guid_show(struct device *dev, struct device_attribute *attr, char *buf) partition_guid_show() argument
345 partition_name_show(struct device *dev, struct device_attribute *attr, char *buf) partition_name_show() argument
354 channel_addr_show(struct device *dev, struct device_attribute *attr, char *buf) channel_addr_show() argument
364 channel_bytes_show(struct device *dev, struct device_attribute *attr, char *buf) channel_bytes_show() argument
374 channel_id_show(struct device *dev, struct device_attribute *attr, char *buf) channel_id_show() argument
[all...]
/kernel/linux/linux-6.6/fs/hostfs/
H A Dhostfs_kern.c802 struct dentry *dentry, struct iattr *attr) in hostfs_setattr()
811 err = setattr_prepare(&nop_mnt_idmap, dentry, attr); in hostfs_setattr()
816 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr()
819 if (attr->ia_valid & ATTR_MODE) { in hostfs_setattr()
821 attrs.ia_mode = attr->ia_mode; in hostfs_setattr()
823 if (attr->ia_valid & ATTR_UID) { in hostfs_setattr()
825 attrs.ia_uid = from_kuid(&init_user_ns, attr->ia_uid); in hostfs_setattr()
827 if (attr->ia_valid & ATTR_GID) { in hostfs_setattr()
829 attrs.ia_gid = from_kgid(&init_user_ns, attr->ia_gid); in hostfs_setattr()
831 if (attr in hostfs_setattr()
801 hostfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) hostfs_setattr() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-ntrig.c169 struct device_attribute *attr, in show_phys_width()
181 struct device_attribute *attr, in show_phys_height()
193 struct device_attribute *attr, in show_log_width()
205 struct device_attribute *attr, in show_log_height()
217 struct device_attribute *attr, in show_min_width()
229 struct device_attribute *attr, in set_min_width()
252 struct device_attribute *attr, in show_min_height()
264 struct device_attribute *attr, in set_min_height()
288 struct device_attribute *attr, in show_activate_slack()
298 struct device_attribute *attr, in set_activate_slack()
168 show_phys_width(struct device *dev, struct device_attribute *attr, char *buf) show_phys_width() argument
180 show_phys_height(struct device *dev, struct device_attribute *attr, char *buf) show_phys_height() argument
192 show_log_width(struct device *dev, struct device_attribute *attr, char *buf) show_log_width() argument
204 show_log_height(struct device *dev, struct device_attribute *attr, char *buf) show_log_height() argument
216 show_min_width(struct device *dev, struct device_attribute *attr, char *buf) show_min_width() argument
228 set_min_width(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_min_width() argument
251 show_min_height(struct device *dev, struct device_attribute *attr, char *buf) show_min_height() argument
263 set_min_height(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_min_height() argument
287 show_activate_slack(struct device *dev, struct device_attribute *attr, char *buf) show_activate_slack() argument
297 set_activate_slack(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_activate_slack() argument
320 show_activation_width(struct device *dev, struct device_attribute *attr, char *buf) show_activation_width() argument
332 set_activation_width(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_activation_width() argument
356 show_activation_height(struct device *dev, struct device_attribute *attr, char *buf) show_activation_height() argument
368 set_activation_height(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_activation_height() argument
392 show_deactivate_slack(struct device *dev, struct device_attribute *attr, char *buf) show_deactivate_slack() argument
402 set_deactivate_slack(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_deactivate_slack() argument
[all...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dad7877.c443 name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \
463 struct device_attribute *attr, char *buf) in ad7877_disable_show()
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()
585 &dev_attr_temp1.attr,
462 ad7877_disable_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_disable_show() argument
470 ad7877_disable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_disable_store() argument
492 ad7877_dac_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_dac_show() argument
500 ad7877_dac_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_dac_store() argument
522 ad7877_gpio3_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_gpio3_show() argument
530 ad7877_gpio3_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_gpio3_store() argument
553 ad7877_gpio4_show(struct device *dev, struct device_attribute *attr, char *buf) ad7877_gpio4_show() argument
561 ad7877_gpio4_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ad7877_gpio4_store() argument
599 ad7877_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) ad7877_attr_is_visible() argument
[all...]
/base/hiviewdfx/hilog_lite/frameworks/featured/
H A Dhiview_log.c309 static void SecDecodeFlags(SecChar ch, SecFormatAttr *attr) in SecDecodeFlags() argument
313 attr->flags |= SECUREC_FLAG_SIGN_SPACE; in SecDecodeFlags()
316 attr->flags |= SECUREC_FLAG_SIGN; in SecDecodeFlags()
319 attr->flags |= SECUREC_FLAG_LEFT; in SecDecodeFlags()
322 attr->flags |= SECUREC_FLAG_LEADZERO; /* add zero th the front */ in SecDecodeFlags()
325 attr->flags |= SECUREC_FLAG_ALTERNATE; /* output %x with 0x */ in SecDecodeFlags()
333 static int SecDecodeSize(SecChar ch, SecFormatAttr *attr, const SecChar **format) in SecDecodeSize() argument
338 attr->flags |= SECUREC_FLAG_INTMAX; in SecDecodeSize()
343 attr->flags |= SECUREC_FLAG_LONGLONG | SECUREC_FLAG_LONG_DOUBLE; in SecDecodeSize()
348 attr in SecDecodeSize()
402 SecDecodeTypeC(SecFormatAttr *attr, unsigned int cValue, SecFormatBuf *formatBuf, SecBuffer *buffer) SecDecodeTypeC() argument
452 SecDecodeTypeS(SecFormatAttr *attr, char *argPtr, SecFormatBuf *formatBuf) SecDecodeTypeS() argument
[all...]
/kernel/linux/linux-5.10/fs/
H A Dlibfs.c894 struct simple_attr *attr; in simple_attr_open() local
896 attr = kzalloc(sizeof(*attr), GFP_KERNEL); in simple_attr_open()
897 if (!attr) in simple_attr_open()
900 attr->get = get; in simple_attr_open()
901 attr->set = set; in simple_attr_open()
902 attr->data = inode->i_private; in simple_attr_open()
903 attr->fmt = fmt; in simple_attr_open()
904 mutex_init(&attr->mutex); in simple_attr_open()
906 file->private_data = attr; in simple_attr_open()
923 struct simple_attr *attr; simple_attr_read() local
961 struct simple_attr *attr; simple_attr_write_xsigned() local
1327 empty_dir_setattr(struct dentry *dentry, struct iattr *attr) empty_dir_setattr() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c36 struct device_attribute *attr, in qlcnic_store_bridged_mode()
60 struct device_attribute *attr, in qlcnic_show_bridged_mode()
73 struct device_attribute *attr, in qlcnic_store_diag_mode()
89 struct device_attribute *attr, char *buf) in qlcnic_show_diag_mode()
215 struct device_attribute *attr, in qlcnic_store_beacon()
238 struct device_attribute *attr, char *buf) in qlcnic_show_beacon()
268 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_crb()
285 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_crb()
314 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_mem()
336 struct bin_attribute *attr, cha in qlcnic_sysfs_write_mem()
35 qlcnic_store_bridged_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) qlcnic_store_bridged_mode() argument
59 qlcnic_show_bridged_mode(struct device *dev, struct device_attribute *attr, char *buf) qlcnic_show_bridged_mode() argument
72 qlcnic_store_diag_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) qlcnic_store_diag_mode() argument
88 qlcnic_show_diag_mode(struct device *dev, struct device_attribute *attr, char *buf) qlcnic_show_diag_mode() argument
214 qlcnic_store_beacon(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) qlcnic_store_beacon() argument
237 qlcnic_show_beacon(struct device *dev, struct device_attribute *attr, char *buf) qlcnic_show_beacon() argument
267 qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_crb() argument
284 qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_crb() argument
313 qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_mem() argument
335 qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_mem() argument
398 qlcnic_sysfs_write_pm_config(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_pm_config() argument
448 qlcnic_sysfs_read_pm_config(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_pm_config() argument
541 qlcnic_sysfs_write_esw_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_esw_config() argument
625 qlcnic_sysfs_read_esw_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_esw_config() argument
677 qlcnic_sysfs_write_npar_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_npar_config() argument
724 qlcnic_sysfs_read_npar_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_npar_config() argument
771 qlcnic_sysfs_get_port_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_get_port_stats() argument
806 qlcnic_sysfs_get_esw_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_get_esw_stats() argument
841 qlcnic_sysfs_clear_esw_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_clear_esw_stats() argument
870 qlcnic_sysfs_clear_port_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_clear_port_stats() argument
900 qlcnic_sysfs_read_pci_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_pci_config() argument
940 qlcnic_83xx_sysfs_flash_read_handler(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_83xx_sysfs_flash_read_handler() argument
1117 qlcnic_83xx_sysfs_flash_write_handler(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_83xx_sysfs_flash_write_handler() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dloopback.c124 struct device_attribute *attr, \
134 struct device_attribute *attr, \
147 struct device_attribute *attr, \
172 struct device_attribute *attr, \
179 struct device_attribute *attr, \
198 struct device_attribute *attr, \
208 struct device_attribute *attr, \
215 struct device_attribute *attr, \
317 &dev_attr_latency_min.attr,
318 &dev_attr_latency_max.attr,
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c268 void *attr; in mlx5dr_cmd_query_flow_sampler() local
281 attr = MLX5_ADDR_OF(query_sampler_obj_out, out, sampler_object); in mlx5dr_cmd_query_flow_sampler()
283 *rx_icm_addr = MLX5_GET64(sampler_obj, attr, in mlx5dr_cmd_query_flow_sampler()
285 *tx_icm_addr = MLX5_GET64(sampler_obj, attr, in mlx5dr_cmd_query_flow_sampler()
459 struct mlx5dr_cmd_create_flow_table_attr *attr, in mlx5dr_cmd_create_flow_table()
469 MLX5_SET(create_flow_table_in, in, table_type, attr->table_type); in mlx5dr_cmd_create_flow_table()
470 MLX5_SET(create_flow_table_in, in, uid, attr->uid); in mlx5dr_cmd_create_flow_table()
473 MLX5_SET(flow_table_context, ft_mdev, termination_table, attr->term_tbl); in mlx5dr_cmd_create_flow_table()
474 MLX5_SET(flow_table_context, ft_mdev, sw_owner, attr->sw_owner); in mlx5dr_cmd_create_flow_table()
475 MLX5_SET(flow_table_context, ft_mdev, level, attr in mlx5dr_cmd_create_flow_table()
458 mlx5dr_cmd_create_flow_table(struct mlx5_core_dev *mdev, struct mlx5dr_cmd_create_flow_table_attr *attr, u64 *fdb_rx_icm_addr, u32 *table_id) mlx5dr_cmd_create_flow_table() argument
666 mlx5dr_cmd_query_gid(struct mlx5_core_dev *mdev, u8 vhca_port_num, u16 index, struct mlx5dr_cmd_gid_attr *attr) mlx5dr_cmd_query_gid() argument
707 void *attr; mlx5dr_cmd_create_modify_header_arg() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c35 struct device_attribute *attr, in qlcnic_store_bridged_mode()
59 struct device_attribute *attr, in qlcnic_show_bridged_mode()
72 struct device_attribute *attr, in qlcnic_store_diag_mode()
88 struct device_attribute *attr, char *buf) in qlcnic_show_diag_mode()
214 struct device_attribute *attr, in qlcnic_store_beacon()
237 struct device_attribute *attr, char *buf) in qlcnic_show_beacon()
267 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_crb()
284 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_crb()
313 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_mem()
335 struct bin_attribute *attr, cha in qlcnic_sysfs_write_mem()
34 qlcnic_store_bridged_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) qlcnic_store_bridged_mode() argument
58 qlcnic_show_bridged_mode(struct device *dev, struct device_attribute *attr, char *buf) qlcnic_show_bridged_mode() argument
71 qlcnic_store_diag_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) qlcnic_store_diag_mode() argument
87 qlcnic_show_diag_mode(struct device *dev, struct device_attribute *attr, char *buf) qlcnic_show_diag_mode() argument
213 qlcnic_store_beacon(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) qlcnic_store_beacon() argument
236 qlcnic_show_beacon(struct device *dev, struct device_attribute *attr, char *buf) qlcnic_show_beacon() argument
266 qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_crb() argument
283 qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_crb() argument
312 qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_mem() argument
334 qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_mem() argument
397 qlcnic_sysfs_write_pm_config(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_pm_config() argument
447 qlcnic_sysfs_read_pm_config(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_pm_config() argument
540 qlcnic_sysfs_write_esw_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_esw_config() argument
624 qlcnic_sysfs_read_esw_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_esw_config() argument
676 qlcnic_sysfs_write_npar_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_write_npar_config() argument
723 qlcnic_sysfs_read_npar_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_npar_config() argument
770 qlcnic_sysfs_get_port_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_get_port_stats() argument
805 qlcnic_sysfs_get_esw_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_get_esw_stats() argument
840 qlcnic_sysfs_clear_esw_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_clear_esw_stats() argument
869 qlcnic_sysfs_clear_port_stats(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_clear_port_stats() argument
899 qlcnic_sysfs_read_pci_config(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_sysfs_read_pci_config() argument
939 qlcnic_83xx_sysfs_flash_read_handler(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_83xx_sysfs_flash_read_handler() argument
1116 qlcnic_83xx_sysfs_flash_write_handler(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) qlcnic_83xx_sysfs_flash_write_handler() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dperf_event.h732 struct perf_event_attr attr; member
837 * writing kernel copy of event->attr.type without user being aware
1107 perf_event_create_kernel_counter(struct perf_event_attr *attr,
1123 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_NO_FLAGS; in branch_sample_no_flags()
1128 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_NO_CYCLES; in branch_sample_no_cycles()
1133 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_TYPE_SAVE; in branch_sample_type()
1138 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_HW_INDEX; in branch_sample_hw_index()
1143 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_PRIV_SAVE; in branch_sample_priv()
1364 struct perf_event_attr *attr = &event->attr; in event_has_any_exclude_flag() local
1601 perf_allow_kernel(struct perf_event_attr *attr) perf_allow_kernel() argument
1609 perf_allow_cpu(struct perf_event_attr *attr) perf_allow_cpu() argument
1617 perf_allow_tracepoint(struct perf_event_attr *attr) perf_allow_tracepoint() argument
1811 struct device_attribute attr; global() member
1817 struct device_attribute attr; global() member
1824 struct device_attribute attr; global() member
1831 struct device_attribute attr; global() member
[all...]

Completed in 31 milliseconds

1...<<61626364656667686970>>...288