Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 28) sorted by relevance

12

/sound/firewire/oxfw/
Doxfw-scs1x.c45 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/
Damdtp-motu.c102 u8 *byte; in read_pcm_s32() local
114 byte = (u8 *)buffer + p->pcm_byte_offset; in read_pcm_s32()
117 *dst = (byte[0] << 24) | in read_pcm_s32()
118 (byte[1] << 16) | in read_pcm_s32()
119 (byte[2] << 8); in read_pcm_s32()
120 byte += 3; in read_pcm_s32()
138 u8 *byte; in write_pcm_s32() local
150 byte = (u8 *)buffer + p->pcm_byte_offset; in write_pcm_s32()
153 byte[0] = (*src >> 24) & 0xff; in write_pcm_s32()
154 byte[1] = (*src >> 16) & 0xff; in write_pcm_s32()
[all …]
/sound/isa/gus/
Dgus_uart.c16 unsigned char stat, byte; in snd_gf1_interrupt_midi_in() local
40 byte = snd_gf1_uart_get(gus); in snd_gf1_interrupt_midi_in()
42 snd_rawmidi_receive(gus->midi_substream_input, &byte, 1); in snd_gf1_interrupt_midi_in()
51 char byte; in snd_gf1_interrupt_midi_out() local
60 …if (snd_rawmidi_transmit(gus->midi_substream_output, &byte, 1) != 1) { /* no other bytes or error … in snd_gf1_interrupt_midi_out()
63 snd_gf1_uart_put(gus, byte); in snd_gf1_interrupt_midi_out()
182 char byte; in snd_gf1_uart_output_trigger() local
201 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_gf1_uart_output_trigger()
205 snd_gf1_uart_put(gus, byte); in snd_gf1_uart_output_trigger()
/sound/pci/ca0106/
Dca_midi.c41 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/
Dsb8_midi.c26 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/
Dhoontech.c28 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()
Dews.c814 unsigned char byte; in snd_ice1712_6fire_read_pca() local
818 byte = reg; in snd_ice1712_6fire_read_pca()
819 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca()
825 byte = 0; in snd_ice1712_6fire_read_pca()
826 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca()
832 return byte; in snd_ice1712_6fire_read_pca()
/sound/pci/emu10k1/
Demumpu401.c64 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()
Demu10k1x.c1201 unsigned char byte; in do_emu10k1x_midi_interrupt() local
1213 byte = mpu401_read_data(emu, midi); in do_emu10k1x_midi_interrupt()
1215 snd_rawmidi_receive(midi->substream_input, &byte, 1); in do_emu10k1x_midi_interrupt()
1223 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in do_emu10k1x_midi_interrupt()
1224 mpu401_write_data(emu, midi, byte); in do_emu10k1x_midi_interrupt()
1400 unsigned char byte; in snd_emu10k1x_midi_output_trigger() local
1407 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_emu10k1x_midi_output_trigger()
1412 mpu401_write_data(emu, midi, byte); in snd_emu10k1x_midi_output_trigger()
/sound/soc/codecs/
Dl3.c26 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()
Dtwl4030.c75 u8 byte; in tw4030_init_ctl_cache() local
78 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, i); in tw4030_init_ctl_cache()
79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
249 u8 reg, byte; in twl4030_init_chip() local
327 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, in twl4030_init_chip()
331 ((byte & TWL4030_CNCL_OFFSET_START) == in twl4030_init_chip()
/sound/isa/wavefront/
Dwavefront_midi.c83 write_data (snd_wavefront_midi_t *midi, unsigned char byte) in write_data() argument
86 outb (byte, midi->mpu_data_port); in write_data()
413 unsigned char byte; in snd_wavefront_midi_interrupt() local
426 byte = read_data (midi); in snd_wavefront_midi_interrupt()
429 if (byte == WF_EXTERNAL_SWITCH) { in snd_wavefront_midi_interrupt()
432 } else if (byte == WF_INTERNAL_SWITCH) { in snd_wavefront_midi_interrupt()
446 snd_rawmidi_receive(substream, &byte, 1); in snd_wavefront_midi_interrupt()
/sound/firewire/fireface/
Dff-protocol-former.c411 u8 byte = le32_to_cpu(buf[i]) & 0xff; in ff800_handle_midi_msg() local
416 snd_rawmidi_receive(substream, &byte, 1); in ff800_handle_midi_msg()
563 u8 byte; in ff400_handle_midi_msg() local
577 byte = quad & 0xff; in ff400_handle_midi_msg()
578 snd_rawmidi_receive(substream, &byte, 1); in ff400_handle_midi_msg()
587 byte = (quad >> 16) & 0xff; in ff400_handle_midi_msg()
588 snd_rawmidi_receive(substream, &byte, 1); in ff400_handle_midi_msg()
Dff-protocol-latter.c401 u8 byte[3]; in latter_handle_midi_msg() local
427 byte[0] = (data & 0x0000ff00) >> 8; in latter_handle_midi_msg()
428 byte[1] = (data & 0x00ff0000) >> 16; in latter_handle_midi_msg()
429 byte[2] = (data & 0xff000000) >> 24; in latter_handle_midi_msg()
433 snd_rawmidi_receive(substream, byte, len); in latter_handle_midi_msg()
/sound/drivers/mpu401/
Dmpu401_uart.c392 unsigned char byte; in snd_mpu401_uart_input_read() local
397 byte = mpu->read(mpu, MPU401D(mpu)); in snd_mpu401_uart_input_read()
399 snd_rawmidi_receive(mpu->substream_input, &byte, 1); in snd_mpu401_uart_input_read()
417 unsigned char byte; in snd_mpu401_uart_output_write() local
422 &byte, 1) == 1) { in snd_mpu401_uart_output_write()
430 mpu->write(mpu, byte, MPU401D(mpu)); in snd_mpu401_uart_output_write()
/sound/drivers/
Dserial-u16550.c358 char byte; in snd_uart16550_do_open() local
424 byte = (0 & UART_IER_RDI) /* Disable Receiver data interrupt */ in snd_uart16550_do_open()
428 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open()
432 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open()
437 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open()
441 outb(byte, uart->base + UART_IER); /* Interrupt enable Register */ in snd_uart16550_do_open()
579 unsigned char byte) in snd_uart16550_write_buffer() argument
583 uart->tx_buff[buff_in] = byte; in snd_uart16550_write_buffer()
Dportman2x4.c525 unsigned char byte; in snd_portman_midi_output_trigger() local
529 while ((snd_rawmidi_transmit(substream, &byte, 1) == 1)) in snd_portman_midi_output_trigger()
530 portman_write_midi(pm, substream->number, byte); in snd_portman_midi_output_trigger()
Dmtpav.c244 static void snd_mtpav_send_byte(struct mtpav *chip, u8 byte) in snd_mtpav_send_byte() argument
258 snd_mtpav_mputreg(chip, DREG, byte); in snd_mtpav_send_byte()
/sound/isa/opti9xx/
Dmiro.c148 unsigned char byte; in aci_busy_wait() local
151 byte = inb(aci->aci_port + ACI_REG_BUSY); in aci_busy_wait()
152 if ((byte & 1) == 0) { in aci_busy_wait()
156 return byte; in aci_busy_wait()
181 static inline int aci_write(struct snd_miro_aci *aci, unsigned char byte) in aci_write() argument
184 outb(byte, aci->aci_port + ACI_REG_COMMAND); in aci_write()
187 snd_printk(KERN_ERR "aci busy, aci_write(0x%x) stopped.\n", byte); in aci_write()
194 unsigned char byte; in aci_read() local
197 byte = inb(aci->aci_port + ACI_REG_STATUS); in aci_read()
198 return byte; in aci_read()
/sound/sparc/
Damd7930.c506 u8 byte; in snd_amd7930_interrupt() local
510 byte = *(amd->p_cur++); in snd_amd7930_interrupt()
512 sbus_writeb(byte, amd->regs + AMD7930_BBTB); in snd_amd7930_interrupt()
518 byte = sbus_readb(amd->regs + AMD7930_BBRB); in snd_amd7930_interrupt()
520 *(amd->c_cur++) = byte; in snd_amd7930_interrupt()
/sound/soc/cirrus/
DKconfig21 state machine and the whole stream can be shifted by one byte
/sound/pci/
Dens1370.c2082 unsigned char status, mask, byte; in snd_ensoniq_midi_interrupt() local
2093 byte = inb(ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_interrupt()
2094 snd_rawmidi_receive(ensoniq->midi_input, &byte, 1); in snd_ensoniq_midi_interrupt()
2105 if (snd_rawmidi_transmit(ensoniq->midi_output, &byte, 1) != 1) { in snd_ensoniq_midi_interrupt()
2110 outb(byte, ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_interrupt()
2210 unsigned char byte; in snd_ensoniq_midi_output_trigger() local
2219 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_ensoniq_midi_output_trigger()
2222 outb(byte, ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_output_trigger()
/sound/soc/tegra/
DKconfig155 output stream (of up to 16 channels). A byte RAM helps to form an
164 output streams (each of up to 16 channels). A byte RAM helps to
166 frame. Its design is identical to that of byte RAM in the AMX
/sound/soc/stm/
Dstm32_sai_sub.c1246 unsigned int byte; in stm32_sai_pcm_process_spdif() local
1253 byte = frm_cnt >> 3; in stm32_sai_pcm_process_spdif()
1254 mask = 1 << (frm_cnt - (byte << 3)); in stm32_sai_pcm_process_spdif()
1255 if (sai->iec958.status[byte] & mask) in stm32_sai_pcm_process_spdif()
/sound/pci/hda/
Dhda_eld.c135 #define GRAB_BITS(buf, byte, lowbit, bits) \ argument
141 (buf[byte] >> (lowbit)) & ((1 << (bits)) - 1); \

12