Home
last modified time | relevance | path

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

/sound/firewire/
Dscs1x.c135 u8 byte; in scs_output_tasklet() local
151 if (snd_rawmidi_transmit(stream, &byte, 1) != 1) { in scs_output_tasklet()
161 if (scs->output_escaped && byte < 0x80) { in scs_output_tasklet()
164 scs->buffer[i] = byte << 4; in scs_output_tasklet()
168 scs->buffer[i++] |= byte & 0x0f; in scs_output_tasklet()
171 } else if (byte < 0x80) { in scs_output_tasklet()
178 scs->buffer[i++] = byte; in scs_output_tasklet()
191 } else if (byte == 0xf7) { in scs_output_tasklet()
204 } else if (!is_invalid_cmd(byte) && in scs_output_tasklet()
205 byte < 0xf8) { in scs_output_tasklet()
[all …]
/sound/isa/gus/
Dgus_uart.c31 unsigned char stat, data, byte; in snd_gf1_interrupt_midi_in() local
54 byte = snd_gf1_uart_get(gus); in snd_gf1_interrupt_midi_in()
56 snd_rawmidi_receive(gus->midi_substream_input, &byte, 1); in snd_gf1_interrupt_midi_in()
65 char byte; in snd_gf1_interrupt_midi_out() local
74 …if (snd_rawmidi_transmit(gus->midi_substream_output, &byte, 1) != 1) { /* no other bytes or error … in snd_gf1_interrupt_midi_out()
77 snd_gf1_uart_put(gus, byte); in snd_gf1_interrupt_midi_out()
196 char byte; in snd_gf1_uart_output_trigger() local
215 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_gf1_uart_output_trigger()
219 snd_gf1_uart_put(gus, byte); in snd_gf1_uart_output_trigger()
/sound/pci/ca0106/
Dca_midi.c56 unsigned char byte; in ca_midi_interrupt() local
68 byte = ca_midi_read_data(midi); in ca_midi_interrupt()
70 snd_rawmidi_receive(midi->substream_input, &byte, 1); in ca_midi_interrupt()
80 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in ca_midi_interrupt()
81 ca_midi_write_data(midi, byte); in ca_midi_interrupt()
230 unsigned char byte; in ca_midi_output_trigger() local
238 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in ca_midi_output_trigger()
243 ca_midi_write_data(midi, byte); in ca_midi_output_trigger()
/sound/isa/sb/
Dsb8_midi.c39 char byte; in snd_sb8dsp_midi_interrupt() local
53 byte = inb(SBP(chip, READ)); in snd_sb8dsp_midi_interrupt()
55 snd_rawmidi_receive(chip->midi_substream_input, &byte, 1); in snd_sb8dsp_midi_interrupt()
180 char byte; in snd_sb8dsp_midi_output_write() local
187 if (snd_rawmidi_transmit_peek(substream, &byte, 1) != 1) { in snd_sb8dsp_midi_output_write()
202 outb(byte, SBP(chip, WRITE)); in snd_sb8dsp_midi_output_write()
205 snd_sbdsp_command(chip, byte); in snd_sb8dsp_midi_output_write()
/sound/pci/ice1712/
Dhoontech.c42 static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte) in snd_ice1712_stdsp24_gpio_write() argument
44 byte |= ICE1712_STDSP24_CLOCK_BIT; in snd_ice1712_stdsp24_gpio_write()
46 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write()
47 byte &= ~ICE1712_STDSP24_CLOCK_BIT; in snd_ice1712_stdsp24_gpio_write()
49 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write()
50 byte |= ICE1712_STDSP24_CLOCK_BIT; in snd_ice1712_stdsp24_gpio_write()
52 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte); in snd_ice1712_stdsp24_gpio_write()
Dews.c830 unsigned char byte; in snd_ice1712_6fire_read_pca() local
834 byte = reg; in snd_ice1712_6fire_read_pca()
835 snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1); in snd_ice1712_6fire_read_pca()
836 byte = 0; in snd_ice1712_6fire_read_pca()
837 if (snd_i2c_readbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) { in snd_ice1712_6fire_read_pca()
843 return byte; in snd_ice1712_6fire_read_pca()
/sound/soc/codecs/
Dl3.c30 static void sendbyte(struct l3_pins *adap, unsigned int byte) in sendbyte() argument
37 adap->setdat(byte & 1); in sendbyte()
41 byte >>= 1; in sendbyte()
Dtwl4030.c81 u8 byte; in tw4030_init_ctl_cache() local
84 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, i); in tw4030_init_ctl_cache()
85 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
258 u8 reg, byte; in twl4030_init_chip() local
336 twl_i2c_read_u8(TWL4030_MODULE_AUDIO_VOICE, &byte, in twl4030_init_chip()
340 ((byte & TWL4030_CNCL_OFFSET_START) == in twl4030_init_chip()
/sound/pci/emu10k1/
Demumpu401.c79 unsigned char byte; in do_emu10k1_midi_interrupt() local
91 byte = mpu401_read_data(emu, midi); in do_emu10k1_midi_interrupt()
93 snd_rawmidi_receive(midi->substream_input, &byte, 1); in do_emu10k1_midi_interrupt()
101 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in do_emu10k1_midi_interrupt()
102 mpu401_write_data(emu, midi, byte); in do_emu10k1_midi_interrupt()
282 unsigned char byte; in snd_emu10k1_midi_output_trigger() local
289 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_emu10k1_midi_output_trigger()
294 mpu401_write_data(emu, midi, byte); in snd_emu10k1_midi_output_trigger()
Demu10k1x.c1270 unsigned char byte; in do_emu10k1x_midi_interrupt() local
1282 byte = mpu401_read_data(emu, midi); in do_emu10k1x_midi_interrupt()
1284 snd_rawmidi_receive(midi->substream_input, &byte, 1); in do_emu10k1x_midi_interrupt()
1292 snd_rawmidi_transmit(midi->substream_output, &byte, 1) == 1) { in do_emu10k1x_midi_interrupt()
1293 mpu401_write_data(emu, midi, byte); in do_emu10k1x_midi_interrupt()
1469 unsigned char byte; in snd_emu10k1x_midi_output_trigger() local
1476 snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_emu10k1x_midi_output_trigger()
1481 mpu401_write_data(emu, midi, byte); in snd_emu10k1x_midi_output_trigger()
/sound/isa/wavefront/
Dwavefront_midi.c86 write_data (snd_wavefront_midi_t *midi, unsigned char byte) in write_data() argument
89 outb (byte, midi->mpu_data_port); in write_data()
414 unsigned char byte; in snd_wavefront_midi_interrupt() local
427 byte = read_data (midi); in snd_wavefront_midi_interrupt()
430 if (byte == WF_EXTERNAL_SWITCH) { in snd_wavefront_midi_interrupt()
433 } else if (byte == WF_INTERNAL_SWITCH) { in snd_wavefront_midi_interrupt()
447 snd_rawmidi_receive(substream, &byte, 1); in snd_wavefront_midi_interrupt()
/sound/drivers/mpu401/
Dmpu401_uart.c405 unsigned char byte; in snd_mpu401_uart_input_read() local
410 byte = mpu->read(mpu, MPU401D(mpu)); in snd_mpu401_uart_input_read()
412 snd_rawmidi_receive(mpu->substream_input, &byte, 1); in snd_mpu401_uart_input_read()
430 unsigned char byte; in snd_mpu401_uart_output_write() local
435 &byte, 1) == 1) { in snd_mpu401_uart_output_write()
443 mpu->write(mpu, byte, MPU401D(mpu)); in snd_mpu401_uart_output_write()
/sound/drivers/
Dserial-u16550.c376 char byte; in snd_uart16550_do_open() local
442 byte = (0 & UART_IER_RDI) /* Disable Receiver data interrupt */ in snd_uart16550_do_open()
446 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open()
450 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open()
455 byte = UART_IER_RDI /* Enable Receiver data interrupt */ in snd_uart16550_do_open()
459 outb(byte, uart->base + UART_IER); /* Interrupt enable Register */ in snd_uart16550_do_open()
597 unsigned char byte) in snd_uart16550_write_buffer() argument
601 uart->tx_buff[buff_in] = byte; in snd_uart16550_write_buffer()
Dportman2x4.c541 unsigned char byte; in snd_portman_midi_output_trigger() local
545 while ((snd_rawmidi_transmit(substream, &byte, 1) == 1)) in snd_portman_midi_output_trigger()
546 portman_write_midi(pm, substream->number, byte); in snd_portman_midi_output_trigger()
Dmtpav.c261 static void snd_mtpav_send_byte(struct mtpav *chip, u8 byte) in snd_mtpav_send_byte() argument
275 snd_mtpav_mputreg(chip, DREG, byte); in snd_mtpav_send_byte()
/sound/isa/opti9xx/
Dmiro.c164 unsigned char byte; in aci_busy_wait() local
167 byte = inb(aci->aci_port + ACI_REG_BUSY); in aci_busy_wait()
168 if ((byte & 1) == 0) { in aci_busy_wait()
172 return byte; in aci_busy_wait()
194 static inline int aci_write(struct snd_miro_aci *aci, unsigned char byte) in aci_write() argument
197 outb(byte, aci->aci_port + ACI_REG_COMMAND); in aci_write()
200 snd_printk(KERN_ERR "aci busy, aci_write(0x%x) stopped.\n", byte); in aci_write()
207 unsigned char byte; in aci_read() local
210 byte = inb(aci->aci_port + ACI_REG_STATUS); in aci_read()
211 return byte; in aci_read()
/sound/oss/
Duart6850.c60 static void uart6850_write(unsigned char byte) in uart6850_write() argument
62 outb(byte, DATAPORT); in uart6850_write()
Duart401.c68 static void uart401_write(struct uart401_devc *devc, unsigned char byte) in uart401_write() argument
70 outb((byte), DATAPORT); in uart401_write()
Dmpu401.c102 static inline void write_data(struct mpu_config *devc, unsigned char byte) in write_data() argument
104 outb(byte, DATAPORT(devc->base)); in write_data()
/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/pci/
Dens1370.c2197 unsigned char status, mask, byte; in snd_ensoniq_midi_interrupt() local
2208 byte = inb(ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_interrupt()
2209 snd_rawmidi_receive(ensoniq->midi_input, &byte, 1); in snd_ensoniq_midi_interrupt()
2220 if (snd_rawmidi_transmit(ensoniq->midi_output, &byte, 1) != 1) { in snd_ensoniq_midi_interrupt()
2225 outb(byte, ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_interrupt()
2325 unsigned char byte; in snd_ensoniq_midi_output_trigger() local
2334 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_ensoniq_midi_output_trigger()
2337 outb(byte, ES_REG(ensoniq, UART_DATA)); in snd_ensoniq_midi_output_trigger()
Dcs4281.c1751 unsigned char byte; in snd_cs4281_midi_output_trigger() local
1760 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_cs4281_midi_output_trigger()
1763 snd_cs4281_pokeBA0(chip, BA0_MIDWP, byte); in snd_cs4281_midi_output_trigger()
/sound/pci/hda/
Dhda_eld.c161 #define GRAB_BITS(buf, byte, lowbit, bits) \ argument
167 (buf[byte] >> (lowbit)) & ((1 << (bits)) - 1); \
/sound/soc/sh/rcar/
Dcore.c503 void rsnd_dai_pointer_update(struct rsnd_dai_stream *io, int byte) in rsnd_dai_pointer_update() argument
505 io->byte_pos += byte; in rsnd_dai_pointer_update()
/sound/pci/cs46xx/
Dcs46xx_lib.c2687 unsigned char byte; in snd_cs46xx_midi_output_trigger() local
2696 if (snd_rawmidi_transmit(substream, &byte, 1) != 1) { in snd_cs46xx_midi_output_trigger()
2699 snd_cs46xx_pokeBA0(chip, BA0_MIDWP, byte); in snd_cs46xx_midi_output_trigger()