/Zephyr-latest/arch/arc/core/secureshield/ |
D | secure_sys_services.c | 4 * SPDX-License-Identifier: Apache-2.0 18 * @param aux_reg address of aux reg 20 * Some aux regs require secure privilege, this function implements 21 * an secure service to access secure aux regs. Check should be done 26 return -1; in arc_s_aux_read() 32 * @param aux_reg address of aux reg 35 * Some aux regs require secure privilege, this function implements 36 * an secure service to access secure aux regs. Check should be done 42 /* 0 -> CONFIG_NUM_IRQ_PRIO_LEVELS allocated to secure world in arc_s_aux_write() 53 return -1; in arc_s_aux_write()
|
/Zephyr-latest/dts/bindings/serial/ |
D | brcm,bcm2711-aux-uart.yaml | 3 compatible: "brcm,bcm2711-aux-uart" 5 include: [uart-controller.yaml] 8 reg: 14 clock-frequency:
|
/Zephyr-latest/include/zephyr/arch/arc/ |
D | cluster.h | 4 * SPDX-License-Identifier: Apache-2.0 18 /* Cluster AUX */ 34 /* Cluster registers (not in the AUX address space - indirect access via CLNR_ADDR + CLNR_DATA) */ 94 static inline unsigned int arc_cln_read_reg_nolock(unsigned int reg) in arc_cln_read_reg_nolock() argument 96 z_arc_v2_aux_reg_write(_ARC_CLNR_ADDR, reg); in arc_cln_read_reg_nolock() 100 static inline void arc_cln_write_reg_nolock(unsigned int reg, unsigned int data) in arc_cln_write_reg_nolock() argument 102 z_arc_v2_aux_reg_write(_ARC_CLNR_ADDR, reg); in arc_cln_write_reg_nolock()
|
/Zephyr-latest/arch/arc/include/ |
D | swap_macros.h | 1 /* swap_macros.h - helper macros for context switch */ 6 * SPDX-License-Identifier: Apache-2.0 16 #include <zephyr/arch/arc/tool-compat.h> 17 #include <zephyr/arch/arc/asm-compat/assembler.h> 280 * _kernel.current. r3 is a scratch reg. 362 * need two temp reg to do this 367 and MACRO_ARG(reg1), MACRO_ARG(reg1), ((1 << ARC_N_IRQ_START_LEVEL) - 1) 378 * the result will be in reg (a reg) 380 .macro _get_cpu_id, reg 381 LRR MACRO_ARG(reg), [_ARC_V2_IDENTITY] [all …]
|
/Zephyr-latest/dts/arc/synopsys/ |
D | emsdp.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 9 //#include <zephyr/dt-bindings/i2c/i2c.h> 10 #include <zephyr/dt-bindings/gpio/gpio.h> 16 #address-cells = <1>; 17 #size-cells = <0>; 22 reg = <0>; 26 intc: arcv2-intc { 27 compatible = "snps,arcv2-intc"; 28 interrupt-controller; 29 #interrupt-cells = <2>; [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | snps,designware-spi.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "snps,designware-spi" 9 include: [spi-controller.yaml, pinctrl-device.yaml] 12 reg: 18 aux-reg: 24 fifo-depth: 29 Serial Interface. Depth ranges from 2-256. 31 serial-target: 38 max-xfer-size: 45 - 16 [all …]
|
/Zephyr-latest/dts/arm64/broadcom/ |
D | bcm2711.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <arm64/armv8-a.dtsi> 11 #include <zephyr/dt-bindings/interrupt-controller/arm-gic.h> 15 #address-cells = <1>; 16 #size-cells = <0>; 20 compatible = "arm,cortex-a72"; 21 reg = <0>; 25 interrupt-parent = <&gic>; 28 compatible = "arm,armv8-timer"; 42 compatible = "mmio-sram"; [all …]
|
/Zephyr-latest/arch/arc/core/mpu/ |
D | arc_mpu_v2_internal.h | 4 * SPDX-License-Identifier: Apache-2.0 13 * The size of the region is a 5-bit field, the three MSB bits are 16 * 00000-00011 Reserved 26 * ------+------------+------+---+-----------+ 28 * ------+------------+------+---+-----------+ 30 /* arrange size into proper bit field in RDP aux reg*/ 31 #define AUX_MPU_RDP_REGION_SIZE(size) (((size - 1) & BIT_MASK(2)) | \ 32 (((size - 1) & (BIT_MASK(3) << 2)) << 7)) 33 /* recover size from bit fields in RDP aux reg*/ 57 uint8_t bits = find_msb_set(size) - 1; in _region_init() [all …]
|
D | arc_mpu_v6_internal.h | 4 * SPDX-License-Identifier: Apache-2.0 16 * The size of the region is a 5-bit field, the three MSB bits are 19 * 00000-00011 Reserved 29 * ------+------------+------+---+-----------+ 31 * ------+------------+------+---+-----------+ 33 /* arrange size into proper bit field in RDP aux reg*/ 34 #define AUX_MPU_RDP_REGION_SIZE(size) (((size - 1) & BIT_MASK(2)) | \ 35 (((size - 1) & (BIT_MASK(3) << 2)) << 7)) 36 /* recover size from bit fields in RDP aux reg*/ 52 /* Define a MPU region as non-volatile [all …]
|
/Zephyr-latest/arch/arc/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 38 v2 ISA for the ARC-HS & ARC-EM cores 66 If y, the SoC uses an ARC EM4 DMIPS CPU with the single-precision 67 floating-point extension 73 If y, the SoC uses an ARC EM4 DMIPS CPU with single-precision 74 floating-point and double assist instructions 135 - LPcc instruction 136 - LP_COUNT core reg 137 - LP_START, LP_END aux regs 144 Interrupt priorities available will be 0 to NUM_IRQ_PRIO_LEVELS-1. [all …]
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | iis2iclx_shub.c | 1 /* ST Microelectronics IIS2ICLX 2-axis accelerometer sensor driver 5 * SPDX-License-Identifier: Apache-2.0 74 struct iis2iclx_data *data = dev->data; in iis2iclx_lis2mdl_init() 77 data->magn_gain = LIS2MDL_SENSITIVITY; in iis2iclx_lis2mdl_init() 84 k_sleep(K_MSEC(10)); /* turn-on time in ms */ in iis2iclx_lis2mdl_init() 110 return -ENOTSUP; in iis2iclx_lis2mdl_odr_set() 128 return iis2iclx_lis2mdl_odr_set(dev, i2c_addr, val->val1); in iis2iclx_lis2mdl_conf() 131 return -ENOTSUP; in iis2iclx_lis2mdl_conf() 155 struct iis2iclx_data *data = dev->data; in hts221_read_conv_data() 157 struct hts221_data *ht = &data->hts221; in hts221_read_conv_data() [all …]
|
/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx_shub.c | 1 /* ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 5 * SPDX-License-Identifier: Apache-2.0 75 struct ism330dhcx_data *data = dev->data; in ism330dhcx_lis2mdl_init() 78 data->magn_gain = LIS2MDL_SENSITIVITY; in ism330dhcx_lis2mdl_init() 84 k_sleep(K_MSEC(10)); /* turn-on time in ms */ in ism330dhcx_lis2mdl_init() 108 return -ENOTSUP; in ism330dhcx_lis2mdl_odr_set() 124 return ism330dhcx_lis2mdl_odr_set(dev, i2c_addr, val->val1); in ism330dhcx_lis2mdl_conf() 127 return -ENOTSUP; in ism330dhcx_lis2mdl_conf() 150 struct ism330dhcx_data *data = dev->data; in ism330dhcx_hts221_read_conv_data() 152 struct hts221_data *ht = &data->hts221; in ism330dhcx_hts221_read_conv_data() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso_shub.c | 1 /* ST Microelectronics LSM6DSO 6-axis IMU sensor driver 5 * SPDX-License-Identifier: Apache-2.0 58 struct lsm6dso_data *data = dev->data; in lsm6dso_lis2mdl_init() 61 data->magn_gain = LIS2MDL_SENSITIVITY; in lsm6dso_lis2mdl_init() 68 k_sleep(K_MSEC(10)); /* turn-on time in ms */ in lsm6dso_lis2mdl_init() 94 return -ENOTSUP; in lsm6dso_lis2mdl_odr_set() 112 return lsm6dso_lis2mdl_odr_set(dev, i2c_addr, val->val1); in lsm6dso_lis2mdl_conf() 115 return -ENOTSUP; in lsm6dso_lis2mdl_conf() 139 struct lsm6dso_data *data = dev->data; in lsm6dso_hts221_read_conv_data() 141 struct hts221_data *ht = &data->hts221; in lsm6dso_hts221_read_conv_data() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is_shub.c | 1 /* ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 5 * SPDX-License-Identifier: Apache-2.0 59 struct lsm6dso16is_data *data = dev->data; in lsm6dso16is_lis2mdl_init() 62 data->magn_gain = LIS2MDL_SENSITIVITY; in lsm6dso16is_lis2mdl_init() 69 k_sleep(K_MSEC(10)); /* turn-on time in ms */ in lsm6dso16is_lis2mdl_init() 95 return -ENOTSUP; in lsm6dso16is_lis2mdl_odr_set() 113 return lsm6dso16is_lis2mdl_odr_set(dev, i2c_addr, val->val1); in lsm6dso16is_lis2mdl_conf() 116 return -ENOTSUP; in lsm6dso16is_lis2mdl_conf() 140 struct lsm6dso16is_data *data = dev->data; in lsm6dso16is_hts221_read_conv_data() 142 struct hts221_data *ht = &data->hts221; in lsm6dso16is_hts221_read_conv_data() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x_shub.c | 1 /* ST Microelectronics LSM6DSV16X 6-axis IMU sensor driver 5 * SPDX-License-Identifier: Apache-2.0 59 struct lsm6dsv16x_data *data = dev->data; in lsm6dsv16x_lis2mdl_init() 62 data->magn_gain = LIS2MDL_SENSITIVITY; in lsm6dsv16x_lis2mdl_init() 69 k_sleep(K_MSEC(10)); /* turn-on time in ms */ in lsm6dsv16x_lis2mdl_init() 95 return -ENOTSUP; in lsm6dsv16x_lis2mdl_odr_set() 113 return lsm6dsv16x_lis2mdl_odr_set(dev, i2c_addr, val->val1); in lsm6dsv16x_lis2mdl_conf() 116 return -ENOTSUP; in lsm6dsv16x_lis2mdl_conf() 140 struct lsm6dsv16x_data *data = dev->data; in lsm6dsv16x_hts221_read_conv_data() 142 struct hts221_data *ht = &data->hts221; in lsm6dsv16x_hts221_read_conv_data() [all …]
|
/Zephyr-latest/drivers/dai/intel/ssp/ |
D | ssp.c | 4 * SPDX-License-Identifier: Apache-2.0 22 #define dai_set_drvdata(dai, data) (dai->priv_data = data) 23 #define dai_get_drvdata(dai) dai->priv_data 24 #define dai_get_plat_data(dai) dai->ssp_plat_data 25 #define dai_get_mn(dai) dai->ssp_plat_data->mn_inst 26 #define dai_get_ftable(dai) dai->ssp_plat_data->ftable 27 #define dai_get_fsources(dai) dai->ssp_plat_data->fsources 28 #define dai_mn_base(dai) dai->ssp_plat_data->mn_inst->base 29 #define dai_base(dai) dai->ssp_plat_data->base 30 #define dai_ip_base(dai) dai->ssp_plat_data->ip_base [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|
D | release-notes-3.0.rst | 22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf 23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_ 25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj 26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_ 28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m 29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_ 36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN() 54 along ``reg`` and ``interrupts``. 58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been [all …]
|
D | release-notes-2.5.rst | 27 * CVE-2021-3323: Under embargo until 2021-04-14 28 * CVE-2021-3321: Under embargo until 2021-04-14 29 * CVE-2021-3320: Under embargo until 2021-04-14 39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'. 63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive 67 timeout usage must use the new-style k_timeout_t type and not the 87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a 101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0. 146 sys_heap/k_heaps. Note that the new-style heap is a general [all …]
|
/Zephyr-latest/tests/kernel/mem_protect/userspace/src/ |
D | main.c | 7 * SPDX-License-Identifier: Apache-2.0 21 #include <zephyr/sys/libc-hooks.h> /* for z_libc_partition */ 81 INFO("Caught system error -- reason %d\n", reason); in k_sys_fatal_error_handler() 180 /* _ARC_V2_ERSTATUS is privilege aux reg */ in ZTEST_USER() 247 * this scenario for Non-Secure Cortex-M. in ZTEST_USER() 315 p = arch_current_thread()->init_data; in ZTEST_USER() 330 arch_current_thread()->init_data = NULL; in ZTEST_USER() 336 #include <zephyr/linker/linker-defs.h> 365 _k_neg_eagain = -EINVAL; in ZTEST_USER() 416 K_APP_DMEM(default_part) int32_t size = (0 - CONFIG_PRIVILEGED_STACK_SIZE - [all …]
|