Home
last modified time | relevance | path

Searched refs:A_IOCFG (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/sound/pci/emu10k1/
Demu10k1_main.c226 tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ in snd_emu10k1_init()
227 outl(tmp, emu->port + A_IOCFG); in snd_emu10k1_init()
247 outl(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */ in snd_emu10k1_init()
253 tmp = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
254 outl(tmp | 0x4, emu->port + A_IOCFG); /* Set bit 2 for mic input */ in snd_emu10k1_init()
255 tmp = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
311 unsigned int reg = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
312 outl(reg | A_IOCFG_GPOUT2, emu->port + A_IOCFG); in snd_emu10k1_init()
314 outl(reg | A_IOCFG_GPOUT1 | A_IOCFG_GPOUT2, emu->port + A_IOCFG); in snd_emu10k1_init()
316 outl(reg, emu->port + A_IOCFG); in snd_emu10k1_init()
[all …]
Dio.c246 outl(reg, emu->port + A_IOCFG); in snd_emu1010_fpga_write()
248 outl(reg | 0x80, emu->port + A_IOCFG); /* High bit clocks the value into the fpga. */ in snd_emu1010_fpga_write()
250 outl(value, emu->port + A_IOCFG); in snd_emu1010_fpga_write()
252 outl(value | 0x80 , emu->port + A_IOCFG); /* High bit clocks the value into the fpga. */ in snd_emu1010_fpga_write()
265 outl(reg, emu->port + A_IOCFG); in snd_emu1010_fpga_read()
267 outl(reg | 0x80, emu->port + A_IOCFG); /* High bit clocks the value into the fpga. */ in snd_emu1010_fpga_read()
269 *value = ((inl(emu->port + A_IOCFG) >> 8) & 0x7f); in snd_emu1010_fpga_read()
Demumixer.c944 gpio = inl(emu->port + A_IOCFG); in snd_audigy_i2c_capture_source_put()
946 outl(gpio | 0x4, emu->port + A_IOCFG); in snd_audigy_i2c_capture_source_put()
948 outl(gpio & ~0x4, emu->port + A_IOCFG); in snd_audigy_i2c_capture_source_put()
1634 ucontrol->value.integer.value[0] = inl(emu->port + A_IOCFG) & A_IOCFG_GPOUT0 ? 1 : 0; in snd_emu10k1_shared_spdif_get()
1659 reg = inl(emu->port + A_IOCFG); in snd_emu10k1_shared_spdif_put()
1665 outl(reg | val, emu->port + A_IOCFG); in snd_emu10k1_shared_spdif_put()
/Linux-v5.10/include/sound/
Demu10k1.h254 #define A_IOCFG 0x18 /* GPIO on Audigy card (16bits) */ macro