/openbmc/linux/drivers/scsi/ |
H A D | hosts.c | 201 device_unregister(&shost->shost_dev); in scsi_remove_host() 278 device_enable_async_suspend(&shost->shost_dev); in scsi_add_host_with_dma() 281 error = device_add(&shost->shost_dev); in scsi_add_host_with_dma() 320 device_del(&shost->shost_dev); in scsi_add_host_with_dma() 326 put_device(&shost->shost_dev); in scsi_add_host_with_dma() 363 kfree(dev_name(&shost->shost_dev)); in scsi_host_dev_release() 499 device_initialize(&shost->shost_dev); in scsi_host_alloc() 500 shost->shost_dev.parent = &shost->shost_gendev; in scsi_host_alloc() 501 shost->shost_dev.class = &shost_class; in scsi_host_alloc() 502 dev_set_name(&shost->shost_dev, "host%d", shost->host_no); in scsi_host_alloc() [all …]
|
H A D | 3w-sas.c | 1673 if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr)) in twl_probe() 1675 if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr)) in twl_probe() 1717 sysfs_remove_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr); in twl_remove() 1718 sysfs_remove_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr); in twl_remove()
|
H A D | ipr.c | 3290 kobject_uevent(&ioa_cfg->host->shost_dev.kobj, KOBJ_CHANGE); in ipr_add_remove_thread() 9759 ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove() 9761 ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove() 9763 sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove() 9801 rc = ipr_create_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe() 9810 rc = sysfs_create_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe() 9814 ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe() 9816 ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe() 9823 rc = ipr_create_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe() 9827 sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe() [all …]
|
H A D | hpsa.c | 9755 parent_dev = &h->scsi_host->shost_dev; in hpsa_add_sas_host()
|
/openbmc/linux/drivers/scsi/arcmsr/ |
H A D | arcmsr_attr.c | 223 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_alloc_sysfs_attr() 228 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_alloc_sysfs_attr() 233 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr); in arcmsr_alloc_sysfs_attr() 240 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_alloc_sysfs_attr() 242 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_alloc_sysfs_attr() 251 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr); in arcmsr_free_sysfs_attr() 252 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_free_sysfs_attr() 253 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_free_sysfs_attr()
|
/openbmc/linux/include/scsi/ |
H A D | scsi_host.h | 699 struct device shost_gendev, shost_dev; member 723 container_of(d, struct Scsi_Host, shost_dev)
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_init.c | 459 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_fw); in esas2r_adapter_power_down() 464 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_fs); in esas2r_adapter_power_down() 469 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_vda); in esas2r_adapter_power_down() 474 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_hw); in esas2r_adapter_power_down() 479 sysfs_remove_bin_file(&a->host->shost_dev.kobj, in esas2r_adapter_power_down() 485 sysfs_remove_bin_file(&a->host->shost_dev.kobj, in esas2r_adapter_power_down()
|
H A D | esas2r_main.c | 473 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fw)) in esas2r_probe() 479 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fs)) in esas2r_probe() 485 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_vda)) in esas2r_probe() 491 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_hw)) in esas2r_probe() 497 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_live_nvram)) in esas2r_probe() 503 if (sysfs_create_bin_file(&host->shost_dev.kobj, in esas2r_probe()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 231 parent_dev = &shost->shost_dev; in pqi_add_sas_host()
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | init.c | 136 struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev); in isci_show_id()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 6364 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr() 6369 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr() 6376 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_alloc_sysfs_attr() 6393 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_mbox_attr); in lpfc_free_sysfs_attr() 6394 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_free_sysfs_attr()
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aacraid.h | 2726 #define shost_to_class(shost) &shost->shost_dev
|
/openbmc/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 6298 if ((rc = ibmvfc_create_trace_file(&shost->shost_dev.kobj, in ibmvfc_probe() 6346 ibmvfc_remove_trace_file(&vhost->host->shost_dev.kobj, &ibmvfc_trace_attr); in ibmvfc_remove()
|
/openbmc/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 1032 device_remove_file(&shost->shost_dev, dev_attr); in srp_del_scsi_host_attr()
|