Home
last modified time | relevance | path

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

/openbmc/linux/sound/drivers/
H A 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 …]
/openbmc/linux/sound/pci/riptide/
H A Driptide.c834 hwport = cif->hwport; in sendcmd()
1184 SET_GRESET(cif->hwport); in try_to_load_firmware()
1190 if (IS_READY(cif->hwport) && !IS_GERR(cif->hwport)) in try_to_load_firmware()
1198 IS_READY(cif->hwport), IS_GERR(cif->hwport)); in try_to_load_firmware()
1204 IS_READY(cif->hwport), IS_GERR(cif->hwport)); in try_to_load_firmware()
1301 SET_AIACK(cif->hwport); in riptide_reset()
1302 SET_AIE(cif->hwport); in riptide_reset()
1303 SET_AIACK(cif->hwport); in riptide_reset()
1396 SET_AIE(cif->hwport); in snd_riptide_trigger()
1712 if (IS_EOBIRQ(cif->hwport) || IS_EOSIRQ(cif->hwport) || in snd_riptide_interrupt()
[all …]
/openbmc/linux/arch/arm/mach-s3c/
H A Dinit.c96 platdev = s3c24xx_uart_src[cfgptr->hwport]; in s3c24xx_init_uartdevs()
98 resp = res + cfgptr->hwport; in s3c24xx_init_uartdevs()
H A Dmach-crag6410.c78 .hwport = 0,
85 .hwport = 1,
92 .hwport = 2,
99 .hwport = 3,
/openbmc/linux/include/linux/
H A Dserial_s3c.h280 unsigned char hwport; /* hardware port number */ member