/sound/soc/codecs/ |
H A D | l3.c | 27 * Send one byte of data to the chip. Data is latched into the chip on 30 static void sendbyte(struct l3_pins *adap, unsigned int byte) argument 37 adap->setdat(byte & 1); 41 byte >>= 1; 47 * between each byte, but never at the start nor at the end of the
|
H A D | twl4030.c | 302 u8 reg, byte; local 314 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, 316 twl4030_write_reg_cache(codec, TWL4030_REG_APLL_CTL, byte); 358 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, 361 ((byte & TWL4030_CNCL_OFFSET_START) == 365 twl4030_write_reg_cache(codec, TWL4030_REG_ANAMICL, byte);
|
/sound/isa/gus/ |
H A D | gus_uart.c | 31 unsigned char stat, data, byte; local 54 byte = snd_gf1_uart_get(gus); 56 snd_rawmidi_receive(gus->midi_substream_input, &byte, 1); 65 char byte; local 74 if (snd_rawmidi_transmit(gus->midi_substream_output, &byte, 1) != 1) { /* no other bytes or error */ 77 snd_gf1_uart_put(gus, byte); 196 char byte; local 215 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { 219 snd_gf1_uart_put(gus, byte);
|
/sound/isa/sb/ |
H A D | sb8_midi.c | 39 char byte; local 53 byte = inb(SBP(chip, READ)); 55 snd_rawmidi_receive(chip->midi_substream_input, &byte, 1); 180 char byte; local 187 if (snd_rawmidi_transmit_peek(substream, &byte, 1) != 1) { 202 outb(byte, SBP(chip, WRITE)); 205 snd_sbdsp_command(chip, byte);
|
/sound/pci/ca0106/ |
H A D | ca_midi.c | 56 unsigned char byte; local 68 byte = ca_midi_read_data(midi); 70 snd_rawmidi_receive(midi->substream_input, &byte, 1); 80 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { 81 ca_midi_write_data(midi, byte); 230 unsigned char byte; local 238 snd_rawmidi_transmit(substream, &byte, 1) != 1) { 243 ca_midi_write_data(midi, byte);
|
/sound/pci/ice1712/ |
H A D | hoontech.c | 43 static void __devinit snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) argument 45 byte |= ICE1712_STDSP24_CLOCK_BIT; 47 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 48 byte &= ~ICE1712_STDSP24_CLOCK_BIT; 50 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); 51 byte |= ICE1712_STDSP24_CLOCK_BIT; 53 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte);
|
H A D | ews.c | 829 unsigned char byte; local 833 byte = reg; 834 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1); 835 byte = 0; 836 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { 842 return byte;
|
/sound/pci/emu10k1/ |
H A D | emumpu401.c | 77 unsigned char byte; local 89 byte = mpu401_read_data(emu, midi); 91 snd_rawmidi_receive(midi->substream_input, &byte, 1); 99 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { 100 mpu401_write_data(emu, midi, byte); 279 unsigned char byte; local 286 snd_rawmidi_transmit(substream, &byte, 1) != 1) { 291 mpu401_write_data(emu, midi, byte);
|
H A D | emu10k1x.c | 1241 unsigned char byte; local 1253 byte = mpu401_read_data(emu, midi); 1255 snd_rawmidi_receive(midi->substream_input, &byte, 1); 1263 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { 1264 mpu401_write_data(emu, midi, byte); 1439 unsigned char byte; local 1446 snd_rawmidi_transmit(substream, &byte, 1) != 1) { 1451 mpu401_write_data(emu, midi, byte);
|
/sound/isa/wavefront/ |
H A D | wavefront_midi.c | 86 write_data (snd_wavefront_midi_t *midi, unsigned char byte) argument 89 outb (byte, midi->mpu_data_port); 131 emits the switch byte (if necessary), and starts 414 unsigned char byte; local 427 byte = read_data (midi); 430 if (byte == WF_EXTERNAL_SWITCH) { 433 } else if (byte == WF_INTERNAL_SWITCH) { 447 snd_rawmidi_receive(substream, &byte, 1);
|
/sound/drivers/mpu401/ |
H A D | mpu401_uart.c | 400 unsigned char byte; local 405 byte = mpu->read(mpu, MPU401D(mpu)); 407 snd_rawmidi_receive(mpu->substream_input, &byte, 1); 425 unsigned char byte; local 430 &byte, 1) == 1) { 438 mpu->write(mpu, byte, MPU401D(mpu));
|
/sound/drivers/ |
H A D | serial-u16550.c | 176 /* timer 38600bps * 10bit * 16byte */ 222 /* keep track of last status byte */ 280 * For a Rx interrupt, this is done by reading the received byte. 282 * a) Writing a byte 376 char byte; local 442 byte = (0 & UART_IER_RDI) /* Disable Receiver data interrupt */ 446 byte = UART_IER_RDI /* Enable Receiver data interrupt */ 450 byte = UART_IER_RDI /* Enable Receiver data interrupt */ 455 byte = UART_IER_RDI /* Enable Receiver data interrupt */ 459 outb(byte, uar 596 snd_uart16550_write_buffer(struct snd_uart16550 *uart, unsigned char byte) argument [all...] |
H A D | portman2x4.c | 225 /* Get entering data byte and port number in BL and BH respectively. 229 * AL = Data byte. 288 * Read MIDI byte from port 289 * Attempt to read input byte from specified hardware input port (0..). 540 unsigned char byte; local 544 while ((snd_rawmidi_transmit(substream, &byte, 1) == 1)) 545 portman_write_midi(pm, substream->number, byte);
|
H A D | mtpav.c | 260 static void snd_mtpav_send_byte(struct mtpav *chip, u8 byte) argument 274 snd_mtpav_mputreg(chip, DREG, byte);
|
/sound/oss/ |
H A D | uart6850.c | 60 static void uart6850_write(unsigned char byte) argument 62 outb(byte, DATAPORT);
|
H A D | uart401.c | 69 static void uart401_write(uart401_devc * devc, unsigned char byte) argument 71 outb((byte), DATAPORT);
|
H A D | mpu401.c | 102 static inline void write_data(struct mpu_config *devc, unsigned char byte) argument 104 outb(byte, DATAPORT(devc->base)); 140 #define ST_INIT 0 /* Ready for timing byte or msg */ 141 #define ST_TIMED 1 /* Leading timing byte rcvd */ 235 if (msg < 8) /* Data byte */
|
/sound/isa/opti9xx/ |
H A D | miro.c | 163 unsigned char byte; local 166 byte = inb(aci->aci_port + ACI_REG_BUSY); 167 if ((byte & 1) == 0) { 171 return byte; 193 static inline int aci_write(struct snd_miro_aci *aci, unsigned char byte) argument 196 outb(byte, aci->aci_port + ACI_REG_COMMAND); 199 snd_printk(KERN_ERR "aci busy, aci_write(0x%x) stopped.\n", byte); 206 unsigned char byte; local 209 byte = inb(aci->aci_port + ACI_REG_STATUS); 210 return byte; [all...] |
/sound/sparc/ |
H A D | amd7930.c | 506 u8 byte; local 510 byte = *(amd->p_cur++); 512 sbus_writeb(byte, amd->regs + AMD7930_BBTB); 518 byte = sbus_readb(amd->regs + AMD7930_BBRB); 520 *(amd->c_cur++) = byte;
|
/sound/pci/hda/ |
H A D | hda_eld.c | 156 printk(KERN_INFO "HDMI: ELD data byte %d: 0x%x\n", byte_index, val); 160 snd_printd(KERN_INFO "HDMI: invalid ELD data byte %d\n", 168 #define GRAB_BITS(buf, byte, lowbit, bits) \ 174 (buf[byte] >> (lowbit)) & ((1 << (bits)) - 1); \
|
/sound/pci/ |
H A D | ens1370.c | 2180 unsigned char status, mask, byte; local 2191 byte = inb(ES_REG(ensoniq, UART_DATA)); 2192 snd_rawmidi_receive(ensoniq->midi_input, &byte, 1); 2203 if (snd_rawmidi_transmit(ensoniq->midi_output, &byte, 1) != 1) { 2208 outb(byte, ES_REG(ensoniq, UART_DATA)); 2308 unsigned char byte; local 2317 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { 2320 outb(byte, ES_REG(ensoniq, UART_DATA));
|
H A D | cs4281.c | 1742 unsigned char byte; local 1751 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { 1754 snd_cs4281_pokeBA0(chip, BA0_MIDWP, byte);
|
/sound/pci/cs46xx/ |
H A D | cs46xx_lib.c | 1065 /* Never convert byte order when sample stream is 8 bit */ 2493 unsigned char byte; local 2502 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { 2505 snd_cs46xx_pokeBA0(chip, BA0_MIDWP, byte);
|