| /hal_nordic-latest/nrfs/src/services/ |
| D | nrfs_pmic.c | 39 nrfs_pmic_rffe_on_req_t req; in nrfs_pmic_rffe_on() local 41 NRFS_SERVICE_HDR_FILL(&req, NRFS_PMIC_RFFE_ON); in nrfs_pmic_rffe_on() 42 req.ctx.ctx = (uint32_t)p_context; in nrfs_pmic_rffe_on() 44 return nrfs_backend_send(&req, sizeof(req)); in nrfs_pmic_rffe_on() 53 nrfs_pmic_rffe_on_req_t req; in nrfs_pmic_rffe_on_no_rsp() local 55 NRFS_SERVICE_HDR_FILL(&req, NRFS_PMIC_RFFE_ON); in nrfs_pmic_rffe_on_no_rsp() 56 NRFS_HDR_NO_RSP_SET(&req.hdr); in nrfs_pmic_rffe_on_no_rsp() 58 return nrfs_backend_send(&req, sizeof(req)); in nrfs_pmic_rffe_on_no_rsp() 67 nrfs_pmic_rffe_off_req_t req; in nrfs_pmic_rffe_off() local 69 NRFS_SERVICE_HDR_FILL(&req, NRFS_PMIC_RFFE_OFF); in nrfs_pmic_rffe_off() [all …]
|
| D | nrfs_clock.c | 35 switch (p_data->hdr.req) { in nrfs_clock_service_notify() 74 nrfs_clock_subscribe_t req; in nrfs_clock_subscribe() local 76 NRFS_SERVICE_HDR_FILL(&req, NRFS_CLOCK_REQ_SUBSCRIBE); in nrfs_clock_subscribe() 77 req.ctx.ctx = (uint32_t)p_context; in nrfs_clock_subscribe() 78 req.event_mask = event_mask; in nrfs_clock_subscribe() 80 return nrfs_backend_send(&req, sizeof(req)); in nrfs_clock_subscribe() 89 nrfs_clock_subscribe_t req; in nrfs_clock_unsubscribe() local 91 NRFS_SERVICE_HDR_FILL(&req, NRFS_CLOCK_REQ_UNSUBSCRIBE); in nrfs_clock_unsubscribe() 93 return nrfs_backend_send(&req, sizeof(req)); in nrfs_clock_unsubscribe() 102 nrfs_clock_lfclk_src_req_t req; in nrfs_clock_lfclk_src_set() local [all …]
|
| D | nrfs_dvfs.c | 33 switch (p_data->hdr.req) { in nrfs_dvfs_service_notify() 85 nrfs_dvfs_req_t req; in nrfs_dvfs_init_prepare_request() local 87 NRFS_SERVICE_HDR_FILL(&req, NRFS_DVFS_REQ_INIT_PREPARE); in nrfs_dvfs_init_prepare_request() 88 req.ctx.ctx = (uint32_t)p_context; in nrfs_dvfs_init_prepare_request() 90 return nrfs_backend_send(&req, sizeof(req)); in nrfs_dvfs_init_prepare_request() 99 nrfs_dvfs_req_t req; in nrfs_dvfs_init_complete_request() local 101 NRFS_SERVICE_HDR_FILL(&req, NRFS_DVFS_REQ_INIT_COMPLETE); in nrfs_dvfs_init_complete_request() 102 req.ctx.ctx = (uint32_t)p_context; in nrfs_dvfs_init_complete_request() 104 return nrfs_backend_send(&req, sizeof(req)); in nrfs_dvfs_init_complete_request() 113 nrfs_dvfs_opp_req_t req; in nrfs_dvfs_oppoint_request() local [all …]
|
| D | nrfs_temp.c | 33 switch (p_data->hdr.req) { in nrfs_temp_service_notify() 71 nrfs_temp_measure_t req; in nrfs_temp_measure_request() local 73 NRFS_SERVICE_HDR_FILL(&req, NRFS_TEMP_REQ_MEASURE); in nrfs_temp_measure_request() 74 req.ctx.ctx = (uint32_t)p_context; in nrfs_temp_measure_request() 76 return nrfs_backend_send(&req, sizeof(req)); in nrfs_temp_measure_request() 88 nrfs_temp_subscribe_t req; in nrfs_temp_subscribe() local 90 NRFS_SERVICE_HDR_FILL(&req, NRFS_TEMP_REQ_SUBSCRIBE); in nrfs_temp_subscribe() 91 req.ctx.ctx = (uint32_t)p_context; in nrfs_temp_subscribe() 92 req.data.measure_rate_ms = measure_rate_ms; in nrfs_temp_subscribe() 93 req.data.lower_threshold = lower_threshold; in nrfs_temp_subscribe() [all …]
|
| D | nrfs_diag.c | 39 nrfs_diag_reg_req_t req; in nrfs_diag_reg_read() local 41 NRFS_SERVICE_HDR_FILL(&req, NRFS_DIAG_REG); in nrfs_diag_reg_read() 42 req.ctx.ctx = (uint32_t)p_context; in nrfs_diag_reg_read() 43 req.reg.access_type = DIAG_REG_READ; in nrfs_diag_reg_read() 44 req.reg.addr = addr; in nrfs_diag_reg_read() 45 req.reg.val = 0; in nrfs_diag_reg_read() 47 return nrfs_backend_send(&req, sizeof(req)); in nrfs_diag_reg_read() 56 nrfs_diag_reg_req_t req; in nrfs_diag_reg_write() local 58 NRFS_SERVICE_HDR_FILL(&req, NRFS_DIAG_REG); in nrfs_diag_reg_write() 59 req.ctx.ctx = (uint32_t)p_context; in nrfs_diag_reg_write() [all …]
|
| D | nrfs_gdfs.c | 32 switch (p_data->hdr.req) { in nrfs_gdfs_service_notify() 65 nrfs_gdfs_req_t req; in nrfs_gdfs_request_freq() local 67 NRFS_SERVICE_HDR_FILL(&req, NRFS_GDFS_REQ_FREQ); in nrfs_gdfs_request_freq() 68 req.ctx.ctx = (uint32_t)p_context; in nrfs_gdfs_request_freq() 69 req.data.target_freq = target_freq; in nrfs_gdfs_request_freq() 71 return nrfs_backend_send(&req, sizeof(req)); in nrfs_gdfs_request_freq() 81 nrfs_gdfs_req_t req; in nrfs_gdfs_request_freq_no_rsp() local 83 NRFS_SERVICE_HDR_FILL(&req, NRFS_GDFS_REQ_FREQ); in nrfs_gdfs_request_freq_no_rsp() 84 NRFS_HDR_NO_RSP_SET(&req.hdr); in nrfs_gdfs_request_freq_no_rsp() 85 req.ctx.ctx = (uint32_t)p_context; in nrfs_gdfs_request_freq_no_rsp() [all …]
|
| D | nrfs_swext.c | 67 nrfs_swext_req_t req; in nrfs_swext_power_up() local 69 NRFS_SERVICE_HDR_FILL(&req, NRFS_SWEXT_REQ_POWER_UP); in nrfs_swext_power_up() 70 req.ctx.ctx = (uint32_t)p_context; in nrfs_swext_power_up() 71 req.data.load_current = load_current; in nrfs_swext_power_up() 72 return nrfs_backend_send(&req, sizeof(req)); in nrfs_swext_power_up() 81 nrfs_swext_req_t req; in nrfs_swext_power_down() local 83 NRFS_SERVICE_HDR_FILL(&req, NRFS_SWEXT_REQ_POWER_DOWN); in nrfs_swext_power_down() 84 req.ctx.ctx = (uint32_t)p_context; in nrfs_swext_power_down() 85 req.data.pd_clamp_control = pd_clamp; in nrfs_swext_power_down() 86 return nrfs_backend_send(&req, sizeof(req)); in nrfs_swext_power_down()
|
| D | nrfs_usb.c | 32 switch (p_data->hdr.req) { in nrfs_usb_service_notify() 68 nrfs_usb_enable_req_t req; in nrfs_usb_enable_request() local 70 NRFS_SERVICE_HDR_FILL(&req, NRFS_USB_REQ_ENABLE); in nrfs_usb_enable_request() 71 req.ctx.ctx = (uint32_t)p_context; in nrfs_usb_enable_request() 73 return nrfs_backend_send(&req, sizeof(req)); in nrfs_usb_enable_request() 82 nrfs_usb_disable_req_t req; in nrfs_usb_disable_request() local 84 NRFS_SERVICE_HDR_FILL(&req, NRFS_USB_REQ_DISABLE); in nrfs_usb_disable_request() 85 req.ctx.ctx = (uint32_t)p_context; in nrfs_usb_disable_request() 87 return nrfs_backend_send(&req, sizeof(req)); in nrfs_usb_disable_request()
|
| D | nrfs_mram.c | 39 nrfs_mram_set_latency_t req; in nrfs_mram_set_latency() local 41 NRFS_SERVICE_HDR_FILL(&req, NRFS_MRAM_REQ_SET_LATENCY); in nrfs_mram_set_latency() 42 req.ctx.ctx = (uint32_t)p_context; in nrfs_mram_set_latency() 43 req.data.mram_latency_request = mram_latency_request; in nrfs_mram_set_latency() 44 return nrfs_backend_send(&req, sizeof(req)); in nrfs_mram_set_latency() 61 switch (p_data->hdr.req) { in nrfs_mram_service_notify()
|
| D | nrfs_gdpwr.c | 60 nrfs_gdpwr_req_t req; in nrfs_gdpwr_power_request() local 62 NRFS_SERVICE_HDR_FILL(&req, NRFS_GDPWR_REQ_SET_POWER_REQUEST); in nrfs_gdpwr_power_request() 63 req.ctx.ctx = (uint32_t)p_context; in nrfs_gdpwr_power_request() 64 req.data.power_domain = power_domain; in nrfs_gdpwr_power_request() 65 req.data.request_type = req_type; in nrfs_gdpwr_power_request() 66 return nrfs_backend_send(&req, sizeof(req)); in nrfs_gdpwr_power_request()
|
| D | nrfs_reset.c | 31 switch (p_data->hdr.req) { in nrfs_reset_service_notify() 60 nrfs_reset_req_t req; in nrfs_request_reset() local 62 NRFS_SERVICE_HDR_FILL(&req, NRFS_RESET_REQ); in nrfs_request_reset() 63 req.ctx.ctx = (uint32_t)0; in nrfs_request_reset() 65 return nrfs_backend_send(&req, sizeof(req)); in nrfs_request_reset()
|
| /hal_nordic-latest/nrfs/include/internal/ |
| D | nrfs_hdr.h | 29 uint16_t req; member 34 #define NRFS_HDR_FILL(p_hdr, _req) ((p_hdr)->req = (uint16_t)(_req)) 38 #define NRFS_HDR_NO_RSP_GET(_p_hdr) NRFS_NO_RSP_GET((_p_hdr)->req) 40 #define NRFS_HDR_NO_RSP_SET(_p_hdr) NRFS_NO_RSP_SET((_p_hdr)->req) 42 #define NRFS_HDR_FILTER_ERR_GET(_p_hdr) NRFS_FILTER_ERR_GET((_p_hdr)->req) 44 #define NRFS_HDR_FILTER_ERR_SET(_p_hdr) NRFS_FILTER_ERR_SET((_p_hdr)->req) 47 #define NRFS_HDR_UNSOLICITED_GET(_p_hdr) NRFS_UNSOLICITED_GET((_p_hdr)->req) 50 #define NRFS_HDR_UNSOLICITED_SET(_p_hdr) NRFS_UNSOLICITED_SET((_p_hdr)->req)
|
| /hal_nordic-latest/nrfx/drivers/src/ |
| D | nrfx_usbd.c | 1316 static uint8_t usbd_dma_scheduler_algorithm(uint32_t req) in usbd_dma_scheduler_algorithm() argument 1319 return (uint8_t)NRF_CTZ(req); in usbd_dma_scheduler_algorithm() 1355 uint32_t req; in usbd_dmareq_process() local 1356 while (0 != (req = m_ep_dma_waiting & m_ep_ready)) in usbd_dmareq_process() 1359 if (NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST && ((req & USBD_EPISO_BIT_MASK) != 0)) in usbd_dmareq_process() 1361 pos = usbd_dma_scheduler_algorithm(req & USBD_EPISO_BIT_MASK); in usbd_dmareq_process() 1365 pos = usbd_dma_scheduler_algorithm(req); in usbd_dmareq_process()
|
| /hal_nordic-latest/nrfs/src/internal/ |
| D | nrfs_dispatcher.c | 86 uint8_t srv_id = NRFS_SERVICE_ID_GET(p_hdr->req); in nrfs_dispatcher_notify()
|