Home
last modified time | relevance | path

Searched defs:attr (Results 51 – 75 of 2289) sorted by relevance

12345678910>>...92

/linux/mm/damon/
H A Dsysfs-schemes.c42 static ssize_t start_show(struct kobject *kobj, struct kobj_attribute *attr, in start_show()
51 static ssize_t end_show(struct kobject *kobj, struct kobj_attribute *attr, in end_show()
61 struct kobj_attribute *attr, char *buf) in nr_accesses_show()
69 static ssize_t age_show(struct kobject *kobj, struct kobj_attribute *attr, in age_show()
79 struct kobj_attribute *attr, char *buf) in sz_filter_passed_show()
155 struct kobj_attribute *attr, char *buf) in total_bytes_show()
214 static ssize_t nr_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in nr_tried_show()
223 static ssize_t sz_tried_show(struct kobject *kobj, struct kobj_attribute *attr, in sz_tried_show()
233 struct kobj_attribute *attr, char *buf) in nr_applied_show()
242 struct kobj_attribute *attr, char *buf) in sz_applied_show()
[all …]
/linux/drivers/infiniband/sw/rxe/
H A Drxe_av.c10 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av) in rxe_init_av()
17 static int chk_attr(void *obj, struct rdma_ah_attr *attr, bool obj_is_ah) in chk_attr()
63 int rxe_av_chk_attr(struct rxe_qp *qp, struct rdma_ah_attr *attr) in rxe_av_chk_attr()
68 int rxe_ah_chk_attr(struct rxe_ah *ah, struct rdma_ah_attr *attr) in rxe_ah_chk_attr()
74 struct rdma_ah_attr *attr) in rxe_av_from_attr()
87 void rxe_av_to_attr(struct rxe_av *av, struct rdma_ah_attr *attr) in rxe_av_to_attr()
103 void rxe_av_fill_ip_info(struct rxe_av *av, struct rdma_ah_attr *attr) in rxe_av_fill_ip_info()
/linux/drivers/usb/typec/
H A Dclass.c101 static ssize_t id_header_show(struct device *dev, struct device_attribute *attr, in id_header_show()
110 static ssize_t cert_stat_show(struct device *dev, struct device_attribute *attr, in cert_stat_show()
119 static ssize_t product_show(struct device *dev, struct device_attribute *attr, in product_show()
128 static ssize_t product_type_vdo1_show(struct device *dev, struct device_attribute *attr, in product_type_vdo1_show()
137 static ssize_t product_type_vdo2_show(struct device *dev, struct device_attribute *attr, in product_type_vdo2_show()
146 static ssize_t product_type_vdo3_show(struct device *dev, struct device_attribute *attr, in product_type_vdo3_show()
206 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show()
343 vdo_show(struct device *dev, struct device_attribute *attr, char *buf) in vdo_show()
352 description_show(struct device *dev, struct device_attribute *attr, char *buf) in description_show()
361 active_show(struct device *dev, struct device_attribute *attr, char *buf) in active_show()
[all …]
/linux/drivers/s390/scsi/
H A Dzfcp_sysfs.c92 struct device_attribute *attr, in zfcp_sysfs_port_failed_show()
104 struct device_attribute *attr, in zfcp_sysfs_port_failed_store()
124 struct device_attribute *attr, in zfcp_sysfs_unit_failed_show()
142 struct device_attribute *attr, in zfcp_sysfs_unit_failed_store()
168 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_show()
188 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_store()
214 struct device_attribute *attr, in zfcp_sysfs_port_rescan_store()
299 struct device_attribute *attr, in zfcp_sysfs_port_remove_store()
343 struct device_attribute *attr, char *buf) in zfcp_sysfs_adapter_diag_max_age_show()
359 struct device_attribute *attr, in zfcp_sysfs_adapter_diag_max_age_store()
[all …]
/linux/drivers/hwmon/
H A Dvt8231.c247 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
257 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show()
267 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show()
277 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store()
297 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store()
319 struct device_attribute *attr, char *buf) in in5_input_show()
327 static ssize_t in5_min_show(struct device *dev, struct device_attribute *attr, in in5_min_show()
336 static ssize_t in5_max_show(struct device *dev, struct device_attribute *attr, in in5_max_show()
346 struct device_attribute *attr, const char *buf, in in5_min_store()
366 struct device_attribute *attr, const char *buf, in in5_max_store()
[all …]
H A Dgl520sm.c190 struct device_attribute *attr, char *buf) in cpu0_vid_show()
206 struct device_attribute *attr, char *buf) in in_input_show()
218 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show()
231 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show()
244 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store()
278 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store()
339 struct device_attribute *attr, char *buf) in fan_input_show()
348 static ssize_t fan_min_show(struct device *dev, struct device_attribute *attr, in fan_min_show()
358 static ssize_t fan_div_show(struct device *dev, struct device_attribute *attr, in fan_div_show()
368 struct device_attribute *attr, char *buf) in fan1_off_show()
[all …]
H A Dasc7621.c164 static ssize_t show_u8(struct device *dev, struct device_attribute *attr, in show_u8()
172 static ssize_t store_u8(struct device *dev, struct device_attribute *attr, in store_u8()
194 struct device_attribute *attr, char *buf) in show_bitmask()
204 struct device_attribute *attr, in store_bitmask()
234 struct device_attribute *attr, char *buf) in show_fan16()
249 struct device_attribute *attr, const char *buf, in store_fan16()
294 static ssize_t show_in10(struct device *dev, struct device_attribute *attr, in show_in10()
312 static ssize_t show_in8(struct device *dev, struct device_attribute *attr, in show_in8()
323 static ssize_t store_in8(struct device *dev, struct device_attribute *attr, in store_in8()
348 struct device_attribute *attr, char *buf) in show_temp8()
[all …]
/linux/lib/
H A Dtest_firmware.c250 struct device_attribute *attr, in reset_store()
278 struct device_attribute *attr, in config_show()
335 struct device_attribute *attr, in config_name_store()
453 struct device_attribute *attr, in config_name_show()
461 struct device_attribute *attr, in config_upload_name_store()
479 struct device_attribute *attr, in config_upload_name_show()
487 struct device_attribute *attr, in config_num_requests_store()
509 struct device_attribute *attr, in config_num_requests_show()
517 struct device_attribute *attr, in config_into_buf_store()
526 struct device_attribute *attr, in config_into_buf_show()
[all …]
/linux/drivers/input/tablet/
H A Daiptek.c1034 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletSize()
1062 static ssize_t show_tabletPointerMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletPointerMode()
1071 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in store_tabletPointerMode()
1098 static ssize_t show_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, char *b… in show_tabletCoordinateMode()
1107 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size… in store_tabletCoordinateMode()
1139 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletToolMode()
1148 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t cou… in store_tabletToolMode()
1168 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletXtilt()
1180 store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in store_tabletXtilt()
1209 static ssize_t show_tabletYtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletYtilt()
[all …]
/linux/drivers/thermal/
H A Dthermal_sysfs.c28 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show()
36 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
53 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show()
66 mode_store(struct device *dev, struct device_attribute *attr, in mode_store()
95 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show()
104 trip_point_temp_store(struct device *dev, struct device_attribute *attr, in trip_point_temp_store()
140 trip_point_temp_show(struct device *dev, struct device_attribute *attr, in trip_point_temp_show()
149 trip_point_hyst_store(struct device *dev, struct device_attribute *attr, in trip_point_hyst_store()
186 trip_point_hyst_show(struct device *dev, struct device_attribute *attr, in trip_point_hyst_show()
195 policy_store(struct device *dev, struct device_attribute *attr, in policy_store()
[all …]
/linux/drivers/acpi/
H A Ddevice_sysfs.c36 struct attribute attr; member
62 struct attribute *attr, char *buf) in acpi_data_node_attr_show()
333 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) in modalias_show()
340 struct device_attribute *attr, char *buf) in real_power_state_show()
356 struct device_attribute *attr, char *buf) in power_state_show()
366 eject_store(struct device *d, struct device_attribute *attr, in eject_store()
398 hid_show(struct device *dev, struct device_attribute *attr, char *buf) in hid_show()
407 struct device_attribute *attr, char *buf) in uid_show()
416 struct device_attribute *attr, char *buf) in adr_show()
428 struct device_attribute *attr, char *buf) in path_show()
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_ct.c2490 lpfc_fdmi_set_attr_u32(void *attr, uint16_t attrtype, uint32_t attrval) in lpfc_fdmi_set_attr_u32()
2503 lpfc_fdmi_set_attr_wwn(void *attr, uint16_t attrtype, struct lpfc_name *wwn) in lpfc_fdmi_set_attr_wwn()
2518 lpfc_fdmi_set_attr_fullwwn(void *attr, uint16_t attrtype, in lpfc_fdmi_set_attr_fullwwn()
2538 lpfc_fdmi_set_attr_string(void *attr, uint16_t attrtype, char *attrstring) in lpfc_fdmi_set_attr_string()
2568 lpfc_fdmi_set_attr_fc4types(void *attr, uint16_t attrtype, uint32_t typemask) in lpfc_fdmi_set_attr_fc4types()
2590 lpfc_fdmi_hba_attr_wwnn(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_wwnn()
2597 lpfc_fdmi_hba_attr_manufacturer(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_manufacturer()
2607 lpfc_fdmi_hba_attr_sn(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_sn()
2616 lpfc_fdmi_hba_attr_model(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_model()
2625 lpfc_fdmi_hba_attr_description(struct lpfc_vport *vport, void *attr) in lpfc_fdmi_hba_attr_description()
[all …]
/linux/drivers/fpga/
H A Ddfl-fme-error.c43 struct device_attribute *attr, char *buf) in pcie0_errors_show()
59 struct device_attribute *attr, in pcie0_errors_store()
88 struct device_attribute *attr, char *buf) in pcie1_errors_show()
104 struct device_attribute *attr, in pcie1_errors_store()
133 struct device_attribute *attr, char *buf) in nonfatal_errors_show()
146 struct device_attribute *attr, char *buf) in catfatal_errors_show()
159 struct device_attribute *attr, char *buf) in inject_errors_show()
176 struct device_attribute *attr, in inject_errors_store()
204 struct device_attribute *attr, char *buf) in fme_errors_show()
220 struct device_attribute *attr, in fme_errors_store()
[all …]
/linux/drivers/platform/x86/dell/
H A Dalienware-wmi-base.c203 static ssize_t zone_show(struct device *dev, struct device_attribute *attr, in zone_show()
214 static ssize_t zone_store(struct device *dev, struct device_attribute *attr, in zone_store()
231 static ssize_t zone00_show(struct device *dev, struct device_attribute *attr, in zone00_show()
237 static ssize_t zone00_store(struct device *dev, struct device_attribute *attr, in zone00_store()
245 static ssize_t zone01_show(struct device *dev, struct device_attribute *attr, in zone01_show()
251 static ssize_t zone01_store(struct device *dev, struct device_attribute *attr, in zone01_store()
259 static ssize_t zone02_show(struct device *dev, struct device_attribute *attr, in zone02_show()
265 static ssize_t zone02_store(struct device *dev, struct device_attribute *attr, in zone02_store()
273 static ssize_t zone03_show(struct device *dev, struct device_attribute *attr, in zone03_show()
279 static ssize_t zone03_store(struct device *dev, struct device_attribute *attr, in zone03_store()
[all …]
/linux/drivers/infiniband/core/
H A Dsysfs.c50 struct ib_port_attribute attr; member
77 struct device_attribute attr; member
86 struct ib_port_attribute attr; member
106 struct attribute *attr, char *buf) in port_attr_show()
119 struct attribute *attr, in port_attr_store()
147 struct device_attribute *attr, char *buf) in hw_stat_device_show()
158 struct device_attribute *attr, in hw_stat_device_store()
171 struct ib_port_attribute *attr, char *buf) in hw_stat_port_show()
183 struct ib_port_attribute *attr, in hw_stat_port_store()
196 struct attribute *attr, char *buf) in gid_attr_show()
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.c236 nouveau_chip_is_visible(const void *data, u32 attr, int channel) in nouveau_chip_is_visible()
247 nouveau_power_is_visible(const void *data, u32 attr, int channel) in nouveau_power_is_visible()
272 nouveau_temp_is_visible(const void *data, u32 attr, int channel) in nouveau_temp_is_visible()
296 nouveau_pwm_is_visible(const void *data, u32 attr, int channel) in nouveau_pwm_is_visible()
315 nouveau_input_is_visible(const void *data, u32 attr, int channel) in nouveau_input_is_visible()
335 nouveau_fan_is_visible(const void *data, u32 attr, int channel) in nouveau_fan_is_visible()
352 nouveau_chip_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_chip_read()
366 nouveau_temp_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_temp_read()
415 nouveau_fan_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_fan_read()
438 nouveau_in_read(struct device *dev, u32 attr, int channel, long *val) in nouveau_in_read()
[all …]
/linux/sound/hda/core/
H A Dsysfs.c49 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
88 struct attribute attr; member
109 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show()
125 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store()
162 struct widget_attribute *attr, char *buf) in caps_show()
168 struct widget_attribute *attr, char *buf) in pin_caps_show()
177 struct widget_attribute *attr, char *buf) in pin_cfg_show()
202 struct widget_attribute *attr, char *buf) in pcm_caps_show()
211 struct widget_attribute *attr, char *buf) in pcm_formats_show()
220 struct widget_attribute *attr, char *buf) in amp_in_caps_show()
[all …]
/linux/drivers/vfio/mdev/
H A Dmdev_sysfs.c18 struct attribute attr; member
34 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_show() local
47 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_store() local
62 struct mdev_type_attribute *attr, const char *buf, in create_store()
90 struct mdev_type_attribute *attr, char *buf) in device_api_show()
97 struct mdev_type_attribute *attr, char *buf) in name_show()
106 struct mdev_type_attribute *attr, in available_instances_show()
119 struct mdev_type_attribute *attr, in description_show()
136 struct attribute *attr, int n) in mdev_types_core_is_visible()
240 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
/linux/drivers/firmware/
H A Dstratix10-rsu.c373 struct device_attribute *attr, char *buf) in current_image_show()
384 struct device_attribute *attr, char *buf) in fail_image_show()
394 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
405 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
417 struct device_attribute *attr, char *buf) in error_location_show()
428 struct device_attribute *attr, char *buf) in error_details_show()
439 struct device_attribute *attr, char *buf) in retry_counter_show()
450 struct device_attribute *attr, char *buf) in max_retry_show()
462 struct device_attribute *attr, char *buf) in dcmf0_show()
473 struct device_attribute *attr, char *buf) in dcmf1_show()
[all …]
/linux/drivers/power/supply/
H A Dpower_supply_hwmon.c22 static int power_supply_hwmon_in_to_property(u32 attr) in power_supply_hwmon_in_to_property()
38 static int power_supply_hwmon_curr_to_property(u32 attr) in power_supply_hwmon_curr_to_property()
52 static int power_supply_hwmon_power_to_property(u32 attr) in power_supply_hwmon_power_to_property()
64 static int power_supply_hwmon_temp_to_property(u32 attr, int channel) in power_supply_hwmon_temp_to_property()
99 u32 attr, int channel) in power_supply_hwmon_to_property()
116 u32 attr) in power_supply_hwmon_is_a_label()
155 u32 attr) in power_supply_hwmon_is_writable()
175 u32 attr, int channel) in power_supply_hwmon_is_visible()
200 u32 attr, int channel, in power_supply_hwmon_read_string()
222 u32 attr, int channel, long *val) in power_supply_hwmon_read()
[all …]
/linux/drivers/staging/greybus/
H A Daudio_manager_module.c22 struct attribute attr; member
32 struct attribute *attr, char *buf) in gb_audio_module_attr_show()
47 struct attribute *attr, in gb_audio_module_attr_store()
77 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_name_show()
86 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_vid_show()
95 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_pid_show()
104 struct gb_audio_manager_module_attribute *attr, in gb_audio_module_intf_id_show()
115 struct gb_audio_manager_module_attribute *attr, in gb_audio_module_ip_devices_show()
126 struct gb_audio_manager_module_attribute *attr, in gb_audio_module_op_devices_show()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_tlv.c38 u32 *attr; in fm10k_tlv_attr_put_null_string() local
84 static s32 fm10k_tlv_attr_get_null_string(u32 *attr, unsigned char *string) in fm10k_tlv_attr_get_null_string()
116 u32 *attr; in fm10k_tlv_attr_put_mac_vlan() local
149 s32 fm10k_tlv_attr_get_mac_vlan(u32 *attr, u8 *mac_addr, u16 *vlan) in fm10k_tlv_attr_get_mac_vlan()
200 u32 *attr; in fm10k_tlv_attr_put_value() local
238 s32 fm10k_tlv_attr_get_value(u32 *attr, void *value, u32 len) in fm10k_tlv_attr_get_value()
274 u32 *attr; in fm10k_tlv_attr_put_le_struct() local
309 s32 fm10k_tlv_attr_get_le_struct(u32 *attr, void *le_struct, u32 len) in fm10k_tlv_attr_get_le_struct()
342 u32 *attr; in fm10k_tlv_attr_nest_start() local
367 u32 *attr; in fm10k_tlv_attr_nest_stop() local
[all …]
/linux/drivers/video/backlight/
H A Dadp5520_bl.c169 struct device_attribute *attr, char *buf) in adp5520_bl_dark_max_show()
175 struct device_attribute *attr, in adp5520_bl_dark_max_store()
184 struct device_attribute *attr, char *buf) in adp5520_bl_office_max_show()
190 struct device_attribute *attr, in adp5520_bl_office_max_store()
199 struct device_attribute *attr, char *buf) in adp5520_bl_daylight_max_show()
205 struct device_attribute *attr, in adp5520_bl_daylight_max_store()
221 struct device_attribute *attr, char *buf) in adp5520_bl_dark_dim_show()
227 struct device_attribute *attr, in adp5520_bl_dark_dim_store()
236 struct device_attribute *attr, char *buf) in adp5520_bl_office_dim_show()
242 struct device_attribute *attr, in adp5520_bl_office_dim_store()
[all …]
/linux/drivers/pps/
H A Dsysfs.c18 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, in assert_show()
32 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, in clear_show()
46 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show()
55 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, in echo_show()
64 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
73 static ssize_t path_show(struct device *dev, struct device_attribute *attr, in path_show()
/linux/drivers/ptp/
H A Dptp_sysfs.c14 struct device_attribute *attr, char *page) in clock_name_show()
22 struct device_attribute *attr, in max_phase_adjustment_show()
48 struct device_attribute *attr, in extts_enable_store()
74 struct device_attribute *attr, char *page) in extts_fifo_show()
112 struct device_attribute *attr, in period_store()
140 struct device_attribute *attr, in pps_enable_store()
188 struct device_attribute *attr, char *page) in n_vclocks_show()
204 struct device_attribute *attr, in n_vclocks_store()
267 struct device_attribute *attr, char *page) in max_vclocks_show()
278 struct device_attribute *attr, in max_vclocks_store()
[all …]

12345678910>>...92