Lines Matching refs:le16_buffer
38 uint16_t le16_buffer; in tsl2540_sample_fetch() local
41 (uint8_t *)&le16_buffer, sizeof(le16_buffer)); in tsl2540_sample_fetch()
48 data->count_vis = sys_le16_to_cpu(le16_buffer); in tsl2540_sample_fetch()
52 uint16_t le16_buffer; in tsl2540_sample_fetch() local
54 ret = i2c_burst_read_dt(&cfg->i2c_spec, TSL2540_REG_IR_LOW, (uint8_t *)&le16_buffer, in tsl2540_sample_fetch()
55 sizeof(le16_buffer)); in tsl2540_sample_fetch()
62 data->count_ir = sys_le16_to_cpu(le16_buffer); in tsl2540_sample_fetch()
176 uint16_t thld, le16_buffer; in tsl2540_attr_set() local
185 le16_buffer = sys_cpu_to_le16(thld); in tsl2540_attr_set()
188 TSL2540_REG_AIHT_LOW, (uint8_t *)&le16_buffer, sizeof(le16_buffer)); in tsl2540_attr_set()
194 uint16_t thld, le16_buffer; in tsl2540_attr_set() local
203 le16_buffer = sys_cpu_to_le16(sys_cpu_to_le16(thld)); in tsl2540_attr_set()
207 TSL2540_REG_AILT_LOW, (uint8_t *)&le16_buffer, sizeof(le16_buffer)); in tsl2540_attr_set()