/Zephyr-latest/drivers/sensor/ti/ti_hdc20xx/ |
D | ti_hdc20xx.c | 245 #define TI_HDC20XX_DEFINE(inst, compat) \ argument 246 static struct ti_hdc20xx_data ti_hdc20xx_data_##compat##inst; \ 247 static const struct ti_hdc20xx_config ti_hdc20xx_config_##compat##inst = { \ 248 .bus = I2C_DT_SPEC_GET(DT_INST(inst, compat)), \ 249 .gpio_int = GPIO_DT_SPEC_GET_OR(DT_INST(inst, compat), int_gpios, {0}), \ 251 DEVICE_DT_DEFINE(DT_INST(inst, compat), \ 254 &ti_hdc20xx_data_##compat##inst, \ 255 &ti_hdc20xx_config_##compat##inst, \ 261 #define TI_HDC20XX_FOREACH_STATUS_OKAY(compat, fn) \ argument 262 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \ [all …]
|
/Zephyr-latest/soc/atmel/sam0/common/ |
D | atmel_sam0_dt.h | 40 #define ATMEL_SAM0_DT_SERCOM_CHECK(n, compat) \ argument 41 DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(sercom##n), compat, okay) 44 #define ATMEL_SAM0_DT_TCC_CHECK(n, compat) \ argument 45 DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(tcc##n), compat, okay)
|
/Zephyr-latest/scripts/kconfig/ |
D | kconfigfunctions.py | 102 def dt_chosen_has_compat(kconf, _, chosen, compat): argument 115 if compat in node.compats: 717 def dt_has_compat(kconf, _, compat): argument 725 return "y" if compat in edt.compat2nodes else "n" 728 def dt_compat_enabled(kconf, _, compat): argument 736 return "y" if compat in edt.compat2okay else "n" 739 def dt_compat_on_bus(kconf, _, compat, bus): argument 747 if compat in edt.compat2okay: 748 for node in edt.compat2okay[compat]: 754 def dt_compat_any_has_prop(kconf, _, compat, prop, value=None): argument [all …]
|
/Zephyr-latest/scripts/release/ |
D | list_devicetree_bindings_changes.py | 120 compat: compat2binding_end[compat] 121 for compat in compat2binding_end 122 if compat not in compat2binding_start 127 compat: compat2binding_start[compat] 128 for compat in compat2binding_start 129 if compat not in compat2binding_end 153 for compat, binding in compat2binding.items(): 154 ret[get_vnd(binding.compatible)][compat] = binding 183 for compat, binding in compat2binding_end.items(): 184 if compat not in compat2binding_start: [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_rcar.c | 543 #define UART_RCAR_DECLARE_CFG(n, IRQ_FUNC_INIT, compat) \ argument 545 static const struct uart_rcar_cfg uart_rcar_cfg_##compat##n = { \ 558 #define UART_RCAR_CONFIG_FUNC(n, compat) \ argument 559 static void irq_config_func_##compat##n(const struct device *dev) \ 568 #define UART_RCAR_IRQ_CFG_FUNC_INIT(n, compat) \ argument 569 .irq_config_func = irq_config_func_##compat##n 570 #define UART_RCAR_INIT_CFG(n, compat) \ argument 571 UART_RCAR_DECLARE_CFG(n, UART_RCAR_IRQ_CFG_FUNC_INIT(n, compat), compat) 573 #define UART_RCAR_CONFIG_FUNC(n, compat) argument 575 #define UART_RCAR_INIT_CFG(n, compat) \ argument [all …]
|
/Zephyr-latest/scripts/pylib/twister/ |
D | expr_parser.py | 228 compat = ast[1][0] 230 if (node.matching_compat == compat or compat in node.compats) and node.status == "okay": 245 compat = ast[1][1] 251 (parent.matching_compat == compat or compat in parent.compats): 255 compat = ast[1][1] 263 (parent.matching_compat == compat or compat in parent.compats)
|
/Zephyr-latest/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/ |
D | test_counter_fixed_top.c | 18 #define DEVS_FOR_DT_COMPAT(compat) \ argument 19 DT_FOREACH_STATUS_OKAY(compat, DEVICE_DT_GET_AND_COMMA) 23 #define REGS_FOR_DT_COMPAT(compat) \ argument 24 DT_FOREACH_STATUS_OKAY(compat, DEVICE_DT_GET_REG_AND_COMMA)
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio_nrf5_fem.h | 26 #define FEM_HAS_COMPAT(compat) DT_NODE_HAS_COMPAT(FEM_NODE, compat) argument
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 339 #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) argument 469 #define DT_COMPAT_GET_ANY_STATUS_OKAY(compat) \ argument 470 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \ 471 (DT_INST(0, compat)), \ 3426 #define DT_FOREACH_STATUS_OKAY(compat, fn) \ argument 3427 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \ 3428 (UTIL_CAT(DT_FOREACH_OKAY_, compat)(fn)), \ 3475 #define DT_FOREACH_STATUS_OKAY_VARGS(compat, fn, ...) \ argument 3476 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \ 3478 compat)(fn, __VA_ARGS__)), \ [all …]
|
D | device.h | 283 #define DEVICE_DT_GET_ANY(compat) \ argument 284 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \ 285 (DEVICE_DT_GET(DT_COMPAT_GET_ANY_STATUS_OKAY(compat))), \ 304 #define DEVICE_DT_GET_ONE(compat) \ argument 305 COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \ 306 (DEVICE_DT_GET(DT_COMPAT_GET_ANY_STATUS_OKAY(compat))), \
|
/Zephyr-latest/include/zephyr/arch/arm/mmu/ |
D | arm_mmu.h | 105 #define MMU_REGION_DT_COMPAT_FOREACH_FLAT_ENTRY(compat, attr) \ argument 106 DT_FOREACH_STATUS_OKAY_VARGS(compat, \
|
/Zephyr-latest/drivers/memc/ |
D | memc_nxp_flexram.c | 26 #define IS_CHILD_RAM_TYPE(node_id, compat) DT_NODE_HAS_COMPAT(node_id, compat) argument 27 #define DOES_RAM_TYPE_EXIST(compat) \ argument 28 DT_FOREACH_CHILD_SEP_VARGS(FLEXRAM_DT_NODE, IS_CHILD_RAM_TYPE, (+), compat)
|
/Zephyr-latest/scripts/dts/ |
D | gen_defines.py | 242 for compat in node.compats: 243 instance_no = node.edt.compat2nodes[compat].index(node) 447 for i, compat in enumerate(node.compats): 451 if node.edt.compat2vendor[compat]: 454 quote_str(node.edt.compat2vendor[compat])) 456 if node.edt.compat2model[compat]: 459 quote_str(node.edt.compat2model[compat])) 909 for compat, okay_nodes in edt.compat2okay.items(): 913 if bus is not None and bus not in compat2buses[compat]: 914 compat2buses[compat].append(bus) [all …]
|
D | gen_driver_kconfig_dts.py | 56 def compat2kconfig(compat): argument 57 compat_ident = str2ident(compat)
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | arm_mmu.h | 190 #define MMU_REGION_DT_COMPAT_FOREACH_FLAT_ENTRY(compat, attr) \ argument 191 DT_FOREACH_STATUS_OKAY_VARGS(compat, \
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_xilinx_axi.c | 635 #define I2C_XILINX_AXI_INIT(n, compat) \ argument 636 static void i2c_xilinx_axi_config_func_##compat##_##n(const struct device *dev); \ 638 static const struct i2c_xilinx_axi_config i2c_xilinx_axi_config_##compat##_##n = { \ 640 .irq_config_func = i2c_xilinx_axi_config_func_##compat##_##n, \ 643 static struct i2c_xilinx_axi_data i2c_xilinx_axi_data_##compat##_##n; \ 646 &i2c_xilinx_axi_data_##compat##_##n, \ 647 &i2c_xilinx_axi_config_##compat##_##n, POST_KERNEL, \ 650 static void i2c_xilinx_axi_config_func_##compat##_##n(const struct device *dev) \
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 238 compat = f" for compatible '{self.compatible}'" 240 compat = "" 242 return f"<Binding {basename}" + compat + ">" 1289 for compat in self.compats: 1298 if (compat, bus) in self.edt._compat2binding: 1299 binding = self.edt._compat2binding[compat, bus] 1303 if (compat, None) in self.edt._compat2binding: 1304 binding = self.edt._compat2binding[compat, None] 2191 "|".join(re.escape(compat) for compat in dt_compats) 2307 for compat in node.compats: [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | Kconfig | 34 rsource "Kconfig.compat"
|
/Zephyr-latest/subsys/emul/espi/ |
D | Kconfig | 11 not tied to a particular DT node, it does not make use of the DT_HAS_<compat>_ENABLED
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | toolchain.ecl | 27 …_Generic: see description of option \"-Wc99-c11-compat\" in \"3.8 Options to Request or Suppress W… 28 …_Static_assert: see descriptions of options \"-Wc99-c11-compat\" and \"-Wc99-c2x-compat\" in \"3.8…
|
/Zephyr-latest/soc/mediatek/mt8xxx/ |
D | mtk_adsp_load.py | 46 compat = readfile(glob("/proc/device-tree/**/adsp@*/compatible", recursive=True)[0], "r") 47 m = re.match(r'.*(mt\d{4})-dsp', compat)
|
/Zephyr-latest/boards/native/native_sim/ |
D | Kconfig | 46 bool "Slow down execution to real time (native_posix compat)"
|
/Zephyr-latest/soc/nordic/ |
D | validate_base_addresses.c | 114 #define NODE_ADDRESS(lbl, compat, addr_if_match, addr_if_no_match) \ argument 115 COND_CODE_1(DT_NODE_HAS_COMPAT(DT_NODELABEL(lbl), compat), \
|
/Zephyr-latest/cmake/compiler/clang/ |
D | compiler_flags.cmake | 97 -Wpacked-bitfield-compat
|
/Zephyr-latest/cmake/compiler/gcc/ |
D | compiler_flags.cmake | 77 -Wpacked-bitfield-compat 91 -Wpacked-bitfield-compat
|