/Zephyr-latest/tests/bluetooth/mesh/brg/src/ |
D | main.c | 19 uint8_t direction; member 34 test_vector[i].direction = i < (TEST_VECT_SZ / 2) ? 1 : 2; in setup() 83 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, test_vector[i].net_idx1, in check_fill_all_bt_entries() 258 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, test_vector[i % 2].net_idx1, in ZTEST() 273 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, in ZTEST() 278 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, in ZTEST() 295 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, in ZTEST() 300 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, in ZTEST() 316 err = bt_mesh_brg_cfg_tbl_add(test_vector[i].direction, test_vector[1].net_idx1, in ZTEST() 376 .direction = BT_MESH_BRG_CFG_DIR_ONEWAY, in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | brg_cfg.c | 40 if (brg_tbl[k].direction != 0) { in brg_tbl_compact() 179 brg_tbl[i].direction = 0; in brg_tbl_netkey_removed_evt() 236 int bt_mesh_brg_cfg_tbl_add(uint8_t direction, uint16_t net_idx1, uint16_t net_idx2, uint16_t addr1, in bt_mesh_brg_cfg_tbl_add() argument 245 if (direction != BT_MESH_BRG_CFG_DIR_ONEWAY && direction != BT_MESH_BRG_CFG_DIR_TWOWAY) { in bt_mesh_brg_cfg_tbl_add() 249 if ((direction == BT_MESH_BRG_CFG_DIR_ONEWAY && in bt_mesh_brg_cfg_tbl_add() 251 (direction == BT_MESH_BRG_CFG_DIR_TWOWAY && !BT_MESH_ADDR_IS_UNICAST(addr2))) { in bt_mesh_brg_cfg_tbl_add() 269 brg_tbl[i].direction = direction; in bt_mesh_brg_cfg_tbl_add() 281 brg_tbl[bt_mesh_brg_cfg_row_cnt].direction = direction; in bt_mesh_brg_cfg_tbl_add() 302 if ((brg_tbl[i].direction == BT_MESH_BRG_CFG_DIR_ONEWAY || in bt_mesh_brg_cfg_tbl_foreach_subnet() 303 brg_tbl[i].direction == BT_MESH_BRG_CFG_DIR_TWOWAY) && in bt_mesh_brg_cfg_tbl_foreach_subnet() [all …]
|
D | brg_cfg.h | 25 uint32_t direction: 8; member 42 int bt_mesh_brg_cfg_tbl_add(uint8_t direction, uint16_t net_idx1, uint16_t net_idx2, uint16_t addr1,
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_altera_pio.c | 26 uint8_t direction; member 43 const int direction = cfg->direction; in gpio_pin_direction() local 53 if (direction != 0) { in gpio_pin_direction() 74 const int direction = cfg->direction; in gpio_altera_configure() local 85 if (direction != 0) { in gpio_altera_configure() 307 .direction = DT_INST_ENUM_IDX(n, direction), \
|
/Zephyr-latest/drivers/dma/ |
D | dma_intel_adsp_hda.c | 43 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_host_in_config() 77 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_host_out_config() 111 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_link_in_config() 141 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_link_out_config() 187 switch (cfg->direction) { in intel_adsp_hda_dma_host_reload() 231 stat->dir = cfg->direction; in intel_adsp_hda_dma_status() 240 if (cfg->direction == MEMORY_TO_PERIPHERAL || cfg->direction == PERIPHERAL_TO_MEMORY) { in intel_adsp_hda_dma_status() 254 switch (cfg->direction) { in intel_adsp_hda_dma_status() 326 set_fifordy = (cfg->direction == HOST_TO_MEMORY || cfg->direction == MEMORY_TO_HOST); in intel_adsp_hda_dma_start() 329 if (cfg->direction == MEMORY_TO_PERIPHERAL) { in intel_adsp_hda_dma_start()
|
D | dma_nios2_msgdma.c | 29 uint32_t direction; member 106 dev_data->direction = cfg->channel_direction; in nios2_msgdma_config() 111 if (dev_data->direction == MEMORY_TO_MEMORY) { in nios2_msgdma_config() 118 } else if (dev_data->direction == MEMORY_TO_PERIPHERAL) { in nios2_msgdma_config() 124 } else if (dev_data->direction == PERIPHERAL_TO_MEMORY) { in nios2_msgdma_config()
|
D | dma_sedi.c | 170 uint8_t direction = MEMORY_TO_MEMORY; in dma_sedi_apply_common_config() local 173 dma_config_convert(config, &src_mem, &dst_mem, &direction); in dma_sedi_apply_common_config() 176 *dir = direction; in dma_sedi_apply_common_config() 181 direction); in dma_sedi_apply_common_config() 183 if (direction == MEMORY_TO_MEMORY) { in dma_sedi_apply_common_config() 188 } else if (direction == MEMORY_TO_PERIPHERAL) { in dma_sedi_apply_common_config() 196 } else if (direction == PERIPHERAL_TO_MEMORY) { in dma_sedi_apply_common_config()
|
D | dma_stm32_bdma.c | 382 static int bdma_stm32_get_direction(enum dma_channel_direction direction, in bdma_stm32_get_direction() argument 385 switch (direction) { in bdma_stm32_get_direction() 396 LOG_ERR("Direction error. %d", direction); in bdma_stm32_get_direction() 551 channel->direction = config->channel_direction; in bdma_stm32_configure() 567 if (channel->direction == MEMORY_TO_PERIPHERAL || channel->direction == MEMORY_TO_MEMORY) { in bdma_stm32_configure() 574 if (channel->direction == PERIPHERAL_TO_MEMORY || channel->direction == MEMORY_TO_MEMORY) { in bdma_stm32_configure() 582 if (channel->direction == MEMORY_TO_PERIPHERAL) { in bdma_stm32_configure() 642 channel->source_periph = (channel->direction == PERIPHERAL_TO_MEMORY); in bdma_stm32_configure() 695 switch (channel->direction) { in bdma_stm32_reload() 846 stat->dir = channel->direction; in bdma_stm32_get_status()
|
D | dma_nxp_sof_host_dma.c | 45 uint32_t direction; member 106 if (chan->direction == HOST_TO_MEMORY) { in sof_host_dma_reload() 219 chan->direction = config->channel_direction; in sof_host_dma_config()
|
D | dma_stm32.c | 192 static int dma_stm32_get_direction(enum dma_channel_direction direction, in dma_stm32_get_direction() argument 195 switch (direction) { in dma_stm32_get_direction() 206 LOG_ERR("Direction error. %d", direction); in dma_stm32_get_direction() 360 stream->direction = config->channel_direction; in dma_stm32_configure() 375 if (stream->direction == MEMORY_TO_PERIPHERAL) { in dma_stm32_configure() 442 stream->source_periph = (stream->direction == PERIPHERAL_TO_MEMORY); in dma_stm32_configure() 535 switch (stream->direction) { in dma_stm32_reload() 683 stat->dir = stream->direction; in dma_stm32_get_status()
|
/Zephyr-latest/drivers/stepper/step_dir/ |
D | step_dir_stepper_common.c | 17 switch (data->direction) { in step_dir_stepper_perform_step() 25 LOG_ERR("Unsupported direction: %d", data->direction); in step_dir_stepper_perform_step() 47 if (data->direction == STEPPER_DIRECTION_POSITIVE) { in step_dir_stepper_perform_step() 131 data->direction = STEPPER_DIRECTION_POSITIVE; in update_direction_from_step_count() 133 data->direction = STEPPER_DIRECTION_NEGATIVE; in update_direction_from_step_count() 321 int step_dir_stepper_common_run(const struct device *dev, const enum stepper_direction direction, in step_dir_stepper_common_run() argument 329 data->direction = direction; in step_dir_stepper_common_run()
|
D | step_dir_stepper_common.h | 70 enum stepper_direction direction; member 196 int step_dir_stepper_common_run(const struct device *dev, const enum stepper_direction direction,
|
D | Kconfig | 7 Enable library used for step direction stepper drivers.
|
/Zephyr-latest/samples/basic/servo_motor/src/ |
D | main.c | 22 enum direction { enum 30 enum direction dir = UP; in main()
|
/Zephyr-latest/tests/bluetooth/hci_codecs_info/src/ |
D | main.c | 150 uint8_t direction, in hci_vendor_read_codec_capabilities() argument 164 zassert_equal(direction, READ_CAPABS_DIRECTION, in hci_vendor_read_codec_capabilities() 195 cp->direction = READ_CAPABS_DIRECTION; in ZTEST() 227 uint8_t direction, in hci_vendor_read_ctlr_delay() argument 242 zassert_equal(direction, READ_DELAY_DIRECTION, in hci_vendor_read_ctlr_delay() 276 cp->direction = READ_DELAY_DIRECTION; in ZTEST()
|
/Zephyr-latest/drivers/stepper/ |
D | gpio_stepper_controller.c | 34 enum stepper_direction direction; member 101 if (data->direction == STEPPER_DIRECTION_POSITIVE) { in update_coil_charge() 104 } else if (data->direction == STEPPER_DIRECTION_NEGATIVE) { in update_coil_charge() 132 data->direction = STEPPER_DIRECTION_POSITIVE; in update_direction_from_step_count() 134 data->direction = STEPPER_DIRECTION_NEGATIVE; in update_direction_from_step_count() 275 static int gpio_stepper_run(const struct device *dev, const enum stepper_direction direction, in gpio_stepper_run() argument 287 data->direction = direction; in gpio_stepper_run()
|
D | stepper_shell.c | 28 enum stepper_direction direction; member 34 .direction = _dir, \ 378 enum stepper_direction direction = STEPPER_DIRECTION_POSITIVE; in cmd_stepper_run() local 382 direction = stepper_direction_map[i].direction; in cmd_stepper_run() 408 err = stepper_run(dev, direction, velocity); in cmd_stepper_run()
|
/Zephyr-latest/subsys/bluetooth/controller/hal/ |
D | ccm.h | 11 uint8_t direction:1; member
|
/Zephyr-latest/drivers/wifi/infineon/ |
D | airoc_whd_hal_sdio.c | 132 whd_result_t whd_bus_sdio_cmd52(whd_driver_t whd_driver, whd_bus_transfer_direction_t direction, in whd_bus_sdio_cmd52() argument 142 if (direction == BUS_WRITE) { in whd_bus_sdio_cmd52() 159 whd_result_t whd_bus_sdio_cmd53(whd_driver_t whd_driver, whd_bus_transfer_direction_t direction, in whd_bus_sdio_cmd53() argument 168 if (direction == BUS_WRITE) { in whd_bus_sdio_cmd53() 177 whd_driver->bus_priv, ((ret != WHD_SUCCESS) && (direction == BUS_READ)), in whd_bus_sdio_cmd53() 180 whd_driver->bus_priv, ((ret != WHD_SUCCESS) && (direction == BUS_WRITE)), in whd_bus_sdio_cmd53()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | stepper.h | 171 typedef int (*stepper_run_t)(const struct device *dev, const enum stepper_direction direction, 435 __syscall int stepper_run(const struct device *dev, enum stepper_direction direction, 439 const enum stepper_direction direction, in z_impl_stepper_run() argument 447 return api->run(dev, direction, velocity); in z_impl_stepper_run()
|
D | auxdisplay.h | 176 typedef int (*auxdisplay_cursor_shift_set_t)(const struct device *dev, uint8_t direction, 422 uint8_t direction, bool display_shift); 425 uint8_t direction, in z_impl_auxdisplay_cursor_shift_set() argument 434 if (direction >= AUXDISPLAY_DIRECTION_COUNT) { in z_impl_auxdisplay_cursor_shift_set() 438 return api->cursor_shift_set(dev, direction, display_shift); in z_impl_auxdisplay_cursor_shift_set()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci_internal.h | 62 uint8_t direction, 70 uint8_t direction,
|
/Zephyr-latest/include/zephyr/usb/ |
D | usb_ch9.h | 31 uint8_t direction : 1; member 33 uint8_t direction : 1; 82 return setup->RequestType.direction == USB_REQTYPE_DIR_TO_HOST; in usb_reqtype_is_to_host() 93 return setup->RequestType.direction == USB_REQTYPE_DIR_TO_DEVICE; in usb_reqtype_is_to_device()
|
/Zephyr-latest/drivers/dai/nxp/sai/ |
D | Kconfig.sai | 38 is SYNC with the other, and the ASYNC direction has 39 the BYP bit toggled, the SYNC direction's BCLK won't
|
/Zephyr-latest/drivers/auxdisplay/ |
D | auxdisplay_hd44780.c | 58 uint8_t direction; member 298 data->direction = AUXDISPLAY_DIRECTION_RIGHT; in auxdisplay_hd44780_init() 344 if (data->direction == AUXDISPLAY_DIRECTION_RIGHT) { in auxdisplay_hd44780_set_entry_mode() 410 static int auxdisplay_hd44780_cursor_shift_set(const struct device *dev, uint8_t direction, in auxdisplay_hd44780_cursor_shift_set() argument 420 data->direction = direction; in auxdisplay_hd44780_cursor_shift_set() 440 if (data->direction == AUXDISPLAY_DIRECTION_RIGHT) { in auxdisplay_hd44780_cursor_position_set() 558 if (data->direction == AUXDISPLAY_DIRECTION_RIGHT) { in auxdisplay_hd44780_write()
|