Home
last modified time | relevance | path

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

12345678910>>...14

/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()
181 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show()
192 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default()
[all …]
Dintel_gt_sysfs_pm.c27 sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_w_func()
52 sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_r_func()
193 static ssize_t rc6_enable_show(struct kobject *kobj, in rc6_enable_show()
291 static int __intel_gt_sysfs_create_group(struct kobject *kobj, in __intel_gt_sysfs_create_group()
299 static void intel_sysfs_rc6_init(struct intel_gt *gt, struct kobject *kobj) in intel_sysfs_rc6_init()
333 static void intel_sysfs_rc6_init(struct intel_gt *gt, struct kobject *kobj) in intel_sysfs_rc6_init()
455 static ssize_t punit_req_freq_mhz_show(struct kobject *kobj, in punit_req_freq_mhz_show()
473 static ssize_t throttle_reason_bool_show(struct kobject *kobj, in throttle_reason_bool_show()
556 static ssize_t freq_factor_scale_show(struct kobject *kobj, in freq_factor_scale_show()
569 static ssize_t media_freq_factor_show(struct kobject *kobj, in media_freq_factor_show()
[all …]
Dintel_gt_sysfs.c20 bool is_object_gt(struct kobject *kobj) in is_object_gt()
25 struct intel_gt *intel_gt_sysfs_get_drvdata(struct kobject *kobj, in intel_gt_sysfs_get_drvdata()
53 static ssize_t id_show(struct kobject *kobj, in id_show()
70 static void kobj_gt_release(struct kobject *kobj) in kobj_gt_release()
/drivers/platform/x86/
Dthink-lmi.c178 #define to_tlmi_pwd_setting(kobj) container_of(kobj, struct tlmi_pwd_setting, kobj) argument
179 #define to_tlmi_attr_setting(kobj) container_of(kobj, struct tlmi_attr_setting, kobj) argument
390 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, in is_enabled_show()
400 static ssize_t current_password_store(struct kobject *kobj, in current_password_store()
420 static ssize_t new_password_store(struct kobject *kobj, 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()
542 static ssize_t encoding_store(struct kobject *kobj, in encoding_store()
[all …]
Duv_sysfs.c113 struct kobject kobj; member
180 static void hub_release(struct kobject *kobj) in hub_release()
187 static ssize_t hub_type_show(struct kobject *kobj, struct attribute *attr, in hub_type_show()
299 struct kobject kobj; member
333 static void uv_port_release(struct kobject *kobj) in uv_port_release()
340 static ssize_t uv_port_type_show(struct kobject *kobj, struct attribute *attr, in uv_port_type_show()
451 struct kobject kobj; member
503 static void uv_pci_top_release(struct kobject *kobj) in uv_pci_top_release()
513 static ssize_t pci_top_type_show(struct kobject *kobj, in pci_top_type_show()
725 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()
198 static ssize_t rtrs_clt_state_show(struct kobject *kobj, in rtrs_clt_state_show()
213 static ssize_t rtrs_clt_reconnect_show(struct kobject *kobj, in rtrs_clt_reconnect_show()
219 static ssize_t rtrs_clt_reconnect_store(struct kobject *kobj, in rtrs_clt_reconnect_store()
243 static ssize_t rtrs_clt_disconnect_show(struct kobject *kobj, in rtrs_clt_disconnect_show()
249 static ssize_t rtrs_clt_disconnect_store(struct kobject *kobj, in rtrs_clt_disconnect_store()
270 static ssize_t rtrs_clt_remove_path_show(struct kobject *kobj, in rtrs_clt_remove_path_show()
276 static ssize_t rtrs_clt_remove_path_store(struct kobject *kobj, in rtrs_clt_remove_path_store()
333 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()
516 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read()
536 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
561 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
571 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
583 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
608 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
628 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.c26 static void rnbd_srv_dev_release(struct kobject *kobj) in rnbd_srv_dev_release()
84 static ssize_t read_only_show(struct kobject *kobj, struct kobj_attribute *attr, in read_only_show()
98 static ssize_t access_mode_show(struct kobject *kobj, in access_mode_show()
113 static ssize_t mapping_path_show(struct kobject *kobj, in mapping_path_show()
126 static ssize_t rnbd_srv_dev_session_force_close_show(struct kobject *kobj, in rnbd_srv_dev_session_force_close_show()
133 static ssize_t rnbd_srv_dev_session_force_close_store(struct kobject *kobj, in rnbd_srv_dev_session_force_close_store()
179 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()
344 struct kobject kobj; member
378 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group()
390 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group()
396 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group()
397 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/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/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/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()
202 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release()
323 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
344 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
356 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
413 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
421 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
430 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
447 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
/drivers/pci/
Dpci-sysfs.c666 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
741 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
810 static umode_t pci_dev_config_attr_is_visible(struct kobject *kobj, in pci_dev_config_attr_is_visible()
840 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
865 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
889 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
909 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1033 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1057 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
1064 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/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/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()
88 static void map_release(struct kobject *kobj) in map_release()
105 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr, in add_sysfs_runtime_map_entry()
/drivers/vfio/mdev/
Dmdev_sysfs.c31 static ssize_t mdev_type_attr_show(struct kobject *kobj, in mdev_type_attr_show()
43 static ssize_t mdev_type_attr_store(struct kobject *kobj, in mdev_type_attr_store()
135 static umode_t mdev_types_core_is_visible(struct kobject *kobj, in mdev_types_core_is_visible()
154 static void mdev_type_release(struct kobject *kobj) in mdev_type_release()
279 struct kobject *kobj = &mdev->dev.kobj; in mdev_create_sysfs_files() local
298 struct kobject *kobj = &mdev->dev.kobj; in mdev_remove_sysfs_files() local
/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/s390/crypto/
Dpkey_api.c1656 struct kobject *kobj, in protkey_aes_128_read()
1666 struct kobject *kobj, in protkey_aes_192_read()
1676 struct kobject *kobj, in protkey_aes_256_read()
1686 struct kobject *kobj, in protkey_aes_128_xts_read()
1696 struct kobject *kobj, in protkey_aes_256_xts_read()
1760 struct kobject *kobj, in ccadata_aes_128_read()
1770 struct kobject *kobj, in ccadata_aes_192_read()
1780 struct kobject *kobj, in ccadata_aes_256_read()
1790 struct kobject *kobj, in ccadata_aes_128_xts_read()
1800 struct kobject *kobj, in ccadata_aes_256_xts_read()
[all …]

12345678910>>...14