Home
last modified time | relevance | path

Searched refs:tcpci_std_regs (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb_c/tcpc/
Dtcpci.c19 const struct tcpci_reg_dump_map tcpci_std_regs[TCPCI_STD_REGS_SIZE] = { variable
475 for (unsigned int a = 0; a < ARRAY_SIZE(tcpci_std_regs); a++) { in tcpci_tcpm_dump_std_reg()
476 switch (tcpci_std_regs[a].size) { in tcpci_tcpm_dump_std_reg()
478 tcpci_read_reg8(bus, tcpci_std_regs[a].addr, (uint8_t *)&value); in tcpci_tcpm_dump_std_reg()
479 LOG_INF("- %-30s(0x%02x) = 0x%02x", tcpci_std_regs[a].name, in tcpci_tcpm_dump_std_reg()
480 tcpci_std_regs[a].addr, (uint8_t)value); in tcpci_tcpm_dump_std_reg()
483 tcpci_read_reg16(bus, tcpci_std_regs[a].addr, &value); in tcpci_tcpm_dump_std_reg()
484 LOG_INF("- %-30s(0x%02x) = 0x%04x", tcpci_std_regs[a].name, in tcpci_tcpm_dump_std_reg()
485 tcpci_std_regs[a].addr, value); in tcpci_tcpm_dump_std_reg()
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dtcpci_priv.h42 extern const struct tcpci_reg_dump_map tcpci_std_regs[TCPCI_STD_REGS_SIZE];