Home
last modified time | relevance | path

Searched refs:sample_crgb (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/sensor/apds9253/
Dapds9253.c87 data->sample_crgb[i] = get_value_from_buf(i, buf); in apds9253_sample_fetch()
90 LOG_DBG("IR 0x%x GREEN 0x%x BLUE 0x%x RED 0x%x\n", data->sample_crgb[0], in apds9253_sample_fetch()
91 data->sample_crgb[1], data->sample_crgb[2], data->sample_crgb[3]); in apds9253_sample_fetch()
106 val->val1 = sys_le32_to_cpu(data->sample_crgb[0]); in apds9253_channel_get()
109 val->val1 = sys_le32_to_cpu(data->sample_crgb[1]); in apds9253_channel_get()
112 val->val1 = sys_le32_to_cpu(data->sample_crgb[2]); in apds9253_channel_get()
115 val->val1 = sys_le32_to_cpu(data->sample_crgb[3]); in apds9253_channel_get()
236 .sample_crgb = {0}, \
Dapds9253.h101 uint32_t sample_crgb[4]; member
/Zephyr-latest/drivers/sensor/ams/tcs3400/
Dtcs3400.c67 uint16_t sample_crgb[4]; member
121 (uint8_t *)&data->sample_crgb, in tcs3400_sample_fetch()
122 sizeof(data->sample_crgb)); in tcs3400_sample_fetch()
151 val->val1 = sys_le16_to_cpu(data->sample_crgb[0]); in tcs3400_channel_get()
155 val->val1 = sys_le16_to_cpu(data->sample_crgb[1]); in tcs3400_channel_get()
159 val->val1 = sys_le16_to_cpu(data->sample_crgb[2]); in tcs3400_channel_get()
163 val->val1 = sys_le16_to_cpu(data->sample_crgb[3]); in tcs3400_channel_get()
/Zephyr-latest/drivers/sensor/apds9960/
Dapds9960.c94 (uint8_t *)&data->sample_crgb, in apds9960_sample_fetch()
95 sizeof(data->sample_crgb))) { in apds9960_sample_fetch()
127 val->val1 = sys_le16_to_cpu(data->sample_crgb[0]); in apds9960_channel_get()
131 val->val1 = sys_le16_to_cpu(data->sample_crgb[1]); in apds9960_channel_get()
135 val->val1 = sys_le16_to_cpu(data->sample_crgb[2]); in apds9960_channel_get()
139 val->val1 = sys_le16_to_cpu(data->sample_crgb[3]); in apds9960_channel_get()
453 (void)memset(data->sample_crgb, 0, sizeof(data->sample_crgb)); in apds9960_init()
Dapds9960.h228 uint16_t sample_crgb[4]; member