Home
last modified time | relevance | path

Searched refs:shost_dev (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/
H A Dhosts.c191 device_unregister(&shost->shost_dev); in scsi_remove_host()
260 device_enable_async_suspend(&shost->shost_dev); in scsi_add_host_with_dma()
263 error = device_add(&shost->shost_dev); in scsi_add_host_with_dma()
302 device_del(&shost->shost_dev); in scsi_add_host_with_dma()
306 * ->shost_dev. in scsi_add_host_with_dma()
308 put_device(&shost->shost_dev); in scsi_add_host_with_dma()
337 * Free the shost_dev device name and remove the proc host dir in scsi_host_dev_release()
340 * This avoids that the memory allocated for the shost_dev in scsi_host_dev_release()
344 kfree(dev_name(&shost->shost_dev)); in scsi_host_dev_release()
485 device_initialize(&shost->shost_dev); in scsi_host_alloc()
[all...]
H A 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()
H A Dipr.c3379 kobject_uevent(&ioa_cfg->host->shost_dev.kobj, KOBJ_CHANGE); in ipr_add_remove_thread()
10537 ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove()
10539 ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove()
10541 sysfs_remove_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_remove()
10584 rc = ipr_create_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10593 rc = sysfs_create_bin_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10597 ipr_remove_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10599 ipr_remove_trace_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10606 rc = ipr_create_dump_file(&ioa_cfg->host->shost_dev.kobj, in ipr_probe()
10610 sysfs_remove_bin_file(&ioa_cfg->host->shost_dev in ipr_probe()
[all...]
H A Dscsi_sysfs.c1609 error = device_create_file(&shost->shost_dev, in scsi_sysfs_add_host()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dhosts.c201 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()
324 * ->shost_dev. in scsi_add_host_with_dma()
326 put_device(&shost->shost_dev); in scsi_add_host_with_dma()
356 * Free the shost_dev device name here if scsi_host_alloc() in scsi_host_dev_release()
359 * This avoids that the memory allocated for the shost_dev in scsi_host_dev_release()
362 kfree(dev_name(&shost->shost_dev)); in scsi_host_dev_release()
498 device_initialize(&shost->shost_dev); in scsi_host_alloc()
[all...]
H A D3w-sas.c1673 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 Dipr.c3290 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 in ipr_probe()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/
H A Darcmsr_attr.c223 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()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_host.h681 struct device shost_gendev, shost_dev; member
705 container_of(d, struct Scsi_Host, shost_dev)
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_host.h699 struct device shost_gendev, shost_dev; member
723 container_of(d, struct Scsi_Host, shost_dev)
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/esas2r/
H A Desas2r_init.c459 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 Desas2r_main.c473 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()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c223 parent_dev = &shost->shost_dev; in pqi_add_sas_host()
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c231 parent_dev = &shost->shost_dev; in pqi_add_sas_host()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_attr.c6506 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6513 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6518 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6525 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_alloc_sysfs_attr()
6527 sysfs_remove_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6541 sysfs_remove_bin_file(&shost->shost_dev.kobj, in lpfc_free_sysfs_attr()
6546 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_mbox_attr); in lpfc_free_sysfs_attr()
6547 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_free_sysfs_attr()
/kernel/linux/linux-5.10/drivers/scsi/isci/
H A Dinit.c136 struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev); in isci_show_id()
/kernel/linux/linux-6.6/drivers/scsi/isci/
H A Dinit.c136 struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev); in isci_show_id()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_attr.c6359 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6364 error = sysfs_create_bin_file(&shost->shost_dev.kobj, in lpfc_alloc_sysfs_attr()
6371 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_alloc_sysfs_attr()
6388 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_mbox_attr); in lpfc_free_sysfs_attr()
6389 sysfs_remove_bin_file(&shost->shost_dev.kobj, &sysfs_ctlreg_attr); in lpfc_free_sysfs_attr()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
H A Daacraid.h2712 #define shost_to_class(shost) &shost->shost_dev
/kernel/linux/linux-6.6/drivers/scsi/aacraid/
H A Daacraid.h2726 #define shost_to_class(shost) &shost->shost_dev
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
H A Dibmvfc.c5179 if ((rc = ibmvfc_create_trace_file(&shost->shost_dev.kobj, in ibmvfc_probe()
5226 ibmvfc_remove_trace_file(&vhost->host->shost_dev.kobj, &ibmvfc_trace_attr); in ibmvfc_remove()
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi/
H A Dibmvfc.c6298 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()

Completed in 85 milliseconds

12