Home
last modified time | relevance | path

Searched refs:send_cmd (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_itron.c60 static int send_cmd(const struct device *dev, const uint8_t *command, uint8_t length, bool pm,
163 return send_cmd(dev, cmd, sizeof(cmd), true, true); in auxdisplay_itron_set_powered()
199 return send_cmd(dev, cmd, sizeof(cmd), false, true); in auxdisplay_itron_cursor_set_enabled()
216 return send_cmd(dev, cmd, sizeof(cmd), false, true); in auxdisplay_itron_cursor_position_set()
233 return send_cmd(dev, cmd, sizeof(cmd), false, true); in auxdisplay_itron_clear()
269 rc = send_cmd(dev, cmd, sizeof(cmd), false, false); in auxdisplay_itron_brightness_set()
314 static int send_cmd(const struct device *dev, const uint8_t *command, uint8_t length, bool pm, in send_cmd() function
406 return send_cmd(dev, data, len, false, true); in auxdisplay_itron_write()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c277 static void send_cmd(uint16_t opcode, struct net_buf *cmd, struct net_buf **rsp) in send_cmd() function
363 send_cmd(opcode, buf, NULL); in set_event_mask()
377 send_cmd(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
398 send_cmd(BT_HCI_OP_LE_SET_ADV_DATA, buf, NULL); in start_adv()
412 send_cmd(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in start_adv()
418 send_cmd(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in start_adv()
437 send_cmd(BT_HCI_OP_DISCONNECT, buf, NULL); in disconnect()
496 send_cmd(BT_HCI_OP_RESET, NULL, NULL); in prepare_controller()
497 send_cmd(BT_HCI_OP_LE_READ_BUFFER_SIZE, NULL, &rsp); in prepare_controller()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c301 static void send_cmd(uint16_t opcode, struct net_buf *cmd, struct net_buf **rsp) in send_cmd() function
366 send_cmd(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in read_max_data_len()
385 send_cmd(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, buf, NULL); in write_default_data_len()
411 send_cmd(opcode, buf, NULL); in set_event_mask()
425 send_cmd(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
446 send_cmd(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in start_adv()
451 send_cmd(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in start_adv()
522 send_cmd(BT_HCI_OP_RESET, NULL, NULL); in prepare_controller()
523 send_cmd(BT_HCI_OP_LE_READ_BUFFER_SIZE, NULL, &rsp); in prepare_controller()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c315 static void send_cmd(uint16_t opcode, struct net_buf *cmd, struct net_buf **rsp) in send_cmd() function
380 send_cmd(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in read_max_data_len()
399 send_cmd(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, buf, NULL); in write_default_data_len()
425 send_cmd(opcode, buf, NULL); in set_event_mask()
442 send_cmd(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
463 send_cmd(BT_HCI_OP_LE_SET_ADV_DATA, buf, NULL); in start_adv()
477 send_cmd(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in start_adv()
483 send_cmd(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in start_adv()
636 send_cmd(BT_HCI_OP_RESET, NULL, NULL); in entrypoint_tester()
637 send_cmd(BT_HCI_OP_LE_READ_BUFFER_SIZE, NULL, &rsp); in entrypoint_tester()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c323 static void send_cmd(uint16_t opcode, struct net_buf *cmd, struct net_buf **rsp) in send_cmd() function
388 send_cmd(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in read_max_data_len()
407 send_cmd(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, buf, NULL); in write_default_data_len()
433 send_cmd(opcode, buf, NULL); in set_event_mask()
447 send_cmd(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
468 send_cmd(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in start_adv()
473 send_cmd(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in start_adv()
574 send_cmd(BT_HCI_OP_RESET, NULL, NULL); in prepare_controller()
575 send_cmd(BT_HCI_OP_LE_READ_BUFFER_SIZE, NULL, &rsp); in prepare_controller()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c347 static void send_cmd(uint16_t opcode, struct net_buf *cmd, struct net_buf **rsp) in send_cmd() function
412 send_cmd(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in read_max_data_len()
431 send_cmd(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, buf, NULL); in write_default_data_len()
457 send_cmd(opcode, buf, NULL); in set_event_mask()
471 send_cmd(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
492 send_cmd(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in start_adv()
497 send_cmd(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in start_adv()
570 send_cmd(BT_HCI_OP_RESET, NULL, NULL); in prepare_controller()
571 send_cmd(BT_HCI_OP_LE_READ_BUFFER_SIZE, NULL, &rsp); in prepare_controller()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c303 static void send_cmd(uint16_t opcode, struct net_buf *cmd, struct net_buf **rsp) in send_cmd() function
368 send_cmd(BT_HCI_OP_LE_READ_MAX_DATA_LEN, NULL, &rsp); in read_max_data_len()
387 send_cmd(BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN, buf, NULL); in write_default_data_len()
413 send_cmd(opcode, buf, NULL); in set_event_mask()
427 send_cmd(BT_HCI_OP_LE_SET_RANDOM_ADDRESS, buf, NULL); in set_random_address()
448 send_cmd(BT_HCI_OP_LE_SET_ADV_PARAM, buf, NULL); in start_adv()
454 send_cmd(BT_HCI_OP_LE_SET_ADV_ENABLE, buf, NULL); in start_adv()
609 send_cmd(BT_HCI_OP_RESET, NULL, NULL); in test_procedure_0()
610 send_cmd(BT_HCI_OP_LE_READ_BUFFER_SIZE, NULL, &rsp); in test_procedure_0()
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstool_client.py43 def send_cmd(self, cmd): member in cavstool_client
117 client.send_cmd(CMD_LOG_START)
124 client.send_cmd(CMD_DOWNLOAD)
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dmcp_ctlr.c47 .send_cmd = mcc_send_command_cb,
/Zephyr-latest/drivers/modem/
Dmodem_cmd_handler.c587 cmds[i].send_cmd, in modem_cmd_handler_setup_cmds()
591 NULL, 0, cmds[i].send_cmd, in modem_cmd_handler_setup_cmds()
599 cmds[i].send_cmd, ret); in modem_cmd_handler_setup_cmds()
622 cmds[i].send_cmd, in modem_cmd_handler_setup_cmds_nolock()
626 NULL, 0, cmds[i].send_cmd, in modem_cmd_handler_setup_cmds_nolock()
634 cmds[i].send_cmd, ret); in modem_cmd_handler_setup_cmds_nolock()
Dmodem_cmd_handler.h86 .send_cmd = cmd_send_, \
95 const char *send_cmd; member
Dublox-sara-r4.c1043 const char *send_cmd = send_cmd_r4; in modem_rssi_query_work() local
1046 send_cmd = send_cmd_u2; in modem_rssi_query_work()
1052 send_cmd, in modem_rssi_query_work()
1087 static char *send_cmd = "AT+CSQ"; in modem_rssi_query_work() local
1090 static char *send_cmd = "AT+CESQ"; in modem_rssi_query_work()
1096 &cmd, 1U, send_cmd, &mdata.sem_response, in modem_rssi_query_work()
Dquectel-bg9x.c870 static char *send_cmd = "AT+CSQ"; in modem_rssi_query_work() local
875 &cmd, 1U, send_cmd, &mdata.sem_response, in modem_rssi_query_work()
Dsimcom-sim7080.c1112 static char *send_cmd = "AT+CSQ"; in modem_rssi_query_work() local
1115 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), send_cmd, in modem_rssi_query_work()
/Zephyr-latest/drivers/sdhc/
Dsdhc_cdns.c82 ret = cdns_sdmmc_ops->send_cmd(&cdns_sdmmc_cmd, data); in sdhc_cdns_request()
Dsdhc_cdns_ll.h383 int (*send_cmd)(struct sdmmc_cmd *cmd, struct sdhc_data *data); member
Dsdhc_cdns_ll.c766 .send_cmd = sdhc_cdns_send_cmd,
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmcc.h592 bt_mcc_send_cmd_cb send_cmd; member
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmcc_test.c544 mcc_cb.send_cmd = mcc_send_command_cb; in do_mcc_init()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmcc.c659 cb.send_cmd = mcc_send_cmd_cb; in cmd_mcc_init()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c643 .send_cmd = mcc_send_cmd_cb,
/Zephyr-latest/subsys/bluetooth/audio/
Dmcc.c864 if (mcc_cb && mcc_cb->send_cmd) { in mcs_write_cp_cb()
865 mcc_cb->send_cmd(conn, cb_err, &cmd); in mcs_write_cp_cb()
Dmedia_proxy.c755 mprx.mcc_cbs.send_cmd = mcc_send_cmd_cb; in media_proxy_ctrl_discover_player()