Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 25 of 311) 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()
127 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show()
138 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show()
147 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store()
184 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
195 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c19 static void rtrs_clt_sess_release(struct kobject *kobj) in rtrs_clt_sess_release()
33 static void rtrs_clt_sess_stats_release(struct kobject *kobj) in rtrs_clt_sess_stats_release()
180 static ssize_t rtrs_clt_state_show(struct kobject *kobj, in rtrs_clt_state_show()
195 static ssize_t rtrs_clt_reconnect_show(struct kobject *kobj, in rtrs_clt_reconnect_show()
203 static ssize_t rtrs_clt_reconnect_store(struct kobject *kobj, in rtrs_clt_reconnect_store()
227 static ssize_t rtrs_clt_disconnect_show(struct kobject *kobj, in rtrs_clt_disconnect_show()
235 static ssize_t rtrs_clt_disconnect_store(struct kobject *kobj, in rtrs_clt_disconnect_store()
259 static ssize_t rtrs_clt_remove_path_show(struct kobject *kobj, in rtrs_clt_remove_path_show()
267 static ssize_t rtrs_clt_remove_path_store(struct kobject *kobj, in rtrs_clt_remove_path_store()
319 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()
37 static ssize_t rtrs_srv_disconnect_store(struct kobject *kobj, in rtrs_srv_disconnect_store()
67 static ssize_t rtrs_srv_hca_port_show(struct kobject *kobj, in rtrs_srv_hca_port_show()
84 static ssize_t rtrs_srv_hca_name_show(struct kobject *kobj, in rtrs_srv_hca_name_show()
99 static ssize_t rtrs_srv_src_addr_show(struct kobject *kobj, in rtrs_srv_src_addr_show()
115 static ssize_t rtrs_srv_dst_addr_show(struct kobject *kobj, in rtrs_srv_dst_addr_show()
222 static void rtrs_srv_sess_stats_release(struct kobject *kobj) in rtrs_srv_sess_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/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/block/rnbd/
Drnbd-clt-sysfs.c206 static ssize_t state_show(struct kobject *kobj, in state_show()
231 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
244 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
258 static ssize_t rnbd_clt_unmap_dev_show(struct kobject *kobj, in rnbd_clt_unmap_dev_show()
265 static ssize_t rnbd_clt_unmap_dev_store(struct kobject *kobj, in rnbd_clt_unmap_dev_store()
328 static ssize_t rnbd_clt_resize_dev_show(struct kobject *kobj, in rnbd_clt_resize_dev_show()
337 static ssize_t rnbd_clt_resize_dev_store(struct kobject *kobj, in rnbd_clt_resize_dev_store()
362 static ssize_t rnbd_clt_remap_dev_show(struct kobject *kobj, in rnbd_clt_remap_dev_show()
369 static ssize_t rnbd_clt_remap_dev_store(struct kobject *kobj, in rnbd_clt_remap_dev_store()
404 static ssize_t session_show(struct kobject *kobj, struct kobj_attribute *attr, in session_show()
[all …]
Drnbd-srv-sysfs.c27 static void rnbd_srv_dev_release(struct kobject *kobj) in rnbd_srv_dev_release()
81 static ssize_t read_only_show(struct kobject *kobj, struct kobj_attribute *attr, in read_only_show()
95 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
110 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
143 static void rnbd_srv_sess_dev_release(struct kobject *kobj) in rnbd_srv_sess_dev_release()
/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.c255 static ssize_t iad_write(struct file *filp, struct kobject *kobj, in iad_write()
277 static ssize_t iad_read(struct file *filp, struct kobject *kobj, in iad_read()
298 static ssize_t page0_read(struct file *filp, struct kobject *kobj, in page0_read()
328 static ssize_t temperature_read(struct file *filp, struct kobject *kobj, in temperature_read()
349 static ssize_t vad_read(struct file *filp, struct kobject *kobj, in vad_read()
370 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/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/infiniband/hw/hfi1/
Dsysfs.c60 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin()
93 static void port_release(struct kobject *kobj) in port_release()
109 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin()
171 static ssize_t cc_attr_show(struct kobject *kobj, struct attribute *attr, in cc_attr_show()
182 static ssize_t cc_attr_store(struct kobject *kobj, struct attribute *attr, in cc_attr_store()
290 static ssize_t sc2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sc2vl_attr_show()
395 static ssize_t sl2sc_attr_show(struct kobject *kobj, struct attribute *attr, in sl2sc_attr_show()
469 static ssize_t vl2mtu_attr_show(struct kobject *kobj, struct attribute *attr, in vl2mtu_attr_show()
657 struct kobject *kobj) in hfi1_create_port_files()
758 static ssize_t sde_show(struct kobject *kobj, struct attribute *attr, char *buf) in sde_show()
[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/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/
Dpci-sysfs.c656 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
733 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
812 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
837 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
861 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
881 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1000 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1024 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
1031 static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_wc()
1038 static ssize_t pci_resource_io(struct file *filp, struct kobject *kobj, in pci_resource_io()
[all …]
/drivers/s390/crypto/
Dpkey_api.c1620 struct kobject *kobj, in protkey_aes_128_read()
1630 struct kobject *kobj, in protkey_aes_192_read()
1640 struct kobject *kobj, in protkey_aes_256_read()
1650 struct kobject *kobj, in protkey_aes_128_xts_read()
1660 struct kobject *kobj, in protkey_aes_256_xts_read()
1724 struct kobject *kobj, in ccadata_aes_128_read()
1734 struct kobject *kobj, in ccadata_aes_192_read()
1744 struct kobject *kobj, in ccadata_aes_256_read()
1754 struct kobject *kobj, in ccadata_aes_128_xts_read()
1764 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/infiniband/core/
Dsysfs.c52 struct kobject kobj; member
57 struct kobject kobj; member
100 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show()
113 static ssize_t port_attr_store(struct kobject *kobj, in port_attr_store()
131 static ssize_t gid_attr_show(struct kobject *kobj, in gid_attr_show()
672 static void ib_port_release(struct kobject *kobj) in ib_port_release()
700 static void ib_port_gid_attr_release(struct kobject *kobj) in ib_port_gid_attr_release()
826 static ssize_t show_hw_stats(struct kobject *kobj, struct attribute *attr, in show_hw_stats()
856 static ssize_t show_stats_lifespan(struct kobject *kobj, in show_stats_lifespan()
883 static ssize_t set_stats_lifespan(struct kobject *kobj, in set_stats_lifespan()
[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()
/drivers/cpufreq/
Dcpufreq_governor_attr_set.c11 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set()
21 static ssize_t governor_show(struct kobject *kobj, struct attribute *attr, in governor_show()
29 static ssize_t governor_store(struct kobject *kobj, struct attribute *attr, in governor_store()
/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()
51 static ssize_t create_store(struct kobject *kobj, struct device *dev, in create_store()
79 static void mdev_type_release(struct kobject *kobj) in mdev_type_release()
/drivers/acpi/
Dsysfs.c341 static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj, in acpi_table_show()
436 static ssize_t acpi_data_show(struct file *filp, struct kobject *kobj, in acpi_data_show()
687 static ssize_t counter_show(struct kobject *kobj, in counter_show()
744 static ssize_t counter_set(struct kobject *kobj, in counter_set()
952 acpi_show_profile(struct kobject *kobj, struct kobj_attribute *attr, in acpi_show_profile()
961 static ssize_t hotplug_enabled_show(struct kobject *kobj, in hotplug_enabled_show()
969 static ssize_t hotplug_enabled_store(struct kobject *kobj, in hotplug_enabled_store()
1019 static ssize_t force_remove_show(struct kobject *kobj, in force_remove_show()
1025 static ssize_t force_remove_store(struct kobject *kobj, in force_remove_store()

12345678910>>...13