/Zephyr-Core-3.4.0/samples/subsys/mgmt/osdp/peripheral_device/src/ |
D | main.c | 24 int cmd_handler(void *unused, struct osdp_cmd *p) in cmd_handler() function 47 osdp_pd_set_command_callback(cmd_handler, NULL); in main()
|
/Zephyr-Core-3.4.0/drivers/modem/ |
D | modem_context.h | 39 void (*process)(struct modem_cmd_handler *cmd_handler, 69 struct modem_cmd_handler cmd_handler; member
|
D | gsm_ppp.c | 180 modem_cmd_handler_process(&gsm->context.cmd_handler, &gsm->context.iface); in gsm_rx() 413 &gsm->context.cmd_handler, in gsm_query_cellinfo() 547 &gsm->context.cmd_handler, in gsm_query_modem_info() 569 &gsm->context.cmd_handler, in gsm_setup_mccmno() 583 &gsm->context.cmd_handler, in gsm_setup_mccmno() 596 &gsm->context.cmd_handler, in gsm_setup_mccmno() 649 ret = modem_cmd_send_ext(&gsm->context.iface, &gsm->context.cmd_handler, &read_rssi_cmd, 1, in query_rssi() 653 ret = modem_cmd_send_ext(&gsm->context.iface, &gsm->context.cmd_handler, &read_rssi_cmd, 1, in query_rssi() 714 &gsm->context.cmd_handler, in gsm_finalize_connection() 729 &gsm->context.cmd_handler, in gsm_finalize_connection() [all …]
|
D | ublox-sara-r4.c | 372 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data() 475 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_cert() 945 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx() 1046 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work() 1058 &mctx.cmd_handler, in modem_rssi_query_work() 1091 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work() 1101 &mctx.cmd_handler, in modem_rssi_query_work() 1212 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset() 1225 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_reset() 1240 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset() [all …]
|
D | simcom-sim7080.c | 184 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), buf, in offload_connect() 261 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, NULL, 0U, send_buf, NULL, in offload_sendto() 422 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, data_cmd, ARRAY_SIZE(data_cmd), in offload_recvfrom() 507 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buf, &mdata.sem_response, in socket_close() 737 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), sendbuf, in offload_getaddrinfo() 811 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx() 1111 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), send_cmd, in modem_rssi_query_work() 1163 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cgatt_cmd, in modem_pdp_activate() 1192 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmds, ARRAY_SIZE(cmds), buf, in modem_pdp_activate() 1209 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0, "AT+CNCFG=0,0", in modem_pdp_activate() [all …]
|
D | quectel-bg9x.c | 205 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in socket_close() 464 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data() 610 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_recvfrom() 744 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_connect() 856 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx() 870 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work() 977 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate() 983 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate() 992 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate() 1035 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_setup() [all …]
|
D | modem_cmd_handler.c | 427 static void cmd_handler_process(struct modem_cmd_handler *cmd_handler, in cmd_handler_process() argument 433 if (!cmd_handler || !cmd_handler->cmd_handler_data || in cmd_handler_process() 438 data = (struct modem_cmd_handler_data *)(cmd_handler->cmd_handler_data); in cmd_handler_process()
|
D | wncm14a2a.c | 160 struct cmd_handler { struct 1067 static const struct cmd_handler handlers[] = { in wncm14a2a_rx()
|
D | hl7800.c | 529 struct cmd_handler { struct 4480 static const struct cmd_handler handlers[] = { in hl7800_rx()
|
/Zephyr-Core-3.4.0/tests/bluetooth/hci_prop_evt/src/ |
D | main.c | 34 struct cmd_handler { struct 67 const struct cmd_handler *handlers, in cmd_handle_helper() 71 const struct cmd_handler *handler = &handlers[i]; in cmd_handle_helper() 88 const struct cmd_handler *handlers, in cmd_handle() 173 static const struct cmd_handler cmds[] = {
|
/Zephyr-Core-3.4.0/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 40 struct cmd_handler { struct 92 const struct cmd_handler *handlers, size_t num_handlers) in cmd_handle_helper() 95 const struct cmd_handler *handler = &handlers[i]; in cmd_handle_helper() 114 static int cmd_handle(struct net_buf *cmd, const struct cmd_handler *handlers, size_t num_handlers) in cmd_handle() 197 static const struct cmd_handler cmds[] = {
|
/Zephyr-Core-3.4.0/tests/bluetooth/tester/src/ |
D | btp.c | 85 static void cmd_handler(void *p1, void *p2, void *p3) in cmd_handler() function 230 k_thread_create(&cmd_thread, stack, STACKSIZE, cmd_handler, in tester_init()
|
/Zephyr-Core-3.4.0/drivers/wifi/esp_at/ |
D | esp.c | 208 modem_cmd_handler_process(&data->mctx.cmd_handler, &data->mctx.iface); in esp_rx() 1112 &dev->mctx.cmd_handler, setup_cmds, in esp_init_work() 1141 &dev->mctx.cmd_handler, in esp_init_work() 1196 ret = modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_reset() 1285 ret = modem_cmd_handler_init(&data->mctx.cmd_handler, &data->cmd_handler_data, in esp_init()
|
D | esp.h | 423 return modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_cmd_send()
|
D | esp_offload.c | 235 ret = modem_cmd_send_ext(&dev->mctx.iface, &dev->mctx.cmd_handler, in _sock_send()
|
/Zephyr-Core-3.4.0/doc/services/shell/ |
D | index.rst | 335 static int cmd_handler(const struct shell *sh, size_t argc, 382 static int cmd_handler(const struct shell *sh, size_t argc,
|