Lines Matching refs:port
76 struct ctl_port port;
132 struct ctl_port *port;
138 port = &softc->port;
140 port->frontend = &cfcs_frontend;
141 port->port_type = CTL_PORT_INTERNAL;
143 port->num_requested_ctl_io = 4096;
145 port->port_name = softc->port_name;
146 port->port_online = cfcs_online;
147 port->port_offline = cfcs_offline;
148 port->onoff_arg = softc;
149 port->fe_datamove = cfcs_datamove;
150 port->fe_done = cfcs_done;
154 port->max_targets = 1;
155 port->max_target_id = 15;
156 port->targ_port = -1;
158 retval = ctl_port_register(port);
170 if (port->wwnn == 0) {
177 softc->wwpn = softc->wwnn + port->targ_port + 1;
178 ctl_port_set_wwns(port, true, softc->wwnn, true, softc->wwpn);
180 softc->wwnn = port->wwnn;
181 softc->wwpn = port->wwpn;
185 softc->devq = cam_simq_alloc(port->num_requested_ctl_io);
194 port->num_requested_ctl_io, softc->devq);
532 io = ctl_alloc_io_nowait(softc->port.ctl_pool_ref);
551 io->io_hdr.nexus.targ_port = softc->port.targ_port;
626 io = ctl_alloc_io_nowait(softc->port.ctl_pool_ref);
641 io->io_hdr.nexus.targ_port = softc->port.targ_port;
698 fc->port = softc->port.targ_port;
721 io = ctl_alloc_io_nowait(softc->port.ctl_pool_ref);
737 io->io_hdr.nexus.targ_port = softc->port.targ_port;
791 cpi->xport_specific.fc.port = softc->port.targ_port;