Lines Matching refs:pdb

1292 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb)
1316 pdb->handle = un.bill.pdb_handle;
1317 pdb->prli_word0 = un.bill.pdb_prli_svc0;
1318 pdb->prli_word3 = un.bill.pdb_prli_svc3;
1319 pdb->portid = BITS2WORD_24XX(un.bill.pdb_portid_bits);
1320 ISP_MEMCPY(pdb->portname, un.bill.pdb_portname, 8);
1321 ISP_MEMCPY(pdb->nodename, un.bill.pdb_nodename, 8);
1324 chan, id, pdb->portid, un.bill.pdb_flags,
1377 isp_pdb_t pdb;
1382 if (isp_getpdb(isp, chan, nphdl, &pdb)) {
1387 chan, nphdl, pdb.portid, pdb.portname[0], pdb.portname[1],
1388 pdb.portname[2], pdb.portname[3], pdb.portname[4],
1389 pdb.portname[5], pdb.portname[6], pdb.portname[7]);
1430 isp_pdb_t pdb;
1500 r = isp_getpdb(isp, chan, NPH_FL_ID, &pdb);
1501 if (r != 0 || pdb.portid == 0) {
1658 isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb)
1663 MAKE_WWN_FROM_NODE_NAME(wwnn, pdb->nodename);
1664 MAKE_WWN_FROM_NODE_NAME(wwpn, pdb->portname);
1680 if (lp->portid == pdb->portid &&
1681 lp->handle == pdb->handle &&
1682 lp->prli_word3 == pdb->prli_word3 &&
1683 ((pdb->prli_word0 & PRLI_WD0_EST_IMAGE_PAIR) ==
1689 chan, pdb->portid, pdb->handle);
1695 lp->handle = pdb->handle;
1696 lp->new_portid = pdb->portid;
1697 lp->new_prli_word0 = pdb->prli_word0;
1698 lp->new_prli_word3 = pdb->prli_word3;
1701 chan, pdb->portid, pdb->handle);
1714 lp->portid = lp->new_portid = pdb->portid;
1715 lp->prli_word0 = lp->new_prli_word0 = pdb->prli_word0;
1716 lp->prli_word3 = lp->new_prli_word3 = pdb->prli_word3;
1717 lp->handle = pdb->handle;
1721 chan, pdb->portid, pdb->handle);
1732 isp_pdb_t pdb;
1780 r = isp_getpdb(isp, chan, handle, &pdb);
1794 isp_pdb_add_update(isp, chan, &pdb);
2017 isp_pdb_t pdb;
2046 r = isp_getpdb(isp, chan, NPH_FL_ID, &pdb);
2193 r = isp_getpdb(isp, chan, lp->handle, &pdb);
2204 isp_pdb_add_update(isp, chan, &pdb);
2229 if (isp_login_device(isp, chan, portid, &pdb,
2236 isp_pdb_add_update(isp, chan, &pdb);
2913 isp_pdb_t *pdb;
2917 pdb = va_arg(ap, isp_pdb_t *);
2919 return (isp_getpdb(isp, chan, tgt, pdb));