Home
last modified time | relevance | path

Searched refs:shost_dev (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/scsi/
Dhosts.c190 device_unregister(&shost->shost_dev); in scsi_remove_host()
255 device_enable_async_suspend(&shost->shost_dev); in scsi_add_host_with_dma()
257 error = device_add(&shost->shost_dev); in scsi_add_host_with_dma()
299 device_del(&shost->shost_dev); in scsi_add_host_with_dma()
338 kfree(dev_name(&shost->shost_dev)); in scsi_host_dev_release()
477 device_initialize(&shost->shost_dev); in scsi_host_alloc()
478 shost->shost_dev.parent = &shost->shost_gendev; in scsi_host_alloc()
479 shost->shost_dev.class = &shost_class; in scsi_host_alloc()
480 dev_set_name(&shost->shost_dev, "host%d", shost->host_no); in scsi_host_alloc()
481 shost->shost_dev.groups = scsi_sysfs_shost_attr_groups; in scsi_host_alloc()
D3w-sas.c1683 if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr)) in twl_probe()
1685 if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr)) in twl_probe()
1727 sysfs_remove_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr); in twl_remove()
1728 sysfs_remove_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr); in twl_remove()
Dipr.c3378 kobject_uevent(&ioa_cfg->host->shost_dev.kobj, KOBJ_CHANGE); in ipr_add_remove_thread()
10536 ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove()
10538 ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove()
10540 sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove()
10583 rc = ipr_create_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10592 rc = sysfs_create_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10596 ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10598 ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10605 rc = ipr_create_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10609 sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
[all …]
Dscsi_sysfs.c1578 error = device_create_file(&shost->shost_dev, in scsi_sysfs_add_host()
Dhpsa.c9740 parent_dev = &h->scsi_host->shost_dev; in hpsa_add_sas_host()
/Linux-v5.10/drivers/scsi/arcmsr/
Darcmsr_attr.c225 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_alloc_sysfs_attr()
230 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_alloc_sysfs_attr()
235 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr); in arcmsr_alloc_sysfs_attr()
242 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_alloc_sysfs_attr()
244 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_alloc_sysfs_attr()
253 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr); in arcmsr_free_sysfs_attr()
254 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_free_sysfs_attr()
255 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_free_sysfs_attr()
/Linux-v5.10/include/scsi/
Dscsi_host.h681 struct device shost_gendev, shost_dev; member
705 container_of(d, struct Scsi_Host, shost_dev)
/Linux-v5.10/drivers/scsi/esas2r/
Desas2r_init.c458 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_fw); in esas2r_adapter_power_down()
463 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_fs); in esas2r_adapter_power_down()
468 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_vda); in esas2r_adapter_power_down()
473 sysfs_remove_bin_file(&a->host->shost_dev.kobj, &bin_attr_hw); in esas2r_adapter_power_down()
478 sysfs_remove_bin_file(&a->host->shost_dev.kobj, in esas2r_adapter_power_down()
484 sysfs_remove_bin_file(&a->host->shost_dev.kobj, in esas2r_adapter_power_down()
Desas2r_main.c477 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fw)) in esas2r_probe()
483 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fs)) in esas2r_probe()
489 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_vda)) in esas2r_probe()
495 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_hw)) in esas2r_probe()
501 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_live_nvram)) in esas2r_probe()
507 if (sysfs_create_bin_file(&host->shost_dev.kobj, in esas2r_probe()
/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c223 parent_dev = &shost->shost_dev; in pqi_add_sas_host()
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_attr.c6485 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6492 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6497 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6504 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_alloc_sysfs_attr()
6506 sysfs_remove_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6520 sysfs_remove_bin_file(&shost->shost_dev.kobj, in lpfc_free_sysfs_attr()
6525 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_mbox_attr); in lpfc_free_sysfs_attr()
6526 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_free_sysfs_attr()
/Linux-v5.10/drivers/scsi/isci/
Dinit.c136 struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev); in isci_show_id()
/Linux-v5.10/drivers/scsi/aacraid/
Daacraid.h2712 #define shost_to_class(shost) &shost->shost_dev
/Linux-v5.10/drivers/scsi/ibmvscsi/
Dibmvfc.c5150 if ((rc = ibmvfc_create_trace_file(&shost->shost_dev.kobj, in ibmvfc_probe()
5197 ibmvfc_remove_trace_file(&vhost->host->shost_dev.kobj, &ibmvfc_trace_attr); in ibmvfc_remove()
/Linux-v5.10/drivers/infiniband/ulp/srp/
Dib_srp.c1048 device_remove_file(&shost->shost_dev, *attr); in srp_del_scsi_host_attr()