Lines Matching refs:buffer
23 uint8_t buffer[2]; in ft8xx_wr16() local
25 *(uint16_t *)buffer = sys_cpu_to_le16(data); in ft8xx_wr16()
26 err = ft8xx_drv_write(address, buffer, sizeof(buffer)); in ft8xx_wr16()
33 uint8_t buffer[4]; in ft8xx_wr32() local
35 *(uint32_t *)buffer = sys_cpu_to_le32(data); in ft8xx_wr32()
36 err = ft8xx_drv_write(address, buffer, sizeof(buffer)); in ft8xx_wr32()
54 uint8_t buffer[2] = {0}; in ft8xx_rd16() local
56 err = ft8xx_drv_read(address, buffer, sizeof(buffer)); in ft8xx_rd16()
59 return sys_le16_to_cpu(*(const uint16_t *)buffer); in ft8xx_rd16()
65 uint8_t buffer[4] = {0}; in ft8xx_rd32() local
67 err = ft8xx_drv_read(address, buffer, sizeof(buffer)); in ft8xx_rd32()
70 return sys_le32_to_cpu(*(const uint32_t *)buffer); in ft8xx_rd32()