Lines Matching defs:sas_node
69 * the sas_node object.
472 * @sas_node: sas node object (either expander or sas host)
487 struct _sas_node *sas_node, u64 sas_address, int phy_num)
497 list_for_each_entry(mpt2sas_port, &sas_node->sas_port_list, port_list) {
522 sas_node->sas_address);
529 * @sas_node: sas node object (either expander or sas host)
535 _transport_sanity_check(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_node,
540 for (i = 0; i < sas_node->num_phys; i++)
541 if (sas_node->phy[i].remote_identify.sas_address == sas_address)
542 if (sas_node->phy[i].phy_belongs_to_port)
543 _transport_delete_duplicate_port(ioc, sas_node,
554 * Adding new port object to the sas_node->sas_port_list.
565 struct _sas_node *sas_node;
581 sas_node = _transport_sas_node_find_by_sas_address(ioc, sas_address);
584 if (!sas_node) {
604 _transport_sanity_check(ioc, sas_node,
607 for (i = 0; i < sas_node->num_phys; i++) {
608 if (sas_node->phy[i].remote_identify.sas_address !=
611 list_add_tail(&sas_node->phy[i].port_siblings,
622 port = sas_port_alloc_num(sas_node->parent_dev);
660 list_add_tail(&mpt2sas_port->port_list, &sas_node->sas_port_list);
701 struct _sas_node *sas_node;
706 sas_node = _transport_sas_node_find_by_sas_address(ioc,
709 if (!sas_node)
711 list_for_each_entry_safe(mpt2sas_port, next, &sas_node->sas_port_list,
723 for (i = 0; i < sas_node->num_phys; i++) {
724 if (sas_node->phy[i].remote_identify.sas_address == sas_address)
725 memset(&sas_node->phy[i].remote_identify, 0 ,
894 struct _sas_node *sas_node;
901 sas_node = _transport_sas_node_find_by_sas_address(ioc, sas_address);
903 if (!sas_node)
906 mpt2sas_phy = &sas_node->phy[phy_number];