zephyr/include/emul/tcpc/emul_tcpci.h: Format with clang-format
BRANCH=none
TEST=none
@@ -133,10 +133,7 @@ enum tcpci_emul_ops_resp {
};
/** Revisions supported by TCPCI emaluator */
-enum tcpci_emul_rev {
- TCPCI_EMUL_REV1_0_VER1_0 = 0,
- TCPCI_EMUL_REV2_0_VER1_1
-};
+enum tcpci_emul_rev { TCPCI_EMUL_REV1_0_VER1_0 = 0, TCPCI_EMUL_REV2_0_VER1_1 };
/** Status of TX message send to TCPCI emulator partner */
enum tcpci_emul_tx_status {
@@ -166,8 +163,8 @@ struct tcpci_emul_dev_ops {
* @return TCPCI_EMUL_DONE to immedietly return success
* @return TCPCI_EMUL_ERROR to immedietly return error
*/
- enum tcpci_emul_ops_resp (*read_byte)(const struct emul *emul,
- const struct tcpci_emul_dev_ops *ops,
+ enum tcpci_emul_ops_resp (*read_byte)(
+ const struct emul *emul, const struct tcpci_emul_dev_ops *ops,
int reg, uint8_t *val, int bytes);
/**
@@ -183,8 +180,8 @@ struct tcpci_emul_dev_ops {
* @return TCPCI_EMUL_DONE to immedietly return success
* @return TCPCI_EMUL_ERROR to immedietly return error
*/
- enum tcpci_emul_ops_resp (*write_byte)(const struct emul *emul,
- const struct tcpci_emul_dev_ops *ops,
+ enum tcpci_emul_ops_resp (*write_byte)(
+ const struct emul *emul, const struct tcpci_emul_dev_ops *ops,
int reg, uint8_t val, int bytes);
/**
@@ -199,8 +196,8 @@ struct tcpci_emul_dev_ops {
* @return TCPCI_EMUL_DONE to immedietly return success
* @return TCPCI_EMUL_ERROR to immedietly return error
*/
- enum tcpci_emul_ops_resp (*handle_write)(const struct emul *emul,
- const struct tcpci_emul_dev_ops *ops,
+ enum tcpci_emul_ops_resp (*handle_write)(
+ const struct emul *emul, const struct tcpci_emul_dev_ops *ops,
int reg, int msg_len);
/**
@@ -227,8 +224,7 @@ struct tcpci_emul_partner_ops {
void (*transmit)(const struct emul *emul,
const struct tcpci_emul_partner_ops *ops,
const struct tcpci_emul_msg *tx_msg,
- enum tcpci_msg_type type,
- int retry);
+ enum tcpci_msg_type type, int retry);
/**
* @brief Function called when control settings change to allow partner
