Home
last modified time | relevance | path

Searched refs:index (Results 251 – 275 of 767) sorted by relevance

1...<<11121314151617181920>>...31

/Zephyr-latest/tests/drivers/mm/sys_mm_drv_bank/src/
Dmain.c37 uint32_t index; in ZTEST() local
49 for (index = 0; index < BANK_PAGES; index++) { in ZTEST()
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Df16.c57 size_t index; in test_arm_fill_f16() local
69 for (index = 0; index < length; index++) { in test_arm_fill_f16()
71 output[index], val, ASSERT_MSG_INCORRECT_COMP_RESULT); in test_arm_fill_f16()
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx.dtsi105 index = <0>;
112 index = <1>;
119 index = <2>;
127 index = <0x0>;
135 index = <0x1>;
143 index = <0x2>;
151 index = <0x3>;
159 index = <0x4>;
167 index = <0x5>;
175 index = <0x6>;
[all …]
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.c1839 static uint8_t mdm_pdu_read_byte(const char *pdu, size_t index) in mdm_pdu_read_byte() argument
1841 return (mdm_pdu_decode_ascii(pdu[index * 2]) << 4 | in mdm_pdu_read_byte()
1842 mdm_pdu_decode_ascii(pdu[index * 2 + 1])); in mdm_pdu_read_byte()
1851 static uint8_t mdm_pdu_read_time(const char *pdu, size_t index) in mdm_pdu_read_time() argument
1853 return (mdm_pdu_decode_ascii(pdu[index * 2]) + in mdm_pdu_read_time()
1854 mdm_pdu_decode_ascii(pdu[index * 2 + 1]) * 10); in mdm_pdu_read_time()
1862 size_t index; in mdm_decode_pdu() local
1889 index = mdm_pdu_read_byte(pdu, 0) + 1; in mdm_decode_pdu()
1891 if (index >= pdu_len) { in mdm_decode_pdu()
1896 target_buf->first_octet = mdm_pdu_read_byte(pdu, index++); in mdm_decode_pdu()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dva.c178 static struct bt_mesh_va *va_get_by_idx(uint16_t index) in va_get_by_idx() argument
180 if (index >= ARRAY_SIZE(virtual_addrs)) { in va_get_by_idx()
184 return &virtual_addrs[index]; in va_get_by_idx()
219 uint16_t index; in va_set() local
227 index = strtol(name, NULL, 16); in va_set()
245 lab = va_get_by_idx(index); in va_set()
/Zephyr-latest/subsys/usb/host/
Dusbh_ch9.h24 const uint8_t type, const uint8_t index,
33 const uint8_t index,
/Zephyr-latest/arch/arm64/core/
Dmmu.c875 unsigned int index; in setup_page_tables() local
881 for (index = 0U; index < CONFIG_MAX_XLAT_TABLES; index++) { in setup_page_tables()
882 MMU_DEBUG("%d: %p\n", index, xlat_tables + index * Ln_XLAT_NUM_ENTRIES); in setup_page_tables()
885 for (index = 0U; index < mmu_config.num_regions; index++) { in setup_page_tables()
886 region = &mmu_config.mmu_regions[index]; in setup_page_tables()
897 for (index = 0U; index < ARRAY_SIZE(mmu_zephyr_ranges); index++) { in setup_page_tables()
898 range = &mmu_zephyr_ranges[index]; in setup_page_tables()
906 for (index = 0U; index < mmu_config.num_regions; index++) { in setup_page_tables()
907 region = &mmu_config.mmu_regions[index]; in setup_page_tables()
913 for (index = 0U; index < ARRAY_SIZE(mmu_zephyr_ranges); index++) { in setup_page_tables()
[all …]
/Zephyr-latest/dts/x86/intel/
Delkhart_lake.dtsi459 group-index = <0x0>;
475 group-index = <0x1>;
491 group-index = <0x2>;
507 group-index = <0x0>;
523 group-index = <0x1>;
539 group-index = <0x2>;
555 group-index = <0x3>;
571 group-index = <0x4>;
587 group-index = <0x1>;
603 group-index = <0x2>;
[all …]
Draptor_lake_p.dtsi258 group-index = <0x0>;
274 group-index = <0x1>;
290 group-index = <0x2>;
306 group-index = <0x0>;
322 group-index = <0x1>;
339 group-index = <0x2>;
355 group-index = <0x0>;
371 group-index = <0x0>;
387 group-index = <0x1>;
403 group-index = <0x3>;
[all …]
Draptor_lake_s.dtsi359 group-index = <0x0>;
373 group-index = <0x1>;
387 group-index = <0x2>;
401 group-index = <0x0>;
415 group-index = <0x1>;
429 group-index = <0x2>;
443 group-index = <0x1>;
457 group-index = <0x2>;
471 group-index = <0x0>;
485 group-index = <0x1>;
[all …]
/Zephyr-latest/tests/net/lib/http_server/tls/
DCMakeLists.txt46 set(source_file_index src/index.html)
47 generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.inc)
48 generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.gz.inc --gzip)
/Zephyr-latest/drivers/serial/
Duart_apbuart.c543 #define APBUART_INIT(index) \ argument
544 static const struct apbuart_dev_cfg apbuart##index##_config = { \
546 DT_INST_REG_ADDR(index), \
548 (.interrupt = DT_INST_IRQN(index),)) \
551 static struct apbuart_dev_data apbuart##index##_data = { \
555 DEVICE_DT_INST_DEFINE(index, \
558 &apbuart##index##_data, \
559 &apbuart##index##_config, \
/Zephyr-latest/drivers/pcie/host/
Dpcie.c232 unsigned int index, in pcie_probe_bar() argument
239 (index > 0) && (reg <= PCIE_CONF_BAR5); reg++, index--) { in pcie_probe_bar()
247 if (index != 0) { in pcie_probe_bar()
262 unsigned int index, in pcie_probe_mbar() argument
265 return pcie_probe_bar(bdf, index, mbar, false); in pcie_probe_mbar()
276 unsigned int index, in pcie_probe_iobar() argument
279 return pcie_probe_bar(bdf, index, iobar, true); in pcie_probe_iobar()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dipso_timer.c280 int index, avail = -1, i = 0, j = 0; in timer_inst_create() local
283 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in timer_inst_create()
284 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in timer_inst_create()
291 if (avail < 0 && !inst[index].obj) { in timer_inst_create()
292 avail = index; in timer_inst_create()
/Zephyr-latest/drivers/i2s/
Di2s_esp32.c898 #define I2S_ESP32_DMA_CHANNEL_INIT(index, dir) \ argument
901 .dma_dev = UTIL_AND(DT_INST_DMAS_HAS_NAME(index, dir), \
902 DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(index, dir))), \
903 .dma_channel = UTIL_AND(DT_INST_DMAS_HAS_NAME(index, dir), \
904 DT_INST_DMAS_CELL_BY_NAME(index, dir, channel)), \
913 #define I2S_ESP32_INIT(index) \ argument
914 PINCTRL_DT_INST_DEFINE(index); \
916 static const struct i2s_esp32_cfg i2s_esp32_config_##index = { \
917 .unit = DT_PROP(DT_DRV_INST(index), unit), \
918 .hal_cxt = {.dev = (i2s_dev_t *)DT_INST_REG_ADDR(index)}, \
[all …]
/Zephyr-latest/drivers/timer/
DKconfig.xlnx_psttc17 int "Xilinx PS ttc timer index"
22 This is the index of TTC timer picked to provide system clock.
/Zephyr-latest/include/zephyr/drivers/modem/
Dsimcom-sim7080.h94 uint16_t index; member
197 int mdm_sim7080_delete_sms(uint16_t index);
/Zephyr-latest/scripts/native_simulator/common/src/
Dnct.c130 static struct threads_table_el *ttable_get_element(struct te_status_t *this, int index);
387 static struct threads_table_el *ttable_get_element(struct te_status_t *this, int index) in ttable_get_element() argument
391 if (index >= this->threads_table_size) { /* LCOV_EXCL_BR_LINE */ in ttable_get_element()
394 index, this->threads_table_size); /* LCOV_EXCL_LINE */ in ttable_get_element()
396 while (index >= NCT_ALLOC_CHUNK_SIZE) { in ttable_get_element()
397 index -= NCT_ALLOC_CHUNK_SIZE; in ttable_get_element()
400 return &threads_table[index]; in ttable_get_element()
/Zephyr-latest/
DREADME.rst93 .. _supported boards: https://docs.zephyrproject.org/latest/boards/index.html
95 .. _Introduction to Zephyr: https://docs.zephyrproject.org/latest/introduction/index.html
96 .. _Getting Started Guide: https://docs.zephyrproject.org/latest/develop/getting_started/index.html
97 .. _Contribution Guide: https://docs.zephyrproject.org/latest/contribute/index.html
105 .. _Code samples: https://docs.zephyrproject.org/latest/samples/index.html
106 .. _Security documentation: https://docs.zephyrproject.org/latest/security/index.html
108 .. _Tips when asking for help: https://docs.zephyrproject.org/latest/develop/getting_started/index.…
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_endpoint.h86 uint8_t index; member
164 uint8_t index; member
171 uint8_t index; /* index of broadcast_snks array */ member
/Zephyr-latest/tests/lib/ringbuffer/src/
Dmain.c180 int index = POINTER_TO_INT(p); in tringbuf_put() local
182 int ret = ring_buf_item_put(pbuf, static_data[index].type, static_data[index].value, in tringbuf_put()
183 static_data[index].buffer, static_data[index].length); in tringbuf_put()
193 int ret, index = POINTER_TO_INT(p); in tringbuf_get() local
198 zassert_equal(type, static_data[index].type); in tringbuf_get()
199 zassert_equal(value, static_data[index].value); in tringbuf_get()
200 zassert_equal(size32, static_data[index].length); in tringbuf_get()
201 zassert_equal(memcmp(rx_data, static_data[index].buffer, size32), 0); in tringbuf_get()
208 int ret, index = POINTER_TO_INT(p); in tringbuf_get_discard() local
213 zassert_equal(type, static_data[index].type); in tringbuf_get_discard()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c208 uint8_t index = 0; in mgmt_evt_get_index() local
213 while (index < 16) { in mgmt_evt_get_index()
218 ++index; in mgmt_evt_get_index()
225 return index; in mgmt_evt_get_index()
/Zephyr-latest/drivers/adc/
Dadc_gecko.c98 uint8_t index; in start_read() local
117 index = find_lsb_set(channels) - 1; in start_read()
118 if (index >= GECKO_CHANNEL_COUNT) { in start_read()
119 LOG_DBG("Requested channel index not available: %d", index); in start_read()
123 if (!data->channel_config[index].initialized) { in start_read()
128 channels &= ~BIT(index); in start_read()
Dadc_max11102_17.c404 #define ADC_MAX11102_17_INST_DEFINE(index, name, res, channels) \ argument
405 static const struct max11102_17_config config_##name##_##index = { \
407 index, \
409 .gpio_chsel = GPIO_DT_SPEC_INST_GET_OR(index, chsel_gpios, {0}), \
413 static struct max11102_17_data data_##name##_##index; \
414 DEVICE_DT_INST_DEFINE(index, max11102_17_init, NULL, &data_##name##_##index, \
415 &config_##name##_##index, POST_KERNEL, CONFIG_ADC_INIT_PRIORITY, \
/Zephyr-latest/drivers/i2c/
Di2c_ifx_xmc4.c440 #define XMC4_IRQ_HANDLER_INIT(index) \ argument
441 static void i2c_xmc4_irq_setup_##index(const struct device *dev) \
444 uint8_t irq_num = DT_INST_IRQN(index); \
454 IRQ_CONNECT(DT_INST_IRQN(index), DT_INST_IRQ(index, priority), i2c_xmc4_isr, \
455 DEVICE_DT_INST_GET(index), 0); \
460 #define XMC4_IRQ_HANDLER_STRUCT_INIT(index) .irq_config_func = i2c_xmc4_irq_setup_##index argument

1...<<11121314151617181920>>...31