ichdev 388 sound/pci/intel8x0.c struct ichdev ichd[6]; ichdev 666 sound/pci/intel8x0.c u32 *bdbar = ichdev->bdbar; ichdev 667 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; ichdev 669 sound/pci/intel8x0.c iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr); ichdev 670 sound/pci/intel8x0.c if (ichdev->size == ichdev->fragsize) { ichdev 671 sound/pci/intel8x0.c ichdev->ack_reload = ichdev->ack = 2; ichdev 672 sound/pci/intel8x0.c ichdev->fragsize1 = ichdev->fragsize >> 1; ichdev 674 sound/pci/intel8x0.c bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf); ichdev 676 sound/pci/intel8x0.c ichdev->fragsize1 >> ichdev->pos_shift); ichdev 677 sound/pci/intel8x0.c bdbar[idx + 2] = cpu_to_le32(ichdev->physbuf + (ichdev->size >> 1)); ichdev 679 sound/pci/intel8x0.c ichdev->fragsize1 >> ichdev->pos_shift); ichdev 681 sound/pci/intel8x0.c ichdev->frags = 2; ichdev 683 sound/pci/intel8x0.c ichdev->ack_reload = ichdev->ack = 1; ichdev 684 sound/pci/intel8x0.c ichdev->fragsize1 = ichdev->fragsize; ichdev 686 sound/pci/intel8x0.c bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + ichdev 687 sound/pci/intel8x0.c (((idx >> 1) * ichdev->fragsize) % ichdev 688 sound/pci/intel8x0.c ichdev->size)); ichdev 690 sound/pci/intel8x0.c ichdev->fragsize >> ichdev->pos_shift); ichdev 696 sound/pci/intel8x0.c ichdev->frags = ichdev->size / ichdev->fragsize; ichdev 698 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK); ichdev 699 sound/pci/intel8x0.c ichdev->civ = 0; ichdev 701 sound/pci/intel8x0.c ichdev->lvi_frag = ICH_REG_LVI_MASK % ichdev->frags; ichdev 702 sound/pci/intel8x0.c ichdev->position = 0; ichdev 705 sound/pci/intel8x0.c ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, ichdev->fragsize1); ichdev 708 sound/pci/intel8x0.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); ichdev 736 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; ichdev 742 sound/pci/intel8x0.c status = igetbyte(chip, port + ichdev->roff_sr); ichdev 746 sound/pci/intel8x0.c } else if (civ == ichdev->civ) { ichdev 749 sound/pci/intel8x0.c ichdev->civ++; ichdev 750 sound/pci/intel8x0.c ichdev->civ &= ICH_REG_LVI_MASK; ichdev 752 sound/pci/intel8x0.c step = civ - ichdev->civ; ichdev 757 sound/pci/intel8x0.c ichdev->civ = civ; ichdev 760 sound/pci/intel8x0.c ichdev->position += step * ichdev->fragsize1; ichdev 762 sound/pci/intel8x0.c ichdev->position %= ichdev->size; ichdev 763 sound/pci/intel8x0.c ichdev->lvi += step; ichdev 764 sound/pci/intel8x0.c ichdev->lvi &= ICH_REG_LVI_MASK; ichdev 765 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi); ichdev 767 sound/pci/intel8x0.c ichdev->lvi_frag++; ichdev 768 sound/pci/intel8x0.c ichdev->lvi_frag %= ichdev->frags; ichdev 769 sound/pci/intel8x0.c ichdev->bdbar[ichdev->lvi * 2] = cpu_to_le32(ichdev->physbuf + ichdev->lvi_frag * ichdev->fragsize1); ichdev 772 sound/pci/intel8x0.c ichdev->lvi * 2, ichdev->bdbar[ichdev->lvi * 2], ichdev 773 sound/pci/intel8x0.c ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port), ichdev 776 sound/pci/intel8x0.c if (--ichdev->ack == 0) { ichdev 777 sound/pci/intel8x0.c ichdev->ack = ichdev->ack_reload; ichdev 782 sound/pci/intel8x0.c if (ack && ichdev->substream) { ichdev 783 sound/pci/intel8x0.c snd_pcm_period_elapsed(ichdev->substream); ichdev 785 sound/pci/intel8x0.c iputbyte(chip, port + ichdev->roff_sr, ichdev 792 sound/pci/intel8x0.c struct ichdev *ichdev; ichdev 811 sound/pci/intel8x0.c ichdev = &chip->ichd[i]; ichdev 812 sound/pci/intel8x0.c if (status & ichdev->int_sta_mask) ichdev 813 sound/pci/intel8x0.c snd_intel8x0_update(chip, ichdev); ichdev 829 sound/pci/intel8x0.c struct ichdev *ichdev = get_ichdev(substream); ichdev 831 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; ichdev 835 sound/pci/intel8x0.c ichdev->suspended = 0; ichdev 841 sound/pci/intel8x0.c ichdev->suspended = 1; ichdev 858 sound/pci/intel8x0.c while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ; ichdev 868 sound/pci/intel8x0.c struct ichdev *ichdev = get_ichdev(substream); ichdev 869 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; ichdev 878 sound/pci/intel8x0.c ichdev->suspended = 0; ichdev 884 sound/pci/intel8x0.c fifo = igetdword(chip, fiforeg[ichdev->ali_slot / 4]); ichdev 885 sound/pci/intel8x0.c fifo &= ~(0xff << (ichdev->ali_slot % 4)); ichdev 886 sound/pci/intel8x0.c fifo |= 0x83 << (ichdev->ali_slot % 4); ichdev 887 sound/pci/intel8x0.c iputdword(chip, fiforeg[ichdev->ali_slot / 4], fifo); ichdev 890 sound/pci/intel8x0.c val &= ~(1 << (ichdev->ali_slot + 16)); /* clear PAUSE flag */ ichdev 892 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_DMACR), val | (1 << ichdev->ali_slot)); ichdev 895 sound/pci/intel8x0.c ichdev->suspended = 1; ichdev 900 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_DMACR), val | (1 << (ichdev->ali_slot + 16))); ichdev 912 sound/pci/intel8x0.c igetdword(chip, ICHREG(ALI_INTERRUPTSR)) & ichdev->int_sta_mask); ichdev 924 sound/pci/intel8x0.c struct ichdev *ichdev = get_ichdev(substream); ichdev 929 sound/pci/intel8x0.c if (chip->fix_nocache && ichdev->page_attr_changed) { ichdev 931 sound/pci/intel8x0.c ichdev->page_attr_changed = 0; ichdev 937 sound/pci/intel8x0.c if (runtime->dma_area && ! ichdev->page_attr_changed) { ichdev 939 sound/pci/intel8x0.c ichdev->page_attr_changed = 1; ichdev 942 sound/pci/intel8x0.c if (ichdev->pcm_open_flag) { ichdev 943 sound/pci/intel8x0.c snd_ac97_pcm_close(ichdev->pcm); ichdev 944 sound/pci/intel8x0.c ichdev->pcm_open_flag = 0; ichdev 946 sound/pci/intel8x0.c err = snd_ac97_pcm_open(ichdev->pcm, params_rate(hw_params), ichdev 948 sound/pci/intel8x0.c ichdev->pcm->r[dbl].slots); ichdev 950 sound/pci/intel8x0.c ichdev->pcm_open_flag = 1; ichdev 952 sound/pci/intel8x0.c if (ichdev->ichd == ICHD_PCMOUT && chip->spdif_idx < 0) ichdev 953 sound/pci/intel8x0.c snd_ac97_set_rate(ichdev->pcm->r[0].codec[0], AC97_SPDIF, ichdev 962 sound/pci/intel8x0.c struct ichdev *ichdev = get_ichdev(substream); ichdev 964 sound/pci/intel8x0.c if (ichdev->pcm_open_flag) { ichdev 965 sound/pci/intel8x0.c snd_ac97_pcm_close(ichdev->pcm); ichdev 966 sound/pci/intel8x0.c ichdev->pcm_open_flag = 0; ichdev 968 sound/pci/intel8x0.c if (chip->fix_nocache && ichdev->page_attr_changed) { ichdev 970 sound/pci/intel8x0.c ichdev->page_attr_changed = 0; ichdev 1034 sound/pci/intel8x0.c struct ichdev *ichdev = get_ichdev(substream); ichdev 1036 sound/pci/intel8x0.c ichdev->physbuf = runtime->dma_addr; ichdev 1037 sound/pci/intel8x0.c ichdev->size = snd_pcm_lib_buffer_bytes(substream); ichdev 1038 sound/pci/intel8x0.c ichdev->fragsize = snd_pcm_lib_period_bytes(substream); ichdev 1039 sound/pci/intel8x0.c if (ichdev->ichd == ICHD_PCMOUT) { ichdev 1042 sound/pci/intel8x0.c ichdev->pos_shift = (runtime->sample_bits > 16) ? 2 : 1; ichdev 1044 sound/pci/intel8x0.c snd_intel8x0_setup_periods(chip, ichdev); ichdev 1051 sound/pci/intel8x0.c struct ichdev *ichdev = get_ichdev(substream); ichdev 1058 sound/pci/intel8x0.c civ = igetbyte(chip, ichdev->reg_offset + ICH_REG_OFF_CIV); ichdev 1059 sound/pci/intel8x0.c ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb); ichdev 1060 sound/pci/intel8x0.c position = ichdev->position; ichdev 1065 sound/pci/intel8x0.c if (civ == igetbyte(chip, ichdev->reg_offset + ICH_REG_OFF_CIV) && ichdev 1066 sound/pci/intel8x0.c ptr1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb)) ichdev 1069 sound/pci/intel8x0.c ptr1 <<= ichdev->pos_shift; ichdev 1070 sound/pci/intel8x0.c ptr = ichdev->fragsize1 - ptr1; ichdev 1073 sound/pci/intel8x0.c if (ptr >= ichdev->size) ichdev 1135 sound/pci/intel8x0.c ichdev->substream = substream; ichdev 1137 sound/pci/intel8x0.c runtime->hw.rates = ichdev->pcm->rates; ichdev 1145 sound/pci/intel8x0.c runtime->private_data = ichdev; ichdev 2518 sound/pci/intel8x0.c struct ichdev *ichdev = &chip->ichd[i]; ichdev 2519 sound/pci/intel8x0.c if (ichdev->substream && ichdev->page_attr_changed) { ichdev 2520 sound/pci/intel8x0.c struct snd_pcm_runtime *runtime = ichdev->substream->runtime; ichdev 2590 sound/pci/intel8x0.c struct ichdev *ichdev = &chip->ichd[i]; ichdev 2591 sound/pci/intel8x0.c if (ichdev->substream && ichdev->page_attr_changed) { ichdev 2592 sound/pci/intel8x0.c struct snd_pcm_runtime *runtime = ichdev->substream->runtime; ichdev 2601 sound/pci/intel8x0.c struct ichdev *ichdev = &chip->ichd[i]; ichdev 2602 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; ichdev 2603 sound/pci/intel8x0.c if (! ichdev->substream || ! ichdev->suspended) ichdev 2605 sound/pci/intel8x0.c if (ichdev->ichd == ICHD_PCMOUT) ichdev 2606 sound/pci/intel8x0.c snd_intel8x0_setup_pcm_out(chip, ichdev->substream->runtime); ichdev 2607 sound/pci/intel8x0.c iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr); ichdev 2608 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi); ichdev 2609 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CIV, ichdev->civ); ichdev 2610 sound/pci/intel8x0.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); ichdev 2623 sound/pci/intel8x0.c struct ichdev *ichdev; ichdev 2636 sound/pci/intel8x0.c ichdev = &chip->ichd[ICHD_PCMOUT]; ichdev 2637 sound/pci/intel8x0.c ichdev->physbuf = subs->dma_buffer.addr; ichdev 2638 sound/pci/intel8x0.c ichdev->size = chip->ichd[ICHD_PCMOUT].fragsize = INTEL8X0_TESTBUF_SIZE; ichdev 2639 sound/pci/intel8x0.c ichdev->substream = NULL; /* don't process interrupts */ ichdev 2646 sound/pci/intel8x0.c snd_intel8x0_setup_periods(chip, ichdev); ichdev 2647 sound/pci/intel8x0.c port = ichdev->reg_offset; ichdev 2655 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_DMACR), 1 << ichdev->ali_slot); ichdev 2662 sound/pci/intel8x0.c pos = ichdev->fragsize1; ichdev 2663 sound/pci/intel8x0.c pos -= igetword(chip, ichdev->reg_offset + ichdev->roff_picb) << ichdev->pos_shift; ichdev 2664 sound/pci/intel8x0.c pos += ichdev->position; ichdev 2669 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_DMACR), 1 << (ichdev->ali_slot + 16)); ichdev 2675 sound/pci/intel8x0.c while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ichdev 2796 sound/pci/intel8x0.c struct ichdev *ichdev; ichdev 2905 sound/pci/intel8x0.c ichdev = &chip->ichd[i]; ichdev 2906 sound/pci/intel8x0.c ichdev->ichd = i; ichdev 2907 sound/pci/intel8x0.c ichdev->reg_offset = tbl[i].offset; ichdev 2908 sound/pci/intel8x0.c ichdev->int_sta_mask = tbl[i].int_sta_mask; ichdev 2911 sound/pci/intel8x0.c ichdev->roff_sr = ICH_REG_OFF_PICB; ichdev 2912 sound/pci/intel8x0.c ichdev->roff_picb = ICH_REG_OFF_SR; ichdev 2914 sound/pci/intel8x0.c ichdev->roff_sr = ICH_REG_OFF_SR; ichdev 2915 sound/pci/intel8x0.c ichdev->roff_picb = ICH_REG_OFF_PICB; ichdev 2918 sound/pci/intel8x0.c ichdev->ali_slot = (ichdev->reg_offset - 0x40) / 0x10; ichdev 2920 sound/pci/intel8x0.c ichdev->pos_shift = (device_type == DEVICE_SIS) ? 0 : 1; ichdev 2939 sound/pci/intel8x0.c ichdev = &chip->ichd[i]; ichdev 2940 sound/pci/intel8x0.c ichdev->bdbar = ((u32 *)chip->bdbars.area) + ichdev 2942 sound/pci/intel8x0.c ichdev->bdbar_addr = chip->bdbars.addr + ichdev 2944 sound/pci/intel8x0.c int_sta_masks |= ichdev->int_sta_mask; ichdev 206 sound/pci/intel8x0m.c struct ichdev ichd[2]; ichdev 391 sound/pci/intel8x0m.c u32 *bdbar = ichdev->bdbar; ichdev 392 sound/pci/intel8x0m.c unsigned long port = ichdev->reg_offset; ichdev 394 sound/pci/intel8x0m.c iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr); ichdev 395 sound/pci/intel8x0m.c if (ichdev->size == ichdev->fragsize) { ichdev 396 sound/pci/intel8x0m.c ichdev->ack_reload = ichdev->ack = 2; ichdev 397 sound/pci/intel8x0m.c ichdev->fragsize1 = ichdev->fragsize >> 1; ichdev 399 sound/pci/intel8x0m.c bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf); ichdev 401 sound/pci/intel8x0m.c ichdev->fragsize1 >> chip->pcm_pos_shift); ichdev 402 sound/pci/intel8x0m.c bdbar[idx + 2] = cpu_to_le32(ichdev->physbuf + (ichdev->size >> 1)); ichdev 404 sound/pci/intel8x0m.c ichdev->fragsize1 >> chip->pcm_pos_shift); ichdev 406 sound/pci/intel8x0m.c ichdev->frags = 2; ichdev 408 sound/pci/intel8x0m.c ichdev->ack_reload = ichdev->ack = 1; ichdev 409 sound/pci/intel8x0m.c ichdev->fragsize1 = ichdev->fragsize; ichdev 411 sound/pci/intel8x0m.c bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + (((idx >> 1) * ichdev->fragsize) % ichdev->size)); ichdev 413 sound/pci/intel8x0m.c ichdev->fragsize >> chip->pcm_pos_shift); ichdev 416 sound/pci/intel8x0m.c ichdev->frags = ichdev->size / ichdev->fragsize; ichdev 418 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK); ichdev 419 sound/pci/intel8x0m.c ichdev->civ = 0; ichdev 421 sound/pci/intel8x0m.c ichdev->lvi_frag = ICH_REG_LVI_MASK % ichdev->frags; ichdev 422 sound/pci/intel8x0m.c ichdev->position = 0; ichdev 425 sound/pci/intel8x0m.c ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, ichdev->fragsize1); ichdev 428 sound/pci/intel8x0m.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); ichdev 437 sound/pci/intel8x0m.c unsigned long port = ichdev->reg_offset; ichdev 442 sound/pci/intel8x0m.c if (civ == ichdev->civ) { ichdev 445 sound/pci/intel8x0m.c ichdev->civ++; ichdev 446 sound/pci/intel8x0m.c ichdev->civ &= ICH_REG_LVI_MASK; ichdev 448 sound/pci/intel8x0m.c step = civ - ichdev->civ; ichdev 453 sound/pci/intel8x0m.c ichdev->civ = civ; ichdev 456 sound/pci/intel8x0m.c ichdev->position += step * ichdev->fragsize1; ichdev 457 sound/pci/intel8x0m.c ichdev->position %= ichdev->size; ichdev 458 sound/pci/intel8x0m.c ichdev->lvi += step; ichdev 459 sound/pci/intel8x0m.c ichdev->lvi &= ICH_REG_LVI_MASK; ichdev 460 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi); ichdev 462 sound/pci/intel8x0m.c ichdev->lvi_frag++; ichdev 463 sound/pci/intel8x0m.c ichdev->lvi_frag %= ichdev->frags; ichdev 464 sound/pci/intel8x0m.c ichdev->bdbar[ichdev->lvi * 2] = cpu_to_le32(ichdev->physbuf + ichdev 465 sound/pci/intel8x0m.c ichdev->lvi_frag * ichdev 466 sound/pci/intel8x0m.c ichdev->fragsize1); ichdev 469 sound/pci/intel8x0m.c ichdev->lvi * 2, ichdev->bdbar[ichdev->lvi * 2], ichdev 470 sound/pci/intel8x0m.c ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port), ichdev 473 sound/pci/intel8x0m.c if (--ichdev->ack == 0) { ichdev 474 sound/pci/intel8x0m.c ichdev->ack = ichdev->ack_reload; ichdev 478 sound/pci/intel8x0m.c if (ack && ichdev->substream) { ichdev 480 sound/pci/intel8x0m.c snd_pcm_period_elapsed(ichdev->substream); ichdev 483 sound/pci/intel8x0m.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); ichdev 489 sound/pci/intel8x0m.c struct ichdev *ichdev; ichdev 507 sound/pci/intel8x0m.c ichdev = &chip->ichd[i]; ichdev 508 sound/pci/intel8x0m.c if (status & ichdev->int_sta_mask) ichdev 509 sound/pci/intel8x0m.c snd_intel8x0_update(chip, ichdev); ichdev 526 sound/pci/intel8x0m.c struct ichdev *ichdev = get_ichdev(substream); ichdev 528 sound/pci/intel8x0m.c unsigned long port = ichdev->reg_offset; ichdev 551 sound/pci/intel8x0m.c while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ; ichdev 572 sound/pci/intel8x0m.c struct ichdev *ichdev = get_ichdev(substream); ichdev 575 sound/pci/intel8x0m.c ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb) << chip->pcm_pos_shift; ichdev 577 sound/pci/intel8x0m.c ptr = ichdev->fragsize1 - ptr1; ichdev 580 sound/pci/intel8x0m.c ptr += ichdev->position; ichdev 581 sound/pci/intel8x0m.c if (ptr >= ichdev->size) ichdev 590 sound/pci/intel8x0m.c struct ichdev *ichdev = get_ichdev(substream); ichdev 592 sound/pci/intel8x0m.c ichdev->physbuf = runtime->dma_addr; ichdev 593 sound/pci/intel8x0m.c ichdev->size = snd_pcm_lib_buffer_bytes(substream); ichdev 594 sound/pci/intel8x0m.c ichdev->fragsize = snd_pcm_lib_period_bytes(substream); ichdev 595 sound/pci/intel8x0m.c snd_ac97_write(ichdev->ac97, AC97_LINE1_RATE, runtime->rate); ichdev 596 sound/pci/intel8x0m.c snd_ac97_write(ichdev->ac97, AC97_LINE1_LEVEL, 0); ichdev 597 sound/pci/intel8x0m.c snd_intel8x0_setup_periods(chip, ichdev); ichdev 634 sound/pci/intel8x0m.c ichdev->substream = substream; ichdev 640 sound/pci/intel8x0m.c runtime->private_data = ichdev; ichdev 1111 sound/pci/intel8x0m.c struct ichdev *ichdev; ichdev 1184 sound/pci/intel8x0m.c ichdev = &chip->ichd[i]; ichdev 1185 sound/pci/intel8x0m.c ichdev->ichd = i; ichdev 1186 sound/pci/intel8x0m.c ichdev->reg_offset = tbl[i].offset; ichdev 1187 sound/pci/intel8x0m.c ichdev->int_sta_mask = tbl[i].int_sta_mask; ichdev 1190 sound/pci/intel8x0m.c ichdev->roff_sr = ICH_REG_OFF_PICB; ichdev 1191 sound/pci/intel8x0m.c ichdev->roff_picb = ICH_REG_OFF_SR; ichdev 1193 sound/pci/intel8x0m.c ichdev->roff_sr = ICH_REG_OFF_SR; ichdev 1194 sound/pci/intel8x0m.c ichdev->roff_picb = ICH_REG_OFF_PICB; ichdev 1197 sound/pci/intel8x0m.c ichdev->ali_slot = (ichdev->reg_offset - 0x40) / 0x10; ichdev 1214 sound/pci/intel8x0m.c ichdev = &chip->ichd[i]; ichdev 1215 sound/pci/intel8x0m.c ichdev->bdbar = ((u32 *)chip->bdbars.area) + (i * ICH_MAX_FRAGS * 2); ichdev 1216 sound/pci/intel8x0m.c ichdev->bdbar_addr = chip->bdbars.addr + (i * sizeof(u32) * ICH_MAX_FRAGS * 2); ichdev 1217 sound/pci/intel8x0m.c int_sta_masks |= ichdev->int_sta_mask;