| /Zephyr-latest/tests/drivers/mspi/flash/boards/ |
| D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 15 ce-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>, 17 dqs-support; 18 software-multiperipheral; 22 compatible = "zephyr,mspi-emul-flash"; 25 mspi-max-frequency = <48000000>; 26 mspi-io-mode = "MSPI_IO_MODE_QUAD"; 27 mspi-data-rate = "MSPI_DATA_RATE_SINGLE"; 28 mspi-hardware-ce-num = <0>; 29 read-command = <0x0B>; [all …]
|
| /Zephyr-latest/include/zephyr/mgmt/ |
| D | osdp.h | 4 * SPDX-License-Identifier: Apache-2.0 24 #define OSDP_CMD_TEXT_MAX_LEN 32 /**< Max length of text for text command */ 25 #define OSDP_CMD_KEYSET_KEY_MAX_LEN 32 /**< Max length of key data for keyset command */ 26 #define OSDP_EVENT_MAX_DATALEN 64 /**< Max length of event data */ 29 * @brief Command sent from CP to Control digital output of PD. 41 * - 0 - NOP – do not alter this output 42 * - 1 - set the permanent state to OFF, abort timed operation (if any) 43 * - 2 - set the permanent state to ON, abort timed operation (if any) 44 * - 3 - set the permanent state to OFF, allow timed operation to complete 45 * - 4 - set the permanent state to ON, allow timed operation to complete [all …]
|
| /Zephyr-latest/subsys/tracing/include/ |
| D | tracing_core.h | 4 * SPDX-License-Identifier: Apache-2.0 32 * @param length Tracing buffer length. 34 void tracing_buffer_handle(uint8_t *data, uint32_t length); 42 * @brief Handle tracing command. 44 * @param buf Tracing command buffer address. 45 * @param length Tracing command buffer length. 47 void tracing_cmd_handle(uint8_t *buf, uint32_t length);
|
| /Zephyr-latest/samples/subsys/profiling/perf/pytest/ |
| D | test_perf.py | 5 # SPDX-License-Identifier: Apache-2.0 19 logger.info('send "perf record 200 99" command') 25 logger.info('send "perf printbuf" command') 27 lines = lines[1:-1] 28 match = re.match(r"Perf buf length (\d+)", lines[0]) 30 length = int(match.group(1)) 32 assert length != 0, '0 length' 33 assert length == len(lines), 'length dose not match with count of lines' 36 while i < length: 38 assert i <= length, 'one of the samples is not true to size'
|
| /Zephyr-latest/samples/application_development/code_relocation_nocopy/boards/ |
| D | nrf54h20dk_nrf54h20_cpuapp.overlay | 11 read-command = <0xEC13>; 12 command-length = "INSTR_2_BYTE"; 13 address-length = "ADDR_4_BYTE"; 14 rx-dummy = <20>; 16 xip-config = <1 0 0x20000000 0>;
|
| /Zephyr-latest/dts/bindings/mspi/ |
| D | mspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 on-bus: mspi 14 mspi-max-frequency: 22 mspi-io-mode: 25 - "MSPI_IO_MODE_SINGLE" 26 - "MSPI_IO_MODE_DUAL" 27 - "MSPI_IO_MODE_DUAL_1_1_2" 28 - "MSPI_IO_MODE_DUAL_1_2_2" 29 - "MSPI_IO_MODE_QUAD" 30 - "MSPI_IO_MODE_QUAD_1_1_4" [all …]
|
| D | ambiq,mspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ambiq,mspi-device" 8 include: [mspi-device.yaml, "jedec,jesd216.yaml"] 11 mspi-io-mode: 14 mspi-data-rate: 17 mspi-hardware-ce-num: 25 rx-dummy: 28 tx-dummy: 31 read-command: 34 write-command: [all …]
|
| /Zephyr-latest/samples/drivers/mspi/mspi_flash/boards/ |
| D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-3 = <&mspi1_flash>; 27 pinctrl-names = "default","sleep","psram","flash"; 30 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 33 cmdq-buffer-location = ".mspi_buff"; 34 cmdq-buffer-size = <256>; 37 compatible = "ambiq,mspi-device", "mspi-aps6404l"; [all …]
|
| /Zephyr-latest/subsys/modem/ |
| D | modem_cmux.c | 4 * SPDX-License-Identifier: Apache-2.0 75 struct modem_cmux_command_length length; member 79 static int modem_cmux_wrap_command(struct modem_cmux_command **command, const uint8_t *data, in modem_cmux_wrap_command() argument 83 return -EINVAL; in modem_cmux_wrap_command() 86 (*command) = (struct modem_cmux_command *)data; in modem_cmux_wrap_command() 88 if (((*command)->length.ea == 0) || ((*command)->type.ea == 0)) { in modem_cmux_wrap_command() 89 return -EINVAL; in modem_cmux_wrap_command() 92 if ((*command)->length.value != (data_len - 2)) { in modem_cmux_wrap_command() 93 return -EINVAL; in modem_cmux_wrap_command() 132 LOG_DBG("%s ch:%u cr:%u pf:%u type:%s dlen:%u", action, frame->dlci_address, in modem_cmux_log_frame() [all …]
|
| /Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/ |
| D | main.c | 1 /* main.c - Host long advertising receive */ 4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA 6 * SPDX-License-Identifier: Apache-2.0 40 uint8_t length; member 49 /* Command handler structure for cmd_handle(). */ 51 uint16_t opcode; /* HCI command opcode */ 52 uint8_t len; /* HCI command response length */ 62 hdr->evt = evt; in evt_create() 63 hdr->len = len; in evt_create() 68 evt->subevent = subevent; in le_meta_evt_create() [all …]
|
| /Zephyr-latest/include/zephyr/bluetooth/ |
| D | hci_raw.h | 8 * SPDX-License-Identifier: Apache-2.0 74 /** Helper macro to define a command extension 76 * @param _op Opcode of the command. 77 * @param _min_len Minimal length of the command. 88 /** Opcode of the command */ 91 /** Minimal length of the command */ 96 * Handler function to be called when a command is intercepted. 98 * @param buf Buffer containing the command. 100 * @return HCI Status code or BT_HCI_ERR_EXT_HANDLED if command has 102 * BT_HCI_ERR_SUCCESS which just indicates that the command can be [all …]
|
| D | hci.h | 1 /* hci.h - Bluetooth Host Control Interface definitions */ 4 * Copyright (c) 2015-2016 Intel Corporation 6 * SPDX-License-Identifier: Apache-2.0 48 /** Allocate a HCI command buffer. 50 * This function allocates a new buffer for a HCI command. It is given 51 * the OpCode (encoded e.g. using the BT_OP macro) and the total length 55 * @param opcode Command OpCode. 56 * @param param_len Length of command parameters. 62 /** Send a HCI command asynchronously. 64 * This function is used for sending a HCI command asynchronously. It can [all …]
|
| /Zephyr-latest/tests/subsys/fs/common/ |
| D | test_fs_util.h | 4 * SPDX-License-Identifier: Apache-2.0 17 * content against the build command description. 28 /** Maximum length of a path supported by the test infrastructure. */ 76 * If adding an element would exceed the maximum allowed path length 92 size_t len = sp->eos - sp->path; in testfs_path_copy() 94 memcpy(dp->path, sp->path, len + 1); in testfs_path_copy() 95 dp->eos = dp->path + len; in testfs_path_copy() 102 * Writes are generated in blocks up to TESTFS_BUFFER_SIZE in length. 118 * Reads are performed in blocks up to TESTFS_BUFFER_SIZE in length. 136 * Writes are generated in blocks up to TESTFS_BUFFER_SIZE in length. [all …]
|
| /Zephyr-latest/subsys/usb/device_next/class/ |
| D | usbd_msc_scsi.c | 4 * SPDX-License-Identifier: Apache-2.0 21 /* Claim conformance to SPC-2 because this allows us to implement less commands 34 * There doesn't seem to be requirement on minimum product serial number length, 40 /* Every SCSI command has to abide to the general handling rules. Use macros 49 /* SAM-6 5.2 Command descriptor block (CDB) 52 #define GET_CONTROL_NACA(cmd) (cmd->control & BIT(2)) 54 /* SPC-5 4.3.3 Variable type data field requirements 63 /* SPC-5 F.3.1 Operation codes Table F.2 — Operation codes */ 84 /* DESC bit was reserved in SPC-2 and is optional since SPC-3 */ 85 #define GET_REQUEST_SENSE_DESC(cmd) (cmd->desc & BIT(0)) [all …]
|
| /Zephyr-latest/drivers/bluetooth/hci/ |
| D | h4_ifx_cyw43xxx.c | 5 * SPDX-License-Identifier: Apache-2.0 41 /* HCI Command packet from Host to Controller */ 44 /* Length of UPDATE BAUD RATE command */ 62 * This function executes vendor-specific commands sequence to 64 * bt_h4_vnd_setup function must be implemented in vendor-specific HCI 81 /* Re-configure UART */ in bt_hci_uart_set_baudrate() 98 * - To speed up application downloading, the MCU host commands the CYWxxx device in bt_update_controller_baudrate() 100 * UPDATE_BAUDRATE command: in bt_update_controller_baudrate() 102 * In the above command, the xx xx xx xx bytes specify the 32-bit little-endian in bt_update_controller_baudrate() 105 * The following response to the UPDATE_BAUDRATE command is expected within 100 ms: in bt_update_controller_baudrate() [all …]
|
| /Zephyr-latest/soc/gaisler/gr716a/ |
| D | linker.ld | 2 * Copyright (c) 2019-2020 Cobham Gaisler AB 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Linker command/script file 17 * LENGTH values represent the maximum possible. All memory regions may not be 22 bootprom (rx) : ORIGIN = 0x00000000, LENGTH = 4K 23 extprom (rx) : ORIGIN = 0x01000000, LENGTH = 16M 24 spi0 (rx) : ORIGIN = 0x02000000, LENGTH = 32M 25 spi1 (rx) : ORIGIN = 0x04000000, LENGTH = 32M 26 RAM (rw) : ORIGIN = 0x30000000, LENGTH = 64K 27 SRAM (x) : ORIGIN = 0x31000000, LENGTH = 128K [all …]
|
| /Zephyr-latest/drivers/sdhc/ |
| D | sdhc_esp32.h | 4 * SPDX-License-Identifier: Apache-2.0 30 /* SDHC command flags */ 31 #define SCF_ITSDONE 0x0001 /*!< command is complete */ 37 #define SCF_CMD_READ 0x0040 /*!< read command (data expected) */ 86 * SD/MMC command information 89 uint32_t opcode; /*!< SD or MMC command index */ 90 uint32_t arg; /*!< SD/MMC command argument */ 93 size_t datalen; /*!< length of data in the buffer */ 94 size_t buflen; /*!< length of the buffer */ 95 size_t blklen; /*!< block length */ [all …]
|
| /Zephyr-latest/include/zephyr/drivers/ |
| D | bluetooth.h | 6 * SPDX-License-Identifier: Apache-2.0 45 /* The controller does not auto-initiate a DLE procedure when the 46 * initial connection data length parameters are not equal to the 47 * default data length parameters. Therefore the host should initiate 51 * Data PDU length management: 54 * > - ... If either value is not 27, then the Controller should 55 * > initiate the Data Length Update procedure at the earliest 125 const struct bt_hci_driver_api *api = (const struct bt_hci_driver_api *)dev->api; in bt_hci_open() 127 return api->open(dev, recv); in bt_hci_open() 142 const struct bt_hci_driver_api *api = (const struct bt_hci_driver_api *)dev->api; in bt_hci_close() [all …]
|
| /Zephyr-latest/soc/gaisler/leon3/ |
| D | linker.ld | 2 * Copyright (c) 2019-2020 Cobham Gaisler AB 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Linker command/script file 18 rom (rx) : ORIGIN = 0x00000000, LENGTH = 512M 19 RAM (rwx) : ORIGIN = CONFIG_SRAM_BASE_ADDRESS, LENGTH = KB(CONFIG_SRAM_SIZE) 21 IDT_LIST (wx) : ORIGIN = 0xFFFFF7FF, LENGTH = 2K
|
| /Zephyr-latest/include/zephyr/shell/ |
| D | shell_types.h | 4 * SPDX-License-Identifier: Apache-2.0 35 uint16_t cur_x; /*!< horizontal cursor position in edited command line.*/ 36 uint16_t cur_x_end; /*!< horizontal cursor position at the end of command.*/ 37 uint16_t cur_y; /*!< vertical cursor position in edited command.*/ 38 uint16_t cur_y_end; /*!< vertical cursor position at the end of command.*/ 41 uint8_t name_len; /*!<console name length.*/
|
| /Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/ |
| D | Kconfig | 2 # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved. 3 # SPDX-License-Identifier: Apache-2.0 10 # MCUMGR_GRP_OS_ -- general group options; 26 int "Delay before executing reset command (ms)" 30 When a reset command is received, the system waits this many milliseconds 40 command has been issued via an MCUmgr command. With this option 41 disabled, modules will reboot when the command is received without 43 application will be notified that a reset command has been received 50 bool "Support for taskstat command" 95 int "Length of thread name to return in response" [all …]
|
| /Zephyr-latest/tests/bsim/bluetooth/ll/edtt/tests_scripts/ |
| D | hci.llcp.test_list | 2 # SPDX-License-Identifier: Apache-2.0 4 HCI/CCO/BV-07-C 5 HCI/CCO/BV-09-C # [Handling LE Set Data Length Command] 6 HCI/CCO/BV-10-C 7 HCI/CCO/BV-11-C 8 HCI/CCO/BV-12-C 9 HCI/CCO/BV-13-C 10 HCI/CCO/BV-14-C 11 HCI/CCO/BV-15-C 12 HCI/CCO/BV-18-C [all …]
|
| /Zephyr-latest/drivers/entropy/ |
| D | entropy_bt_hci.c | 5 * SPDX-License-Identifier: Apache-2.0 21 uint8_t *buffer, uint16_t length) in entropy_bt_get_entropy() argument 24 * the command. The reason is that when crypto is enabled and the PSA in entropy_bt_get_entropy() 32 * request through HCI. If the command fails for any reason, then in entropy_bt_get_entropy() 36 return bt_hci_le_rand(buffer, length); in entropy_bt_get_entropy()
|
| /Zephyr-latest/drivers/misc/ft8xx/ |
| D | ft8xx_drv.c | 4 * SPDX-License-Identifier: Apache-2.0 33 #define MAX_READ_LEN (UINT16_MAX - ADDR_SIZE - DUMMY_READ_SIZE) 34 #define MAX_WRITE_LEN (UINT16_MAX - ADDR_SIZE) 50 struct ft8xx_data *data = dev->data; in ft8xx_drv_init() 52 if (!spi_is_ready_dt(&data->spi)) { in ft8xx_drv_init() 53 LOG_ERR("SPI bus %s not ready", data->spi.bus->name); in ft8xx_drv_init() 54 return -ENODEV; in ft8xx_drv_init() 60 if (!gpio_is_ready_dt(&data->irq_gpio)) { in ft8xx_drv_init() 61 LOG_ERR("GPIO device %s is not ready", data->irq_gpio.port->name); in ft8xx_drv_init() 62 return -ENODEV; in ft8xx_drv_init() [all …]
|
| /Zephyr-latest/subsys/usb/host/ |
| D | usbip.h | 4 * SPDX-License-Identifier: Apache-2.0 10 /* Retrieve the list of exported devices command code */ 12 /* Reply the list of exported devices command code */ 14 /* Request to import a remote device command code */ 16 /* Reply to import a remote device command code */ 19 /* Submit an URB command code */ 21 /* Reply for submitting an URB command code */ 23 /* Unlink an URB command code */ 25 /* Reply for unlink an URB command code */ 28 /* Command direction */ [all …]
|