Searched refs:hwport (Results 1 – 5 of 5) sorted by relevance
/linux/sound/drivers/ |
H A D | mtpav.c | 115 u8 hwport; member 180 static int translate_hwport_to_subdevice(struct mtpav *chip, int hwport) in translate_hwport_to_subdevice() argument 183 if (hwport <= 0x00) /* all ports */ in translate_hwport_to_subdevice() 185 else if (hwport <= 0x08) { /* single port */ in translate_hwport_to_subdevice() 186 p = hwport - 1; in translate_hwport_to_subdevice() 190 } else if (hwport <= 0x10) { /* remote port */ in translate_hwport_to_subdevice() 191 p = hwport - 0x09 + chip->num_ports; in translate_hwport_to_subdevice() 195 } else if (hwport == 0x11) /* computer port */ in translate_hwport_to_subdevice() 283 if (portp->hwport != mtp_card->outmidihwport) { in snd_mtpav_output_port_write() 284 mtp_card->outmidihwport = portp->hwport; in snd_mtpav_output_port_write() [all …]
|
/linux/sound/pci/riptide/ |
H A D | riptide.c | 384 struct riptideport *hwport; member 827 struct riptideport *hwport; in sendcmd() local 833 hwport = cif->hwport; in sendcmd() 852 while (i++ < CMDIF_TIMEOUT && !IS_READY(cif->hwport)) in sendcmd() 861 cmdport = &(hwport->port[j % 2]); in sendcmd() 914 cif->cmdcnt, (int)((void *)&(cmdport->stat) - (void *)hwport), in sendcmd() 1125 READ_AUDIO_STATUS(cif->hwport), in riptide_handleirq() 1175 WRITE_PORT_ULONG(cif->hwport->port[i].data1, 0); in try_to_load_firmware() 1176 WRITE_PORT_ULONG(cif->hwport->port[i].data2, 0); in try_to_load_firmware() 1178 SET_GRESET(cif->hwport); in try_to_load_firmware() [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | init.c | 96 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs() 98 resp = res + cfgptr->hwport; in s3c24xx_init_uartdevs()
|
H A D | mach-crag6410.c | 76 .hwport = 0, 83 .hwport = 1, 90 .hwport = 2, 97 .hwport = 3,
|
/linux/include/linux/ |
H A D | serial_s3c.h | 284 unsigned char hwport; /* hardware port number */ member
|