Lines Matching refs:b
557 uint8_t b, struct urb *urb) in snd_usbmidi_transmit_byte() argument
563 if (b >= 0xf8) { in snd_usbmidi_transmit_byte()
564 output_packet(urb, p0 | 0x0f, b, 0, 0); in snd_usbmidi_transmit_byte()
565 } else if (b >= 0xf0) { in snd_usbmidi_transmit_byte()
566 switch (b) { in snd_usbmidi_transmit_byte()
568 port->data[0] = b; in snd_usbmidi_transmit_byte()
573 port->data[0] = b; in snd_usbmidi_transmit_byte()
577 port->data[0] = b; in snd_usbmidi_transmit_byte()
605 } else if (b >= 0x80) { in snd_usbmidi_transmit_byte()
606 port->data[0] = b; in snd_usbmidi_transmit_byte()
607 if (b >= 0xc0 && b <= 0xdf) in snd_usbmidi_transmit_byte()
620 output_packet(urb, p0, port->data[0], b, 0); in snd_usbmidi_transmit_byte()
623 port->data[1] = b; in snd_usbmidi_transmit_byte()
634 output_packet(urb, p0, port->data[0], port->data[1], b); in snd_usbmidi_transmit_byte()
637 port->data[0] = b; in snd_usbmidi_transmit_byte()
641 port->data[1] = b; in snd_usbmidi_transmit_byte()
646 port->data[1], b); in snd_usbmidi_transmit_byte()
664 uint8_t b; in snd_usbmidi_standard_output() local
665 if (snd_rawmidi_transmit(port->substream, &b, 1) != 1) { in snd_usbmidi_standard_output()
669 snd_usbmidi_transmit_byte(port, b, urb); in snd_usbmidi_standard_output()