Lines Matching defs:loopid
114 u_int16_t loopid;
774 qle_get_port_db(struct qle_softc *sc, u_int16_t loopid, struct qle_dmamem *mem)
777 sc->sc_mbox[1] = loopid;
783 DEVNAME(sc), loopid, sc->sc_mbox[0]);
818 u_int16_t loopid;
821 loopid = lemtoh16(&l[i].loopid) & 0xfff;
823 switch (loopid) {
831 if (loopid <= sc->sc_loop_max_id) {
832 loc = QLE_LOCATION_LOOP_ID(loopid);
852 port->loopid = loopid;
855 DEVNAME(sc), port->loopid, port->port_name);
872 if (qle_get_port_db(sc, port->loopid, sc->sc_scratch) != 0) {
893 sc->sc_targets[port->loopid] = port;
911 "target" : "non-target", port->loopid,
925 if (qle_get_port_db(sc, port->loopid, sc->sc_scratch) != 0) {
949 sc->sc_targets[port->loopid] = port;
954 "target" : "non-target", port->loopid, port->port_name);
959 qle_add_logged_in_port(struct qle_softc *sc, u_int16_t loopid,
967 ret = qle_get_port_db(sc, loopid, sc->sc_scratch);
972 DEVNAME(sc), loopid);
1007 port->loopid = loopid;
1012 sc->sc_targets[port->loopid] = port;
1016 DEVNAME(sc), portid, loopid);
1979 htolem16(&iocb->req_nport_handle, port->loopid);
1985 DEVNAME(sc), port->loopid, port->portid, flags);
2022 int err, loopid;
2024 loopid = 0;
2026 if (port->loopid == 0) {
2029 loopid = qle_get_loop_id(sc, loopid);
2031 if (loopid == -1) {
2036 port->loopid = loopid;
2043 DEVNAME(sc), port->portid, port->loopid);
2050 port->loopid = info;
2055 if (qle_add_logged_in_port(sc, loopid, info)) {
2058 port->loopid = 0;
2059 loopid++;
2065 port->loopid = 0;
2123 port->loopid, DETACH_FORCE |
2125 sc->sc_targets[port->loopid] = NULL;
2177 port = sc->sc_targets[fport->loopid];
2220 DEVNAME(sc), fport->loopid);
2342 sc->sc_targets[port->loopid] = NULL;
2353 port->loopid, DETACH_FORCE |
2381 port->loopid);