Lines Matching full:ppc
10 /** Macro used to iterate over USB-C connector and call a function if the node has PPC property */
12 COND_CODE_1(DT_NODE_HAS_PROP(usb_node, ppc), \
13 (ret |= func(DEVICE_DT_GET(DT_PHANDLE_BY_IDX(usb_node, ppc, 0)));), ())
39 * @brief Function used to pretty print status of the PPC
41 * @param dev Pointer to the PPC device structure
45 printk("PPC %s:\n", dev->name); in print_status()
121 "Dump PPC registers\n"
122 "Usage: ppc dump [<ppc device>]",
125 "Write PPC power status\n"
126 "Usage: ppc status [<ppc device>]",
130 "Usage: ppc exitdb [<ppc device>]",
134 SHELL_CMD_REGISTER(ppc, &sub_ppc_cmds, "PPC (USB-C PD) diagnostics", NULL);