Searched refs:ch (Results 1 – 3 of 3) sorted by relevance
| /platform/bcm28xx/ |
| A D | mailbox.c | 37 static status_t mailbox_write(const enum mailbox_channel ch, uint32_t value) { in mailbox_write() argument 38 value = value | ch; in mailbox_write() 55 static status_t mailbox_read(enum mailbox_channel ch, uint32_t *result) { in mailbox_read() argument 72 } while ((((local_result)&0xF) != ch) && (attempts < MAILBOX_MAX_READ_ATTEMPTS)); in mailbox_read()
|
| A D | miniuart.c | 75 char ch = readl(&mu_regs->io); in aux_irq() local 76 cbuf_write_char(&uart_rx_buf, ch, false); in aux_irq()
|
| /platform/pc/ |
| A D | ide.c | 705 uint8_t sc = 0, sn = 0, st = 0, cl = 0, ch = 0; in ide_detect_drives() local 759 ch = ide_read_reg8(dev, IDE_REG_CYLINDER_HIGH); in ide_detect_drives() 761 LTRACEF("sc %hhu sn %hhu st %hhu cl %hhu ch %hhu\n", sc, sn, st, cl, ch); in ide_detect_drives() 764 if ((cl == 0x14 && ch == 0xeb) || (cl == 0x69 && ch == 0x96)) { in ide_detect_drives() 766 } else if (st != 0 && ((cl == 0x00 && ch == 0x00) || (cl == 0x3c && ch == 0xc3))) { in ide_detect_drives() 781 ch = ide_read_reg8(dev, IDE_REG_CYLINDER_HIGH); in ide_detect_drives() 783 LTRACEF("sc %hhu sn %hhu st %hhu cl %hhu ch %hhu\n", sc, sn, st, cl, ch); in ide_detect_drives() 786 if ((cl == 0x14 && ch == 0xeb) || (cl == 0x69 && ch == 0x96)) { in ide_detect_drives() 788 } else if (st != 0 && ((cl == 0x00 && ch == 0x00) || (cl == 0x3c && ch == 0xc3))) { in ide_detect_drives()
|
Completed in 6 milliseconds