Home
last modified time | relevance | path

Searched refs:shost_gendev (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/drivers/scsi/
Dhosts.c58 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 …]
Dscsi_transport_srp.c66 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 …]
Dscsi_pm.c249 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()
Dmyrb.c1437 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 …]
Dses.c682 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()
Dscsi_scan.c1576 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()
Dscsi_transport_fc.c2344 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()
Dscsi_transport_iscsi.c761 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()
Dmyrs.c189 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()
Dscsi_sysfs.c1624 transport_register_device(&shost->shost_gendev); in scsi_sysfs_add_host()
1625 transport_configure_device(&shost->shost_gendev); in scsi_sysfs_add_host()
Dscsi_transport_sas.c209 q = bsg_setup_queue(&shost->shost_gendev, name, in sas_bsg_initialize()
317 sas_remove_children(&shost->shost_gendev); in sas_remove_host()
Dvirtio_scsi.c287 scsi_scan_target(&shost->shost_gendev, 0, target, in virtscsi_handle_transport_reset()
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_main.c427 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 …]
Desas2r_init.c630 &(a->host->shost_gendev), in esas2r_kill_adapter()
636 &(a->host->shost_gendev), in esas2r_kill_adapter()
Desas2r_int.c644 &(a->host->shost_gendev), in esas2r_do_tasklet_tasks()
/linux-6.6.21/drivers/scsi/qedf/
Dqedf_dbg.c152 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/
Dscsi_host.h699 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/
Dqedi_dbg.c113 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/
Dql4_attr.c132 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/
Dsas_phy.c134 phy->phy = sas_phy_alloc(&sas_ha->shost->shost_gendev, i); in sas_register_phys()
Dsas_scsi_host.c1224 res = request_firmware(&fw, "sas_addr", &shost->shost_gendev); in sas_request_addr()
/linux-6.6.21/drivers/scsi/snic/
Dsnic_disc.c268 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/
Dufs_bsg.c241 struct device *parent = &shost->shost_gendev; in ufs_bsg_probe()
/linux-6.6.21/drivers/scsi/libfc/
Dfc_encode.h551 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/
Dmptspi.c1147 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, SCSI_SCAN_RESCAN); in mpt_work_wrapper()

12