Lines Matching refs:id
61 u_int32_t id;
71 u_int32_t id;
76 u_int32_t id;
557 switch (codec->id) {
580 ac97_hw_desc(u_int32_t id, const char* vname, const char* cname, char* buf)
583 sprintf(buf, "Unknown AC97 Codec (id = 0x%08x)", id);
590 sprintf(buf, "%s %s AC97 Codec (id = 0x%08x)", vname, cname, id);
605 u_int32_t id;
635 id = (ac97_rdcd(codec, AC97_REG_ID1) << 16) | ac97_rdcd(codec, AC97_REG_ID2);
636 if (id == 0 || id == 0xffffffff) {
637 device_printf(codec->dev, "ac97 codec invalid or not present (id == %x)\n", id);
642 codec->id = id;
651 for (i = 0; ac97codecid[i].id; i++) {
653 if ((ac97codecid[i].id & modelmask) == (id & modelmask)) {
657 model = (id & modelmask) & 0xff;
658 step = (id & ~modelmask) & 0xff;
664 for (i = 0; ac97vendorid[i].id; i++) {
665 if (ac97vendorid[i].id == (id & 0xffffff00)) {
756 ac97_hw_desc(codec->id, vname, cname, desc));
883 if (codec == NULL || codec->id == 0 || codec->lock == NULL)
937 switch (codec->id) {