Searched refs:hwport (Results 1 – 5 of 5) sorted by relevance
| /linux/sound/drivers/ |
| H A D | mtpav.c | 116 u8 hwport; member 181 static int translate_hwport_to_subdevice(struct mtpav *chip, int hwport) in translate_hwport_to_subdevice() argument 184 if (hwport <= 0x00) /* all ports */ in translate_hwport_to_subdevice() 186 else if (hwport <= 0x08) { /* single port */ in translate_hwport_to_subdevice() 187 p = hwport - 1; in translate_hwport_to_subdevice() 191 } else if (hwport <= 0x10) { /* remote port */ in translate_hwport_to_subdevice() 192 p = hwport - 0x09 + chip->num_ports; in translate_hwport_to_subdevice() 196 } else if (hwport == 0x11) /* computer port */ in translate_hwport_to_subdevice() 284 if (portp->hwport != mtp_card->outmidihwport) { in snd_mtpav_output_port_write() 285 mtp_card->outmidihwport = portp->hwport; in snd_mtpav_output_port_write() [all …]
|
| /linux/sound/pci/riptide/ |
| H A D | riptide.c | 385 struct riptideport *hwport; member 828 struct riptideport *hwport; in sendcmd() local 834 hwport = cif->hwport; in sendcmd() 853 while (i++ < CMDIF_TIMEOUT && !IS_READY(cif->hwport)) in sendcmd() 862 cmdport = &(hwport->port[j % 2]); in sendcmd() 915 cif->cmdcnt, (int)((void *)&(cmdport->stat) - (void *)hwport), in sendcmd() 1126 READ_AUDIO_STATUS(cif->hwport), in riptide_handleirq() 1176 WRITE_PORT_ULONG(cif->hwport->port[i].data1, 0); in try_to_load_firmware() 1177 WRITE_PORT_ULONG(cif->hwport->port[i].data2, 0); in try_to_load_firmware() 1179 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
|