/Zephyr-latest/scripts/west_commands/runners/ |
D | nrfjprog.py | 20 def __init__(self, cfg, family, softreset, dev_id, erase=False, argument 24 super().__init__(cfg, family, softreset, dev_id, erase, reset, 40 args.dev_id, erase=args.erase, 115 ['--snr', self.dev_id] + self.tool_opt)
|
D | nrf_common.py | 78 def __init__(self, cfg, family, softreset, dev_id, erase=False, argument 86 self.dev_id = dev_id 102 return RunnerCaps(commands={'flash'}, dev_id=True, erase=True, 137 if args.dev_id is None: 138 args.dev_id = previous_runner.dev_id 141 if not self.dev_id or "*" in self.dev_id: 142 self.dev_id = self.get_board_snr(self.dev_id or "*") 143 self.dev_id = self.dev_id.lstrip("0")
|
D | jlink.py | 52 def __init__(self, cfg, device, dev_id=None, argument 70 self.dev_id = dev_id 97 dev_id=True, flash_addr=True, erase=True, reset=True, 152 dev_id=args.dev_id, 264 ('ip' if (is_ip(self.dev_id) or is_tunnel(self.dev_id)) else 'usb') 265 + (f'={self.dev_id}' if self.dev_id else ''), 422 if (is_ip(self.dev_id) or is_tunnel(self.dev_id)) 423 else (['-USB', f'{self.dev_id}'] if self.dev_id else [])
|
D | pyocd.py | 21 dev_id=None, flash_addr=0x0, erase=False, flash_opts=None, argument 55 if dev_id is not None: 56 board_args = ['-u', dev_id] 80 dev_id=True, flash_addr=True, erase=True, 126 dev_id=args.dev_id, daparg=args.daparg,
|
D | canopen_program.py | 54 def __init__(self, cfg, dev_id, can_context=DEFAULT_CAN_CONTEXT, argument 65 self.dev_id = dev_id # Only use for error checking in do_run() 71 node_id=dev_id, 86 return RunnerCaps(commands={'flash'}, dev_id=True, flash_addr=False) 126 return CANopenBinaryRunner(cfg, int(args.dev_id), 138 if not self.dev_id:
|
D | nrfutil.py | 20 def __init__(self, cfg, family, softreset, dev_id, erase=False, argument 24 super().__init__(cfg, family, softreset, dev_id, erase, reset, 43 args.dev_id, erase=args.erase,
|
/Zephyr-latest/drivers/flash/ |
D | flash_mspi_emul_device.c | 31 struct mspi_dev_id dev_id; member 65 while (mspi_dev_config(data->bus, &cfg->dev_id, in acquire() 70 while (mspi_dev_config(data->bus, &cfg->dev_id, in acquire() 238 ret = mspi_transceive(data->bus, &cfg->dev_id, in flash_mspi_emul_write() 298 ret = mspi_transceive(data->bus, &cfg->dev_id, (const struct mspi_xfer *)&data->xfer); in flash_mspi_emul_read() 370 if (mspi_dev_config(data->bus, &cfg->dev_id, MSPI_DEVICE_CONFIG_ALL, in emul_mspi_device_init() 379 if (mspi_xip_config(data->bus, &cfg->dev_id, &cfg->tar_xip_cfg)) { in emul_mspi_device_init() 389 if (mspi_scramble_config(data->bus, &cfg->dev_id, &cfg->tar_scramble_cfg)) { in emul_mspi_device_init() 398 if (mspi_timing_config(data->bus, &cfg->dev_id, in emul_mspi_device_init() 430 .dev_id = MSPI_DEVICE_ID_DT_INST(n), \
|
D | flash_mspi_atxp032.c | 53 struct mspi_dev_id dev_id; member 134 ret = mspi_transceive(cfg->bus, &cfg->dev_id, (const struct mspi_xfer *)&data->trans); in flash_mspi_atxp032_command_write() 166 ret = mspi_transceive(cfg->bus, &cfg->dev_id, (const struct mspi_xfer *)&data->trans); in flash_mspi_atxp032_command_read() 182 while (mspi_dev_config(cfg->bus, &cfg->dev_id, in acquire() 187 while (mspi_dev_config(cfg->bus, &cfg->dev_id, in acquire() 339 ret = mspi_transceive(cfg->bus, &cfg->dev_id, (const struct mspi_xfer *)&data->trans); in flash_mspi_atxp032_page_program() 362 if (mspi_timing_config(cfg->bus, &cfg->dev_id, cfg->timing_cfg_mask, in flash_mspi_atxp032_busy_wait() 382 if (mspi_timing_config(cfg->bus, &cfg->dev_id, cfg->timing_cfg_mask, in flash_mspi_atxp032_busy_wait() 421 ret = mspi_transceive(cfg->bus, &cfg->dev_id, (const struct mspi_xfer *)&data->trans); in flash_mspi_atxp032_read() 621 if (mspi_dev_config(cfg->bus, &cfg->dev_id, MSPI_DEVICE_CONFIG_ALL, &cfg->serial_cfg)) { in flash_mspi_atxp032_init() [all …]
|
/Zephyr-latest/drivers/hwinfo/ |
D | hwinfo_shell.c | 15 uint8_t dev_id[16]; in cmd_get_device_id() local 19 length = hwinfo_get_device_id(dev_id, sizeof(dev_id)); in cmd_get_device_id() 33 shell_fprintf(sh, SHELL_NORMAL, "%02x", dev_id[i]); in cmd_get_device_id()
|
/Zephyr-latest/include/zephyr/net/ |
D | ethernet.h | 1148 #define Z_ETH_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, instance, \ argument 1151 Z_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, instance, \ 1158 #define Z_ETH_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, instance, \ argument 1161 Z_DEVICE_STATE_DEFINE(dev_id); \ 1162 Z_DEVICE_DEFINE(node_id, dev_id, name, init_fn, pm, data, \ 1164 &Z_DEVICE_STATE_NAME(dev_id)); 1168 #define Z_ETH_NET_DEVICE_INIT(node_id, dev_id, name, init_fn, pm, data, \ argument 1170 Z_ETH_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, 0, \ 1193 #define ETH_NET_DEVICE_INIT(dev_id, name, init_fn, pm, data, config, \ argument 1195 Z_ETH_NET_DEVICE_INIT(DT_INVALID_NODE, dev_id, name, init_fn, \ [all …]
|
/Zephyr-latest/drivers/dac/ |
D | dac_dacx3608.c | 198 uint16_t dev_id; in dacx3608_device_id_check() local 201 ret = dacx3608_reg_read(dev, DACX3608_REG_STATUS_TRIGGER, &dev_id); in dacx3608_device_id_check() 207 switch (dev_id) { in dacx3608_device_id_check() 210 LOG_DBG("Device ID %#4x", dev_id); in dacx3608_device_id_check() 213 LOG_ERR("Unknown Device ID %#4x", dev_id); in dacx3608_device_id_check()
|
D | dac_dacx0508.c | 230 uint16_t dev_id; in dacx0508_device_id_check() local 238 dev_id = (regval[0] << 8) | regval[1]; in dacx0508_device_id_check() 240 resolution = dev_id >> 12; in dacx0508_device_id_check() 246 if ((dev_id & DACX0508_MASK_DEVICE_ID_8CH) != in dacx0508_device_id_check()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | mesh.h | 29 uint8_t dev_id; member
|
/Zephyr-latest/drivers/sensor/nxp/p3t1755/ |
D | p3t1755.h | 56 const struct i3c_device_id dev_id; member
|
D | p3t1755.c | 125 data->i3c_dev = i3c_device_find(config->i3c.bus, &config->i3c.dev_id); in p3t1755_init() 181 .i3c.bus = DEVICE_DT_GET(DT_INST_BUS(inst)), .i3c.dev_id = I3C_DEVICE_ID_DT_INST(inst),
|
/Zephyr-latest/drivers/sensor/st/lps22hh/ |
D | lps22hh.h | 51 const struct i3c_device_id dev_id; member
|
D | lps22hh.c | 195 data->i3c_dev = i3c_device_find(cfg->i3c.bus, &cfg->i3c.dev_id); in lps22hh_init_chip() 332 .i3c.dev_id = I3C_DEVICE_ID_DT_INST(inst), \
|
/Zephyr-latest/include/zephyr/fs/ |
D | fs_sys.h | 201 int (*mkfs)(uintptr_t dev_id, void *cfg, int flags);
|
/Zephyr-latest/subsys/fs/ |
D | littlefs_fs.c | 650 static int littlefs_flash_init(struct fs_littlefs *fs, void *dev_id) in littlefs_flash_init() argument 652 unsigned int area_id = POINTER_TO_UINT(dev_id); in littlefs_flash_init() 679 static int littlefs_init_backend(struct fs_littlefs *fs, void *dev_id, int flags) in littlefs_init_backend() argument 691 fs->backend = dev_id; in littlefs_init_backend() 701 ret = littlefs_flash_init(fs, dev_id); in littlefs_init_backend() 906 static int littlefs_init_fs(struct fs_littlefs *fs, void *dev_id, int flags) in littlefs_init_fs() argument 918 ret = littlefs_init_backend(fs, dev_id, flags); in littlefs_init_fs() 989 static int littlefs_mkfs(uintptr_t dev_id, void *cfg, int flags) in littlefs_mkfs() argument 1004 ret = littlefs_init_fs(fs, UINT_TO_POINTER(dev_id), flags); in littlefs_mkfs()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | spi.h | 534 #define Z_SPI_DEVICE_STATE_DEFINE(dev_id) \ argument 535 static struct spi_device_state Z_DEVICE_STATE_NAME(dev_id) \ 544 #define Z_SPI_INIT_FN(dev_id, init_fn) \ argument 545 static inline int UTIL_CAT(dev_id, _init)(const struct device *dev) \
|
D | can.h | 710 #define Z_CAN_DEVICE_STATE_DEFINE(dev_id) \ argument 711 static struct can_device_state Z_DEVICE_STATE_NAME(dev_id) \ 720 #define Z_CAN_INIT_FN(dev_id, init_fn) \ argument 721 static inline int UTIL_CAT(dev_id, _init)(const struct device *dev) \
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_ops.c | 449 static int ext2_mkfs(uintptr_t dev_id, void *vcfg, int flags) in ext2_mkfs() argument 459 ret = ext2_init_storage(&fs, (const void *)dev_id, flags); in ext2_mkfs() 461 LOG_ERR("Initialization of %ld device failed (%d)", dev_id, ret); in ext2_mkfs() 472 LOG_ERR("Format of %ld device failed (%d)", dev_id, ret); in ext2_mkfs()
|
/Zephyr-latest/drivers/sensor/st/lps2xdf/ |
D | lps2xdf.h | 103 const struct i3c_device_id dev_id; member
|
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/ |
D | fdc2x1x.c | 844 uint16_t dev_id, man_id; in fdc2x1x_probe() local 846 if (fdc2x1x_reg_read(dev, FDC2X1X_DEVICE_ID, &dev_id) < 0) { in fdc2x1x_probe() 852 if (dev_id == FDC2X1X_DEVICE_ID_VAL_28BIT) { in fdc2x1x_probe() 854 } else if (dev_id == FDC2X1X_DEVICE_ID_VAL) { in fdc2x1x_probe()
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372.c | 713 uint8_t dev_id, part_id; in adxl372_probe() local 716 ret = data->hw_tf->read_reg(dev, ADXL372_DEVID, &dev_id); in adxl372_probe() 725 if (dev_id != ADXL372_DEVID_VAL || part_id != ADXL372_PARTID_VAL) { in adxl372_probe() 726 LOG_ERR("failed to read id (0x%X:0x%X)", dev_id, part_id); in adxl372_probe()
|