/Zephyr-latest/dts/bindings/tcpc/ |
D | parade,ps8xxx.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 include: [base.yaml, pinctrl-device.yaml] 15 irq-gpios: 16 type: phandle-array 20 transmit-retries: 25 This value is used to fill the Retry Counter part of the TCPCI Transmit register.
|
/Zephyr-latest/drivers/can/ |
D | Kconfig.mcp251xfd | 5 # SPDX-License-Identifier: Apache-2.0 23 Defines the array size of transmit callback pointers and semaphores, 49 int "Number of retries during SFR register read" 52 Number of retries during SFR register read if CRC fails.
|
D | can_sja1000.c | 4 * SPDX-License-Identifier: Apache-2.0 24 const struct can_sja1000_config *config = dev->config; in can_sja1000_write_reg() 26 config->write_reg(dev, reg, val); in can_sja1000_write_reg() 31 const struct can_sja1000_config *config = dev->config; in can_sja1000_read_reg() 33 return config->read_reg(dev, reg); in can_sja1000_read_reg() 38 int retries = CAN_SJA1000_RESET_MODE_RETRIES; in can_sja1000_enter_reset_mode() local 44 if (--retries < 0) { in can_sja1000_enter_reset_mode() 45 return -EIO; in can_sja1000_enter_reset_mode() 66 int retries = CAN_SJA1000_RESET_MODE_RETRIES; in can_sja1000_leave_reset_mode() local 72 if (--retries < 0) { in can_sja1000_leave_reset_mode() [all …]
|
D | can_mcp2515.c | 4 * SPDX-License-Identifier: Apache-2.0 28 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_soft_reset() 39 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_soft_reset() 46 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_bit_modify() 57 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_bit_modify() 63 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_write_reg() 75 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_write_reg() 81 * When loading a transmit buffer, reduces the overhead of a normal WRITE 95 const struct mcp2515_config *dev_cfg = dev->config; in mcp2515_cmd_load_tx_buffer() 109 return spi_write_dt(&dev_cfg->bus, &tx); in mcp2515_cmd_load_tx_buffer() [all …]
|
/Zephyr-latest/drivers/wifi/nrf_wifi/ |
D | Kconfig.nrfwifi | 1 # Nordic Wi-Fi driver for nRF70 series SoCs 5 # SPDX-License-Identifier: Apache-2.0 21 Nordic Wi-Fi Driver 124 bool "Wi-Fi interface auto start on boot" 145 bool "Low power mode in nRF Wi-Fi chipsets" 169 module-dep = LOG 170 module-str = Log level for Wi-Fi nRF70 driver 171 module-help = Sets log level for Wi-Fi nRF70 driver 193 # Wi-Fi and SR Coexistence Hardware configuration. 195 bool "Wi-Fi and SR coexistence support" [all …]
|
/Zephyr-latest/include/zephyr/usb_c/ |
D | tcpci.h | 3 * SPDX-License-Identifier: Apache-2.0 15 * Registers and fields are compliant to the Type-C Port Controller Interface 19 /** Register address - vendor id */ 22 /** Register address - product id */ 25 /** Register address - version of TCPC */ 28 /** Register address - USB TypeC version */ 30 /** Mask for major part of type-c release supported */ 32 /** Macro to extract the major part of type-c release supported */ 34 /** Mask for minor part of type-c release supported */ 36 /** Macro to extract the minor part of type-c release supported */ [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mchp_xec_v2.c | 5 * SPDX-License-Identifier: Apache-2.0 25 #include "i2c-priv.h" 43 /* I2C recover SCL low retries */ 45 /* I2C recover SDA low retries */ 112 * i2c_baud_clk_period/bus_clk_period - 2 = (low_period + hi_period) 113 * bus_clk_reg (16MHz/100KHz -2) = 0x4F + 0x4F 114 * (16MHz/400KHz -2) = 0x0F + 0x17 115 * (16MHz/1MHz -2) = 0x05 + 0x09 144 (const struct i2c_xec_config *const) (dev->config); in i2c_ctl_wr() 146 (struct i2c_xec_data *const) (dev->data); in i2c_ctl_wr() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | mqtt_sn.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief MQTT-SN Client Implementation 12 * MQTT-SN Client's Application interface is defined in this header. 15 * @defgroup mqtt_sn_socket MQTT-SN Client library 41 * Quality of Service. QoS 0-2 work the same as basic MQTT, QoS -1 is an MQTT-SN addition. 42 * QOS -1 is not supported yet. 48 MQTT_SN_QOS_M1 /**< QOS -1 */ 52 * MQTT-SN topic types. 57 * It allows usage of any valid UTF-8 string as a topic name. 61 * Pre-defined topic. [all …]
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_prl.c | 4 * SPDX-License-Identifier: Apache-2.0 122 struct usbc_port_data *data = dev->data; in prl_subsys_init() 123 struct protocol_layer_tx_t *prl_tx = data->prl_tx; in prl_subsys_init() 124 struct protocol_hard_reset_t *prl_hr = data->prl_hr; in prl_subsys_init() 127 prl_tx->dev = dev; in prl_subsys_init() 128 prl_hr->dev = dev; in prl_subsys_init() 143 struct usbc_port_data *data = dev->data; in prl_is_running() 145 return data->prl_sm_state == SM_RUN; in prl_is_running() 154 struct usbc_port_data *data = dev->data; in prl_execute_hard_reset() 155 struct protocol_hard_reset_t *prl_hr = data->prl_hr; in prl_execute_hard_reset() [all …]
|
D | usbc_pe_common.c | 4 * SPDX-License-Identifier: Apache-2.0 27 struct usbc_port_data *data = dev->data; in pe_set_ready_state() 29 if (data->pe->power_role == TC_ROLE_SOURCE) { in pe_set_ready_state() 43 struct usbc_port_data *data = dev->data; in common_dpm_requests() 44 struct policy_engine *pe = data->pe; in common_dpm_requests() 46 if (pe->dpm_request > REQUEST_TC_END) { in common_dpm_requests() 47 atomic_set_bit(pe->flags, PE_FLAGS_DPM_INITIATED_AMS); in common_dpm_requests() 49 if (pe->dpm_request == REQUEST_PE_DR_SWAP) { in common_dpm_requests() 52 } else if (pe->dpm_request == REQUEST_PE_SOFT_RESET_SEND) { in common_dpm_requests() 66 struct usbc_port_data *data = dev->data; in pe_subsys_init() [all …]
|
/Zephyr-latest/drivers/sdhc/ |
D | mcux_sdif.c | 4 * SPDX-License-Identifier: Apache-2.0 63 struct mcux_sdif_data *data = dev->data; in mcux_sdif_transfer_complete() 66 data->transfer_status |= TRANSFER_DATA_FAILED; in mcux_sdif_transfer_complete() 68 data->transfer_status |= TRANSFER_DATA_COMPLETE; in mcux_sdif_transfer_complete() 70 data->transfer_status |= TRANSFER_CMD_FAILED; in mcux_sdif_transfer_complete() 72 data->transfer_status |= TRANSFER_CMD_COMPLETE; in mcux_sdif_transfer_complete() 76 k_sem_give(&data->transfer_sem); in mcux_sdif_transfer_complete() 94 const struct mcux_sdif_config *config = dev->config; in mcux_sdif_reset() 95 struct mcux_sdif_data *data = dev->data; in mcux_sdif_reset() 97 k_mutex_lock(&data->access_mutex, K_FOREVER); in mcux_sdif_reset() [all …]
|
D | rcar_mmc.c | 4 * SPDX-License-Identifier: Apache-2.0 109 struct mmc_rcar_data *data = dev->data; in rcar_mmc_reset_and_mask_irqs() 124 k_sem_reset(&data->irq_xref_fin); in rcar_mmc_reset_and_mask_irqs() 138 * @retval -EINVAL: the dev pointer is NULL 145 return -EINVAL; in rcar_mmc_card_busy() 160 * @retval -ETIMEDOUT: timed out while tx/rx 161 * @retval -EIO: I/O error 162 * @retval -EILSEQ: communication out of sync 170 return -ETIMEDOUT; in rcar_mmc_check_errors() 175 return -EILSEQ; in rcar_mmc_check_errors() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 120 # Hidden, Controller's Co-Operative high priority Rx thread stack size. 125 # Hidden, Controller's Co-Operative Rx thread stack size. 152 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers 168 Legacy Non-Directed Advertising mode. 180 zero-based numbering. When using with Zephyr host this option can be 233 module-str = "Bluetooth Controller ISO-AL" 237 bool "ISO-AL verbose debug logging" 241 Use this option to enable ISO-AL verbose debug logging. [all …]
|
/Zephyr-latest/subsys/dap/ |
D | cmsis_dap.c | 2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH 5 * SPDX-License-Identifier: Apache-2.0 9 * This file is based on DAP.c from CMSIS-DAP Source (Revision: V2.0.0) 10 * https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/DAP/Firmware 11 * Copyright (c) 2013-2017 ARM Limited. All rights reserved. 12 * SPDX-License-Identifier: Apache-2.0 39 /* Number of retries after WAIT response */ 41 /* Number of retries if read value does not match */ 51 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2), 54 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2), [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_mcr20a.c | 1 /* ieee802154_mcr20a.c - NXP MCR20A driver */ 8 * SPDX-License-Identifier: Apache-2.0 113 #define MCR20A_OUTPUT_POWER_MIN (-35) 132 * Fc = 2405 + 5(k - 11) , k = 11,12,...,26 157 const struct mcr20a_config *config = dev->config; in z_mcr20a_read_reg() 178 if (spi_transceive_dt(&config->bus, &tx, &rx) == 0) { in z_mcr20a_read_reg() 179 return cmd_buf[len - 1]; in z_mcr20a_read_reg() 191 const struct mcr20a_config *config = dev->config; in z_mcr20a_write_reg() 207 return (spi_write_dt(&config->bus, &tx) == 0); in z_mcr20a_write_reg() 214 const struct mcr20a_config *config = dev->config; in z_mcr20a_write_burst() [all …]
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ps8xxx.c | 3 * SPDX-License-Identifier: Apache-2.0 25 /** Initialization retries counter */ 37 /** Alert handler set by USB-C stack */ 39 /** Alert handler data set by USB-C stack */ 42 /** VCONN discharge callback set by USB-C stack */ 44 /** VCONN discharge callback data set by USB-C stack */ 69 const struct ps8xxx_cfg *cfg = dev->config; in tcpci_init_alert_mask() 76 ret = tcpci_write_reg16(&cfg->bus, TCPC_REG_ALERT_MASK, mask); in tcpci_init_alert_mask() 86 struct ps8xxx_data *data = dev->data; in ps8xxx_tcpc_init() 88 if (!data->initialized) { in ps8xxx_tcpc_init() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_conn_iso.c | 4 * SPDX-License-Identifier: Apache-2.0 89 /* BT. 5.3 Spec - Vol 4, Part E, Sect 6.7 */ 102 cig->cig_id = 0xFF; in ll_conn_iso_group_release() 103 cig->state = CIG_STATE_NO_CIG; in ll_conn_iso_group_release() 104 cig->lll.num_cis = 0U; in ll_conn_iso_group_release() 125 if (id == cig->cig_id) { in ll_conn_iso_group_get_by_id() 138 (void)memset(&cis->hdr, 0U, sizeof(cis->hdr)); in ll_conn_iso_stream_acquire() 146 cis->cis_id = 0; in ll_conn_iso_stream_release() 147 cis->group = NULL; in ll_conn_iso_stream_release() 161 return mem_get(cis_pool, sizeof(struct ll_conn_iso_stream), handle - in ll_conn_iso_stream_get() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_adin2111.c | 4 * SPDX-License-Identifier: Apache-2.0 32 /* Number of retries SPI Communication check */ 37 /* Number of retries for ADIN RESETC check */ 86 return -EBUSY; in eth_adin2111_mac_reset() 111 struct adin2111_data *ctx = dev->data; in eth_adin2111_get_iface() 113 return ((struct adin2111_port_data *)ctx->port[port_idx]->data)->iface; in eth_adin2111_get_iface() 118 struct adin2111_data *ctx = dev->data; in eth_adin2111_lock() 120 return k_mutex_lock(&ctx->lock, timeout); in eth_adin2111_lock() 125 struct adin2111_data *ctx = dev->data; in eth_adin2111_unlock() 127 return k_mutex_unlock(&ctx->lock); in eth_adin2111_unlock() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 113 bool "Mesh-specific workqueue" 116 mesh-specific workqueue. This will ensure that messages are always sent. 117 The application needs to ensure the mesh-specific workqueue size is large 130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately 237 bool "PB-ADV support" 299 bool "PB-GATT Server support" 314 the PB-GATT is enabled. 317 bool "PB-GATT Client support" 412 int "Network Transmit Count" [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications. 13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`. 16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2. 23 * Over 30 new supported boards, spanning all Zephyr-supported architectures. 37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47 38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_ 40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc 41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_ 43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw 44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_ [all …]
|
D | release-notes-3.1.rst | 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. 220 * Added support for Provisioners over PB-GATT 231 * Implemented ISO-AL TX unframed fragmentation 232 * Added support for back-to-back receiving of PDUs on nRF5x platforms 249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`. [all …]
|