Lines Matching refs:kobj

271 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj,  in qlcnic_sysfs_read_crb()  argument
275 struct device *dev = container_of(kobj, struct device, 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() argument
292 struct device *dev = container_of(kobj, struct device, 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() argument
321 struct device *dev = container_of(kobj, struct device, 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() argument
343 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_mem()
403 struct kobject *kobj, in qlcnic_sysfs_write_pm_config() argument
408 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_pm_config()
453 struct kobject *kobj, in qlcnic_sysfs_read_pm_config() argument
458 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_pm_config()
546 struct kobject *kobj, in qlcnic_sysfs_write_esw_config() argument
551 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_esw_config()
630 struct kobject *kobj, in qlcnic_sysfs_read_esw_config() argument
635 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_esw_config()
682 struct kobject *kobj, in qlcnic_sysfs_write_npar_config() argument
687 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_npar_config()
729 struct kobject *kobj, in qlcnic_sysfs_read_npar_config() argument
734 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_npar_config()
776 struct kobject *kobj, in qlcnic_sysfs_get_port_stats() argument
781 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_get_port_stats()
811 struct kobject *kobj, in qlcnic_sysfs_get_esw_stats() argument
816 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_get_esw_stats()
846 struct kobject *kobj, in qlcnic_sysfs_clear_esw_stats() argument
851 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_clear_esw_stats()
875 struct kobject *kobj, in qlcnic_sysfs_clear_port_stats() argument
881 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_clear_port_stats()
905 struct kobject *kobj, in qlcnic_sysfs_read_pci_config() argument
910 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_pci_config()
945 struct kobject *kobj, in qlcnic_83xx_sysfs_flash_read_handler() argument
952 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_83xx_sysfs_flash_read_handler()
1124 struct kobject *kobj, in qlcnic_83xx_sysfs_flash_write_handler() argument
1132 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_83xx_sysfs_flash_write_handler()
1428 if (sysfs_create_bin_file(&dev->kobj, &bin_attr_flash)) in qlcnic_83xx_add_sysfs()
1437 sysfs_remove_bin_file(&dev->kobj, &bin_attr_flash); in qlcnic_83xx_remove_sysfs()