Lines Matching refs:kobj

20 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj,  in qla2x00_sysfs_read_fw_dump()  argument
24 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_fw_dump()
25 struct device, 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() argument
57 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump()
58 struct device, 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() argument
154 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_fw_dump_template()
155 struct device, 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() argument
172 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump_template()
173 struct device, kobj))); in qla2x00_sysfs_write_fw_dump_template()
236 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_nvram() argument
240 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_nvram()
241 struct device, kobj))); in qla2x00_sysfs_read_nvram()
255 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_nvram() argument
259 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_nvram()
260 struct device, kobj))); in qla2x00_sysfs_write_nvram()
323 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_optrom() argument
327 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_optrom()
328 struct device, kobj))); in qla2x00_sysfs_read_optrom()
344 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom() argument
348 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom()
349 struct device, kobj))); in qla2x00_sysfs_write_optrom()
377 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom_ctl() argument
381 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom_ctl()
382 struct device, kobj))); in qla2x00_sysfs_write_optrom_ctl()
558 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_vpd() argument
562 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_vpd()
563 struct device, kobj))); in qla2x00_sysfs_read_vpd()
579 qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_vpd() argument
583 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_vpd()
584 struct device, kobj))); in qla2x00_sysfs_write_vpd()
632 qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_sfp() argument
636 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_sfp()
637 struct device, kobj))); in qla2x00_sysfs_read_sfp()
693 qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_reset() argument
697 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_reset()
698 struct device, kobj))); in qla2x00_sysfs_write_reset()
827 qla2x00_sysfs_read_xgmac_stats(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_xgmac_stats() argument
831 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_xgmac_stats()
832 struct device, kobj))); in qla2x00_sysfs_read_xgmac_stats()
879 qla2x00_sysfs_read_dcbx_tlv(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_dcbx_tlv() argument
883 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_dcbx_tlv()
884 struct device, kobj))); in qla2x00_sysfs_read_dcbx_tlv()
962 ret = sysfs_create_bin_file(&host->shost_gendev.kobj, in qla2x00_alloc_sysfs_attr()
992 sysfs_remove_bin_file(&host->shost_gendev.kobj, in qla2x00_free_sysfs_attr()