Lines Matching defs:pdb
1510 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb)
1534 pdb->handle = un.bill.pdb_handle;
1535 pdb->prli_word0 = un.bill.pdb_prli_svc0;
1536 pdb->prli_word3 = un.bill.pdb_prli_svc3;
1537 pdb->portid = BITS2WORD_24XX(un.bill.pdb_portid_bits);
1538 ISP_MEMCPY(pdb->portname, un.bill.pdb_portname, 8);
1539 ISP_MEMCPY(pdb->nodename, un.bill.pdb_nodename, 8);
1542 chan, id, pdb->portid, un.bill.pdb_flags,
1603 isp_pdb_t pdb;
1608 if (isp_getpdb(isp, chan, nphdl, &pdb)) {
1613 chan, nphdl, pdb.portid, pdb.portname[0], pdb.portname[1],
1614 pdb.portname[2], pdb.portname[3], pdb.portname[4],
1615 pdb.portname[5], pdb.portname[6], pdb.portname[7]);
1656 isp_pdb_t pdb;
1726 r = isp_getpdb(isp, chan, NPH_FL_ID, &pdb);
1727 if (r != 0 || pdb.portid == 0) {
1886 isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb)
1891 MAKE_WWN_FROM_NODE_NAME(wwnn, pdb->nodename);
1892 MAKE_WWN_FROM_NODE_NAME(wwpn, pdb->portname);
1908 if (lp->portid == pdb->portid &&
1909 lp->handle == pdb->handle &&
1910 lp->prli_word3 == pdb->prli_word3 &&
1911 ((pdb->prli_word0 & PRLI_WD0_EST_IMAGE_PAIR) ==
1917 chan, pdb->portid, pdb->handle);
1923 lp->handle = pdb->handle;
1924 lp->new_portid = pdb->portid;
1925 lp->new_prli_word0 = pdb->prli_word0;
1926 lp->new_prli_word3 = pdb->prli_word3;
1929 chan, pdb->portid, pdb->handle);
1942 lp->portid = lp->new_portid = pdb->portid;
1943 lp->prli_word0 = lp->new_prli_word0 = pdb->prli_word0;
1944 lp->prli_word3 = lp->new_prli_word3 = pdb->prli_word3;
1945 lp->handle = pdb->handle;
1949 chan, pdb->portid, pdb->handle);
1960 isp_pdb_t pdb;
2008 r = isp_getpdb(isp, chan, handle, &pdb);
2022 isp_pdb_add_update(isp, chan, &pdb);
2245 isp_pdb_t pdb;
2274 r = isp_getpdb(isp, chan, NPH_FL_ID, &pdb);
2421 r = isp_getpdb(isp, chan, lp->handle, &pdb);
2432 isp_pdb_add_update(isp, chan, &pdb);
2457 if (isp_login_device(isp, chan, portid, &pdb,
2464 isp_pdb_add_update(isp, chan, &pdb);
3142 isp_pdb_t *pdb;
3146 pdb = va_arg(ap, isp_pdb_t *);
3148 return (isp_getpdb(isp, chan, tgt, pdb));