Home
last modified time | relevance | path

Searched refs:wlan_kobject (Results 1 – 3 of 3) sorted by relevance

/wlan-driver/qcacld-3.0/core/hdd/src/ !
H A Dwlan_hdd_sysfs_mem_stats.c119 int hdd_sysfs_mem_stats_create(struct kobject *wlan_kobject) in hdd_sysfs_mem_stats_create() argument
123 if (!wlan_kobject) { in hdd_sysfs_mem_stats_create()
127 error = sysfs_create_file(wlan_kobject, &mem_stats_attribute.attr); in hdd_sysfs_mem_stats_create()
132 error = sysfs_create_file(wlan_kobject, &mem_dp_stats_attribute.attr); in hdd_sysfs_mem_stats_create()
135 sysfs_remove_file(wlan_kobject, &mem_stats_attribute.attr); in hdd_sysfs_mem_stats_create()
144 void hdd_sysfs_mem_stats_destroy(struct kobject *wlan_kobject) in hdd_sysfs_mem_stats_destroy() argument
146 if (!wlan_kobject) { in hdd_sysfs_mem_stats_destroy()
150 sysfs_remove_file(wlan_kobject, &mem_dp_stats_attribute.attr); in hdd_sysfs_mem_stats_destroy()
151 sysfs_remove_file(wlan_kobject, &mem_stats_attribute.attr); in hdd_sysfs_mem_stats_destroy()
H A Dwlan_hdd_sysfs_mem_stats.h41 int hdd_sysfs_mem_stats_create(struct kobject *wlan_kobject);
49 void hdd_sysfs_mem_stats_destroy(struct kobject *wlan_kobject);
52 hdd_sysfs_mem_stats_create(struct kobject *wlan_kobject) in hdd_sysfs_mem_stats_create() argument
58 hdd_sysfs_mem_stats_destroy(struct kobject *wlan_kobject) in hdd_sysfs_mem_stats_destroy() argument
H A Dwlan_hdd_sysfs.c110 static struct kobject *wlan_kobject; variable
532 if (!driver_kobject || !wlan_kobject) { in hdd_sysfs_create_version_interface()
537 error = sysfs_create_file(wlan_kobject, &dr_ver_attribute.attr); in hdd_sysfs_create_version_interface()
543 fw_kobject = kobject_create_and_add("fw", wlan_kobject); in hdd_sysfs_create_version_interface()
683 wlan_kobject = kobject_create_and_add("wlan", driver_kobject); in hdd_sysfs_create_driver_root_obj()
684 if (!wlan_kobject) { in hdd_sysfs_create_driver_root_obj()
693 if (wlan_kobject) { in hdd_sysfs_destroy_driver_root_obj()
694 kobject_put(wlan_kobject); in hdd_sysfs_destroy_driver_root_obj()
695 wlan_kobject = NULL; in hdd_sysfs_destroy_driver_root_obj()
1122 hdd_sysfs_mem_stats_create(wlan_kobject); in hdd_create_sysfs_files()
[all …]