/linux-6.6.21/drivers/scsi/ |
D | hosts.c | 58 put_device(&class_to_shost(dev)->shost_gendev); in scsi_host_cls_release() 200 transport_unregister_device(&shost->shost_gendev); in scsi_remove_host() 202 device_del(&shost->shost_gendev); in scsi_remove_host() 242 if (!shost->shost_gendev.parent) in scsi_add_host_with_dma() 243 shost->shost_gendev.parent = dev ? dev : &platform_bus; in scsi_add_host_with_dma() 245 dma_dev = shost->shost_gendev.parent; in scsi_add_host_with_dma() 266 pm_runtime_get_noresume(&shost->shost_gendev); in scsi_add_host_with_dma() 267 pm_runtime_set_active(&shost->shost_gendev); in scsi_add_host_with_dma() 268 pm_runtime_enable(&shost->shost_gendev); in scsi_add_host_with_dma() 269 device_enable_async_suspend(&shost->shost_gendev); in scsi_add_host_with_dma() [all …]
|
D | scsi_transport_srp.c | 66 WARN_ON_ONCE(device_for_each_child(&shost->shost_gendev, &child, in shost_to_rport() 431 dev_name(&rport->dev), dev_name(&shost->shost_gendev)); in rport_fast_io_fail_timedout() 451 dev_name(&rport->dev), dev_name(&shost->shost_gendev)); in rport_dev_loss_timedout() 471 pr_debug("%s current state: %d\n", dev_name(&shost->shost_gendev), in __srp_start_tl_fail_timers() 481 pr_debug("%s new state: %d\n", dev_name(&shost->shost_gendev), in __srp_start_tl_fail_timers() 483 scsi_block_targets(shost, &shost->shost_gendev); in __srp_start_tl_fail_timers() 539 pr_debug("SCSI host %s\n", dev_name(&shost->shost_gendev)); in srp_reconnect_rport() 551 scsi_block_targets(shost, &shost->shost_gendev); in srp_reconnect_rport() 554 dev_name(&shost->shost_gendev), rport->state, res); in srp_reconnect_rport() 561 scsi_target_unblock(&shost->shost_gendev, SDEV_RUNNING); in srp_reconnect_rport() [all …]
|
D | scsi_pm.c | 249 err = pm_runtime_get_sync(&shost->shost_gendev); in scsi_autopm_get_host() 251 pm_runtime_put_sync(&shost->shost_gendev); in scsi_autopm_get_host() 259 pm_runtime_put_sync(&shost->shost_gendev); in scsi_autopm_put_host()
|
D | myrb.c | 1437 dev_dbg(&shost->shost_gendev, "ldev %u in state %x, skip\n", in myrb_ldev_queuecommand() 2390 dev_dbg(&shost->shost_gendev, "monitor tick\n"); in myrb_monitor() 2395 dev_dbg(&shost->shost_gendev, in myrb_monitor() 2403 dev_dbg(&shost->shost_gendev, "get error table\n"); in myrb_monitor() 2408 dev_dbg(&shost->shost_gendev, in myrb_monitor() 2414 dev_dbg(&shost->shost_gendev, in myrb_monitor() 2420 dev_dbg(&shost->shost_gendev, in myrb_monitor() 2426 dev_dbg(&shost->shost_gendev, in myrb_monitor() 2432 dev_dbg(&shost->shost_gendev, "get background init status\n"); in myrb_monitor() 2436 dev_dbg(&shost->shost_gendev, "new enquiry\n"); in myrb_monitor() [all …]
|
D | ses.c | 682 while ((edev = enclosure_find(&sdev->host->shost_gendev, prev)) != NULL) { in ses_intf_add() 833 while ((edev = enclosure_find(&sdev->host->shost_gendev, prev)) != NULL) { in ses_intf_remove_component()
|
D | scsi_scan.c | 1576 struct device *parent = &shost->shost_gendev; in __scsi_add_device() 1781 __scsi_scan_target(&shost->shost_gendev, channel, in scsi_scan_channel() 1785 __scsi_scan_target(&shost->shost_gendev, channel, in scsi_scan_channel()
|
D | scsi_transport_fc.c | 2344 stat = fc_vport_setup(shost, 0, &shost->shost_gendev, &vid, &vport); in store_fc_host_vport_create() 3103 dev->parent = get_device(&shost->shost_gendev); /* parent reference */ in fc_remote_port_create() 3904 if (pdev != &shost->shost_gendev) { in fc_vport_setup() 3905 error = sysfs_create_link(&shost->shost_gendev.kobj, in fc_vport_setup() 3958 stat = fc_vport_setup(shost, channel, &shost->shost_gendev, in fc_vport_create() 4002 if (dev->parent != &shost->shost_gendev) in fc_vport_terminate() 4003 sysfs_remove_link(&shost->shost_gendev.kobj, dev_name(dev)); in fc_vport_terminate() 4277 struct device *dev = &shost->shost_gendev; in fc_bsg_hostadd()
|
D | scsi_transport_iscsi.c | 761 iface->dev.parent = get_device(&shost->shost_gendev); in iscsi_create_iface() 1249 fnode_sess->dev.parent = &shost->shost_gendev; in iscsi_create_flashnode_sess() 1370 dev = device_find_child(&shost->shost_gendev, &idx, in iscsi_get_flashnode_by_index() 1395 return device_find_child(&shost->shost_gendev, data, fn); in iscsi_find_flashnode_sess() 1465 device_for_each_child(&shost->shost_gendev, NULL, in iscsi_destroy_all_flashnode() 1536 struct device *dev = &shost->shost_gendev; in iscsi_bsg_host_add() 1752 device_for_each_child(&shost->shost_gendev, fn, in iscsi_host_for_each_session() 1821 return device_for_each_child(&shost->shost_gendev, &scan_data, in iscsi_user_scan() 2048 session->dev.parent = &shost->shost_gendev; in iscsi_alloc_session()
|
D | myrs.c | 189 dev_dbg(&cs->host->shost_gendev, "Sending GetControllerInfo\n"); in myrs_get_ctlr_info() 248 dev_dbg(&cs->host->shost_gendev, in myrs_get_ldev_info() 336 dev_dbg(&cs->host->shost_gendev, in myrs_get_pdev_info() 471 dev_dbg(&cs->host->shost_gendev, "Sending GetHealthStatus\n"); in myrs_get_fwstatus() 2112 dev_dbg(&shost->shost_gendev, "monitor tick\n"); in myrs_monitor()
|
D | scsi_sysfs.c | 1624 transport_register_device(&shost->shost_gendev); in scsi_sysfs_add_host() 1625 transport_configure_device(&shost->shost_gendev); in scsi_sysfs_add_host()
|
D | scsi_transport_sas.c | 209 q = bsg_setup_queue(&shost->shost_gendev, name, in sas_bsg_initialize() 317 sas_remove_children(&shost->shost_gendev); in sas_remove_host()
|
D | virtio_scsi.c | 287 scsi_scan_target(&shost->shost_gendev, 0, target, in virtscsi_handle_transport_reset()
|
/linux-6.6.21/drivers/scsi/esas2r/ |
D | esas2r_main.c | 427 esas2r_log_dev(ESAS2R_LOG_INFO, &(host->shost_gendev), in esas2r_probe() 447 esas2r_log_dev(ESAS2R_LOG_CRIT, &(host->shost_gendev), in esas2r_probe() 450 esas2r_log_dev(ESAS2R_LOG_INFO, &(host->shost_gendev), in esas2r_probe() 455 esas2r_log_dev(ESAS2R_LOG_INFO, &(host->shost_gendev), in esas2r_probe() 467 esas2r_log_dev(ESAS2R_LOG_INFO, &(host->shost_gendev), in esas2r_probe() 474 esas2r_log_dev(ESAS2R_LOG_WARN, &(host->shost_gendev), in esas2r_probe() 480 esas2r_log_dev(ESAS2R_LOG_WARN, &(host->shost_gendev), in esas2r_probe() 486 esas2r_log_dev(ESAS2R_LOG_WARN, &(host->shost_gendev), in esas2r_probe() 492 esas2r_log_dev(ESAS2R_LOG_WARN, &(host->shost_gendev), in esas2r_probe() 498 esas2r_log_dev(ESAS2R_LOG_WARN, &(host->shost_gendev), in esas2r_probe() [all …]
|
D | esas2r_init.c | 630 &(a->host->shost_gendev), in esas2r_kill_adapter() 636 &(a->host->shost_gendev), in esas2r_kill_adapter()
|
D | esas2r_int.c | 644 &(a->host->shost_gendev), in esas2r_do_tasklet_tasks()
|
/linux-6.6.21/drivers/scsi/qedf/ |
D | qedf_dbg.c | 152 kobject_uevent_env(&shost->shost_gendev.kobj, KOBJ_CHANGE, envp); in qedf_uevent_emit() 161 ret = sysfs_create_bin_file(&shost->shost_gendev.kobj, in qedf_create_sysfs_attr() 174 sysfs_remove_bin_file(&shost->shost_gendev.kobj, iter->attr); in qedf_remove_sysfs_attr()
|
/linux-6.6.21/include/scsi/ |
D | scsi_host.h | 699 struct device shost_gendev, shost_dev; member 726 dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a) 742 return container_of(dev, struct Scsi_Host, shost_gendev); in dev_to_shost() 785 return shost->shost_gendev.parent; in scsi_get_device()
|
/linux-6.6.21/drivers/scsi/qedi/ |
D | qedi_dbg.c | 113 ret = sysfs_create_bin_file(&shost->shost_gendev.kobj, in qedi_create_sysfs_attr() 126 sysfs_remove_bin_file(&shost->shost_gendev.kobj, iter->attr); in qedi_remove_sysfs_attr()
|
/linux-6.6.21/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 132 ret = sysfs_create_bin_file(&host->shost_gendev.kobj, in qla4_8xxx_alloc_sysfs_attr() 147 sysfs_remove_bin_file(&host->shost_gendev.kobj, in qla4_8xxx_free_sysfs_attr()
|
/linux-6.6.21/drivers/scsi/libsas/ |
D | sas_phy.c | 134 phy->phy = sas_phy_alloc(&sas_ha->shost->shost_gendev, i); in sas_register_phys()
|
D | sas_scsi_host.c | 1224 res = request_firmware(&fw, "sas_addr", &shost->shost_gendev); in sas_request_addr()
|
/linux-6.6.21/drivers/scsi/snic/ |
D | snic_disc.c | 268 tgt->dev.parent = get_device(&snic->shost->shost_gendev); in snic_tgt_create() 306 put_device(&snic->shost->shost_gendev); in snic_tgt_create()
|
/linux-6.6.21/drivers/ufs/core/ |
D | ufs_bsg.c | 241 struct device *parent = &shost->shost_gendev; in ufs_bsg_probe()
|
/linux-6.6.21/drivers/scsi/libfc/ |
D | fc_encode.h | 551 dev_name(&lport->host->shost_gendev), in fc_ct_ms_fill() 552 strnlen(dev_name(&lport->host->shost_gendev), in fc_ct_ms_fill()
|
/linux-6.6.21/drivers/message/fusion/ |
D | mptspi.c | 1147 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, SCSI_SCAN_RESCAN); in mpt_work_wrapper()
|