Home
last modified time | relevance | path

Searched refs:index (Results 151 – 175 of 767) sorted by relevance

12345678910>>...31

/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp.c56 static void tester_send_with_index(uint8_t service, uint8_t opcode, uint8_t index,
58 static void tester_rsp_with_index(uint8_t service, uint8_t opcode, uint8_t index,
100 cmd->hdr.opcode, cmd->hdr.index); in cmd_handler()
106 if (btp->index != cmd->hdr.index) { in cmd_handler()
131 cmd->hdr.index, cmd->rsp, rsp_len); in cmd_handler()
134 cmd->hdr.index, status); in cmd_handler()
278 static void tester_send_with_index(uint8_t service, uint8_t opcode, uint8_t index, in tester_send_with_index() argument
285 msg.index = index; in tester_send_with_index()
294 static void tester_rsp_with_index(uint8_t service, uint8_t opcode, uint8_t index, in tester_rsp_with_index() argument
299 LOG_DBG("service 0x%02x opcode 0x%02x index 0x%02x status 0x%02x", service, opcode, index, in tester_rsp_with_index()
[all …]
/Zephyr-latest/drivers/i2s/
Di2s_ll_stm32.c990 #define I2S_DMA_CHANNEL_INIT(index, dir, dir_cap, src_dev, dest_dev) \ argument
992 .dev_dma = DEVICE_DT_GET(STM32_DMA_CTLR(index, dir)), \
993 .dma_channel = DT_INST_DMAS_CELL_BY_NAME(index, dir, channel), \
996 .dma_slot = STM32_DMA_SLOT(index, dir, slot),\
1003 STM32_DMA_CHANNEL_CONFIG(index, dir)),\
1007 STM32_DMA_CHANNEL_CONFIG(index, dir)), \
1009 STM32_DMA_CHANNEL_CONFIG(index, dir)), \
1011 STM32_DMA_FEATURES(index, dir)), \
1015 .mem_block_queue.buf = dir##_##index##_ring_buf, \
1016 .mem_block_queue.len = ARRAY_SIZE(dir##_##index##_ring_buf) \
[all …]
/Zephyr-latest/scripts/west_commands/
Dbindesc.py201 index = image.find(magic)
202 if index == -1:
246 index = image.find(magic)
247 if index == -1:
252 index += len(magic) # index points to first descriptor
253 current_tag = self.bytes_to_short(image[index:index+2])
255 index += 2 # index points to length
256 length = self.bytes_to_short(image[index:index+2])
257 index += 2 # index points to data
258 data = image[index:index+length]
[all …]
/Zephyr-latest/doc/connectivity/usb/
Dindex.rst12 device/api/index.rst
20 device_next/api/index.rst
21 host/api/index.rst
/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx.c855 #define BQ274XX_INT_CFG(index) \ argument
856 .int_gpios = GPIO_DT_SPEC_INST_GET(index, int_gpios),
857 #define PM_BQ274XX_DT_INST_DEFINE(index, bq274xx_pm_action) \ argument
858 PM_DEVICE_DT_INST_DEFINE(index, bq274xx_pm_action)
859 #define PM_BQ274XX_DT_INST_GET(index) PM_DEVICE_DT_INST_GET(index) argument
861 #define BQ274XX_INT_CFG(index) argument
862 #define PM_BQ274XX_DT_INST_DEFINE(index, bq274xx_pm_action) argument
863 #define PM_BQ274XX_DT_INST_GET(index) NULL argument
866 #define BQ274XX_INIT(index) \ argument
867 static struct bq274xx_data bq274xx_driver_##index; \
[all …]
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_socket.c42 LOG_DBG("Stopping socket %d", socket->index); in __stop_socket()
87 __select_socket(eswifi, socket->index); in __eswifi_bind()
134 __select_socket(eswifi, socket->index); in eswifi_off_read_work()
204 __select_socket(eswifi, socket->index); in __eswifi_off_start_client()
269 __select_socket(eswifi, socket->index); in __eswifi_listen()
293 __select_socket(eswifi, socket->index); in __eswifi_accept()
310 __select_socket(eswifi, socket->index); in __eswifi_socket_free()
313 __select_socket(eswifi, socket->index); in __eswifi_socket_free()
336 socket->index = i; in __eswifi_socket_new()
353 err = __select_socket(eswifi, socket->index); in __eswifi_socket_new()
[all …]
/Zephyr-latest/modules/lvgl/
Dlvgl_shell.c117 int index; in cmd_lvgl_monkey_set() local
119 index = atoi(argv[1]); in cmd_lvgl_monkey_set()
120 if (index < 0 || index >= CONFIG_LV_Z_MAX_MONKEY_COUNT || lvgl_monkeys[index] == NULL) { in cmd_lvgl_monkey_set()
126 lv_monkey_set_enable(lvgl_monkeys[index], true); in cmd_lvgl_monkey_set()
128 lv_monkey_set_enable(lvgl_monkeys[index], false); in cmd_lvgl_monkey_set()
/Zephyr-latest/tests/arch/xtensa/save_restore_hifi/src/
Dmain.c20 uint32_t index = (uint32_t)(uintptr_t)p1; in thread_entry() local
24 if (index < (NUM_THREADS - 1)) { in thread_entry()
25 k_thread_start(&thread[index + 1]); in thread_entry()
31 init_regs[i] = (index & 0xff); in thread_entry()
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c382 int index = 0; in process_ff_sf() local
389 if (frame->data[index++] != rctx->rx_addr.ext_addr) { in process_ff_sf()
409 switch (frame->data[index] & ISOTP_PCI_TYPE_MASK) { in process_ff_sf()
432 sf_len = frame->data[index] & ISOTP_PCI_SF_DL_MASK; in process_ff_sf()
441 sf_len = frame->data[index + 1]; in process_ff_sf()
442 payload_len = index + 2 + sf_len; in process_ff_sf()
444 payload_len = index + 1 + sf_len; in process_ff_sf()
460 net_buf_add_mem(rctx->buf, &frame->data[index], payload_len - index); in process_ff_sf()
487 int index = 0; in process_cf() local
492 if (frame->data[index++] != rctx->rx_addr.ext_addr) { in process_cf()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_hp_ra.c142 if ((page_info_off.index > FLASH_HP_CF_BLOCK_32KB_DUAL_LOW_END && in flash_ra_erase()
143 page_info_off.index < FLASH_HP_CF_BLOCK_8KB_HIGH_START) || in flash_ra_erase()
144 (page_info_len.index > FLASH_HP_CF_BLOCK_32KB_DUAL_LOW_END && in flash_ra_erase()
145 page_info_len.index < FLASH_HP_CF_BLOCK_8KB_HIGH_START)) { in flash_ra_erase()
154 block_num = (uint32_t)((page_info_len.index) - page_info_off.index); in flash_ra_erase()
379 #define RA_FLASH_INIT(index) \ argument
380 struct flash_hp_ra_data flash_hp_ra_data_##index = {.area_address = DT_REG_ADDR(index), \
381 .area_size = DT_REG_SIZE(index)}; \
382 static struct flash_hp_ra_config flash_hp_ra_config_##index = { \
385 (CHECK_EQ(DT_REG_ADDR(index), FLASH_HP_DF_START)), 4, 128), \
[all …]
/Zephyr-latest/drivers/dac/
Ddac_ad569x.c168 #define INST_DT_AD569X(index, name, res) \ argument
169 static const struct ad569x_config config_##name##_##index = { \
170 .bus = I2C_DT_SPEC_INST_GET(index), \
172 .gain = DT_INST_ENUM_IDX(index, gain), \
173 .voltage_reference = DT_INST_ENUM_IDX(index, voltage_reference), \
174 .power_down_mode = DT_INST_ENUM_IDX(index, power_down_mode), \
177 DEVICE_DT_INST_DEFINE(index, ad569x_init, NULL, NULL, &config_##name##_##index, \
/Zephyr-latest/subsys/net/lib/lwm2m/
Dipso_accelerometer.c78 int index, avail = -1, i = 0, j = 0; in accel_create() local
81 for (index = 0; index < ARRAY_SIZE(inst); index++) { in accel_create()
82 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in accel_create()
89 if (avail < 0 && !inst[index].obj) { in accel_create()
90 avail = index; in accel_create()
Dipso_push_button.c119 int index, avail = -1, i = 0, j = 0; in button_create() local
122 for (index = 0; index < ARRAY_SIZE(inst); index++) { in button_create()
123 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in button_create()
130 if (avail < 0 && !inst[index].obj) { in button_create()
131 avail = index; in button_create()
/Zephyr-latest/modules/openthread/platform/
Dsettings.c26 int index; member
51 if ((ctx->target_index != -1) && (ctx->target_index != ctx->index)) { in ot_setting_delete_cb()
52 ctx->index++; in ot_setting_delete_cb()
75 if (ctx->target_index == ctx->index) { in ot_setting_delete_cb()
85 static int ot_setting_delete_subtree(int key, int index, bool delete_subtree_root) in ot_setting_delete_subtree() argument
92 .target_index = index, in ot_setting_delete_subtree()
109 subtree, index, ret); in ot_setting_delete_subtree()
151 int index; member
171 if (ctx->target_index != ctx->index) { in ot_setting_read_cb()
172 ctx->index++; in ot_setting_read_cb()
/Zephyr-latest/drivers/serial/
Duart_xmc4xxx.c969 #define UART_DMA_CHANNEL_INIT(index, dir, ch_dir, src_burst, dst_burst) \ argument
970 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(index, dir)), \
971 .dma_channel = DT_INST_DMAS_CELL_BY_NAME(index, dir, channel), \
973 .dma_slot = DT_INST_DMAS_CELL_BY_NAME(index, dir, config), \
975 .channel_priority = DT_INST_DMAS_CELL_BY_NAME(index, dir, priority), \
984 #define UART_DMA_CHANNEL(index, dir, ch_dir, src_burst, dst_burst) \ argument
986 DT_INST_DMAS_HAS_NAME(index, dir), \
987 (UART_DMA_CHANNEL_INIT(index, dir, ch_dir, src_burst, dst_burst)), (NULL))},
989 #define UART_DMA_CHANNEL(index, dir, ch_dir, src_burst, dst_burst) argument
993 #define XMC4XXX_IRQ_HANDLER(index) \ argument
[all …]
/Zephyr-latest/arch/arc/core/mpu/
Darc_mpu_v2_internal.h51 static inline void _region_init(uint32_t index, uint32_t region_addr, uint32_t size, in _region_init() argument
54 index = index * 2U; in _region_init()
74 z_arc_v2_aux_reg_write(_ARC_V2_MPU_RDP0 + index, region_attr); in _region_init()
75 z_arc_v2_aux_reg_write(_ARC_V2_MPU_RDB0 + index, region_addr); in _region_init()
/Zephyr-latest/subsys/sensing/
Dsensor_mgmt.h58 int set_sensitivity(struct sensing_connection *conn, int8_t index, uint32_t interval);
59 int get_sensitivity(struct sensing_connection *con, int8_t index, uint32_t *sensitivity);
74 static inline struct sensing_sensor *get_reporter_sensor(struct sensing_sensor *sensor, int index) in get_reporter_sensor() argument
76 if (!sensor || index >= sensor->reporter_num) { in get_reporter_sensor()
80 return sensor->conns[index].source; in get_reporter_sensor()
/Zephyr-latest/doc/_extensions/zephyr/domain/static/js/
Dcodesample-livesearch.js25 const index = text.toLowerCase().indexOf(query);
26 if (index !== -1 && query.length > 0) {
29 const before = document.createTextNode(text.substring(0, index));
31 highlight.textContent = text.substring(index, index + query.length);
32 const after = document.createTextNode(text.substring(index + query.length));
/Zephyr-latest/tests/drivers/led/led_api/src/
Dtest_led_api.c26 .index = DT_PROP_OR(led_node_id, index, 0), \
35 .index = DT_PROP_OR(led_node_id, index, 0), \
95 zassert_equal(info->index, test_led_info[led].index, in ZTEST_USER()
97 info->index, test_led_info[led].index); in ZTEST_USER()
104 led, info->label, info->index, info->num_colors); in ZTEST_USER()
/Zephyr-latest/doc/develop/languages/
Dindex.rst9 c/index.rst
10 cpp/index.rst
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.c477 #define MAX17055_INIT(index) \ argument
478 static struct max17055_data max17055_driver_##index; \
480 static const struct max17055_config max17055_config_##index = { \
481 .i2c = I2C_DT_SPEC_INST_GET(index), \
482 .design_capacity = DT_INST_PROP(index, design_capacity), \
483 .design_voltage = DT_INST_PROP(index, design_voltage), \
484 .desired_charging_current = DT_INST_PROP(index, desired_charging_current), \
485 .desired_voltage = DT_INST_PROP(index, desired_voltage), \
486 .i_chg_term = DT_INST_PROP(index, i_chg_term), \
487 .rsense_mohms = DT_INST_PROP(index, rsense_mohms), \
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605.c428 #define ICM42605_DEFINE_CONFIG(index) \ argument
429 static const struct icm42605_config icm42605_cfg_##index = { \
430 .spi = SPI_DT_SPEC_INST_GET(index, \
437 .gpio_int = GPIO_DT_SPEC_INST_GET(index, int_gpios), \
438 .accel_hz = DT_INST_PROP(index, accel_hz), \
439 .gyro_hz = DT_INST_PROP(index, gyro_hz), \
440 .accel_fs = DT_INST_ENUM_IDX(index, accel_fs), \
441 .gyro_fs = DT_INST_ENUM_IDX(index, gyro_fs), \
444 #define ICM42605_INIT(index) \ argument
445 ICM42605_DEFINE_CONFIG(index); \
[all …]
/Zephyr-latest/arch/mips/core/
Dirq_manage.c72 int index; in z_mips_enter_irq() local
79 index = find_lsb_set(ipending) - 1; in z_mips_enter_irq()
80 ipending &= ~BIT(index); in z_mips_enter_irq()
82 ite = &_sw_isr_table[index]; in z_mips_enter_irq()
/Zephyr-latest/arch/nios2/core/
Dirq_manage.c81 int index; in _enter_irq() local
96 index = find_lsb_set(ipending) - 1; in _enter_irq()
97 ipending &= ~BIT(index); in _enter_irq()
99 ite = &_sw_isr_table[index]; in _enter_irq()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dhas_client.c42 static void has_client_preset_switch_cb(struct bt_has *has, int err, uint8_t index) in has_client_preset_switch_cb() argument
47 shell_print(ctx_shell, "HAS %p preset switch index 0x%02x", has, index); in has_client_preset_switch_cb()
60 record->index, record->properties, record->name); in has_client_preset_read_rsp_cb()
113 const uint8_t index = shell_strtoul(argv[1], 16, &err); in cmd_has_client_read_presets() local
131 err = bt_has_client_presets_read(inst, index, count); in cmd_has_client_read_presets()
142 uint8_t index; in cmd_has_client_preset_set() local
145 index = shell_strtoul(argv[1], 16, &err); in cmd_has_client_preset_set()
172 err = bt_has_client_preset_set(inst, index, sync); in cmd_has_client_preset_set()

12345678910>>...31