Home
last modified time | relevance | path

Searched refs:cval (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/subsys/zbus/publish_stats/src/
Dmain.c19 struct msg *cval, val = {0}; in ZTEST() local
54 cval = zbus_chan_msg(&chan); in ZTEST()
55 cval->x = 1000; in ZTEST()
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc.c76 int32_t cval; in iis2mdc_channel_get_mag() local
98 cval = iis2mdc->mag[i] * 1500; in iis2mdc_channel_get_mag()
99 pval->val1 = cval / 1000000; in iis2mdc_channel_get_mag()
100 pval->val2 = cval % 1000000; in iis2mdc_channel_get_mag()
/Zephyr-latest/drivers/sensor/st/lis2mdl/
Dlis2mdl.c87 int32_t cval; in lis2mdl_channel_get_mag() local
109 cval = lis2mdl->mag[i] * 1500; in lis2mdl_channel_get_mag()
110 pval->val1 = cval / 1000000; in lis2mdl_channel_get_mag()
111 pval->val2 = cval % 1000000; in lis2mdl_channel_get_mag()