Lines Matching refs:ln
604 struct csio_lnode *ln; in csio_shost_init() local
625 ln = shost_priv(shost); in csio_shost_init()
626 memset(ln, 0, sizeof(struct csio_lnode)); in csio_shost_init()
629 ln->dev_num = (shost->host_no << 16); in csio_shost_init()
645 hw->rln = ln; in csio_shost_init()
648 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init()
654 return ln; in csio_shost_init()
657 csio_lnode_exit(ln); in csio_shost_init()
670 csio_shost_exit(struct csio_lnode *ln) in csio_shost_exit() argument
672 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_shost_exit()
673 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_shost_exit()
688 csio_lnode_exit(ln); in csio_shost_exit()
703 struct csio_lnode *ln; in csio_lnodes_block_request() local
729 ln = lnode_list[ii]; in csio_lnodes_block_request()
730 shost = csio_ln_to_shost(ln); in csio_lnodes_block_request()
740 struct csio_lnode *ln; in csio_lnodes_unblock_request() local
768 ln = lnode_list[ii]; in csio_lnodes_unblock_request()
769 shost = csio_ln_to_shost(ln); in csio_lnodes_unblock_request()
778 struct csio_lnode *ln; in csio_lnodes_block_by_port() local
809 ln = lnode_list[ii]; in csio_lnodes_block_by_port()
810 shost = csio_ln_to_shost(ln); in csio_lnodes_block_by_port()
819 struct csio_lnode *ln; in csio_lnodes_unblock_by_port() local
849 ln = lnode_list[ii]; in csio_lnodes_unblock_by_port()
850 shost = csio_ln_to_shost(ln); in csio_lnodes_unblock_by_port()
860 struct csio_lnode *ln; in csio_lnodes_exit() local
886 ln = lnode_list[ii]; in csio_lnodes_exit()
887 fc_vport_terminate(ln->fc_vport); in csio_lnodes_exit()
920 csio_lnode_init_post(struct csio_lnode *ln) in csio_lnode_init_post() argument
922 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_lnode_init_post()
924 csio_fchost_attr_init(ln); in csio_lnode_init_post()
953 struct csio_lnode *ln; in csio_probe_one() local
984 ln = csio_shost_init(hw, &pdev->dev, true, NULL); in csio_probe_one()
985 if (!ln) { in csio_probe_one()
990 ln->portid = hw->pport[i].portid; in csio_probe_one()
993 if (csio_lnode_start(ln) != 0) in csio_probe_one()
1000 csio_lnode_init_post(ln); in csio_probe_one()
1123 struct csio_lnode *ln; in csio_pci_resume() local
1130 ln = csio_shost_init(hw, &pdev->dev, true, NULL); in csio_pci_resume()
1131 if (!ln) { in csio_pci_resume()
1136 ln->portid = hw->pport[i].portid; in csio_pci_resume()
1139 if (csio_lnode_start(ln) != 0) in csio_pci_resume()
1146 csio_lnode_init_post(ln); in csio_pci_resume()