Lines Matching refs:req
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()
94 req.data.upper_threshold = upper_threshold; in nrfs_temp_subscribe()
96 return nrfs_backend_send(&req, sizeof(req)); in nrfs_temp_subscribe()
105 nrfs_temp_subscribe_t req; in nrfs_temp_unsubscribe() local
107 NRFS_SERVICE_HDR_FILL(&req, NRFS_TEMP_REQ_UNSUBSCRIBE); in nrfs_temp_unsubscribe()
109 return nrfs_backend_send(&req, sizeof(req)); in nrfs_temp_unsubscribe()