Searched refs:pa (Results 1 – 2 of 2) sorted by relevance
180 struct hpi_adapter *pa = NULL; in asihpi_hpi_ioctl() local183 pa = &adapters[array_index_nospec(hm->h.adapter_index, in asihpi_hpi_ioctl()186 if (!pa || !pa->adapter || !pa->adapter->type) { in asihpi_hpi_ioctl()199 if (mutex_lock_interruptible(&pa->mutex)) { in asihpi_hpi_ioctl()216 if (pa->buffer_size < size) { in asihpi_hpi_ioctl()221 pa->buffer_size, size); in asihpi_hpi_ioctl()222 if (pa->p_buffer) { in asihpi_hpi_ioctl()223 pa->buffer_size = 0; in asihpi_hpi_ioctl()224 vfree(pa->p_buffer); in asihpi_hpi_ioctl()226 pa->p_buffer = vmalloc(size); in asihpi_hpi_ioctl()[all …]
988 u32 pa; in snd_es1968_playback_setup() local1006 pa = es->memory->buf.addr; in snd_es1968_playback_setup()1007 pa -= chip->dma.addr; in snd_es1968_playback_setup()1008 pa >>= 1; /* words */ in snd_es1968_playback_setup()1010 pa |= 0x00400000; /* System RAM (Bit 22) */ in snd_es1968_playback_setup()1015 pa |= 0x00800000; /* (Bit 23) */ in snd_es1968_playback_setup()1017 pa >>= 1; in snd_es1968_playback_setup()1022 es->base[channel] = pa & 0xFFFF; in snd_es1968_playback_setup()1028 apu_set_register(chip, apu, 4, ((pa >> 16) & 0xFF) << 8); in snd_es1968_playback_setup()1029 apu_set_register(chip, apu, 5, pa & 0xFFFF); in snd_es1968_playback_setup()[all …]