Lines Matching refs:kobj

268 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj,  in qlcnic_sysfs_read_crb()  argument
272 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_crb()
285 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb() argument
289 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_crb()
314 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem() argument
318 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_mem()
336 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem() argument
340 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_mem()
400 struct kobject *kobj, in qlcnic_sysfs_write_pm_config() argument
405 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_pm_config()
450 struct kobject *kobj, in qlcnic_sysfs_read_pm_config() argument
455 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_pm_config()
543 struct kobject *kobj, in qlcnic_sysfs_write_esw_config() argument
548 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_esw_config()
627 struct kobject *kobj, in qlcnic_sysfs_read_esw_config() argument
632 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_esw_config()
679 struct kobject *kobj, in qlcnic_sysfs_write_npar_config() argument
684 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_npar_config()
726 struct kobject *kobj, in qlcnic_sysfs_read_npar_config() argument
731 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_npar_config()
773 struct kobject *kobj, in qlcnic_sysfs_get_port_stats() argument
778 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_get_port_stats()
808 struct kobject *kobj, in qlcnic_sysfs_get_esw_stats() argument
813 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_get_esw_stats()
843 struct kobject *kobj, in qlcnic_sysfs_clear_esw_stats() argument
848 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_clear_esw_stats()
872 struct kobject *kobj, in qlcnic_sysfs_clear_port_stats() argument
878 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_clear_port_stats()
902 struct kobject *kobj, in qlcnic_sysfs_read_pci_config() argument
907 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_pci_config()
942 struct kobject *kobj, in qlcnic_83xx_sysfs_flash_read_handler() argument
949 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_83xx_sysfs_flash_read_handler()
1119 struct kobject *kobj, in qlcnic_83xx_sysfs_flash_write_handler() argument
1127 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_83xx_sysfs_flash_write_handler()
1420 if (sysfs_create_bin_file(&dev->kobj, &bin_attr_flash)) in qlcnic_83xx_add_sysfs()
1429 sysfs_remove_bin_file(&dev->kobj, &bin_attr_flash); in qlcnic_83xx_remove_sysfs()