Searched refs:sas_host (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dscsi_transport_sas.c204 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_host_release() local
205 struct request_queue *q = sas_host->q; sas_host_release()
234 "sas_host%d", shost->host_no); sas_bsg_initialize()
284 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_host_setup() local
286 INIT_LIST_HEAD(&sas_host->rphy_list); sas_host_setup()
287 mutex_init(&sas_host->lock); sas_host_setup()
288 sas_host->next_target_id = 0; sas_host_setup()
289 sas_host->next_expander_id = 0; sas_host_setup()
290 sas_host->next_port_id = 0; sas_host_setup()
310 "sas_host", sas_host_setup, sas_host_remove, NULL);
954 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_port_alloc_num() local
957 mutex_lock(&sas_host->lock); sas_port_alloc_num()
964 index = sas_host->next_port_id++; sas_port_alloc_num()
965 mutex_unlock(&sas_host->lock); sas_port_alloc_num()
1514 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_expander_alloc() local
1527 mutex_lock(&sas_host->lock); sas_expander_alloc()
1528 rdev->rphy.scsi_target_id = sas_host->next_expander_id++; sas_expander_alloc()
1529 mutex_unlock(&sas_host->lock); sas_expander_alloc()
1550 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_rphy_add() local
1567 mutex_lock(&sas_host->lock); sas_rphy_add()
1568 list_add_tail(&rphy->list, &sas_host->rphy_list); sas_rphy_add()
1572 rphy->scsi_target_id = sas_host->next_target_id++; sas_rphy_add()
1575 mutex_unlock(&sas_host->lock); sas_rphy_add()
1608 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_rphy_free() local
1610 mutex_lock(&sas_host->lock); sas_rphy_free()
1612 mutex_unlock(&sas_host->lock); sas_rphy_free()
1700 struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); sas_user_scan() local
1703 mutex_lock(&sas_host->lock); sas_user_scan()
1704 list_for_each_entry(rphy, &sas_host->rphy_list, list) { sas_user_scan()
1715 mutex_unlock(&sas_host->lock); sas_user_scan()
H A Dhpsa.h301 struct hpsa_sas_node *sas_host; member in struct:ctlr_info
H A Dhpsa.c1715 rc = hpsa_add_sas_device(h->sas_host, device); hpsa_add_device()
4139 if (h->sas_host == NULL) { hpsa_update_scsi_devices()
9439 h->sas_host = hpsa_sas_node; hpsa_add_sas_host()
9455 hpsa_free_sas_node(h->sas_host); hpsa_delete_sas_host()
/linux-4.4.14/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h590 * struct _sas_node - sas_host/expander information
593 * @num_phys: number phys belonging to this sas_host/expander
594 * @sas_address: sas address of this sas_host/expander
595 * @handle: handle for this sas_host/expander
598 * @device_info: bitwise defining capabilities of this sas_host/expander
600 * @phy: a list of phys that make up this sas_host/expander
601 * @sas_port_list: list of ports attached to this sas_host/expander
H A Dmpt3sas_transport.c855 * mpt3sas_transport_add_host_phy - report sas_host phy to transport
1644 * Only support sas_host direct attached phys.
1782 * Only support sas_host direct attached phys.
H A Dmpt3sas_scsih.c4652 "updating handles for sas_host(0x%016llx)\n", _scsih_sas_host_refresh()
7962 /* free ports attached to the sas_host */ scsih_remove()
7977 /* free phys attached to the sas_host */ scsih_remove()

Completed in 271 milliseconds