Lines Matching refs:pdata
24 uint8_t *pdata, uint32_t count) in VL53L1_WriteMulti() argument
34 memcpy(&buffer[2], pdata, count); in VL53L1_WriteMulti()
47 uint8_t *pdata, uint32_t count) in VL53L1_ReadMulti() argument
54 status_int = i2c_write_read_dt(pdev->i2c, (uint8_t *)(®), 2, pdata, count); in VL53L1_ReadMulti()
96 VL53L1_Error VL53L1_RdByte(VL53L1_Dev_t *pdev, uint16_t reg, uint8_t *pdata) in VL53L1_RdByte() argument
100 status = VL53L1_ReadMulti(pdev, reg, pdata, 1); in VL53L1_RdByte()
105 VL53L1_Error VL53L1_RdWord(VL53L1_Dev_t *pdev, uint16_t reg, uint16_t *pdata) in VL53L1_RdWord() argument
109 status = VL53L1_ReadMulti(pdev, reg, (uint8_t *)pdata, 2); in VL53L1_RdWord()
110 *pdata = sys_be16_to_cpu(*pdata); in VL53L1_RdWord()
115 VL53L1_Error VL53L1_RdDWord(VL53L1_Dev_t *pdev, uint16_t reg, uint32_t *pdata) in VL53L1_RdDWord() argument
119 status = VL53L1_ReadMulti(pdev, reg, (uint8_t *)pdata, 4); in VL53L1_RdDWord()
120 *pdata = sys_be32_to_cpu(*pdata); in VL53L1_RdDWord()