Home
last modified time | relevance | path

Searched refs:hwport (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/sound/drivers/
Dmtpav.c115 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-6.6.21/sound/pci/riptide/
Driptide.c383 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()
1181 WRITE_PORT_ULONG(cif->hwport->port[i].data1, 0); in try_to_load_firmware()
1182 WRITE_PORT_ULONG(cif->hwport->port[i].data2, 0); in try_to_load_firmware()
1184 SET_GRESET(cif->hwport); in try_to_load_firmware()
[all …]
/linux-6.6.21/arch/arm/mach-s3c/
Dinit.c96 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs()
98 resp = res + cfgptr->hwport; in s3c24xx_init_uartdevs()
Dmach-crag6410.c78 .hwport = 0,
85 .hwport = 1,
92 .hwport = 2,
99 .hwport = 3,
/linux-6.6.21/include/linux/
Dserial_s3c.h280 unsigned char hwport; /* hardware port number */ member