Home
last modified time | relevance | path

Searched refs:dev_idx (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/drivers/mspi/api/src/
Dmain.c80 for (int dev_idx = 0; dev_idx < ARRAY_SIZE(mspi_devices); ++dev_idx) { in ZTEST() local
82 zassert_true(device_is_ready(mspi_devices[dev_idx]), "mspi_device is not ready"); in ZTEST()
84 ret = mspi_dev_config(mspi_bus, &dev_id[dev_idx], in ZTEST()
85 MSPI_DEVICE_CONFIG_ALL, &device_cfg[dev_idx]); in ZTEST()
89 ret = mspi_xip_config(mspi_bus, &dev_id[dev_idx], &xip_cfg[dev_idx]); in ZTEST()
94 ret = mspi_scramble_config(mspi_bus, &dev_id[dev_idx], &scramble_cfg[dev_idx]); in ZTEST()
102 ret = mspi_timing_config(mspi_bus, &dev_id[dev_idx], timing_cfg_mask, &timing_cfg); in ZTEST()
106 ret = mspi_register_callback(mspi_bus, &dev_id[dev_idx], in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Dmspi_emul.h47 uint16_t dev_idx);
94 uint16_t dev_idx; member
Demul.h147 (.Z_EMUL_BUS(node_id, addr, chipsel, chipsel, dev_idx, dummy, addr) = \
Dmspi.h222 uint16_t dev_idx; member
/Zephyr-latest/drivers/pwm/
Dpwm_nrfx.c354 #define PWM(dev_idx) DT_NODELABEL(pwm##dev_idx) argument
355 #define PWM_PROP(dev_idx, prop) DT_PROP(PWM(dev_idx), prop) argument
/Zephyr-latest/drivers/mspi/
Dmspi_emul.c93 device_index != dev_id->dev_idx) { in mspi_verify_device()
98 if (dev_id->dev_idx >= data->mspicfg.num_periph) { in mspi_verify_device()
356 uint16_t dev_idx) in mspi_emul_find() argument
365 if (emul->dev_idx == dev_idx) { in mspi_emul_find()
747 emul = mspi_emul_find(controller, dev_id->dev_idx); in mspi_emul_transceive()
839 LOG_INF("Register emulator '%s', id:%x\n", name, emul->dev_idx); in mspi_emul_register()
Dmspi_ambiq_ap3.c288 device_index != dev_id->dev_idx) { in mspi_verify_device()
657 PINCTRL_STATE_PRIV_START + dev_id->dev_idx); in mspi_ambiq_dev_config()
/Zephyr-latest/include/zephyr/drivers/mspi/
Ddevicetree.h163 .dev_idx = DT_REG_ADDR(mspi_dev), \
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_provision.c819 static int provision_adv(uint8_t dev_idx, uint16_t *addr) in provision_adv() argument
825 uuid[6] = '0' + dev_idx; in provision_adv()
835 static int provision_remote(struct bt_mesh_rpr_node *srv, uint8_t dev_idx, uint16_t *addr) in provision_remote() argument
842 uuid[6] = '0' + dev_idx; in provision_remote()