Lines Matching refs:dc_srom
1738 sc->dc_srom = malloc(size, M_DEVBUF, M_NOWAIT | M_ZERO); in dc_read_srom()
1739 if (sc->dc_srom == NULL) { in dc_read_srom()
1743 dc_read_eeprom(sc, (caddr_t)sc->dc_srom, 0, (size / 2), 0); in dc_read_srom()
1756 loff = sc->dc_srom[27]; in dc_parse_21143_srom()
1757 lhdr = (struct dc_leaf_hdr *)&(sc->dc_srom[loff]); in dc_parse_21143_srom()
2304 bcopy(sc->dc_srom + DC_CONEXANT_EE_NODEADDR, &eaddr, in dc_attach()
2319 srom = (uint16_t *)sc->dc_srom; in dc_attach()
2363 if (DC_IS_INTEL(sc) && sc->dc_srom != NULL) { in dc_attach()
2563 free(sc->dc_srom, M_DEVBUF); in dc_detach()
4114 if (DC_IS_INTEL(sc) && dsc->dc_srom != NULL && in dc_check_multiport()
4116 free(sc->dc_srom, M_DEVBUF); in dc_check_multiport()
4118 sc->dc_srom = malloc(DC_ROM_SIZE(sc->dc_romwidth), in dc_check_multiport()
4120 if (sc->dc_srom == NULL) { in dc_check_multiport()
4125 bcopy(dsc->dc_srom, sc->dc_srom, in dc_check_multiport()