Home
last modified time | relevance | path

Searched defs:attr (Results 26 – 50 of 2502) sorted by relevance

12345678910>>...101

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c25 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
34 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show()
43 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show()
52 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show()
121 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
132 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
141 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
179 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
190 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
201 timeslice_store(struct kobject *kobj, struct kobj_attribute *attr, in timeslice_store()
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c80 struct device_attribute *attr, in enable_show()
100 struct device_attribute *attr, in enable_store()
131 struct device_attribute *attr, in powered_show()
146 struct device_attribute *attr, char *buf) in ctmid_show()
155 struct device_attribute *attr, in nr_trigger_cons_show()
177 struct device_attribute *attr, char *buf) in coresight_cti_reg_show()
194 struct device_attribute *attr, in coresight_cti_reg_store()
330 struct device_attribute *attr, in inout_sel_show()
341 struct device_attribute *attr, in inout_sel_store()
360 struct device_attribute *attr, in inen_show()
[all …]
/openbmc/linux/drivers/s390/crypto/
H A Dap_card.c23 struct device_attribute *attr, char *buf) in hwtype_show()
33 struct device_attribute *attr, char *buf) in raw_hwtype_show()
42 static ssize_t depth_show(struct device *dev, struct device_attribute *attr, in depth_show()
53 struct device_attribute *attr, char *buf) in ap_functions_show()
63 struct device_attribute *attr, in request_count_show()
77 struct device_attribute *attr, in request_count_store()
97 struct device_attribute *attr, char *buf) in requestq_count_show()
116 struct device_attribute *attr, char *buf) in pendingq_count_show()
135 struct device_attribute *attr, char *buf) in modalias_show()
143 struct device_attribute *attr, char *buf) in config_show()
[all …]
/openbmc/linux/drivers/misc/genwqe/
H A Dcard_sysfs.c39 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
49 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show()
60 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
73 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
85 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, in tempsens_show()
97 struct device_attribute *attr, in freerunning_timer_show()
109 struct device_attribute *attr, in queue_working_time_show()
121 struct device_attribute *attr, in base_clock_show()
149 struct device_attribute *attr, char *buf) in curr_bitstream_show()
165 struct device_attribute *attr, char *buf) in next_bitstream_show()
[all …]
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c53 struct ib_port_attribute *attr, char *buf) in hrtbt_enable_show()
62 struct ib_port_attribute *attr, in hrtbt_enable_store()
89 struct ib_port_attribute *attr, const char *buf, in loopback_store()
105 struct ib_port_attribute *attr, in led_override_store()
125 struct ib_port_attribute *attr, char *buf) in status_show()
156 struct ib_port_attribute *attr, char *buf) in status_str_show()
286 struct bin_attribute *attr, int n) in qib_ccmgta_is_bin_visible()
304 struct ib_port_attribute attr; member
309 struct ib_port_attribute *attr, char *buf) in sl2vl_attr_show()
372 struct ib_port_attribute attr; member
[all …]
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c50 struct device_attribute *attr, in max_reconnect_attempts_show()
61 struct device_attribute *attr, in max_reconnect_attempts_store()
92 struct device_attribute *attr, in mpath_policy_show()
115 struct device_attribute *attr, in mpath_policy_store()
157 struct device_attribute *attr, char *page) in add_path_show()
165 struct device_attribute *attr, in add_path_store()
199 struct kobj_attribute *attr, char *page) in rtrs_clt_state_show()
214 struct kobj_attribute *attr, char *buf) in rtrs_clt_reconnect_show()
220 struct kobj_attribute *attr, in rtrs_clt_reconnect_store()
244 struct kobj_attribute *attr, char *buf) in rtrs_clt_disconnect_show()
[all …]
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya_hwmgr.c38 static ssize_t mme_clk_show(struct device *dev, struct device_attribute *attr, in mme_clk_show()
55 static ssize_t mme_clk_store(struct device *dev, struct device_attribute *attr, in mme_clk_store()
87 static ssize_t tpc_clk_show(struct device *dev, struct device_attribute *attr, in tpc_clk_show()
104 static ssize_t tpc_clk_store(struct device *dev, struct device_attribute *attr, in tpc_clk_store()
136 static ssize_t ic_clk_show(struct device *dev, struct device_attribute *attr, in ic_clk_show()
153 static ssize_t ic_clk_store(struct device *dev, struct device_attribute *attr, in ic_clk_store()
186 struct device_attribute *attr, char *buf) in mme_clk_curr_show()
203 struct device_attribute *attr, char *buf) in tpc_clk_curr_show()
220 struct device_attribute *attr, char *buf) in ic_clk_curr_show()
237 struct device_attribute *attr, char *buf) in pm_mng_profile_show()
[all …]
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_ctl.c57 struct device_attribute *attr, char *buf) in pm8001_ctl_mpi_interface_rev_show()
83 struct device_attribute *attr, char *buf) in controller_fatal_error_show()
103 struct device_attribute *attr, char *buf) in pm8001_ctl_fw_version_show()
134 struct device_attribute *attr, char *buf) in pm8001_ctl_ila_version_show()
160 struct device_attribute *attr, char *buf) in pm8001_ctl_inactive_fw_version_show()
187 struct device_attribute *attr, char *buf) in pm8001_ctl_max_out_io_show()
211 struct device_attribute *attr, char *buf) in pm8001_ctl_max_devices_show()
236 struct device_attribute *attr, char *buf) in pm8001_ctl_max_sg_list_show()
279 struct device_attribute *attr, char *buf) in pm8001_ctl_sas_spec_support_show()
309 struct device_attribute *attr, char *buf) in pm8001_ctl_host_sas_address_show()
[all …]
/openbmc/linux/drivers/rtc/
H A Dsysfs.c25 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
33 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show()
47 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show()
61 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) in since_epoch_show()
79 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) in max_user_freq_show()
85 max_user_freq_store(struct device *dev, struct device_attribute *attr, in max_user_freq_store()
115 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) in hctosys_show()
128 wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf) in wakealarm_show()
152 wakealarm_store(struct device *dev, struct device_attribute *attr, in wakealarm_store()
219 offset_show(struct device *dev, struct device_attribute *attr, char *buf) in offset_show()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Duv.c486 struct kobj_attribute *attr, char *buf) in uv_query_facilities()
499 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_ver()
508 struct kobj_attribute *attr, char *buf) in uv_query_supp_se_hdr_pcf()
517 struct kobj_attribute *attr, char *buf) in uv_query_dump_cpu_len()
526 struct kobj_attribute *attr, char *buf) in uv_query_dump_storage_state_len()
535 struct kobj_attribute *attr, char *buf) in uv_query_dump_finalize_len()
544 struct kobj_attribute *attr, char *buf) in uv_query_feature_indications()
553 struct kobj_attribute *attr, char *buf) in uv_query_max_guest_cpus()
562 struct kobj_attribute *attr, char *buf) in uv_query_max_guest_vms()
571 struct kobj_attribute *attr, char *buf) in uv_query_max_guest_addr()
[all …]
/openbmc/linux/drivers/staging/iio/addac/
H A Dadt7316.c222 struct device_attribute *attr, in adt7316_show_enabled()
252 struct device_attribute *attr, in adt7316_store_enabled()
277 struct device_attribute *attr, in adt7316_show_select_ex_temp()
290 struct device_attribute *attr, in adt7316_store_select_ex_temp()
321 struct device_attribute *attr, in adt7316_show_mode()
334 struct device_attribute *attr, in adt7316_store_mode()
362 struct device_attribute *attr, in adt7316_show_all_modes()
371 struct device_attribute *attr, in adt7316_show_ad_channel()
409 struct device_attribute *attr, in adt7316_store_ad_channel()
455 struct device_attribute *attr, in adt7316_show_all_ad_channels()
[all …]
/openbmc/linux/drivers/s390/net/
H A Dqeth_l2_sys.c13 struct device_attribute *attr, char *buf, in qeth_bridge_port_role_state_show()
64 struct device_attribute *attr, char *buf) in qeth_bridge_port_role_show()
75 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridge_port_role_store()
115 struct device_attribute *attr, char *buf) in qeth_bridge_port_state_show()
129 struct device_attribute *attr, char *buf) in qeth_bridgeport_hostnotification_show()
143 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_hostnotification_store()
177 struct device_attribute *attr, char *buf) in qeth_bridgeport_reflect_show()
197 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_reflect_store()
275 struct device_attribute *attr, char *buf) in qeth_vnicc_timeout_show()
291 struct device_attribute *attr, in qeth_vnicc_timeout_store()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dbpf.c72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd()
87 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts) in sys_bpf_prog_load()
114 union bpf_attr attr; in probe_memcg_account() local
173 union bpf_attr attr; in bpf_map_create() local
241 union bpf_attr attr; in bpf_prog_load() local
384 union bpf_attr attr; in bpf_map_update_elem() local
400 union bpf_attr attr; in bpf_map_lookup_elem() local
415 union bpf_attr attr; in bpf_map_lookup_elem_flags() local
431 union bpf_attr attr; in bpf_map_lookup_and_delete_elem() local
[all …]
/openbmc/linux/drivers/pci/
H A Dpci-sysfs.c56 struct device_attribute *attr, in irq_show()
75 struct device_attribute *attr, in broken_parity_status_show()
83 struct device_attribute *attr, in broken_parity_status_store()
99 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu()
115 struct device_attribute *attr, char *buf) in local_cpus_show()
122 struct device_attribute *attr, char *buf) in local_cpulist_show()
132 struct device_attribute *attr, char *buf) in cpuaffinity_show()
141 struct device_attribute *attr, char *buf) in cpulistaffinity_show()
150 struct device_attribute *attr, char *buf) in power_state_show()
159 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show()
[all …]
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-kvm-device.c91 static int kvm_vgic_addr(struct kvm *kvm, struct kvm_device_attr *attr, bool write) in kvm_vgic_addr()
209 struct kvm_device_attr *attr) in vgic_set_common_attr()
285 struct kvm_device_attr *attr) in vgic_get_common_attr()
337 int vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v2_parse_attr()
358 struct kvm_device_attr *attr, in vgic_v2_attr_regs_access()
416 struct kvm_device_attr *attr) in vgic_v2_set_attr()
428 struct kvm_device_attr *attr) in vgic_v2_get_attr()
440 struct kvm_device_attr *attr) in vgic_v2_has_attr()
473 int vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v3_parse_attr()
508 struct kvm_device_attr *attr, in vgic_v3_attr_regs_access()
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c87 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, in spu_show_temp()
138 struct device_attribute *attr, char *buf) in spu_show_throttle_end()
144 struct device_attribute *attr, char *buf) in spu_show_throttle_begin()
150 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop()
156 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end()
162 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin()
168 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop()
190 struct device_attribute *attr, char *buf) in ppe_show_temp0()
197 struct device_attribute *attr, char *buf) in ppe_show_temp1()
203 struct device_attribute *attr, char *buf) in ppe_show_throttle_end()
[all …]
/openbmc/linux/drivers/s390/block/
H A Ddasd_devmap.c968 static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr, in dasd_ff_show()
982 static ssize_t dasd_ff_store(struct device *dev, struct device_attribute *attr, in dasd_ff_store()
1002 dasd_ro_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_ro_show()
1025 dasd_ro_store(struct device *dev, struct device_attribute *attr, in dasd_ro_store()
1072 dasd_erplog_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_erplog_show()
1086 dasd_erplog_store(struct device *dev, struct device_attribute *attr, in dasd_erplog_store()
1107 dasd_use_diag_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_diag_show()
1121 dasd_use_diag_store(struct device *dev, struct device_attribute *attr, in dasd_use_diag_store()
1156 dasd_use_raw_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_raw_show()
1170 dasd_use_raw_store(struct device *dev, struct device_attribute *attr, in dasd_use_raw_store()
[all …]
/openbmc/linux/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()
150 struct device_attribute *attr, in firmware_store()
178 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
190 struct device_attribute *attr, in state_store()
213 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
222 static umode_t rproc_is_visible(struct kobject *kobj, struct attribute *attr, in rproc_is_visible()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dsysfs.c105 struct ib_port_attribute *attr, char *buf) in cc_prescan_show()
114 struct ib_port_attribute *attr, const char *buf, in cc_prescan_store()
142 struct ib_port_attribute attr; member
147 struct ib_port_attribute *attr, char *buf) in sc2vl_attr_show()
239 struct ib_port_attribute attr; member
244 struct ib_port_attribute *attr, char *buf) in sl2sc_attr_show()
338 struct ib_port_attribute attr; member
343 struct ib_port_attribute *attr, char *buf) in vl2mtu_attr_show()
406 static ssize_t hw_rev_show(struct device *device, struct device_attribute *attr, in hw_rev_show()
417 struct device_attribute *attr, char *buf) in board_id_show()
[all …]
/openbmc/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()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_attr.c1001 struct bin_attribute *attr; member
1072 struct device_attribute *attr, char *buf) in qla2x00_driver_version_show()
1079 struct device_attribute *attr, char *buf) in qla2x00_fw_version_show()
1090 qla2x00_serial_num_show(struct device *dev, struct device_attribute *attr, in qla2x00_serial_num_show()
1111 qla2x00_isp_name_show(struct device *dev, struct device_attribute *attr, in qla2x00_isp_name_show()
1120 qla2x00_isp_id_show(struct device *dev, struct device_attribute *attr, in qla2x00_isp_id_show()
1136 qla2x00_model_name_show(struct device *dev, struct device_attribute *attr, in qla2x00_model_name_show()
1145 qla2x00_model_desc_show(struct device *dev, struct device_attribute *attr, in qla2x00_model_desc_show()
1154 qla2x00_pci_info_show(struct device *dev, struct device_attribute *attr, in qla2x00_pci_info_show()
1166 qla2x00_link_state_show(struct device *dev, struct device_attribute *attr, in qla2x00_link_state_show()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_sysfs.c185 store_scan(struct device *dev, struct device_attribute *attr, in store_scan()
199 store_shost_state(struct device *dev, struct device_attribute *attr, in store_shost_state()
223 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) in show_shost_state()
255 show_shost_supported_mode(struct device *dev, struct device_attribute *attr, in show_shost_supported_mode()
272 struct device_attribute *attr, char *buf) in show_shost_active_mode()
295 store_host_reset(struct device *dev, struct device_attribute *attr, in store_host_reset()
322 struct device_attribute *attr, char *buf) in show_shost_eh_deadline()
332 store_shost_eh_deadline(struct device *dev, struct device_attribute *attr, in store_shost_eh_deadline()
382 show_host_busy(struct device *dev, struct device_attribute *attr, char *buf) in show_host_busy()
390 show_use_blk_mq(struct device *dev, struct device_attribute *attr, char *buf) in show_use_blk_mq()
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dthink-lmi.c390 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
401 struct kobj_attribute *attr, in current_password_store()
421 struct kobj_attribute *attr, in new_password_store()
508 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
518 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
527 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
534 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
543 struct kobj_attribute *attr, in encoding_store()
560 static ssize_t kbdlang_show(struct kobject *kobj, struct kobj_attribute *attr, in kbdlang_show()
569 struct kobj_attribute *attr, in kbdlang_store()
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhwmon.c57 static u32 fixup_attr_legacy_fw(u32 attr) in fixup_attr_legacy_fw()
70 static u32 fixup_attr_legacy_fw(u32 attr) in fixup_attr_legacy_fw()
243 u32 attr, int channel, long *val) in hl_read()
397 u32 attr, int channel, long val) in hl_write()
492 u32 attr, int channel) in hl_is_visible()
569 int sensor_index, u32 attr, long *value) in hl_get_temperature()
601 int sensor_index, u32 attr, long value) in hl_set_temperature()
626 int sensor_index, u32 attr, long *value) in hl_get_voltage()
655 int sensor_index, u32 attr, long *value) in hl_get_current()
684 int sensor_index, u32 attr, long *value) in hl_get_fan_speed()
[all …]
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c118 lpfc_cmf_info_show(struct device *dev, struct device_attribute *attr, in lpfc_cmf_info_show()
303 lpfc_drvr_version_show(struct device *dev, struct device_attribute *attr, in lpfc_drvr_version_show()
318 lpfc_enable_fip_show(struct device *dev, struct device_attribute *attr, in lpfc_enable_fip_show()
332 lpfc_nvme_info_show(struct device *dev, struct device_attribute *attr, in lpfc_nvme_info_show()
703 lpfc_scsi_stat_show(struct device *dev, struct device_attribute *attr, in lpfc_scsi_stat_show()
754 lpfc_bg_info_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_info_show()
774 lpfc_bg_guard_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_guard_err_show()
786 lpfc_bg_apptag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_apptag_err_show()
798 lpfc_bg_reftag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_reftag_err_show()
818 lpfc_info_show(struct device *dev, struct device_attribute *attr, in lpfc_info_show()
[all …]

12345678910>>...101