Home
last modified time | relevance | path

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

123456789

/drivers/parisc/
Dpdc_stable.c106 struct kobject kobj; member
448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store()
528 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read()
548 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
573 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
583 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
595 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
620 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
640 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read()
[all …]
/drivers/w1/slaves/
Dw1_ds2408.c75 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
87 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read()
100 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read()
113 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read()
127 struct kobject *kobj, in cond_search_polarity_read()
137 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read()
147 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
218 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write()
248 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
/drivers/platform/goldfish/
Dgoldfish_fwdata.c33 static ssize_t property_show(struct kobject *kobj, struct kobj_attribute *attr, in property_show()
129 struct kobject *kobj; in create_folder() local
143 struct kobject *kobj; in create_folder_with_file() local
164 static void remove_folder_with_file(struct kobject *kobj, in remove_folder_with_file()
175 struct kobject *kobj; in create_folder_with_files() local
196 static void remove_folder_with_files(struct kobject *kobj, in remove_folder_with_files()
/drivers/staging/speakup/
Dkobjects.c28 static ssize_t chars_chartab_show(struct kobject *kobj, in chars_chartab_show()
108 static ssize_t chars_chartab_store(struct kobject *kobj, in chars_chartab_store()
224 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
259 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
326 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
365 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
380 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
406 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store()
433 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
449 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/drivers/cpuidle/
Dsysfs.c178 struct kobject kobj; member
181 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device()
189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
224 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release()
330 struct kobject kobj; member
338 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show()
352 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store()
371 static void cpuidle_state_sysfs_release(struct kobject *kobj) in cpuidle_state_sysfs_release()
399 struct cpuidle_state_kobj *kobj; in cpuidle_add_state_sysfs() local
[all …]
/drivers/s390/char/
Dsclp_cpi_sys.c221 static ssize_t system_name_show(struct kobject *kobj, in system_name_show()
232 static ssize_t system_name_store(struct kobject *kobj, in system_name_store()
253 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show()
264 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store()
285 static ssize_t system_type_show(struct kobject *kobj, in system_type_show()
296 static ssize_t system_type_store(struct kobject *kobj, in system_type_store()
317 static ssize_t system_level_show(struct kobject *kobj, in system_level_show()
328 static ssize_t system_level_store(struct kobject *kobj, in system_level_store()
354 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()
333 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
354 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
366 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
422 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
430 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
439 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
456 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
Dedac_pci_sysfs.c77 static void edac_pci_instance_release(struct kobject *kobj) in edac_pci_instance_release()
100 static ssize_t edac_pci_instance_show(struct kobject *kobj, in edac_pci_instance_show()
112 static ssize_t edac_pci_instance_store(struct kobject *kobj, in edac_pci_instance_store()
241 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show()
252 static ssize_t edac_pci_dev_store(struct kobject *kobj, in edac_pci_dev_store()
317 static void edac_pci_release_main_kobj(struct kobject *kobj) in edac_pci_release_main_kobj()
/drivers/pci/hotplug/
Drpadlpar_sysfs.c32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store()
56 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show()
62 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store()
87 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show()
/drivers/firmware/efi/
Druntime-map.c23 struct kobject kobj; /* kobject for each entry */ member
56 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry()
61 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
92 static void map_release(struct kobject *kobj) in map_release()
109 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr) in add_sysfs_runtime_map_entry()
/drivers/pci/
Dpci-sysfs.c627 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
704 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
766 static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr()
781 static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr()
809 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
835 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
860 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()
1002 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1041 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
[all …]
Dslot.c18 static ssize_t pci_slot_attr_show(struct kobject *kobj, in pci_slot_attr_show()
26 static ssize_t pci_slot_attr_store(struct kobject *kobj, in pci_slot_attr_store()
101 static void pci_slot_release(struct kobject *kobj) in pci_slot_release()
353 struct kobject *kobj = NULL; in pci_hp_create_module_link() local
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c271 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_crb()
288 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb()
317 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem()
339 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem()
403 struct kobject *kobj, in qlcnic_sysfs_write_pm_config()
453 struct kobject *kobj, in qlcnic_sysfs_read_pm_config()
546 struct kobject *kobj, in qlcnic_sysfs_write_esw_config()
630 struct kobject *kobj, in qlcnic_sysfs_read_esw_config()
682 struct kobject *kobj, in qlcnic_sysfs_write_npar_config()
729 struct kobject *kobj, in qlcnic_sysfs_read_npar_config()
[all …]
/drivers/infiniband/hw/qib/
Dqib_sysfs.c211 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin()
241 static void qib_port_release(struct kobject *kobj) in qib_port_release()
261 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin()
296 static ssize_t qib_portattr_show(struct kobject *kobj, in qib_portattr_show()
307 static ssize_t qib_portattr_store(struct kobject *kobj, in qib_portattr_store()
380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show()
452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show()
464 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store()
679 struct kobject *kobj) in qib_create_port_files()
/drivers/base/
Dcore.c112 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show()
128 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store()
225 static void device_release(struct kobject *kobj) in device_release()
254 static const void *device_namespace(struct kobject *kobj) in device_namespace()
272 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter()
286 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name()
297 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent()
679 struct kobject kobj; member
685 static void class_dir_release(struct kobject *kobj) in class_dir_release()
692 struct kobj_ns_type_operations *class_dir_child_ns_type(struct kobject *kobj) in class_dir_child_ns_type()
[all …]
Dclass.c26 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, in class_attr_show()
38 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, in class_attr_store()
50 static void class_release(struct kobject *kobj) in class_release()
66 static const struct kobj_ns_type_operations *class_child_ns_type(struct kobject *kobj) in class_child_ns_type()
498 struct kobject *kobj; member
/drivers/scsi/
Discsi_boot_sysfs.c40 static ssize_t iscsi_boot_show_attribute(struct kobject *kobj, in iscsi_boot_show_attribute()
62 static void iscsi_boot_kobj_release(struct kobject *kobj) in iscsi_boot_kobj_release()
115 static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, in iscsi_boot_tgt_attr_is_visible()
196 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible()
268 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible()
/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/acpi/
Dsysfs.c261 static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj, in acpi_table_show()
515 static ssize_t counter_show(struct kobject *kobj, in counter_show()
559 static ssize_t counter_set(struct kobject *kobj, in counter_set()
726 static ssize_t hotplug_enabled_show(struct kobject *kobj, in hotplug_enabled_show()
734 static ssize_t hotplug_enabled_store(struct kobject *kobj, in hotplug_enabled_store()
782 static ssize_t force_remove_show(struct kobject *kobj, in force_remove_show()
788 static ssize_t force_remove_store(struct kobject *kobj, in force_remove_store()
/drivers/firmware/
Dmemmap.c44 struct kobject kobj; /* kobject for each entry */ member
101 to_memmap_entry(struct kobject *kobj) in to_memmap_entry()
106 static void __meminit release_firmware_map_entry(struct kobject *kobj) in release_firmware_map_entry()
397 static ssize_t memmap_attr_show(struct kobject *kobj, in memmap_attr_show()
Ddmi-sysfs.c34 struct kobject kobj; member
81 static void dmi_entry_free(struct kobject *kobj) in dmi_entry_free()
86 static struct dmi_sysfs_entry *to_entry(struct kobject *kobj) in to_entry()
96 static ssize_t dmi_sysfs_attr_show(struct kobject *kobj, in dmi_sysfs_attr_show()
213 static ssize_t dmi_entry_attr_show(struct kobject *kobj, in dmi_entry_attr_show()
428 static ssize_t dmi_sel_raw_read(struct file *filp, struct kobject *kobj, in dmi_sel_raw_read()
534 struct kobject *kobj, in dmi_entry_raw_read()
553 static void dmi_sysfs_entry_release(struct kobject *kobj) in dmi_sysfs_entry_release()
Ddell_rbu.c525 static ssize_t read_rbu_data(struct file *filp, struct kobject *kobj, in read_rbu_data()
579 static ssize_t read_rbu_image_type(struct file *filp, struct kobject *kobj, in read_rbu_image_type()
589 static ssize_t write_rbu_image_type(struct file *filp, struct kobject *kobj, in write_rbu_image_type()
650 static ssize_t read_rbu_packet_size(struct file *filp, struct kobject *kobj, in read_rbu_packet_size()
663 static ssize_t write_rbu_packet_size(struct file *filp, struct kobject *kobj, in write_rbu_packet_size()
/drivers/scsi/qla2xxx/
Dqla_attr.c20 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump()
53 qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump()
150 qla2x00_sysfs_read_fw_dump_template(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump_template()
168 qla2x00_sysfs_write_fw_dump_template(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump_template()
236 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_nvram()
255 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_nvram()
323 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_optrom()
347 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom()
385 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom_ctl()
566 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_vpd()
[all …]
/drivers/gpu/drm/ttm/
Dttm_memory.c43 struct kobject kobj; member
74 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release()
84 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show()
111 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store()
169 static void ttm_mem_global_kobj_release(struct kobject *kobj) in ttm_mem_global_kobj_release()
/drivers/hid/
Dhid-roccat-pyra.c89 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read()
115 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write()
191 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings()
210 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons()
248 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings()

123456789