Lines Matching refs:devid
89 static sb_info_t * sb_doattach(sb_info_t *si, uint devid, osl_t *osh, void *regs,
91 static void sb_scan(sb_info_t *si, void *regs, uint devid);
275 * devid - pci device id (used to determine chip#)
283 BCMINITFN(sb_attach)(uint devid, osl_t *osh, void *regs,
294 if (sb_doattach(si, devid, osh, regs, bustype, sdh, vars, varsz) == NULL) {
336 BCMINITFN(sb_doattach)(sb_info_t *si, uint devid, osl_t *osh, void *regs,
359 "devid:0x%x\n", __FUNCTION__, devid));
390 sb_scan(si, regs, devid);
1285 BCMINITFN(sb_scan)(sb_info_t *si, void *regs, uint devid)
1304 /* Use devid as initial chipid and we'll update it later in _sb_scan */
1305 si->sb.chip = devid;
1311 if (devid == SDIOH_FPGA_ID)
3333 /* Let an nvram variable with devpath override devid */
3334 if ((device = (uint16)sb_getdevpathintvar(sbh, "devid")) != 0)
3336 /* Get devid from OTP/SPROM depending on where the SROM is read */
3337 else if ((device = (uint16)getintvar(si->vars, "devid")) != 0)