Home
last modified time | relevance | path

Searched refs:A_IOCFG (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A 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()
307 ; /* Disable all access to A_IOCFG for the emu1010 */ in snd_emu10k1_init()
309 ; /* Disable A_IOCFG for Audigy 2 ZS Notebook */ 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()
[all...]
H A 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()
H A 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()
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Demu10k1_main.c221 tmp = inw(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ in snd_emu10k1_init()
222 outw(tmp, emu->port + A_IOCFG); in snd_emu10k1_init()
242 outw(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */ in snd_emu10k1_init()
248 tmp = inw(emu->port + A_IOCFG); in snd_emu10k1_init()
249 outw(tmp | 0x4, emu->port + A_IOCFG); /* Set bit 2 for mic input */ in snd_emu10k1_init()
250 tmp = inw(emu->port + A_IOCFG); in snd_emu10k1_init()
302 ; /* Disable all access to A_IOCFG for the emu1010 */ in snd_emu10k1_init()
304 ; /* Disable A_IOCFG for Audigy 2 ZS Notebook */ in snd_emu10k1_init()
306 u16 reg = inw(emu->port + A_IOCFG); in snd_emu10k1_init()
307 outw(reg | A_IOCFG_GPOUT2, emu->port + A_IOCFG); in snd_emu10k1_init()
[all...]
H A Demumixer.c1208 gpio = inw(emu->port + A_IOCFG); in snd_audigy_i2c_capture_source_put()
1210 outw(gpio | 0x4, emu->port + A_IOCFG); in snd_audigy_i2c_capture_source_put()
1212 outw(gpio & ~0x4, emu->port + A_IOCFG); in snd_audigy_i2c_capture_source_put()
1864 ucontrol->value.integer.value[0] = inw(emu->port + A_IOCFG) & A_IOCFG_GPOUT0 ? 1 : 0; in snd_emu10k1_shared_spdif_get()
1888 reg = inw(emu->port + A_IOCFG); in snd_emu10k1_shared_spdif_put()
1894 outw(reg | val, emu->port + A_IOCFG); in snd_emu10k1_shared_spdif_put()
/kernel/linux/linux-5.10/include/sound/
H A Demu10k1.h254 #define A_IOCFG 0x18 /* GPIO on Audigy card (16bits) */ macro
/kernel/linux/linux-6.6/include/sound/
H A Demu10k1.h294 #define A_IOCFG A_GPIO macro

Completed in 21 milliseconds