Lines Matching refs:port
73 struct ctl_port port;
95 struct ctl_port *port;
99 port = &isoftc->port;
100 port->frontend = &cfi_frontend;
101 port->port_type = CTL_PORT_IOCTL;
102 port->num_requested_ctl_io = 100;
103 port->port_name = "ioctl";
104 port->fe_datamove = cfi_datamove;
105 port->fe_done = cfi_done;
106 port->max_targets = 1;
107 port->max_target_id = 0;
108 port->targ_port = -1;
109 port->max_initiators = 1;
111 if (ctl_port_register(port) != 0) {
112 printf("%s: ioctl port registration failed\n", __func__);
115 ctl_port_online(port);
123 struct ctl_port *port;
125 port = &isoftc->port;
126 ctl_port_offline(port);
127 if (ctl_port_deregister(&isoftc->port) != 0)
132 * Data movement routine for the CTL ioctl frontend port.
407 if ((cfi_softc.port.status & CTL_PORT_STATUS_ONLINE) == 0)
410 io = ctl_alloc_io(cfi_softc.port.ctl_pool_ref);
428 io->io_hdr.nexus.targ_port = cfi_softc.port.targ_port;