/Zephyr-Core-3.6.0/include/zephyr/drivers/sip_svc/ |
D | sip_svc_driver.h | 51 typedef uint32_t (*sip_svc_plat_get_trans_idx_t)(const struct device *dev, uint32_t trans_id); 58 struct sip_svc_request *request, uint32_t trans_id); 81 char *buf, size_t *size, uint32_t *trans_id); 194 __syscall uint32_t sip_svc_plat_get_trans_idx(const struct device *dev, uint32_t trans_id); 196 uint32_t trans_id) in z_impl_sip_svc_plat_get_trans_idx() argument 204 return api->sip_svc_plat_get_trans_idx(dev, trans_id); in z_impl_sip_svc_plat_get_trans_idx() 215 struct sip_svc_request *request, uint32_t trans_id); 218 uint32_t trans_id) in z_impl_sip_svc_plat_update_trans_id() argument 227 return api->sip_svc_plat_update_trans_id(dev, request, trans_id); in z_impl_sip_svc_plat_update_trans_id() 312 char *buf, size_t *size, uint32_t *trans_id); [all …]
|
D | sip_svc_proto.h | 41 #define SIP_SVC_PROTO_HEADER(code, trans_id) \ argument 43 (((trans_id)&SIP_SVC_PROTO_HEADER_TRANS_ID_MASK) \ 53 #define SIP_SVC_PROTO_HEADER_SET_TRANS_ID(header, trans_id) \ argument 55 (header) |= (((trans_id)&SIP_SVC_PROTO_HEADER_TRANS_ID_MASK) \
|
D | sip_svc_agilex_smc.h | 44 #define SMC_PLAT_PROTO_HEADER_SET_TRANS_ID(header, trans_id) \ argument 47 (header) |= (((trans_id)&SMC_PLAT_PROTO_HEADER_TRANS_ID_MASK) \
|
/Zephyr-Core-3.6.0/subsys/modbus/ |
D | modbus_raw.c | 67 ctx->rx_adu.trans_id = adu->trans_id; in modbus_raw_submit_rx() 83 sys_put_be16(adu->trans_id, &header[0]); in modbus_raw_put_header() 92 adu->trans_id = sys_get_be16(&header[0]); in modbus_raw_get_header() 155 uint16_t trans_id = adu->trans_id; in modbus_raw_backend_txn() local 159 adu->trans_id = trans_id; in modbus_raw_backend_txn()
|
D | modbus_server.c | 986 ctx->tx_adu.trans_id = ctx->rx_adu.trans_id; in modbus_server_handler()
|
/Zephyr-Core-3.6.0/tests/subsys/modbus/src/ |
D | test_modbus_raw.c | 24 tmp_adu.trans_id = adu->trans_id; in server_raw_cb() 50 tmp_adu.trans_id = adu->trans_id; in client_raw_cb()
|
/Zephyr-Core-3.6.0/drivers/sip_svc/ |
D | sip_smc_intel_socfpga.c | 74 static uint32_t intel_sip_smc_plat_get_trans_idx(const struct device *dev, uint32_t trans_id) in intel_sip_smc_plat_get_trans_idx() argument 78 return (trans_id & 0xF); in intel_sip_smc_plat_get_trans_idx() 82 struct sip_svc_request *request, uint32_t trans_id) in intel_sip_smc_plat_update_trans_id() argument 94 SMC_PLAT_PROTO_HEADER_SET_TRANS_ID(request->a1, trans_id); in intel_sip_smc_plat_update_trans_id() 99 SIP_SVC_MB_HEADER_SET_TRANS_ID(data[0], trans_id); in intel_sip_smc_plat_update_trans_id() 134 char *buf, size_t *size, uint32_t *trans_id) in intel_sip_smc_plat_async_res_res() argument 139 __ASSERT((res && buf && size && trans_id), "invalid parameters\n"); in intel_sip_smc_plat_async_res_res() 143 *trans_id = SIP_SVC_MB_HEADER_GET_TRANS_ID(resp[0]); in intel_sip_smc_plat_async_res_res()
|
/Zephyr-Core-3.6.0/samples/subsys/sip_svc/src/ |
D | main.c | 56 int err, trans_id; in main() local 98 trans_id = sip_svc_send(mb_smc_ctrl, mb_c_token, &request, get_voltage_callback); in main() 99 __ASSERT(trans_id < 0, "Error in sending a request to SDM mailbox"); in main() 107 printk("Got response of transaction id 0x%02x and voltage is %fv\n", trans_id, in main()
|
/Zephyr-Core-3.6.0/subsys/sip_svc/ |
D | sip_svc_subsys.c | 395 static void sip_svc_callback(struct sip_svc_controller *ctrl, uint32_t trans_id, in sip_svc_callback() argument 407 LOG_INF("Got response for trans id 0x%x", trans_id); in sip_svc_callback() 416 trans_id_item = sip_svc_id_map_query_item(ctrl->trans_id_map, trans_id); in sip_svc_callback() 446 sip_svc_id_map_remove_item(ctrl->trans_id_map, trans_id); in sip_svc_callback() 448 sip_svc_plat_get_trans_idx(ctrl->dev, trans_id)); in sip_svc_callback() 467 uint32_t trans_id; in sip_svc_request_handler() local 496 trans_id = SIP_SVC_PROTO_HEADER_GET_TRANS_ID(request.header); in sip_svc_request_handler() 500 sip_svc_plat_update_trans_id(ctrl->dev, &request, trans_id); in sip_svc_request_handler() 526 response.header = SIP_SVC_PROTO_HEADER(error_code, trans_id); in sip_svc_request_handler() 535 sip_svc_callback(ctrl, trans_id, &response); in sip_svc_request_handler() [all …]
|
D | sip_svc_agilex_mailbox_shell.c | 256 int trans_id; in cmd_send() local 316 trans_id = sip_svc_send(mb_smc_ctrl, mb_c_token, &request, cmd_send_callback); in cmd_send() 318 if (trans_id < 0) { in cmd_send() 326 shell_print(sh, "Mailbox send success: trans_id %d", trans_id); in cmd_send() 329 shell_error(sh, "Mailbox send timeout: trans_id %d", trans_id); in cmd_send()
|
D | sip_svc_shell.c | 208 int trans_id; in cmd_send() local 324 trans_id = sip_svc_send(ctrl, (uint32_t)c_token, &request, cmd_send_callback); in cmd_send() 326 if (trans_id < 0) { in cmd_send() 329 err = trans_id; in cmd_send() 335 (uint32_t)c_token, trans_id); in cmd_send()
|
/Zephyr-Core-3.6.0/tests/subsys/sip_svc/src/ |
D | main.c | 54 int err, trans_id; in sip_svc_send_sync_request() local 77 trans_id = sip_svc_send(ctrl, token, &req, get_sync_callback); in sip_svc_send_sync_request() 78 __ASSERT(trans_id >= 0, "error in sending request"); in sip_svc_send_sync_request() 87 k_thread_name_get(k_current_get()), trans_id, t); in sip_svc_send_sync_request() 120 int err, trans_id; in sip_svc_send_async_request() local 161 trans_id = sip_svc_send(ctrl, token, &req, get_async_callback); in sip_svc_send_async_request() 162 __ASSERT(trans_id >= 0, "error in sending request"); in sip_svc_send_async_request() 171 k_thread_name_get(k_current_get()), trans_id, t); in sip_svc_send_async_request()
|
/Zephyr-Core-3.6.0/samples/subsys/modbus/tcp_server/src/ |
D | main.c | 168 tmp_adu.trans_id = adu->trans_id; in server_raw_cb()
|
/Zephyr-Core-3.6.0/include/zephyr/modbus/ |
D | modbus.h | 74 uint16_t trans_id; member
|
/Zephyr-Core-3.6.0/samples/boards/nrf/mesh/onoff-app/src/ |
D | main.c | 272 static uint8_t trans_id; variable 514 net_buf_simple_add_u8(pub_cli->msg, trans_id++); in button_pressed_worker()
|