/sound/firewire/oxfw/ |
D | oxfw-scs1x.c | 45 u8 byte) in midi_input_escaped_byte() argument 49 nibbles[0] = byte >> 4; in midi_input_escaped_byte() 50 nibbles[1] = byte & 0x0f; in midi_input_escaped_byte() 55 struct snd_rawmidi_substream *stream, u8 byte) in midi_input_byte() argument 60 midi_input_escaped_byte(stream, byte); in midi_input_byte() 64 } else if (byte == 0xf9) { in midi_input_byte() 71 snd_rawmidi_receive(stream, &byte, 1); in midi_input_byte() 179 u8 byte; in scs_output_work() local 197 if (snd_rawmidi_transmit(stream, &byte, 1) != 1) { in scs_output_work() 207 if (scs->output_escaped && byte < 0x80) { in scs_output_work() [all …]
|
/sound/firewire/motu/ |
D | amdtp-motu.c | 129 u8 *byte; in read_pcm_s32() local 141 byte = (u8 *)buffer + p->pcm_byte_offset; in read_pcm_s32() 144 *dst = (byte[0] << 24) | in read_pcm_s32() 145 (byte[1] << 16) | in read_pcm_s32() 146 (byte[2] << 8); in read_pcm_s32() 147 byte += 3; in read_pcm_s32() 165 u8 *byte; in write_pcm_s32() local 177 byte = (u8 *)buffer + p->pcm_byte_offset; in write_pcm_s32() 180 byte[0] = (*src >> 24) & 0xff; in write_pcm_s32() 181 byte[1] = (*src >> 16) & 0xff; in write_pcm_s32() [all …]
|
/sound/isa/gus/ |
D | gus_uart.c | 16 unsigned char stat, data, byte; in snd_gf1_interrupt_midi_in() local 39 byte = snd_gf1_uart_get(gus); in snd_gf1_interrupt_midi_in() 41 snd_rawmidi_receive(gus->midi_substream_input, &byte, 1); in snd_gf1_interrupt_midi_in() 50 char byte; in snd_gf1_interrupt_midi_out() local 59 …if (snd_rawmidi_transmit(gus->midi_substream_output, &byte, 1) != 1) { /* no other bytes or error … in snd_gf1_interrupt_midi_out() 62 snd_gf1_uart_put(gus, byte); in snd_gf1_interrupt_midi_out() 181 char byte; in snd_gf1_uart_output_trigger() local 200 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_gf1_uart_output_trigger() 204 snd_gf1_uart_put(gus, byte); in snd_gf1_uart_output_trigger()
|
/sound/pci/ca0106/ |
D | ca_midi.c | 41 unsigned char byte; in ca_midi_interrupt() local 53 byte = ca_midi_read_data(midi); in ca_midi_interrupt() 55 snd_rawmidi_receive(midi->substream_input, &byte, 1); in ca_midi_interrupt() 65 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in ca_midi_interrupt() 66 ca_midi_write_data(midi, byte); in ca_midi_interrupt() 215 unsigned char byte; in ca_midi_output_trigger() local 223 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in ca_midi_output_trigger() 228 ca_midi_write_data(midi, byte); in ca_midi_output_trigger()
|
/sound/isa/sb/ |
D | sb8_midi.c | 26 char byte; in snd_sb8dsp_midi_interrupt() local 40 byte = inb(SBP(chip, READ)); in snd_sb8dsp_midi_interrupt() 42 snd_rawmidi_receive(chip->midi_substream_input, &byte, 1); in snd_sb8dsp_midi_interrupt() 168 char byte; in snd_sb8dsp_midi_output_write() local 175 if (snd_rawmidi_transmit_peek(substream, &byte, 1) != 1) { in snd_sb8dsp_midi_output_write() 190 outb(byte, SBP(chip, WRITE)); in snd_sb8dsp_midi_output_write() 193 snd_sbdsp_command(chip, byte); in snd_sb8dsp_midi_output_write()
|
/sound/pci/ice1712/ |
D | hoontech.c | 28 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write() argument 30 byte |= ICE1712_STDSP24_CLOCK_BIT; in snd_ice1712_stdsp24_gpio_write() 32 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write() 33 byte &= ~ICE1712_STDSP24_CLOCK_BIT; in snd_ice1712_stdsp24_gpio_write() 35 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write() 36 byte |= ICE1712_STDSP24_CLOCK_BIT; in snd_ice1712_stdsp24_gpio_write() 38 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write()
|
D | ews.c | 810 unsigned char byte; in snd_ice1712_6fire_read_pca() local 814 byte = reg; in snd_ice1712_6fire_read_pca() 815 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca() 821 byte = 0; in snd_ice1712_6fire_read_pca() 822 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca() 828 return byte; in snd_ice1712_6fire_read_pca()
|
/sound/pci/emu10k1/ |
D | emumpu401.c | 64 unsigned char byte; in do_emu10k1_midi_interrupt() local 76 byte = mpu401_read_data(emu, midi); in do_emu10k1_midi_interrupt() 78 snd_rawmidi_receive(midi->substream_input, &byte, 1); in do_emu10k1_midi_interrupt() 86 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in do_emu10k1_midi_interrupt() 87 mpu401_write_data(emu, midi, byte); in do_emu10k1_midi_interrupt() 267 unsigned char byte; in snd_emu10k1_midi_output_trigger() local 274 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_emu10k1_midi_output_trigger() 279 mpu401_write_data(emu, midi, byte); in snd_emu10k1_midi_output_trigger()
|
D | emu10k1x.c | 1240 unsigned char byte; in do_emu10k1x_midi_interrupt() local 1252 byte = mpu401_read_data(emu, midi); in do_emu10k1x_midi_interrupt() 1254 snd_rawmidi_receive(midi->substream_input, &byte, 1); in do_emu10k1x_midi_interrupt() 1262 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in do_emu10k1x_midi_interrupt() 1263 mpu401_write_data(emu, midi, byte); in do_emu10k1x_midi_interrupt() 1439 unsigned char byte; in snd_emu10k1x_midi_output_trigger() local 1446 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_emu10k1x_midi_output_trigger() 1451 mpu401_write_data(emu, midi, byte); in snd_emu10k1x_midi_output_trigger()
|
/sound/soc/codecs/ |
D | l3.c | 26 static void sendbyte(struct l3_pins *adap, unsigned int byte) in sendbyte() argument 33 adap->setdat(adap, byte & 1); in sendbyte() 37 byte >>= 1; in sendbyte()
|
D | twl4030.c | 67 u8 byte; in tw4030_init_ctl_cache() local 70 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, i); in tw4030_init_ctl_cache() 71 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 243 u8 reg, byte; in twl4030_init_chip() local 321 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, in twl4030_init_chip() 325 ((byte & TWL4030_CNCL_OFFSET_START) == in twl4030_init_chip()
|
/sound/isa/wavefront/ |
D | wavefront_midi.c | 83 write_data (snd_wavefront_midi_t *midi, unsigned char byte) in write_data() argument 86 outb (byte, midi->mpu_data_port); in write_data() 409 unsigned char byte; in snd_wavefront_midi_interrupt() local 422 byte = read_data (midi); in snd_wavefront_midi_interrupt() 425 if (byte == WF_EXTERNAL_SWITCH) { in snd_wavefront_midi_interrupt() 428 } else if (byte == WF_INTERNAL_SWITCH) { in snd_wavefront_midi_interrupt() 442 snd_rawmidi_receive(substream, &byte, 1); in snd_wavefront_midi_interrupt()
|
/sound/firewire/fireface/ |
D | ff-protocol-latter.c | 301 u8 byte[3]; in latter_handle_midi_msg() local 327 byte[0] = (data & 0x0000ff00) >> 8; in latter_handle_midi_msg() 328 byte[1] = (data & 0x00ff0000) >> 16; in latter_handle_midi_msg() 329 byte[2] = (data & 0xff000000) >> 24; in latter_handle_midi_msg() 333 snd_rawmidi_receive(substream, byte, len); in latter_handle_midi_msg()
|
D | ff-protocol-former.c | 413 u8 byte = le32_to_cpu(buf[i]) & 0xff; in ff800_handle_midi_msg() local 418 snd_rawmidi_receive(substream, &byte, 1); in ff800_handle_midi_msg() 565 u8 byte; in ff400_handle_midi_msg() local 579 byte = quad & 0xff; in ff400_handle_midi_msg() 580 snd_rawmidi_receive(substream, &byte, 1); in ff400_handle_midi_msg() 589 byte = (quad >> 16) & 0xff; in ff400_handle_midi_msg() 590 snd_rawmidi_receive(substream, &byte, 1); in ff400_handle_midi_msg()
|
/sound/drivers/mpu401/ |
D | mpu401_uart.c | 386 unsigned char byte; in snd_mpu401_uart_input_read() local 391 byte = mpu->read(mpu, MPU401D(mpu)); in snd_mpu401_uart_input_read() 393 snd_rawmidi_receive(mpu->substream_input, &byte, 1); in snd_mpu401_uart_input_read() 411 unsigned char byte; in snd_mpu401_uart_output_write() local 416 &byte, 1) == 1) { in snd_mpu401_uart_output_write() 424 mpu->write(mpu, byte, MPU401D(mpu)); in snd_mpu401_uart_output_write()
|
/sound/drivers/ |
D | serial-u16550.c | 361 char byte; in snd_uart16550_do_open() local 427 byte = (0 & UART_IER_RDI) /* Disable Receiver data interrupt */ in snd_uart16550_do_open() 431 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open() 435 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open() 440 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open() 444 outb(byte, uart->base + UART_IER); /* Interrupt enable Register */ in snd_uart16550_do_open() 582 unsigned char byte) in snd_uart16550_write_buffer() argument 586 uart->tx_buff[buff_in] = byte; in snd_uart16550_write_buffer()
|
D | portman2x4.c | 526 unsigned char byte; in snd_portman_midi_output_trigger() local 530 while ((snd_rawmidi_transmit(substream, &byte, 1) == 1)) in snd_portman_midi_output_trigger() 531 portman_write_midi(pm, substream->number, byte); in snd_portman_midi_output_trigger()
|
D | mtpav.c | 245 static void snd_mtpav_send_byte(struct mtpav *chip, u8 byte) in snd_mtpav_send_byte() argument 259 snd_mtpav_mputreg(chip, DREG, byte); in snd_mtpav_send_byte()
|
/sound/isa/opti9xx/ |
D | miro.c | 151 unsigned char byte; in aci_busy_wait() local 154 byte = inb(aci->aci_port + ACI_REG_BUSY); in aci_busy_wait() 155 if ((byte & 1) == 0) { in aci_busy_wait() 159 return byte; in aci_busy_wait() 184 static inline int aci_write(struct snd_miro_aci *aci, unsigned char byte) in aci_write() argument 187 outb(byte, aci->aci_port + ACI_REG_COMMAND); in aci_write() 190 snd_printk(KERN_ERR "aci busy, aci_write(0x%x) stopped.\n", byte); in aci_write() 197 unsigned char byte; in aci_read() local 200 byte = inb(aci->aci_port + ACI_REG_STATUS); in aci_read() 201 return byte; in aci_read()
|
/sound/sparc/ |
D | amd7930.c | 507 u8 byte; in snd_amd7930_interrupt() local 511 byte = *(amd->p_cur++); in snd_amd7930_interrupt() 513 sbus_writeb(byte, amd->regs + AMD7930_BBTB); in snd_amd7930_interrupt() 519 byte = sbus_readb(amd->regs + AMD7930_BBRB); in snd_amd7930_interrupt() 521 *(amd->c_cur++) = byte; in snd_amd7930_interrupt()
|
/sound/soc/cirrus/ |
D | Kconfig | 21 state machine and the whole stream can be shifted by one byte
|
/sound/pci/ |
D | ens1370.c | 2146 unsigned char status, mask, byte; in snd_ensoniq_midi_interrupt() local 2157 byte = inb(ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_interrupt() 2158 snd_rawmidi_receive(ensoniq->midi_input, &byte, 1); in snd_ensoniq_midi_interrupt() 2169 if (snd_rawmidi_transmit(ensoniq->midi_output, &byte, 1) != 1) { in snd_ensoniq_midi_interrupt() 2174 outb(byte, ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_interrupt() 2274 unsigned char byte; in snd_ensoniq_midi_output_trigger() local 2283 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_ensoniq_midi_output_trigger() 2286 outb(byte, ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_output_trigger()
|
/sound/soc/stm/ |
D | stm32_sai_sub.c | 1247 unsigned int byte; in stm32_sai_pcm_process_spdif() local 1254 byte = frm_cnt >> 3; in stm32_sai_pcm_process_spdif() 1255 mask = 1 << (frm_cnt - (byte << 3)); in stm32_sai_pcm_process_spdif() 1256 if (sai->iec958.status[byte] & mask) in stm32_sai_pcm_process_spdif()
|
/sound/pci/hda/ |
D | hda_eld.c | 135 #define GRAB_BITS(buf, byte, lowbit, bits) \ argument 141 (buf[byte] >> (lowbit)) & ((1 << (bits)) - 1); \
|
/sound/soc/mediatek/common/ |
D | mtk-btcvsd.c | 1005 int byte = 0; in mtk_pcm_btcvsd_pointer() local 1034 byte = packet_diff * bt_stream->packet_size; in mtk_pcm_btcvsd_pointer() 1036 frame = btcvsd_bytes_to_frame(substream, byte); in mtk_pcm_btcvsd_pointer()
|