Lines Matching refs:nrf

153 				       nrf_lpcomp_input_t *nrf)  in shim_nrf_lpcomp_psel_to_nrf()  argument
159 *nrf = shim_nrf_lpcomp_ain_map[(uint32_t)shim]; in shim_nrf_lpcomp_psel_to_nrf()
164 nrf_lpcomp_input_t *nrf) in shim_nrf_lpcomp_psel_to_nrf() argument
168 *nrf = NRF_LPCOMP_INPUT_0; in shim_nrf_lpcomp_psel_to_nrf()
172 *nrf = NRF_LPCOMP_INPUT_1; in shim_nrf_lpcomp_psel_to_nrf()
176 *nrf = NRF_LPCOMP_INPUT_2; in shim_nrf_lpcomp_psel_to_nrf()
180 *nrf = NRF_LPCOMP_INPUT_3; in shim_nrf_lpcomp_psel_to_nrf()
184 *nrf = NRF_LPCOMP_INPUT_4; in shim_nrf_lpcomp_psel_to_nrf()
188 *nrf = NRF_LPCOMP_INPUT_5; in shim_nrf_lpcomp_psel_to_nrf()
192 *nrf = NRF_LPCOMP_INPUT_6; in shim_nrf_lpcomp_psel_to_nrf()
196 *nrf = NRF_LPCOMP_INPUT_7; in shim_nrf_lpcomp_psel_to_nrf()
209 nrf_lpcomp_ext_ref_t *nrf) in shim_nrf_lpcomp_extrefsel_to_nrf() argument
215 *nrf = shim_nrf_lpcomp_ain_map[shim]; in shim_nrf_lpcomp_extrefsel_to_nrf()
220 nrf_lpcomp_ext_ref_t *nrf) in shim_nrf_lpcomp_extrefsel_to_nrf() argument
224 *nrf = NRF_LPCOMP_EXT_REF_REF0; in shim_nrf_lpcomp_extrefsel_to_nrf()
228 *nrf = NRF_LPCOMP_EXT_REF_REF1; in shim_nrf_lpcomp_extrefsel_to_nrf()
240 nrf_lpcomp_ref_t *nrf) in shim_nrf_lpcomp_refsel_to_nrf() argument
244 *nrf = NRF_LPCOMP_REF_SUPPLY_1_8; in shim_nrf_lpcomp_refsel_to_nrf()
248 *nrf = NRF_LPCOMP_REF_SUPPLY_2_8; in shim_nrf_lpcomp_refsel_to_nrf()
252 *nrf = NRF_LPCOMP_REF_SUPPLY_3_8; in shim_nrf_lpcomp_refsel_to_nrf()
256 *nrf = NRF_LPCOMP_REF_SUPPLY_4_8; in shim_nrf_lpcomp_refsel_to_nrf()
260 *nrf = NRF_LPCOMP_REF_SUPPLY_5_8; in shim_nrf_lpcomp_refsel_to_nrf()
264 *nrf = NRF_LPCOMP_REF_SUPPLY_6_8; in shim_nrf_lpcomp_refsel_to_nrf()
268 *nrf = NRF_LPCOMP_REF_SUPPLY_7_8; in shim_nrf_lpcomp_refsel_to_nrf()
273 *nrf = NRF_LPCOMP_REF_SUPPLY_1_16; in shim_nrf_lpcomp_refsel_to_nrf()
277 *nrf = NRF_LPCOMP_REF_SUPPLY_3_16; in shim_nrf_lpcomp_refsel_to_nrf()
281 *nrf = NRF_LPCOMP_REF_SUPPLY_5_16; in shim_nrf_lpcomp_refsel_to_nrf()
285 *nrf = NRF_LPCOMP_REF_SUPPLY_7_16; in shim_nrf_lpcomp_refsel_to_nrf()
289 *nrf = NRF_LPCOMP_REF_SUPPLY_9_16; in shim_nrf_lpcomp_refsel_to_nrf()
293 *nrf = NRF_LPCOMP_REF_SUPPLY_11_16; in shim_nrf_lpcomp_refsel_to_nrf()
297 *nrf = NRF_LPCOMP_REF_SUPPLY_13_16; in shim_nrf_lpcomp_refsel_to_nrf()
301 *nrf = NRF_LPCOMP_REF_SUPPLY_15_16; in shim_nrf_lpcomp_refsel_to_nrf()
306 *nrf = NRF_LPCOMP_REF_EXT_REF; in shim_nrf_lpcomp_refsel_to_nrf()
317 nrfx_lpcomp_config_t *nrf) in shim_nrf_lpcomp_config_to_nrf() argument
319 if (shim_nrf_lpcomp_refsel_to_nrf(shim->refsel, &nrf->reference)) { in shim_nrf_lpcomp_config_to_nrf()
323 if (shim_nrf_lpcomp_extrefsel_to_nrf(shim->extrefsel, &nrf->ext_ref)) { in shim_nrf_lpcomp_config_to_nrf()
329 nrf->hyst = NRF_LPCOMP_HYST_ENABLED; in shim_nrf_lpcomp_config_to_nrf()
331 nrf->hyst = NRF_LPCOMP_HYST_NOHYST; in shim_nrf_lpcomp_config_to_nrf()
339 if (shim_nrf_lpcomp_psel_to_nrf(shim->psel, &nrf->input)) { in shim_nrf_lpcomp_config_to_nrf()
431 nrfx_lpcomp_config_t nrf = {}; in comp_nrf_lpcomp_configure() local
433 if (shim_nrf_lpcomp_config_to_nrf(config, &nrf)) { in comp_nrf_lpcomp_configure()
437 memcpy(&shim_nrf_lpcomp_data0.config, &nrf, sizeof(shim_nrf_lpcomp_data0.config)); in comp_nrf_lpcomp_configure()