snd_mpu401_uart_new man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SND_MPU401_UART_NEW(9)		   MIDI API		SND_MPU401_UART_NEW(9)

NAME
       snd_mpu401_uart_new - create an MPU401-UART instance

SYNOPSIS
       int snd_mpu401_uart_new(struct snd_card * card, int device,
			       unsigned short hardware, unsigned long port,
			       unsigned int info_flags, int irq,
			       int irq_flags, struct snd_rawmidi ** rrawmidi);

ARGUMENTS
       card
	   the card instance

       device
	   the device index, zero-based

       hardware
	   the hardware type, MPU401_HW_XXXX

       port
	   the base address of MPU401 port

       info_flags
	   bitflags MPU401_INFO_XXX

       irq
	   the irq number, -1 if no interrupt for mpu

       irq_flags
	   the irq request flags (SA_XXX), 0 if irq was already reserved.

       rrawmidi
	   the pointer to store the new rawmidi instance

DESCRIPTION
       Creates a new MPU-401 instance.

       Note that the rawmidi instance is returned on the rrawmidi argument,
       not the mpu401 instance itself. To access to the mpu401 instance, cast
       from rawmidi->private_data (with struct snd_mpu401 magic-cast).

       Returns zero if successful, or a negative error code.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		SND_MPU401_UART_NEW(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net