Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c19 static struct intel_engine_cs *kobj_to_engine(struct kobject *kobj) in kobj_to_engine()
25 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()
123 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
134 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
143 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
180 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
191 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
[all …]
/drivers/platform/x86/
Dthink-lmi.c133 #define to_tlmi_pwd_setting(kobj) container_of(kobj, struct tlmi_pwd_setting, kobj) argument
134 #define to_tlmi_attr_setting(kobj) container_of(kobj, struct tlmi_attr_setting, kobj) argument
311 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
321 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
343 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
390 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
400 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
409 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
416 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
424 static ssize_t encoding_store(struct kobject *kobj, in encoding_store()
[all …]
Duv_sysfs.c113 struct kobject kobj; member
179 static void hub_release(struct kobject *kobj) in hub_release()
186 static ssize_t hub_type_show(struct kobject *kobj, struct attribute *attr, in hub_type_show()
298 struct kobject kobj; member
331 static void uv_port_release(struct kobject *kobj) in uv_port_release()
338 static ssize_t uv_port_type_show(struct kobject *kobj, struct attribute *attr, in uv_port_type_show()
449 struct kobject kobj; member
501 static void uv_pci_top_release(struct kobject *kobj) in uv_pci_top_release()
511 static ssize_t pci_top_type_show(struct kobject *kobj, in pci_top_type_show()
723 static ssize_t partition_id_show(struct kobject *kobj, in partition_id_show()
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c19 static void rtrs_clt_path_release(struct kobject *kobj) in rtrs_clt_path_release()
33 static void rtrs_clt_path_stats_release(struct kobject *kobj) in rtrs_clt_path_stats_release()
197 static ssize_t rtrs_clt_state_show(struct kobject *kobj, in rtrs_clt_state_show()
212 static ssize_t rtrs_clt_reconnect_show(struct kobject *kobj, in rtrs_clt_reconnect_show()
218 static ssize_t rtrs_clt_reconnect_store(struct kobject *kobj, in rtrs_clt_reconnect_store()
242 static ssize_t rtrs_clt_disconnect_show(struct kobject *kobj, in rtrs_clt_disconnect_show()
248 static ssize_t rtrs_clt_disconnect_store(struct kobject *kobj, in rtrs_clt_disconnect_store()
269 static ssize_t rtrs_clt_remove_path_show(struct kobject *kobj, in rtrs_clt_remove_path_show()
275 static ssize_t rtrs_clt_remove_path_store(struct kobject *kobj, in rtrs_clt_remove_path_store()
327 static ssize_t rtrs_clt_hca_port_show(struct kobject *kobj, in rtrs_clt_hca_port_show()
[all …]
Drtrs-srv-sysfs.c16 static void rtrs_srv_release(struct kobject *kobj) in rtrs_srv_release()
29 static ssize_t rtrs_srv_disconnect_show(struct kobject *kobj, in rtrs_srv_disconnect_show()
35 static ssize_t rtrs_srv_disconnect_store(struct kobject *kobj, in rtrs_srv_disconnect_store()
66 static ssize_t rtrs_srv_hca_port_show(struct kobject *kobj, in rtrs_srv_hca_port_show()
82 static ssize_t rtrs_srv_hca_name_show(struct kobject *kobj, in rtrs_srv_hca_name_show()
96 static ssize_t rtrs_srv_src_addr_show(struct kobject *kobj, in rtrs_srv_src_addr_show()
112 static ssize_t rtrs_srv_dst_addr_show(struct kobject *kobj, in rtrs_srv_dst_addr_show()
217 static void rtrs_srv_path_stats_release(struct kobject *kobj) in rtrs_srv_path_stats_release()
/drivers/parisc/
Dpdc_stable.c93 struct kobject kobj; member
435 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
455 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store()
515 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read()
535 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
560 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
570 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
582 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
607 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
627 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read()
[all …]
/drivers/block/rnbd/
Drnbd-clt-sysfs.c223 static ssize_t state_show(struct kobject *kobj, in state_show()
248 static ssize_t nr_poll_queues_show(struct kobject *kobj, in nr_poll_queues_show()
261 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
274 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
287 static ssize_t rnbd_clt_unmap_dev_show(struct kobject *kobj, in rnbd_clt_unmap_dev_show()
294 static ssize_t rnbd_clt_unmap_dev_store(struct kobject *kobj, in rnbd_clt_unmap_dev_store()
357 static ssize_t rnbd_clt_resize_dev_show(struct kobject *kobj, in rnbd_clt_resize_dev_show()
365 static ssize_t rnbd_clt_resize_dev_store(struct kobject *kobj, in rnbd_clt_resize_dev_store()
390 static ssize_t rnbd_clt_remap_dev_show(struct kobject *kobj, in rnbd_clt_remap_dev_show()
396 static ssize_t rnbd_clt_remap_dev_store(struct kobject *kobj, in rnbd_clt_remap_dev_store()
[all …]
Drnbd-srv-sysfs.c27 static void rnbd_srv_dev_release(struct kobject *kobj) in rnbd_srv_dev_release()
86 static ssize_t read_only_show(struct kobject *kobj, struct kobj_attribute *attr, in read_only_show()
100 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
115 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
128 static ssize_t rnbd_srv_dev_session_force_close_show(struct kobject *kobj, in rnbd_srv_dev_session_force_close_show()
135 static ssize_t rnbd_srv_dev_session_force_close_store(struct kobject *kobj, in rnbd_srv_dev_session_force_close_store()
181 static void rnbd_srv_sess_dev_release(struct kobject *kobj) in rnbd_srv_sess_dev_release()
/drivers/cpuidle/
Dsysfs.c149 struct kobject kobj; member
152 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device()
160 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
175 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
195 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release()
343 struct kobject kobj; member
377 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group()
389 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group()
395 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group()
396 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group()
[all …]
/drivers/w1/slaves/
Dw1_ds2408.c67 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
79 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read()
92 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read()
105 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read()
119 struct kobject *kobj, in cond_search_polarity_read()
129 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read()
162 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
212 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write()
242 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
Dw1_ds2438.c292 static ssize_t iad_write(struct file *filp, struct kobject *kobj, in iad_write()
314 static ssize_t iad_read(struct file *filp, struct kobject *kobj, in iad_read()
335 static ssize_t page0_read(struct file *filp, struct kobject *kobj, in page0_read()
365 static ssize_t page1_read(struct file *filp, struct kobject *kobj, in page1_read()
395 static ssize_t offset_write(struct file *filp, struct kobject *kobj, in offset_write()
414 static ssize_t temperature_read(struct file *filp, struct kobject *kobj, in temperature_read()
435 static ssize_t vad_read(struct file *filp, struct kobject *kobj, in vad_read()
456 static ssize_t vdd_read(struct file *filp, struct kobject *kobj, in vdd_read()
/drivers/staging/greybus/
Daudio_manager_sysfs.c14 static ssize_t manager_sysfs_add_store(struct kobject *kobj, in manager_sysfs_add_store()
39 static ssize_t manager_sysfs_remove_store(struct kobject *kobj, in manager_sysfs_remove_store()
60 static ssize_t manager_sysfs_dump_store(struct kobject *kobj, in manager_sysfs_dump_store()
84 static void manager_sysfs_init_attribute(struct kobject *kobj, in manager_sysfs_init_attribute()
96 void gb_audio_manager_sysfs_init(struct kobject *kobj) in gb_audio_manager_sysfs_init()
/drivers/accessibility/speakup/
Dkobjects.c29 static ssize_t chars_chartab_show(struct kobject *kobj, in chars_chartab_show()
109 static ssize_t chars_chartab_store(struct kobject *kobj, in chars_chartab_store()
229 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
265 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
332 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
371 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
386 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
412 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store()
443 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
459 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/drivers/s390/char/
Dsclp_cpi_sys.c220 static ssize_t system_name_show(struct kobject *kobj, in system_name_show()
231 static ssize_t system_name_store(struct kobject *kobj, in system_name_store()
252 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show()
263 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store()
284 static ssize_t system_type_show(struct kobject *kobj, in system_type_show()
295 static ssize_t system_type_store(struct kobject *kobj, in system_type_store()
316 static ssize_t system_level_show(struct kobject *kobj, in system_level_show()
327 static ssize_t system_level_store(struct kobject *kobj, in system_level_store()
353 static ssize_t set_store(struct kobject *kobj, in set_store()
/drivers/edac/
Dedac_device_sysfs.c117 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj, in edac_dev_ctl_info_show()
129 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj, in edac_dev_ctl_info_store()
201 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release()
325 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
346 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
358 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
414 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
422 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
431 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
448 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
/drivers/pci/
Dpci-sysfs.c665 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
742 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
814 static umode_t pci_dev_config_attr_is_visible(struct kobject *kobj, in pci_dev_config_attr_is_visible()
844 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
869 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
893 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
913 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1037 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1061 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
1068 static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_wc()
[all …]
/drivers/platform/x86/dell/dell-wmi-sysman/
Dpassobj-attributes.c15 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
40 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
71 static ssize_t new_password_store(struct kobject *kobj, in new_password_store()
105 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
113 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show()
Dsysman.c145 static ssize_t reset_bios_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in reset_bios_show()
167 static ssize_t reset_bios_store(struct kobject *kobj, in reset_bios_store()
195 static ssize_t pending_reboot_show(struct kobject *kobj, struct kobj_attribute *attr, in pending_reboot_show()
224 static ssize_t wmi_sysman_attr_show(struct kobject *kobj, struct attribute *attr, in wmi_sysman_attr_show()
236 static ssize_t wmi_sysman_attr_store(struct kobject *kobj, struct attribute *attr, in wmi_sysman_attr_store()
253 static void attr_name_release(struct kobject *kobj) in attr_name_release()
/drivers/firmware/efi/
Druntime-map.c18 struct kobject kobj; /* kobject for each entry */ member
51 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry()
56 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
87 static void map_release(struct kobject *kobj) in map_release()
104 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr, in add_sysfs_runtime_map_entry()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c267 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_crb()
284 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb()
313 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem()
335 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem()
399 struct kobject *kobj, in qlcnic_sysfs_write_pm_config()
449 struct kobject *kobj, in qlcnic_sysfs_read_pm_config()
542 struct kobject *kobj, in qlcnic_sysfs_write_esw_config()
626 struct kobject *kobj, in qlcnic_sysfs_read_esw_config()
678 struct kobject *kobj, in qlcnic_sysfs_write_npar_config()
725 struct kobject *kobj, in qlcnic_sysfs_read_npar_config()
[all …]
/drivers/pci/hotplug/
Drpadlpar_sysfs.c27 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store()
50 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show()
56 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store()
80 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show()
/drivers/vfio/mdev/
Dmdev_sysfs.c21 static ssize_t mdev_type_attr_show(struct kobject *kobj, in mdev_type_attr_show()
33 static ssize_t mdev_type_attr_store(struct kobject *kobj, in mdev_type_attr_store()
80 static void mdev_type_release(struct kobject *kobj) in mdev_type_release()
263 struct kobject *kobj = &mdev->dev.kobj; in mdev_create_sysfs_files() local
289 struct kobject *kobj = &mdev->dev.kobj; in mdev_remove_sysfs_files() local
/drivers/s390/crypto/
Dpkey_api.c1635 struct kobject *kobj, in protkey_aes_128_read()
1645 struct kobject *kobj, in protkey_aes_192_read()
1655 struct kobject *kobj, in protkey_aes_256_read()
1665 struct kobject *kobj, in protkey_aes_128_xts_read()
1675 struct kobject *kobj, in protkey_aes_256_xts_read()
1739 struct kobject *kobj, in ccadata_aes_128_read()
1749 struct kobject *kobj, in ccadata_aes_192_read()
1759 struct kobject *kobj, in ccadata_aes_256_read()
1769 struct kobject *kobj, in ccadata_aes_128_xts_read()
1779 struct kobject *kobj, in ccadata_aes_256_xts_read()
[all …]
/drivers/scsi/esas2r/
Desas2r_main.c60 static struct esas2r_adapter *esas2r_adapter_from_kobj(struct kobject *kobj) in esas2r_adapter_from_kobj()
68 static ssize_t read_fw(struct file *file, struct kobject *kobj, in read_fw()
77 static ssize_t write_fw(struct file *file, struct kobject *kobj, in write_fw()
86 static ssize_t read_fs(struct file *file, struct kobject *kobj, in read_fs()
95 static ssize_t write_fs(struct file *file, struct kobject *kobj, in write_fs()
111 static ssize_t read_vda(struct file *file, struct kobject *kobj, in read_vda()
120 static ssize_t write_vda(struct file *file, struct kobject *kobj, in write_vda()
129 static ssize_t read_live_nvram(struct file *file, struct kobject *kobj, in read_live_nvram()
140 static ssize_t write_live_nvram(struct file *file, struct kobject *kobj, in write_live_nvram()
160 static ssize_t read_default_nvram(struct file *file, struct kobject *kobj, in read_default_nvram()
[all …]
/drivers/scsi/
Discsi_boot_sysfs.c32 static ssize_t iscsi_boot_show_attribute(struct kobject *kobj, in iscsi_boot_show_attribute()
54 static void iscsi_boot_kobj_release(struct kobject *kobj) in iscsi_boot_kobj_release()
107 static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, in iscsi_boot_tgt_attr_is_visible()
190 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible()
265 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible()
314 static umode_t iscsi_boot_acpitbl_attr_is_visible(struct kobject *kobj, in iscsi_boot_acpitbl_attr_is_visible()

12345678910>>...13