Searched refs:hwport (Results 1 – 3 of 3) sorted by relevance
116 u8 hwport; member181 static int translate_hwport_to_subdevice(struct mtpav *chip, int hwport) in translate_hwport_to_subdevice() argument184 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 …]
385 struct riptideport *hwport; member828 struct riptideport *hwport; in sendcmd() local834 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 …]
96 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs()98 resp = res + cfgptr->hwport; in s3c24xx_init_uartdevs()