Home
last modified time | relevance | path

Searched refs:DT_INST_PROP_BY_IDX (Results 1 – 25 of 63) sorted by relevance

123

/Zephyr-latest/drivers/ethernet/
Deth_gecko_priv.h98 #define PIN_PHY_MDC {DT_INST_PROP_BY_IDX(0, location_phy_mdc, 1), \
99 DT_INST_PROP_BY_IDX(0, location_phy_mdc, 2), gpioModePushPull,\
101 #define PIN_PHY_MDIO {DT_INST_PROP_BY_IDX(0, location_phy_mdio, 1), \
102 DT_INST_PROP_BY_IDX(0, location_phy_mdio, 2), gpioModePushPull,\
108 #define PIN_RMII_CRSDV {DT_INST_PROP_BY_IDX(0, location_rmii_crs_dv, 1),\
109 DT_INST_PROP_BY_IDX(0, location_rmii_crs_dv, 2), gpioModeInput, 0}
111 #define PIN_RMII_TXD0 {DT_INST_PROP_BY_IDX(0, location_rmii_txd0, 1),\
112 DT_INST_PROP_BY_IDX(0, location_rmii_txd0, 2), gpioModePushPull, 0}
114 #define PIN_RMII_TXD1 {DT_INST_PROP_BY_IDX(0, location_rmii_txd1, 1),\
115 DT_INST_PROP_BY_IDX(0, location_rmii_txd1, 2), gpioModePushPull, 0}
[all …]
/Zephyr-latest/drivers/sensor/nxp/qdec_nxp_s32/
Dqdec_nxp_s32.c238 .MuxSel = DT_INST_PROP_BY_IDX(n, lcu_mux_sel, mux_sel_idx), \
246 .HwLcInputId = DT_INST_PROP_BY_IDX(n, lcu_input_idx, hw_lc_input_id), \
306 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 1), \
307 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 2)) \
310 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 4), \
311 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 5)) \
314 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 7), \
315 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 8)) \
318 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 10), \
319 DT_INST_PROP_BY_IDX(n, lcu_output_filter_config, 11)) \
[all …]
/Zephyr-latest/drivers/serial/
Dleuart_gecko.c322 #define PIN_LEUART_0_RXD {DT_INST_PROP_BY_IDX(0, location_rx, 1), \
323 DT_INST_PROP_BY_IDX(0, location_rx, 2), gpioModeInput, 1}
324 #define PIN_LEUART_0_TXD {DT_INST_PROP_BY_IDX(0, location_tx, 1), \
325 DT_INST_PROP_BY_IDX(0, location_tx, 2), gpioModePushPull, 1}
338 .loc_rx = DT_INST_PROP_BY_IDX(0, location_rx, 0),
339 .loc_tx = DT_INST_PROP_BY_IDX(0, location_tx, 0),
341 #if DT_INST_PROP_BY_IDX(0, location_rx, 0) \
342 != DT_INST_PROP_BY_IDX(0, location_tx, 0)
345 .loc = DT_INST_PROP_BY_IDX(0, location_rx, 0),
375 #define PIN_LEUART_1_RXD {DT_INST_PROP_BY_IDX(1, location_rx, 1), \
[all …]
Duart_gecko.c568 .loc_rx = DT_INST_PROP_BY_IDX(idx, location_rx, 0), \
569 .loc_tx = DT_INST_PROP_BY_IDX(idx, location_tx, 0),
573 .loc = DT_INST_PROP_BY_IDX(idx, location_rx, 0),
575 BUILD_ASSERT(DT_INST_PROP_BY_IDX(idx, location_rx, 0) == \
576 DT_INST_PROP_BY_IDX(idx, location_tx, 0), \
582 DT_INST_PROP_BY_IDX(idx, location_rx, 1), \
583 DT_INST_PROP_BY_IDX(idx, location_rx, 2), \
588 DT_INST_PROP_BY_IDX(idx, location_tx, 1), \
589 DT_INST_PROP_BY_IDX(idx, location_tx, 2), \
602 (DT_INST_PROP_BY_IDX(idx, location_rts, 0)), \
[all …]
Duart_mchp_xec.c1052 uart_xec_girq_en(DT_INST_PROP_BY_IDX(n, girqs, 0), \
1053 DT_INST_PROP_BY_IDX(n, girqs, 1)); \
1089 .girq_id = DT_INST_PROP_BY_IDX(n, girqs, 0), \
1090 .girq_pos = DT_INST_PROP_BY_IDX(n, girqs, 1), \
1091 .pcr_idx = DT_INST_PROP_BY_IDX(n, pcrs, 0), \
1092 .pcr_bitpos = DT_INST_PROP_BY_IDX(n, pcrs, 1), \
/Zephyr-latest/drivers/gpio/
Dgpio_max14906.c469 .OW_OFF_EN1 = DT_INST_PROP_BY_IDX(id, ow_en, 0), \
470 .OW_OFF_EN2 = DT_INST_PROP_BY_IDX(id, ow_en, 1), \
471 .OW_OFF_EN3 = DT_INST_PROP_BY_IDX(id, ow_en, 2), \
472 .OW_OFF_EN4 = DT_INST_PROP_BY_IDX(id, ow_en, 3), \
473 .GDRV_EN1 = DT_INST_PROP_BY_IDX(id, gdrv_en, 0), \
474 .GDRV_EN1 = DT_INST_PROP_BY_IDX(id, gdrv_en, 1), \
475 .GDRV_EN2 = DT_INST_PROP_BY_IDX(id, gdrv_en, 2), \
476 .GDRV_EN3 = DT_INST_PROP_BY_IDX(id, gdrv_en, 3), \
480 .VDD_OV_EN1 = DT_INST_PROP_BY_IDX(id, vdd_ov_en, 0), \
481 .VDD_OV_EN2 = DT_INST_PROP_BY_IDX(id, vdd_ov_en, 1), \
[all …]
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_stm32.c427 .TimeoutCkdiv = DT_INST_PROP_BY_IDX(inst, host_timeouts, 0), \
429 DT_INST_PROP_BY_IDX(inst, host_timeouts, 1), \
431 DT_INST_PROP_BY_IDX(inst, host_timeouts, 2), \
432 .HighSpeedReadTimeout = DT_INST_PROP_BY_IDX(inst, host_timeouts, 3), \
433 .LowPowerReadTimeout = DT_INST_PROP_BY_IDX(inst, host_timeouts, 4), \
434 .HighSpeedWriteTimeout = DT_INST_PROP_BY_IDX(inst, host_timeouts, 5), \
435 .HighSpeedWritePrespMode = DT_INST_PROP_BY_IDX(inst, host_timeouts, 6), \
436 .LowPowerWriteTimeout = DT_INST_PROP_BY_IDX(inst, host_timeouts, 7), \
437 .BTATimeout = DT_INST_PROP_BY_IDX(inst, host_timeouts, 8) \
441 .ClockLaneHS2LPTime = DT_INST_PROP_BY_IDX(inst, phy_timings, 0), \
[all …]
/Zephyr-latest/drivers/dai/intel/alh/
Dalh.c79 uint32_t ALHASCTL = DT_INST_PROP_BY_IDX(0, reg, 0); in alh_claim_ownership()
80 uint32_t ALHCSCTL = DT_INST_PROP_BY_IDX(0, reg, 1); in alh_claim_ownership()
94 uint32_t ALHASCTL = DT_INST_PROP_BY_IDX(0, reg, 0); in alh_release_ownership()
95 uint32_t ALHCSCTL = DT_INST_PROP_BY_IDX(0, reg, 1); in alh_release_ownership()
216 .base = DT_INST_PROP_BY_IDX(n, reg, 0), \
/Zephyr-latest/drivers/spi/
Dspi_gecko_usart.c471 .pin_rx = { DT_INST_PROP_BY_IDX(n, location_rx, 1), \
472 DT_INST_PROP_BY_IDX(n, location_rx, 2), \
474 .pin_tx = { DT_INST_PROP_BY_IDX(n, location_tx, 1), \
475 DT_INST_PROP_BY_IDX(n, location_tx, 2), \
477 .pin_clk = { DT_INST_PROP_BY_IDX(n, location_clk, 1), \
478 DT_INST_PROP_BY_IDX(n, location_clk, 2), \
480 .loc_rx = DT_INST_PROP_BY_IDX(n, location_rx, 0), \
481 .loc_tx = DT_INST_PROP_BY_IDX(n, location_tx, 0), \
482 .loc_clk = DT_INST_PROP_BY_IDX(n, location_clk, 0), \
/Zephyr-latest/drivers/sensor/microchip/mchp_tach_xec/
Dtach_mchp_xec.c188 .girq = DT_INST_PROP_BY_IDX(inst, girqs, 0), \
189 .girq_pos = DT_INST_PROP_BY_IDX(inst, girqs, 1), \
190 .pcr_idx = DT_INST_PROP_BY_IDX(inst, pcrs, 0), \
191 .pcr_pos = DT_INST_PROP_BY_IDX(inst, pcrs, 1), \
/Zephyr-latest/drivers/input/
Dinput_xec_kbd.c235 .girq = DT_INST_PROP_BY_IDX(0, girqs, 0),
236 .girq_pos = DT_INST_PROP_BY_IDX(0, girqs, 1),
238 .pcr_idx = DT_INST_PROP_BY_IDX(0, pcrs, 0),
239 .pcr_pos = DT_INST_PROP_BY_IDX(0, pcrs, 1),
/Zephyr-latest/drivers/pwm/
Dpwm_gecko.c107 .location = DT_INST_PROP_BY_IDX(index, pin_location, 0), \
109 DT_INST_PROP_BY_IDX(index, pin_location, 1), \
110 .pin = DT_INST_PROP_BY_IDX(index, pin_location, 2), \
Dpwm_mchp_xec_bbled.c357 .girq = (uint8_t)(DT_INST_PROP_BY_IDX(0, girqs, 0)), \
358 .girq_pos = (uint8_t)(DT_INST_PROP_BY_IDX(0, girqs, 1)), \
359 .pcr_idx = (uint8_t)DT_INST_PROP_BY_IDX(inst, pcrs, 0), \
360 .pcr_pos = (uint8_t)DT_INST_PROP_BY_IDX(inst, pcrs, 1), \
/Zephyr-latest/drivers/memc/
Dmemc_mspi_aps6404l.c423 .ui8WriteLatency = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 0), \
424 .ui8TurnAround = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 1), \
425 .bTxNeg = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 2), \
426 .bRxNeg = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 3), \
427 .bRxCap = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 4), \
428 .ui32TxDQSDelay = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 5), \
429 .ui32RxDQSDelay = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 6), \
430 .ui32RXDQSDelayEXT = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 7), \
/Zephyr-latest/drivers/ps2/
Dps2_mchp_xec.c387 .girq_id = (uint8_t)(DT_INST_PROP_BY_IDX(inst, girqs, 0)), \
388 .girq_bit = (uint8_t)(DT_INST_PROP_BY_IDX(inst, girqs, 1)), \
389 .girq_id_wk = (uint8_t)(DT_INST_PROP_BY_IDX(inst, girqs, 2)), \
390 .girq_bit_wk = (uint8_t)(DT_INST_PROP_BY_IDX(inst, girqs, 3)), \
391 .pcr_idx = (uint8_t)(DT_INST_PROP_BY_IDX(inst, pcrs, 0)), \
392 .pcr_pos = (uint8_t)(DT_INST_PROP_BY_IDX(inst, pcrs, 1)), \
/Zephyr-latest/drivers/coredump/
Dcoredump_impl.c146 BUILD_ASSERT(DT_INST_PROP_BY_IDX(n, memory_regions, 0) == 0, \
148 static uint8_t coredump_bytes[DT_INST_PROP_BY_IDX(n, memory_regions, 1)] \
162 DT_INST_PROP_BY_IDX(n, memory_regions, 1), \
/Zephyr-latest/drivers/adc/
Dadc_mchp_xec.c458 .girq_single = (uint8_t)(DT_INST_PROP_BY_IDX(0, girqs, 0)),
459 .girq_single_pos = (uint8_t)(DT_INST_PROP_BY_IDX(0, girqs, 1)),
460 .girq_repeat = (uint8_t)(DT_INST_PROP_BY_IDX(0, girqs, 2)),
461 .girq_repeat_pos = (uint8_t)(DT_INST_PROP_BY_IDX(0, girqs, 3)),
462 .pcr_regidx = (uint8_t)(DT_INST_PROP_BY_IDX(0, pcrs, 0)),
463 .pcr_bitpos = (uint8_t)(DT_INST_PROP_BY_IDX(0, pcrs, 1)),
/Zephyr-latest/drivers/watchdog/
Dwdt_mchp_xec.c200 .girq = DT_INST_PROP_BY_IDX(0, girqs, 0),
201 .girq_pos = DT_INST_PROP_BY_IDX(0, girqs, 1),
/Zephyr-latest/drivers/flash/
Dflash_mspi_atxp032.c814 .ui8WriteLatency = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 0), \
815 .ui8TurnAround = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 1), \
816 .bTxNeg = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 2), \
817 .bRxNeg = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 3), \
818 .bRxCap = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 4), \
819 .ui32TxDQSDelay = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 5), \
820 .ui32RxDQSDelay = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 6), \
821 .ui32RXDQSDelayEXT = DT_INST_PROP_BY_IDX(n, ambiq_timing_config, 7), \
/Zephyr-latest/drivers/led/
Dled_mchp_xec.c273 .pcr_id = (uint8_t)DT_INST_PROP_BY_IDX(i, pcrs, 0), \
274 .pcr_pos = (uint8_t)DT_INST_PROP_BY_IDX(i, pcrs, 1), \
/Zephyr-latest/drivers/peci/
Dpeci_mchp_xec.c570 .girq = DT_INST_PROP_BY_IDX(0, girqs, 0),
571 .girq_pos = DT_INST_PROP_BY_IDX(0, girqs, 1),
572 .pcr_idx = DT_INST_PROP_BY_IDX(0, pcrs, 0),
573 .pcr_pos = DT_INST_PROP_BY_IDX(0, pcrs, 1),
/Zephyr-latest/drivers/espi/
Despi_saf_mchp_xec_v2.c48 #define XEC_SAF_DONE_ENC_GIRQ DT_INST_PROP_BY_IDX(0, girqs, 0)
49 #define XEC_SAF_ERR_ENC_GIRQ DT_INST_PROP_BY_IDX(0, girqs, 1)
1136 .pcr_idx = DT_INST_PROP_BY_IDX(n, pcrs, 0), \
1137 .pcr_pos = DT_INST_PROP_BY_IDX(n, pcrs, 1), \
1159 girq = MCHP_XEC_ECIA_GIRQ(DT_INST_PROP_BY_IDX(n, girqs, 0)); \
1160 gpos = MCHP_XEC_ECIA_GIRQ_POS(DT_INST_PROP_BY_IDX(n, girqs, 0)); \
1170 girq = MCHP_XEC_ECIA_GIRQ(DT_INST_PROP_BY_IDX(n, girqs, 1)); \
1171 gpos = MCHP_XEC_ECIA_GIRQ_POS(DT_INST_PROP_BY_IDX(n, girqs, 1)); \
/Zephyr-latest/drivers/timer/
Dmchp_xec_rtos_timer.c89 #define TIMER_GIRQ DT_INST_PROP_BY_IDX(0, girqs, 0)
90 #define TIMER_GIRQ_POS DT_INST_PROP_BY_IDX(0, girqs, 1)
/Zephyr-latest/soc/infineon/cat1a/psoc6_legacy/
Dcypress_psoc6_dt.h84 DT_INST_PROP_BY_IDX(n, interrupts, 0))
/Zephyr-latest/drivers/counter/
Dcounter_mchp_xec.c331 .girq_id = DT_INST_PROP_BY_IDX(0, girqs, 0), \
332 .girq_bit = DT_INST_PROP_BY_IDX(0, girqs, 1), \

123