Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/Zephyr-Core-3.7.0/soc/nuvoton/npcx/npcx9/
Dsoc.h13 #define NPCX_DEVALT_OFFSET(n) (0x010 + n) argument
14 #define NPCX_PUPD_EN_OFFSET(n) (0x028 + n) argument
15 #define NPCX_LV_GPIO_CTL_OFFSET(n) ((n < 5) ? (0x02a + n) : (0x021 + n)) argument
16 #define NPCX_DEVALT_LK_OFFSET(n) (0x210 + n) argument
19 #define NPCX_WKEDG_OFFSET(n) (0x000 + (n * 0x010)) argument
20 #define NPCX_WKAEDG_OFFSET(n) (0x001 + (n * 0x010)) argument
21 #define NPCX_WKMOD_OFFSET(n) (0x002 + (n * 0x010)) argument
22 #define NPCX_WKPND_OFFSET(n) (0x003 + (n * 0x010)) argument
23 #define NPCX_WKPCL_OFFSET(n) (0x004 + (n * 0x010)) argument
24 #define NPCX_WKEN_OFFSET(n) (0x005 + (n * 0x010)) argument
[all …]
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/npcx7/
Dsoc.h13 #define NPCX_DEVALT_OFFSET(n) (0x010 + n) argument
14 #define NPCX_PUPD_EN_OFFSET(n) (0x028 + n) argument
15 #define NPCX_LV_GPIO_CTL_OFFSET(n) ((n < 5) ? (0x02a + n) : (0x021 + n)) argument
16 #define NPCX_DEVALT_LK_OFFSET(n) (0x210 + n) argument
19 #define NPCX_WKEDG_OFFSET(n) (0x000 + (n * 2) + ((n < 5) ? 0 : 0x01e)) argument
20 #define NPCX_WKAEDG_OFFSET(n) (0x001 + (n * 2) + ((n < 5) ? 0 : 0x01e)) argument
21 #define NPCX_WKMOD_OFFSET(n) (0x070 + n) argument
22 #define NPCX_WKPND_OFFSET(n) (0x00a + (n * 4) + ((n < 5) ? 0 : 0x010)) argument
23 #define NPCX_WKPCL_OFFSET(n) (0x00c + (n * 4) + ((n < 5) ? 0 : 0x010)) argument
24 #define NPCX_WKEN_OFFSET(n) (0x01e + (n * 2) + ((n < 5) ? 0 : 0x012)) argument
[all …]
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/npcx4/
Dsoc.h13 #define NPCX_DEVALT_OFFSET(n) (0x010 + n) argument
14 #define NPCX_PUPD_EN_OFFSET(n) (0x02b + n) argument
15 #define NPCX_LV_GPIO_CTL_OFFSET(n) (0x150 + n) argument
16 #define NPCX_DEVALT_LK_OFFSET(n) (0x210 + n) argument
19 #define NPCX_WKEDG_OFFSET(n) (0x000 + (n * 0x010)) argument
20 #define NPCX_WKAEDG_OFFSET(n) (0x001 + (n * 0x010)) argument
21 #define NPCX_WKMOD_OFFSET(n) (0x002 + (n * 0x010)) argument
22 #define NPCX_WKPND_OFFSET(n) (0x003 + (n * 0x010)) argument
23 #define NPCX_WKPCL_OFFSET(n) (0x004 + (n * 0x010)) argument
24 #define NPCX_WKEN_OFFSET(n) (0x005 + (n * 0x010)) argument
[all …]
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_nct38xx.h19 #define NCT38XX_REG_GPIO_DATA_IN(n) (0xC0 + ((n) * 8)) argument
20 #define NCT38XX_REG_GPIO_DATA_OUT(n) (0xC1 + ((n) * 8)) argument
21 #define NCT38XX_REG_GPIO_DIR(n) (0xC2 + ((n) * 8)) argument
22 #define NCT38XX_REG_GPIO_OD_SEL(n) (0xC3 + ((n) * 8)) argument
23 #define NCT38XX_REG_GPIO_ALERT_RISE(n) (0xC4 + ((n) * 8)) argument
24 #define NCT38XX_REG_GPIO_ALERT_FALL(n) (0xC5 + ((n) * 8)) argument
25 #define NCT38XX_REG_GPIO_ALERT_LEVEL(n) (0xC6 + ((n) * 8)) argument
26 #define NCT38XX_REG_GPIO_ALERT_MASK(n) (0xC7 + ((n) * 8)) argument
28 #define NCT38XX_REG_GPIO_ALERT_STAT(n) (0xD4 + (n)) argument
Dgpio_bcm2711.c14 #define GPIO_REG_GROUP(n, cnt) (n / cnt) argument
15 #define GPIO_REG_SHIFT(n, cnt, bits) ((n % cnt) * bits) argument
17 #define GPFSEL(base, n) (base + 0x00 + 0x04 * n) argument
18 #define GPSET(base, n) (base + 0x1C + 0x04 * n) argument
19 #define GPCLR(base, n) (base + 0x28 + 0x04 * n) argument
20 #define GPLEV(base, n) (base + 0x34 + 0x04 * n) argument
21 #define GPEDS(base, n) (base + 0x40 + 0x04 * n) argument
22 #define GPREN(base, n) (base + 0x4C + 0x04 * n) argument
23 #define GPFEN(base, n) (base + 0x58 + 0x04 * n) argument
24 #define GPHEN(base, n) (base + 0x64 + 0x04 * n) argument
[all …]
/Zephyr-Core-3.7.0/soc/atmel/sam0/common/
Datmel_sam0_dt.h18 #define MCLK_MASK_DT_INT_REG_ADDR(n) \ argument
25 #define ATMEL_SAM0_DT_INST_DMA_CELL(n, name, cell) \ argument
29 #define ATMEL_SAM0_DT_INST_DMA_TRIGSRC(n, name) \ argument
31 #define ATMEL_SAM0_DT_INST_DMA_CHANNEL(n, name) \ argument
33 #define ATMEL_SAM0_DT_INST_DMA_CTLR(n, name) \ argument
40 #define ATMEL_SAM0_DT_SERCOM_CHECK(n, compat) \ argument
44 #define ATMEL_SAM0_DT_TCC_CHECK(n, compat) \ argument
Dadc_fixup_sam0.h85 # define ADC_FUSES_PREFIX(n) ADC_ argument
87 # define ADC_FUSES_PREFIX(n) UTIL_CAT(AD, UTIL_CAT(C, UTIL_CAT(n, _))) argument
91 # define ADC_SAM0_BIASCOMP(n) ADC_SAM0_CALIB(ADC_FUSES_PREFIX(n), BIASCOMP) argument
93 # define ADC_SAM0_BIASCOMP(n) 0 argument
97 # define ADC_SAM0_BIASR2R(n) ADC_SAM0_CALIB(ADC_FUSES_PREFIX(n), BIASR2R) argument
99 # define ADC_SAM0_BIASR2R(n) 0 argument
103 # define ADC_SAM0_BIASREFBUF(n) ADC_SAM0_CALIB(ADC_FUSES_PREFIX(n), BIASREFBUF) argument
105 # define ADC_SAM0_BIASREFBUF(n) 0 argument
/Zephyr-Core-3.7.0/drivers/memc/
Dmemc_nxp_s32_qspi.c79 #define QSPI_DATA_CFG(n) \ argument
88 #define QSPI_ADDR_CFG(n) \ argument
94 #define QSPI_BYTES_SWAP_ADDR(n) \ argument
98 #define QSPI_SAMPLE_DELAY(n) \ argument
103 #define QSPI_SAMPLE_PHASE(n) \ argument
108 #define QSPI_AHB_BUFFERS(n) \ argument
115 #define QSPI_DLL_CFG(n, side, side_upper) \ argument
131 #define QSPI_READ_MODE(n, side, side_upper) \ argument
134 #define QSPI_IDLE_SIGNAL_DRIVE(n, side, side_upper) \ argument
147 #define QSPI_PORT_SIZE(n, side_upper) \ argument
[all …]
/Zephyr-Core-3.7.0/drivers/interrupt_controller/
Dintc_gic_common_priv.h25 #define IGROUPR(base, n) (base + GIC_DIST_IGROUPR + (n) * 4) argument
26 #define ISENABLER(base, n) (base + GIC_DIST_ISENABLER + (n) * 4) argument
27 #define ICENABLER(base, n) (base + GIC_DIST_ICENABLER + (n) * 4) argument
28 #define ISPENDR(base, n) (base + GIC_DIST_ISPENDR + (n) * 4) argument
29 #define ICPENDR(base, n) (base + GIC_DIST_ICPENDR + (n) * 4) argument
30 #define IPRIORITYR(base, n) (base + GIC_DIST_IPRIORITYR + n) argument
31 #define ITARGETSR(base, n) (base + GIC_DIST_ITARGETSR + (n) * 4) argument
32 #define ICFGR(base, n) (base + GIC_DIST_ICFGR + (n) * 4) argument
33 #define IGROUPMODR(base, n) (base + GIC_DIST_IGROUPMODR + (n) * 4) argument
Dintc_wkpu_nxp_s32.c21 #define WKPU_WISR(n) (0x14 + 0x40 * (n)) argument
23 #define WKPU_IRER(n) (0x18 + 0x40 * (n)) argument
25 #define WKPU_WRER(n) (0x1c + 0x40 * (n)) argument
27 #define WKPU_WIREER(n) (0x28 + 0x40 * (n)) argument
29 #define WKPU_WIFEER(n) (0x2c + 0x40 * (n)) argument
31 #define WKPU_WIFER(n) (0x30 + 0x40 * (n)) argument
194 #define WKPU_NXP_S32_FILTER_CONFIG(idx, n) \ argument
197 #define WKPU_NXP_S32_INIT_DEVICE(n) \ argument
/Zephyr-Core-3.7.0/soc/infineon/cat1a/psoc6_legacy/
Dcypress_psoc6_dt.h65 #define CY_PSOC6_DT_INST_NVIC_INSTALL(n, isr) \ argument
68 #define CY_PSOC6_NVIC_MUX_IRQN(n) DT_IRQN(DT_INST_PHANDLE_BY_IDX(n,\ argument
71 #define CY_PSOC6_NVIC_MUX_IRQ_PRIO(n) DT_IRQ(DT_INST_PHANDLE_BY_IDX(n,\ argument
81 #define CY_PSOC6_NVIC_MUX_MAP(n) Cy_SysInt_SetInterruptSource( \ argument
91 #define CY_PSOC6_DT_INST_NVIC_INSTALL(n, isr) CY_PSOC6_IRQ_CONFIG(n, isr) argument
92 #define CY_PSOC6_NVIC_MUX_IRQN(n) DT_INST_IRQN(n) argument
93 #define CY_PSOC6_NVIC_MUX_IRQ_PRIO(n) DT_INST_IRQ(n, priority) argument
94 #define CY_PSOC6_NVIC_MUX_MAP(n) argument
97 #define CY_PSOC6_IRQ_CONFIG(n, isr) \ argument
/Zephyr-Core-3.7.0/arch/x86/include/intel64/
Dkernel_arch_data.h43 #define TRAMPOLINE_STACK(n) \ argument
47 #define TRAMPOLINE_INIT(n) \ argument
50 #define TRAMPOLINE_STACK(n) argument
51 #define TRAMPOLINE_INIT(n) argument
54 #define ACPI_CPU_INIT(n, _) \ argument
66 #define X86_CPU_BOOT_INIT(n, _) \ argument
77 #define STACK_ARRAY_IDX(n, _) n argument
/Zephyr-Core-3.7.0/drivers/misc/nxp_s32_emios/
Dnxp_s32_emios.c46 #define NXP_S32_EMIOS_INSTANCE_CHECK(idx, n) \ argument
49 #define NXP_S32_EMIOS_GET_INSTANCE(n) \ argument
52 #define NXP_S32_EMIOS_GENERATE_GLOBAL_CONFIG(n) \ argument
77 #define NXP_S32_EMIOS_GENERATE_MASTER_BUS_CONFIG(n) \ argument
85 #define NXP_S32_EMIOS_GENERATE_CONFIG(n) \ argument
103 #define NXP_S32_EMIOS_INTERRUPT_DEFINE(n) \ argument
116 #define NXP_S32_EMIOS_INTERRUPT_CONFIG(n) \ argument
122 #define NXP_S32_EMIOS_INIT_DEVICE(n) \ argument
/Zephyr-Core-3.7.0/drivers/spi/
Dspi_nxp_s32.c614 #define SPI_NXP_S32_HW_INSTANCE_CHECK(i, n) \ argument
617 #define SPI_NXP_S32_HW_INSTANCE(n) \ argument
620 #define SPI_NXP_S32_NUM_CS(n) DT_INST_PROP(n, num_cs) argument
621 #define SPI_NXP_S32_IS_MASTER(n) !DT_INST_PROP(n, slave) argument
624 #define SPI_NXP_S32_SET_SLAVE(n) .SlaveMode = DT_INST_PROP(n, slave), argument
626 #define SPI_NXP_S32_SET_SLAVE(n) argument
631 #define SPI_NXP_S32_CONFIG_INTERRUPT_FUNC(n) \ argument
634 #define SPI_NXP_S32_INTERRUPT_DEFINE(n) \ argument
643 #define SPI_NXP_S32_CONFIG_CALLBACK_FUNC(n) \ argument
646 #define SPI_NXP_S32_CALLBACK_DEFINE(n) \ argument
[all …]
/Zephyr-Core-3.7.0/drivers/mbox/
Dmbox_nxp_s32_mru.c188 #define MRU_BASE(n) ((RTU_MRU_Type *)DT_INST_REG_ADDR(n)) argument
189 #define MRU_RX_CHANNELS(n) DT_INST_PROP_OR(n, rx_channels, 0) argument
190 #define MRU_MBOX_ADDR(n, ch, mb) \ argument
193 #define MRU_HW_INSTANCE_CHECK(i, n) \ argument
196 #define MRU_HW_INSTANCE(n) \ argument
199 #define MRU_INIT_IRQ_FUNC(n) \ argument
210 #define MRU_CH_RX_CFG(i, n) \ argument
225 #define MRU_CH_RX_LINK_CFG_MBOX(i, n, chan, intgroup) \ argument
230 #define MRU_CH_RX_LINK_CFG(i, n) \ argument
236 #define MRU_CH_CFG(i, n) \ argument
[all …]
/Zephyr-Core-3.7.0/soc/arm/mps3/
Dsoc.c13 #define FPGAIO_NODE(n) DT_INST(n, arm_mps3_fpgaio_gpio) argument
14 #define FPGAIO_INIT(n) \ argument
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_dw.c1133 #define PINCTRL_DW_DEFINE(n) PINCTRL_DT_INST_DEFINE(n) argument
1134 #define PINCTRL_DW_CONFIG(n) .pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), argument
1136 #define PINCTRL_DW_DEFINE(n) argument
1137 #define PINCTRL_DW_CONFIG(n) argument
1141 #define RESET_DW_CONFIG(n) \ argument
1145 #define RESET_DW_CONFIG(n) argument
1148 #define I2C_DW_INIT_PCIE0(n) argument
1149 #define I2C_DW_INIT_PCIE1(n) DEVICE_PCIE_INST_INIT(n, pcie), argument
1150 #define I2C_DW_INIT_PCIE(n) \ argument
1153 #define I2C_DEFINE_PCIE0(n) argument
[all …]
/Zephyr-Core-3.7.0/include/zephyr/math/
Dilog2.h39 #define ilog2_compile_time_const_u32(n) \ argument
93 #define ilog2(n) \ argument
/Zephyr-Core-3.7.0/drivers/serial/
Duart_pl011.c549 #define COMPAT_SPECIFIC_PWR_ON_FUNC(n) \ argument
558 #define COMPAT_SPECIFIC_CLK_ENABLE_FUNC(n) \ argument
567 #define COMPAT_SPECIFIC_DEFINE(n) \ argument
570 #define COMPAT_SPECIFIC_CLOCK_CTLR_SUBSYS_CELL(n) \ argument
574 #define PINCTRL_DEFINE(n) PINCTRL_DT_INST_DEFINE(n); argument
575 #define PINCTRL_INIT(n) .pincfg = PINCTRL_DT_INST_DEV_CONFIG_GET(n), argument
577 #define PINCTRL_DEFINE(n) argument
578 #define PINCTRL_INIT(n) argument
582 #define RESET_INIT(n) \ argument
585 #define RESET_INIT(n) argument
[all …]
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_nxp_s32_gmac.c620 #define ETH_NXP_S32_MAC_MII(n) \ argument
623 #define ETH_NXP_S32_IRQ_INIT(n, name) \ argument
631 #define ETH_NXP_S32_INIT_CONFIG(n) \ argument
650 #define ETH_NXP_S32_RX_CALLBACK(n) \ argument
665 #define ETH_NXP_S32_TX_CALLBACK(n) \ argument
677 #define _ETH_NXP_S32_RING(n, name, len, buf_size) \ argument
683 #define ETH_NXP_S32_RX_RING(n) \ argument
688 #define ETH_NXP_S32_TX_RING(n) \ argument
693 #define ETH_NXP_S32_MAC_TXTIMESHAPER_CONFIG(n) \ argument
698 #define ETH_NXP_S32_MAC_RXRING_CONFIG(n) \ argument
[all …]
/Zephyr-Core-3.7.0/soc/nxp/mcx/mcxnx4x/
Dsoc.c29 #define FLEXCOMM_CHECK_2(n) \ argument
35 #define FLEXCOMM_CHECK(n) DT_FOREACH_CHILD_STATUS_OKAY(DT_PARENT(n), FLEXCOMM_CHECK_2) argument
/Zephyr-Core-3.7.0/lib/utils/
Drb.c12 #define CHECK(n) /**/ argument
21 static struct rbnode *get_child(struct rbnode *n, uint8_t side) in get_child()
34 static void set_child(struct rbnode *n, uint8_t side, void *val) in set_child()
47 static enum rb_color get_color(struct rbnode *n) in get_color()
53 static bool is_black(struct rbnode *n) in is_black()
58 static bool is_red(struct rbnode *n) in is_red()
63 static void set_color(struct rbnode *n, enum rb_color color) in set_color()
104 struct rbnode *n; in z_rb_get_minmax() local
275 struct rbnode *n = stack[stacksz - 1]; in fix_missing_black() local
526 struct rbnode *n = tree->root; in rb_contains() local
[all …]
/Zephyr-Core-3.7.0/lib/libc/minimal/source/string/
Dstring.c42 char *strncpy(char *ZRESTRICT d, const char *ZRESTRICT s, size_t n) in strncpy()
109 size_t n = 0; in strlen() local
143 int strncmp(const char *s1, const char *s2, size_t n) in strncmp()
200 size_t n) in strncat()
220 int memcmp(const void *m1, const void *m2, size_t n) in memcmp()
244 void *memmove(void *d, const void *s, size_t n) in memmove()
279 void *memcpy(void *ZRESTRICT d, const void *ZRESTRICT s, size_t n) in memcpy()
333 void *memset(void *buf, int c, size_t n) in memset()
385 void *memchr(const void *s, int c, size_t n) in memchr()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dhash_function.h58 static inline uint32_t sys_hash32_identity(const void *str, size_t n) in sys_hash32_identity()
119 static inline uint32_t sys_hash32(const void *str, size_t n) in sys_hash32()
/Zephyr-Core-3.7.0/drivers/ethernet/nxp_enet/
Deth_mcux.c1324 #define ETH_MCUX_IRQ_INIT(n, name) \ argument
1334 #define ETH_MCUX_IRQ(n, name) \ argument
1340 #define PTP_INST_NODEID(n) DT_INST_CHILD(n, ptp) argument
1342 #define ETH_MCUX_IRQ_PTP_INIT(n) \ argument
1352 #define ETH_MCUX_IRQ_PTP(n) \ argument
1357 #define ETH_MCUX_PTP_FRAMEINFO_ARRAY(n) \ argument
1361 #define ETH_MCUX_PTP_FRAMEINFO(n) \ argument
1364 #define ETH_MCUX_IRQ_PTP(n) argument
1366 #define ETH_MCUX_PTP_FRAMEINFO_ARRAY(n) argument
1368 #define ETH_MCUX_PTP_FRAMEINFO(n) \ argument
[all …]

12345678910>>...28