ichdev            373 sound/pci/intel8x0.c 	struct ichdev ichd[6];
ichdev            656 sound/pci/intel8x0.c static void snd_intel8x0_setup_periods(struct intel8x0 *chip, struct ichdev *ichdev) 
ichdev            659 sound/pci/intel8x0.c 	__le32 *bdbar = ichdev->bdbar;
ichdev            660 sound/pci/intel8x0.c 	unsigned long port = ichdev->reg_offset;
ichdev            662 sound/pci/intel8x0.c 	iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr);
ichdev            663 sound/pci/intel8x0.c 	if (ichdev->size == ichdev->fragsize) {
ichdev            664 sound/pci/intel8x0.c 		ichdev->ack_reload = ichdev->ack = 2;
ichdev            665 sound/pci/intel8x0.c 		ichdev->fragsize1 = ichdev->fragsize >> 1;
ichdev            667 sound/pci/intel8x0.c 			bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf);
ichdev            669 sound/pci/intel8x0.c 						     ichdev->fragsize1 >> ichdev->pos_shift);
ichdev            670 sound/pci/intel8x0.c 			bdbar[idx + 2] = cpu_to_le32(ichdev->physbuf + (ichdev->size >> 1));
ichdev            672 sound/pci/intel8x0.c 						     ichdev->fragsize1 >> ichdev->pos_shift);
ichdev            674 sound/pci/intel8x0.c 		ichdev->frags = 2;
ichdev            676 sound/pci/intel8x0.c 		ichdev->ack_reload = ichdev->ack = 1;
ichdev            677 sound/pci/intel8x0.c 		ichdev->fragsize1 = ichdev->fragsize;
ichdev            679 sound/pci/intel8x0.c 			bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf +
ichdev            680 sound/pci/intel8x0.c 						     (((idx >> 1) * ichdev->fragsize) %
ichdev            681 sound/pci/intel8x0.c 						      ichdev->size));
ichdev            683 sound/pci/intel8x0.c 						     ichdev->fragsize >> ichdev->pos_shift);
ichdev            689 sound/pci/intel8x0.c 		ichdev->frags = ichdev->size / ichdev->fragsize;
ichdev            691 sound/pci/intel8x0.c 	iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK);
ichdev            692 sound/pci/intel8x0.c 	ichdev->civ = 0;
ichdev            694 sound/pci/intel8x0.c 	ichdev->lvi_frag = ICH_REG_LVI_MASK % ichdev->frags;
ichdev            695 sound/pci/intel8x0.c 	ichdev->position = 0;
ichdev            699 sound/pci/intel8x0.c 	       ichdev->lvi_frag, ichdev->frags, ichdev->fragsize,
ichdev            700 sound/pci/intel8x0.c 	       ichdev->fragsize1);
ichdev            703 sound/pci/intel8x0.c 	iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI);
ichdev            710 sound/pci/intel8x0.c static inline void snd_intel8x0_update(struct intel8x0 *chip, struct ichdev *ichdev)
ichdev            712 sound/pci/intel8x0.c 	unsigned long port = ichdev->reg_offset;
ichdev            718 sound/pci/intel8x0.c 	status = igetbyte(chip, port + ichdev->roff_sr);
ichdev            722 sound/pci/intel8x0.c 	} else if (civ == ichdev->civ) {
ichdev            725 sound/pci/intel8x0.c 		ichdev->civ++;
ichdev            726 sound/pci/intel8x0.c 		ichdev->civ &= ICH_REG_LVI_MASK;
ichdev            728 sound/pci/intel8x0.c 		step = civ - ichdev->civ;
ichdev            733 sound/pci/intel8x0.c 		ichdev->civ = civ;
ichdev            736 sound/pci/intel8x0.c 	ichdev->position += step * ichdev->fragsize1;
ichdev            738 sound/pci/intel8x0.c 		ichdev->position %= ichdev->size;
ichdev            739 sound/pci/intel8x0.c 	ichdev->lvi += step;
ichdev            740 sound/pci/intel8x0.c 	ichdev->lvi &= ICH_REG_LVI_MASK;
ichdev            741 sound/pci/intel8x0.c 	iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi);
ichdev            743 sound/pci/intel8x0.c 		ichdev->lvi_frag++;
ichdev            744 sound/pci/intel8x0.c 		ichdev->lvi_frag %= ichdev->frags;
ichdev            745 sound/pci/intel8x0.c 		ichdev->bdbar[ichdev->lvi * 2] = cpu_to_le32(ichdev->physbuf + ichdev->lvi_frag * ichdev->fragsize1);
ichdev            749 sound/pci/intel8x0.c 	       ichdev->lvi * 2, ichdev->bdbar[ichdev->lvi * 2],
ichdev            750 sound/pci/intel8x0.c 	       ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port),
ichdev            753 sound/pci/intel8x0.c 		if (--ichdev->ack == 0) {
ichdev            754 sound/pci/intel8x0.c 			ichdev->ack = ichdev->ack_reload;
ichdev            759 sound/pci/intel8x0.c 	if (ack && ichdev->substream) {
ichdev            760 sound/pci/intel8x0.c 		snd_pcm_period_elapsed(ichdev->substream);
ichdev            762 sound/pci/intel8x0.c 	iputbyte(chip, port + ichdev->roff_sr,
ichdev            769 sound/pci/intel8x0.c 	struct ichdev *ichdev;
ichdev            788 sound/pci/intel8x0.c 		ichdev = &chip->ichd[i];
ichdev            789 sound/pci/intel8x0.c 		if (status & ichdev->int_sta_mask)
ichdev            790 sound/pci/intel8x0.c 			snd_intel8x0_update(chip, ichdev);
ichdev            806 sound/pci/intel8x0.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            808 sound/pci/intel8x0.c 	unsigned long port = ichdev->reg_offset;
ichdev            812 sound/pci/intel8x0.c 		ichdev->suspended = 0;
ichdev            817 sound/pci/intel8x0.c 		ichdev->last_pos = ichdev->position;
ichdev            820 sound/pci/intel8x0.c 		ichdev->suspended = 1;
ichdev            834 sound/pci/intel8x0.c 		while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ;
ichdev            844 sound/pci/intel8x0.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            845 sound/pci/intel8x0.c 	unsigned long port = ichdev->reg_offset;
ichdev            854 sound/pci/intel8x0.c 		ichdev->suspended = 0;
ichdev            860 sound/pci/intel8x0.c 			fifo = igetdword(chip, fiforeg[ichdev->ali_slot / 4]);
ichdev            861 sound/pci/intel8x0.c 			fifo &= ~(0xff << (ichdev->ali_slot % 4));  
ichdev            862 sound/pci/intel8x0.c 			fifo |= 0x83 << (ichdev->ali_slot % 4); 
ichdev            863 sound/pci/intel8x0.c 			iputdword(chip, fiforeg[ichdev->ali_slot / 4], fifo);
ichdev            866 sound/pci/intel8x0.c 		val &= ~(1 << (ichdev->ali_slot + 16)); /* clear PAUSE flag */
ichdev            868 sound/pci/intel8x0.c 		iputdword(chip, ICHREG(ALI_DMACR), val | (1 << ichdev->ali_slot));
ichdev            871 sound/pci/intel8x0.c 		ichdev->suspended = 1;
ichdev            876 sound/pci/intel8x0.c 		iputdword(chip, ICHREG(ALI_DMACR), val | (1 << (ichdev->ali_slot + 16)));
ichdev            888 sound/pci/intel8x0.c 			  igetdword(chip, ICHREG(ALI_INTERRUPTSR)) & ichdev->int_sta_mask);
ichdev            900 sound/pci/intel8x0.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            907 sound/pci/intel8x0.c 	if (ichdev->pcm_open_flag) {
ichdev            908 sound/pci/intel8x0.c 		snd_ac97_pcm_close(ichdev->pcm);
ichdev            909 sound/pci/intel8x0.c 		ichdev->pcm_open_flag = 0;
ichdev            911 sound/pci/intel8x0.c 	err = snd_ac97_pcm_open(ichdev->pcm, params_rate(hw_params),
ichdev            913 sound/pci/intel8x0.c 				ichdev->pcm->r[dbl].slots);
ichdev            915 sound/pci/intel8x0.c 		ichdev->pcm_open_flag = 1;
ichdev            917 sound/pci/intel8x0.c 		if (ichdev->ichd == ICHD_PCMOUT && chip->spdif_idx < 0)
ichdev            918 sound/pci/intel8x0.c 			snd_ac97_set_rate(ichdev->pcm->r[0].codec[0], AC97_SPDIF,
ichdev            926 sound/pci/intel8x0.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            928 sound/pci/intel8x0.c 	if (ichdev->pcm_open_flag) {
ichdev            929 sound/pci/intel8x0.c 		snd_ac97_pcm_close(ichdev->pcm);
ichdev            930 sound/pci/intel8x0.c 		ichdev->pcm_open_flag = 0;
ichdev            994 sound/pci/intel8x0.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            996 sound/pci/intel8x0.c 	ichdev->physbuf = runtime->dma_addr;
ichdev            997 sound/pci/intel8x0.c 	ichdev->size = snd_pcm_lib_buffer_bytes(substream);
ichdev            998 sound/pci/intel8x0.c 	ichdev->fragsize = snd_pcm_lib_period_bytes(substream);
ichdev            999 sound/pci/intel8x0.c 	if (ichdev->ichd == ICHD_PCMOUT) {
ichdev           1002 sound/pci/intel8x0.c 			ichdev->pos_shift = (runtime->sample_bits > 16) ? 2 : 1;
ichdev           1004 sound/pci/intel8x0.c 	snd_intel8x0_setup_periods(chip, ichdev);
ichdev           1011 sound/pci/intel8x0.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev           1018 sound/pci/intel8x0.c 		civ = igetbyte(chip, ichdev->reg_offset + ICH_REG_OFF_CIV);
ichdev           1019 sound/pci/intel8x0.c 		ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb);
ichdev           1020 sound/pci/intel8x0.c 		position = ichdev->position;
ichdev           1025 sound/pci/intel8x0.c 		if (civ != igetbyte(chip, ichdev->reg_offset + ICH_REG_OFF_CIV))
ichdev           1036 sound/pci/intel8x0.c 		if (ptr1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb))
ichdev           1039 sound/pci/intel8x0.c 	ptr = ichdev->last_pos;
ichdev           1041 sound/pci/intel8x0.c 		ptr1 <<= ichdev->pos_shift;
ichdev           1042 sound/pci/intel8x0.c 		ptr = ichdev->fragsize1 - ptr1;
ichdev           1044 sound/pci/intel8x0.c 		if (ptr < ichdev->last_pos) {
ichdev           1046 sound/pci/intel8x0.c 			pos_base = position / ichdev->fragsize1;
ichdev           1047 sound/pci/intel8x0.c 			last_base = ichdev->last_pos / ichdev->fragsize1;
ichdev           1052 sound/pci/intel8x0.c 				ptr = ichdev->last_pos;
ichdev           1055 sound/pci/intel8x0.c 	ichdev->last_pos = ptr;
ichdev           1057 sound/pci/intel8x0.c 	if (ptr >= ichdev->size)
ichdev           1113 sound/pci/intel8x0.c static int snd_intel8x0_pcm_open(struct snd_pcm_substream *substream, struct ichdev *ichdev)
ichdev           1119 sound/pci/intel8x0.c 	ichdev->substream = substream;
ichdev           1121 sound/pci/intel8x0.c 	runtime->hw.rates = ichdev->pcm->rates;
ichdev           1129 sound/pci/intel8x0.c 	runtime->private_data = ichdev;
ichdev           2647 sound/pci/intel8x0.c 		struct ichdev *ichdev = &chip->ichd[i];
ichdev           2648 sound/pci/intel8x0.c 		unsigned long port = ichdev->reg_offset;
ichdev           2649 sound/pci/intel8x0.c 		if (! ichdev->substream || ! ichdev->suspended)
ichdev           2651 sound/pci/intel8x0.c 		if (ichdev->ichd == ICHD_PCMOUT)
ichdev           2652 sound/pci/intel8x0.c 			snd_intel8x0_setup_pcm_out(chip, ichdev->substream->runtime);
ichdev           2653 sound/pci/intel8x0.c 		iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr);
ichdev           2654 sound/pci/intel8x0.c 		iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi);
ichdev           2655 sound/pci/intel8x0.c 		iputbyte(chip, port + ICH_REG_OFF_CIV, ichdev->civ);
ichdev           2656 sound/pci/intel8x0.c 		iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI);
ichdev           2674 sound/pci/intel8x0.c 	struct ichdev *ichdev;
ichdev           2690 sound/pci/intel8x0.c 	ichdev = &chip->ichd[ICHD_PCMOUT];
ichdev           2691 sound/pci/intel8x0.c 	ichdev->physbuf = subs->dma_buffer.addr;
ichdev           2692 sound/pci/intel8x0.c 	ichdev->size = ichdev->fragsize = INTEL8X0_TESTBUF_SIZE;
ichdev           2693 sound/pci/intel8x0.c 	ichdev->substream = NULL; /* don't process interrupts */
ichdev           2701 sound/pci/intel8x0.c 	snd_intel8x0_setup_periods(chip, ichdev);
ichdev           2702 sound/pci/intel8x0.c 	port = ichdev->reg_offset;
ichdev           2710 sound/pci/intel8x0.c 		iputdword(chip, ICHREG(ALI_DMACR), 1 << ichdev->ali_slot);
ichdev           2718 sound/pci/intel8x0.c 		civ = igetbyte(chip, ichdev->reg_offset + ICH_REG_OFF_CIV);
ichdev           2719 sound/pci/intel8x0.c 		pos1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb);
ichdev           2724 sound/pci/intel8x0.c 		if (civ == igetbyte(chip, ichdev->reg_offset + ICH_REG_OFF_CIV) &&
ichdev           2725 sound/pci/intel8x0.c 		    pos1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb))
ichdev           2731 sound/pci/intel8x0.c 		pos = ichdev->fragsize1;
ichdev           2732 sound/pci/intel8x0.c 		pos -= pos1 << ichdev->pos_shift;
ichdev           2733 sound/pci/intel8x0.c 		pos += ichdev->position;
ichdev           2739 sound/pci/intel8x0.c 		iputdword(chip, ICHREG(ALI_DMACR), 1 << (ichdev->ali_slot + 16));
ichdev           2745 sound/pci/intel8x0.c 		while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH))
ichdev           2913 sound/pci/intel8x0.c 	struct ichdev *ichdev;
ichdev           3030 sound/pci/intel8x0.c 		ichdev = &chip->ichd[i];
ichdev           3031 sound/pci/intel8x0.c 		ichdev->ichd = i;
ichdev           3032 sound/pci/intel8x0.c 		ichdev->reg_offset = tbl[i].offset;
ichdev           3033 sound/pci/intel8x0.c 		ichdev->int_sta_mask = tbl[i].int_sta_mask;
ichdev           3036 sound/pci/intel8x0.c 			ichdev->roff_sr = ICH_REG_OFF_PICB;
ichdev           3037 sound/pci/intel8x0.c 			ichdev->roff_picb = ICH_REG_OFF_SR;
ichdev           3039 sound/pci/intel8x0.c 			ichdev->roff_sr = ICH_REG_OFF_SR;
ichdev           3040 sound/pci/intel8x0.c 			ichdev->roff_picb = ICH_REG_OFF_PICB;
ichdev           3043 sound/pci/intel8x0.c 			ichdev->ali_slot = (ichdev->reg_offset - 0x40) / 0x10;
ichdev           3045 sound/pci/intel8x0.c 		ichdev->pos_shift = (device_type == DEVICE_SIS) ? 0 : 1;
ichdev           3061 sound/pci/intel8x0.c 		ichdev = &chip->ichd[i];
ichdev           3062 sound/pci/intel8x0.c 		ichdev->bdbar = ((__le32 *)chip->bdbars.area) +
ichdev           3064 sound/pci/intel8x0.c 		ichdev->bdbar_addr = chip->bdbars.addr +
ichdev           3066 sound/pci/intel8x0.c 		int_sta_masks |= ichdev->int_sta_mask;
ichdev            191 sound/pci/intel8x0m.c 	struct ichdev ichd[2];
ichdev            380 sound/pci/intel8x0m.c static void snd_intel8x0m_setup_periods(struct intel8x0m *chip, struct ichdev *ichdev)
ichdev            383 sound/pci/intel8x0m.c 	__le32 *bdbar = ichdev->bdbar;
ichdev            384 sound/pci/intel8x0m.c 	unsigned long port = ichdev->reg_offset;
ichdev            386 sound/pci/intel8x0m.c 	iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr);
ichdev            387 sound/pci/intel8x0m.c 	if (ichdev->size == ichdev->fragsize) {
ichdev            388 sound/pci/intel8x0m.c 		ichdev->ack_reload = ichdev->ack = 2;
ichdev            389 sound/pci/intel8x0m.c 		ichdev->fragsize1 = ichdev->fragsize >> 1;
ichdev            391 sound/pci/intel8x0m.c 			bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf);
ichdev            393 sound/pci/intel8x0m.c 						     ichdev->fragsize1 >> chip->pcm_pos_shift);
ichdev            394 sound/pci/intel8x0m.c 			bdbar[idx + 2] = cpu_to_le32(ichdev->physbuf + (ichdev->size >> 1));
ichdev            396 sound/pci/intel8x0m.c 						     ichdev->fragsize1 >> chip->pcm_pos_shift);
ichdev            398 sound/pci/intel8x0m.c 		ichdev->frags = 2;
ichdev            400 sound/pci/intel8x0m.c 		ichdev->ack_reload = ichdev->ack = 1;
ichdev            401 sound/pci/intel8x0m.c 		ichdev->fragsize1 = ichdev->fragsize;
ichdev            403 sound/pci/intel8x0m.c 			bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + (((idx >> 1) * ichdev->fragsize) % ichdev->size));
ichdev            405 sound/pci/intel8x0m.c 						     ichdev->fragsize >> chip->pcm_pos_shift);
ichdev            411 sound/pci/intel8x0m.c 		ichdev->frags = ichdev->size / ichdev->fragsize;
ichdev            413 sound/pci/intel8x0m.c 	iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK);
ichdev            414 sound/pci/intel8x0m.c 	ichdev->civ = 0;
ichdev            416 sound/pci/intel8x0m.c 	ichdev->lvi_frag = ICH_REG_LVI_MASK % ichdev->frags;
ichdev            417 sound/pci/intel8x0m.c 	ichdev->position = 0;
ichdev            421 sound/pci/intel8x0m.c 	       ichdev->lvi_frag, ichdev->frags, ichdev->fragsize,
ichdev            422 sound/pci/intel8x0m.c 	       ichdev->fragsize1);
ichdev            425 sound/pci/intel8x0m.c 	iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI);
ichdev            432 sound/pci/intel8x0m.c static inline void snd_intel8x0m_update(struct intel8x0m *chip, struct ichdev *ichdev)
ichdev            434 sound/pci/intel8x0m.c 	unsigned long port = ichdev->reg_offset;
ichdev            439 sound/pci/intel8x0m.c 	if (civ == ichdev->civ) {
ichdev            442 sound/pci/intel8x0m.c 		ichdev->civ++;
ichdev            443 sound/pci/intel8x0m.c 		ichdev->civ &= ICH_REG_LVI_MASK;
ichdev            445 sound/pci/intel8x0m.c 		step = civ - ichdev->civ;
ichdev            450 sound/pci/intel8x0m.c 		ichdev->civ = civ;
ichdev            453 sound/pci/intel8x0m.c 	ichdev->position += step * ichdev->fragsize1;
ichdev            454 sound/pci/intel8x0m.c 	ichdev->position %= ichdev->size;
ichdev            455 sound/pci/intel8x0m.c 	ichdev->lvi += step;
ichdev            456 sound/pci/intel8x0m.c 	ichdev->lvi &= ICH_REG_LVI_MASK;
ichdev            457 sound/pci/intel8x0m.c 	iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi);
ichdev            459 sound/pci/intel8x0m.c 		ichdev->lvi_frag++;
ichdev            460 sound/pci/intel8x0m.c 		ichdev->lvi_frag %= ichdev->frags;
ichdev            461 sound/pci/intel8x0m.c 		ichdev->bdbar[ichdev->lvi * 2] = cpu_to_le32(ichdev->physbuf +
ichdev            462 sound/pci/intel8x0m.c 							     ichdev->lvi_frag *
ichdev            463 sound/pci/intel8x0m.c 							     ichdev->fragsize1);
ichdev            467 sound/pci/intel8x0m.c 		       ichdev->lvi * 2, ichdev->bdbar[ichdev->lvi * 2],
ichdev            468 sound/pci/intel8x0m.c 		       ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port),
ichdev            471 sound/pci/intel8x0m.c 		if (--ichdev->ack == 0) {
ichdev            472 sound/pci/intel8x0m.c 			ichdev->ack = ichdev->ack_reload;
ichdev            476 sound/pci/intel8x0m.c 	if (ack && ichdev->substream) {
ichdev            478 sound/pci/intel8x0m.c 		snd_pcm_period_elapsed(ichdev->substream);
ichdev            481 sound/pci/intel8x0m.c 	iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI);
ichdev            487 sound/pci/intel8x0m.c 	struct ichdev *ichdev;
ichdev            505 sound/pci/intel8x0m.c 		ichdev = &chip->ichd[i];
ichdev            506 sound/pci/intel8x0m.c 		if (status & ichdev->int_sta_mask)
ichdev            507 sound/pci/intel8x0m.c 			snd_intel8x0m_update(chip, ichdev);
ichdev            524 sound/pci/intel8x0m.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            526 sound/pci/intel8x0m.c 	unsigned long port = ichdev->reg_offset;
ichdev            549 sound/pci/intel8x0m.c 		while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ;
ichdev            570 sound/pci/intel8x0m.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            573 sound/pci/intel8x0m.c 	ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb) << chip->pcm_pos_shift;
ichdev            575 sound/pci/intel8x0m.c 		ptr = ichdev->fragsize1 - ptr1;
ichdev            578 sound/pci/intel8x0m.c 	ptr += ichdev->position;
ichdev            579 sound/pci/intel8x0m.c 	if (ptr >= ichdev->size)
ichdev            588 sound/pci/intel8x0m.c 	struct ichdev *ichdev = get_ichdev(substream);
ichdev            590 sound/pci/intel8x0m.c 	ichdev->physbuf = runtime->dma_addr;
ichdev            591 sound/pci/intel8x0m.c 	ichdev->size = snd_pcm_lib_buffer_bytes(substream);
ichdev            592 sound/pci/intel8x0m.c 	ichdev->fragsize = snd_pcm_lib_period_bytes(substream);
ichdev            593 sound/pci/intel8x0m.c 	snd_ac97_write(ichdev->ac97, AC97_LINE1_RATE, runtime->rate);
ichdev            594 sound/pci/intel8x0m.c 	snd_ac97_write(ichdev->ac97, AC97_LINE1_LEVEL, 0);
ichdev            595 sound/pci/intel8x0m.c 	snd_intel8x0m_setup_periods(chip, ichdev);
ichdev            621 sound/pci/intel8x0m.c static int snd_intel8x0m_pcm_open(struct snd_pcm_substream *substream, struct ichdev *ichdev)
ichdev            632 sound/pci/intel8x0m.c 	ichdev->substream = substream;
ichdev            638 sound/pci/intel8x0m.c 	runtime->private_data = ichdev;
ichdev           1096 sound/pci/intel8x0m.c 	struct ichdev *ichdev;
ichdev           1159 sound/pci/intel8x0m.c 		ichdev = &chip->ichd[i];
ichdev           1160 sound/pci/intel8x0m.c 		ichdev->ichd = i;
ichdev           1161 sound/pci/intel8x0m.c 		ichdev->reg_offset = tbl[i].offset;
ichdev           1162 sound/pci/intel8x0m.c 		ichdev->int_sta_mask = tbl[i].int_sta_mask;
ichdev           1165 sound/pci/intel8x0m.c 			ichdev->roff_sr = ICH_REG_OFF_PICB;
ichdev           1166 sound/pci/intel8x0m.c 			ichdev->roff_picb = ICH_REG_OFF_SR;
ichdev           1168 sound/pci/intel8x0m.c 			ichdev->roff_sr = ICH_REG_OFF_SR;
ichdev           1169 sound/pci/intel8x0m.c 			ichdev->roff_picb = ICH_REG_OFF_PICB;
ichdev           1172 sound/pci/intel8x0m.c 			ichdev->ali_slot = (ichdev->reg_offset - 0x40) / 0x10;
ichdev           1189 sound/pci/intel8x0m.c 		ichdev = &chip->ichd[i];
ichdev           1190 sound/pci/intel8x0m.c 		ichdev->bdbar = ((__le32 *)chip->bdbars.area) + (i * ICH_MAX_FRAGS * 2);
ichdev           1191 sound/pci/intel8x0m.c 		ichdev->bdbar_addr = chip->bdbars.addr + (i * sizeof(u32) * ICH_MAX_FRAGS * 2);
ichdev           1192 sound/pci/intel8x0m.c 		int_sta_masks |= ichdev->int_sta_mask;