Lines Matching refs:status
26 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WriteMulti() local
39 status = VL53L1_ERROR_CONTROL_INTERFACE; in VL53L1_WriteMulti()
43 return status; in VL53L1_WriteMulti()
49 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_ReadMulti() local
57 status = VL53L1_ERROR_CONTROL_INTERFACE; in VL53L1_ReadMulti()
62 return status; in VL53L1_ReadMulti()
67 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WrByte() local
69 status = VL53L1_WriteMulti(pdev, reg, &data, 1); in VL53L1_WrByte()
71 return status; in VL53L1_WrByte()
76 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WrWord() local
80 status = VL53L1_WriteMulti(pdev, reg, (uint8_t *)(&data), VL53L1_BYTES_PER_WORD); in VL53L1_WrWord()
82 return status; in VL53L1_WrWord()
87 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WrDWord() local
91 status = VL53L1_WriteMulti(pdev, reg, (uint8_t *)(&data), VL53L1_BYTES_PER_DWORD); in VL53L1_WrDWord()
93 return status; in VL53L1_WrDWord()
98 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_RdByte() local
100 status = VL53L1_ReadMulti(pdev, reg, pdata, 1); in VL53L1_RdByte()
102 return status; in VL53L1_RdByte()
107 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_RdWord() local
109 status = VL53L1_ReadMulti(pdev, reg, (uint8_t *)pdata, 2); in VL53L1_RdWord()
112 return status; in VL53L1_RdWord()
117 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_RdDWord() local
119 status = VL53L1_ReadMulti(pdev, reg, (uint8_t *)pdata, 4); in VL53L1_RdDWord()
122 return status; in VL53L1_RdDWord()
145 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WaitValueMaskEx() local
156 while ((status == VL53L1_ERROR_NONE) && in VL53L1_WaitValueMaskEx()
159 status = VL53L1_RdByte(dev, i, &byte_val); in VL53L1_WaitValueMaskEx()
165 if ((status == VL53L1_ERROR_NONE) && (found == 0) && (delay > 0)) { in VL53L1_WaitValueMaskEx()
167 status = VL53L1_WaitMs(dev, delay); in VL53L1_WaitValueMaskEx()
177 if (found == 0 && status == VL53L1_ERROR_NONE) { in VL53L1_WaitValueMaskEx()
178 status = VL53L1_ERROR_TIME_OUT; in VL53L1_WaitValueMaskEx()
181 return status; in VL53L1_WaitValueMaskEx()