Lines Matching refs:reVal

58     status_t reVal;  in BOARD_LPI2C_Send()  local
61 reVal = LPI2C_MasterStart(base, deviceAddress, kLPI2C_Write); in BOARD_LPI2C_Send()
62 if (kStatus_Success == reVal) in BOARD_LPI2C_Send()
68 reVal = LPI2C_MasterSend(base, &subAddress, subAddressSize); in BOARD_LPI2C_Send()
69 if (reVal != kStatus_Success) in BOARD_LPI2C_Send()
71 return reVal; in BOARD_LPI2C_Send()
74 reVal = LPI2C_MasterSend(base, txBuff, txBuffSize); in BOARD_LPI2C_Send()
75 if (reVal != kStatus_Success) in BOARD_LPI2C_Send()
77 return reVal; in BOARD_LPI2C_Send()
80 reVal = LPI2C_MasterStop(base); in BOARD_LPI2C_Send()
81 if (reVal != kStatus_Success) in BOARD_LPI2C_Send()
83 return reVal; in BOARD_LPI2C_Send()
87 return reVal; in BOARD_LPI2C_Send()
97 status_t reVal; in BOARD_LPI2C_Receive() local
99 reVal = LPI2C_MasterStart(base, deviceAddress, kLPI2C_Write); in BOARD_LPI2C_Receive()
100 if (kStatus_Success == reVal) in BOARD_LPI2C_Receive()
106 reVal = LPI2C_MasterSend(base, &subAddress, subAddressSize); in BOARD_LPI2C_Receive()
107 if (reVal != kStatus_Success) in BOARD_LPI2C_Receive()
109 return reVal; in BOARD_LPI2C_Receive()
112 reVal = LPI2C_MasterRepeatedStart(base, deviceAddress, kLPI2C_Read); in BOARD_LPI2C_Receive()
113 if (reVal != kStatus_Success) in BOARD_LPI2C_Receive()
115 return reVal; in BOARD_LPI2C_Receive()
118 reVal = LPI2C_MasterReceive(base, rxBuff, rxBuffSize); in BOARD_LPI2C_Receive()
119 if (reVal != kStatus_Success) in BOARD_LPI2C_Receive()
121 return reVal; in BOARD_LPI2C_Receive()
124 reVal = LPI2C_MasterStop(base); in BOARD_LPI2C_Receive()
125 if (reVal != kStatus_Success) in BOARD_LPI2C_Receive()
127 return reVal; in BOARD_LPI2C_Receive()
130 return reVal; in BOARD_LPI2C_Receive()