/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/renesas/ |
D | pinctrl-rcar-common.h | 25 #define IPSR(bank, shift, func) (((bank) << 10U) | ((shift) << 4U) | (func)) argument 49 #define IPnSR(bank, reg, shift, func) \ argument 50 IPSR(((reg) << 5U) | (bank), shift, func) 52 #define IP0SR0(shift, func) IPnSR(0, 0, shift, func) argument 53 #define IP1SR0(shift, func) IPnSR(1, 0, shift, func) argument 54 #define IP2SR0(shift, func) IPnSR(2, 0, shift, func) argument 55 #define IP3SR0(shift, func) IPnSR(3, 0, shift, func) argument 56 #define IP0SR1(shift, func) IPnSR(0, 1, shift, func) argument 57 #define IP1SR1(shift, func) IPnSR(1, 1, shift, func) argument 58 #define IP2SR1(shift, func) IPnSR(2, 1, shift, func) argument [all …]
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracing_macros.h | 13 #define SYS_PORT_TRACING_FUNC(type, func, ...) do { } while (false) argument 14 #define SYS_PORT_TRACING_FUNC_ENTER(type, func, ...) do { } while (false) argument 15 #define SYS_PORT_TRACING_FUNC_BLOCKING(type, func, ...) do { } while (false) argument 16 #define SYS_PORT_TRACING_FUNC_EXIT(type, func, ...) do { } while (false) argument 18 #define SYS_PORT_TRACING_OBJ_FUNC(obj_type, func, obj, ...) do { } while (false) argument 19 #define SYS_PORT_TRACING_OBJ_FUNC_ENTER(obj_type, func, obj, ...) do { } while (false) argument 20 #define SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(obj_type, func, obj, ...) do { } while (false) argument 21 #define SYS_PORT_TRACING_OBJ_FUNC_EXIT(obj_type, func, obj, ...) do { } while (false) argument 42 #define _SYS_PORT_TRACING_FUNC(name, func) \ argument 43 sys_port_trace_ ## name ## _ ## func [all …]
|
/Zephyr-latest/include/zephyr/ |
D | sw_isr_table.h | 145 void *func; member 188 #define _MK_ISR_ELEMENT_NAME(func, id) __MK_ISR_ELEMENT_NAME(func, id) argument 189 #define __MK_ISR_ELEMENT_NAME(func, id) __isr_table_entry_ ## func ## _irq_ ## id argument 191 #define _MK_IRQ_ELEMENT_NAME(func, id) __MK_ISR_ELEMENT_NAME(func, id) argument 192 #define __MK_IRQ_ELEMENT_NAME(func, id) __irq_table_entry_ ## func ## _irq_ ## id argument 203 #define _Z_ISR_TABLE_ENTRY(irq, func, param, sect) \ argument 206 __used _MK_ISR_ELEMENT_NAME(func, __COUNTER__) = { \ 208 .isr = (void (*)(const void *))(void *)(func) \ 211 #define Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument 212 _Z_ISR_DECLARE_C(irq, flags, func, param, counter) [all …]
|
/Zephyr-latest/subsys/sd/ |
D | sdio.c | 88 enum sdio_func_num func, in sdio_io_rw_direct() argument 97 cmd.arg = (func << SDIO_CMD_ARG_FUNC_NUM_SHIFT) | in sdio_io_rw_direct() 126 enum sdio_func_num func, in sdio_io_rw_extended() argument 137 cmd.arg = (func << SDIO_CMD_ARG_FUNC_NUM_SHIFT) | in sdio_io_rw_extended() 163 static int sdio_io_rw_extended_helper(struct sdio_func *func, in sdio_io_rw_extended_helper() argument 174 if (func->num > SDIO_MAX_IO_NUMS) { in sdio_io_rw_extended_helper() 178 if ((func->card->cccr_flags & SDIO_SUPPORT_MULTIBLOCK) && in sdio_io_rw_extended_helper() 179 ((len > func->block_size))) { in sdio_io_rw_extended_helper() 181 while (remaining >= func->block_size) { in sdio_io_rw_extended_helper() 182 blocks = remaining / func->block_size; in sdio_io_rw_extended_helper() [all …]
|
/Zephyr-latest/include/zephyr/sd/ |
D | sdio.h | 35 int sdio_init_func(struct sd_card *card, struct sdio_func *func, 48 int sdio_enable_func(struct sdio_func *func); 61 int sdio_set_block_size(struct sdio_func *func, uint16_t bsize); 75 int sdio_read_byte(struct sdio_func *func, uint32_t reg, uint8_t *val); 89 int sdio_write_byte(struct sdio_func *func, uint32_t reg, uint8_t write_val); 104 int sdio_rw_byte(struct sdio_func *func, uint32_t reg, uint8_t write_val, 121 int sdio_read_fifo(struct sdio_func *func, uint32_t reg, uint8_t *data, 138 int sdio_write_fifo(struct sdio_func *func, uint32_t reg, uint8_t *data, 155 int sdio_read_blocks_fifo(struct sdio_func *func, uint32_t reg, uint8_t *data, 172 int sdio_write_blocks_fifo(struct sdio_func *func, uint32_t reg, uint8_t *data, [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap.c | 81 .func = btp_ascs_supported_commands, 86 .func = btp_ascs_configure_codec, 91 .func = btp_ascs_configure_qos, 96 .func = btp_ascs_enable, 101 .func = btp_ascs_receiver_start_ready, 106 .func = btp_ascs_receiver_stop_ready, 111 .func = btp_ascs_disable, 116 .func = btp_ascs_release, 121 .func = btp_ascs_update_metadata, 126 .func = btp_ascs_add_ase_to_cis, [all …]
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_ene_kb1200.c | 60 static int kb1200_config_pin(uint32_t gpio, uint32_t conf, uint32_t func) in kb1200_config_pin() argument 71 if (func == PINMUX_FUNC_GPIO) { /* only GPIO function */ in kb1200_config_pin() 74 func -= 1; /*for change to GPIOALT setting value*/ in kb1200_config_pin() 77 WRITE_BIT(gcfg_regs->GPIOALT, 0, func); in kb1200_config_pin() 80 gcfg_regs->GPIOMUX = (gcfg_regs->GPIOMUX & ~(3 << 9)) | (func << 9); in kb1200_config_pin() 83 gcfg_regs->GPIOMUX = (gcfg_regs->GPIOMUX & ~(3 << 9)) | (func << 9); in kb1200_config_pin() 86 WRITE_BIT(gcfg_regs->GPIOALT, 1, func); in kb1200_config_pin() 89 WRITE_BIT(gcfg_regs->GPIOALT, 2, func); in kb1200_config_pin() 92 WRITE_BIT(gcfg_regs->GPIOALT, 3, func); in kb1200_config_pin() 95 WRITE_BIT(gcfg_regs->GPIOALT, 4, func); in kb1200_config_pin() [all …]
|
D | pinctrl_cc13xx_cc26xx.c | 11 static int pinctrl_c13xx_cc26xx_set(uint32_t pin, uint32_t func, uint32_t mode) in pinctrl_c13xx_cc26xx_set() argument 13 if (pin >= NUM_IO_MAX || func >= NUM_IO_PORTS) { in pinctrl_c13xx_cc26xx_set() 17 IOCPortConfigureSet(pin, func, mode); in pinctrl_c13xx_cc26xx_set()
|
/Zephyr-latest/drivers/dma/ |
D | dma_stm32_v2.c | 46 static const dma_stm32_clear_flag_func func[] = { in dma_stm32_clear_ht() local 65 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in dma_stm32_clear_ht() 67 func[id](DMAx); in dma_stm32_clear_ht() 72 static const dma_stm32_clear_flag_func func[] = { in dma_stm32_clear_tc() local 91 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in dma_stm32_clear_tc() 93 func[id](DMAx); in dma_stm32_clear_tc() 98 static const dma_stm32_check_flag_func func[] = { in dma_stm32_is_ht_active() local 117 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in dma_stm32_is_ht_active() 119 return func[id](DMAx); in dma_stm32_is_ht_active() 124 static const dma_stm32_check_flag_func func[] = { in dma_stm32_is_tc_active() local [all …]
|
D | dma_stm32_v1.c | 60 static const dma_stm32_clear_flag_func func[] = { in dma_stm32_clear_ht() local 71 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in dma_stm32_clear_ht() 73 func[id](DMAx); in dma_stm32_clear_ht() 78 static const dma_stm32_clear_flag_func func[] = { in dma_stm32_clear_tc() local 89 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in dma_stm32_clear_tc() 91 func[id](DMAx); in dma_stm32_clear_tc() 96 static const dma_stm32_check_flag_func func[] = { in dma_stm32_is_ht_active() local 107 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in dma_stm32_is_ht_active() 109 return func[id](DMAx); in dma_stm32_is_ht_active() 114 static const dma_stm32_check_flag_func func[] = { in dma_stm32_is_tc_active() local [all …]
|
/Zephyr-latest/soc/ite/ec/it8xxx2/ |
D | __arithmetic.S | 19 .macro __int_arithmetic func opcode 20 .section SECTION\func 22 .globl \func 23 .type \func, @function 24 \func: 28 .size \func, .-\func
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | netusb.c | 24 const struct netusb_function *func; member 40 ret = netusb.func->send_pkt(pkt); in netusb_send() 72 if (!netusb.func->connect_media) { in netusb_connect_media() 76 return netusb.func->connect_media(true); in netusb_connect_media() 88 if (!netusb.func->connect_media) { in netusb_disconnect_media() 92 return netusb.func->connect_media(false); in netusb_disconnect_media() 95 void netusb_enable(const struct netusb_function *func) in netusb_enable() argument 99 netusb.func = func; in netusb_enable() 113 netusb.func = NULL; in netusb_disable() 121 return !!netusb.func; in netusb_enabled()
|
/Zephyr-latest/scripts/build/ |
D | gen_isr_tables_parser_carrays.py | 140 for irq, flags, func, param in intlist["interrupts"]: 152 vt[irq - offset] = func 167 if (param, func) in lst: 178 swt[table_index].append((param, func)) 187 func = self.__vt[i] 189 if func is None: 190 func = self.__config.vt_default_handler 192 if isinstance(func, int): 193 func_as_string = self.__config.get_sym_from_addr(func) 195 func_as_string = func [all …]
|
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_mock.h | 36 #define ztest_expect_value(func, param, value) \ argument 37 z_ztest_expect_value(STRINGIFY(func), STRINGIFY(param), \ 67 #define ztest_expect_data(func, param, data) \ argument 68 z_ztest_expect_data(STRINGIFY(func), STRINGIFY(param), (void *)(data)) 97 #define ztest_return_data(func, param, data) \ argument 98 z_ztest_return_data(STRINGIFY(func), STRINGIFY(param), (void *)(data)) 119 #define ztest_returns_value(func, value) \ argument 120 z_ztest_returns_value(STRINGIFY(func), (uintptr_t)(value))
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | stepper.rst | 11 - Configure **micro-stepping resolution** using :c:func:`stepper_set_micro_step_res` 12 and :c:func:`stepper_get_micro_step_res`. 13 - Configure **reference position** in microsteps using :c:func:`stepper_set_reference_position` 14 and :c:func:`stepper_get_actual_position`. 15 - Set **max velocity** in micro-steps per second using :c:func:`stepper_set_max_velocity` 16 - **Enable** the stepper driver using :c:func:`stepper_enable`. 21 - **Move by** +/- micro-steps also known as **relative movement** using :c:func:`stepper_move_by`. 22 - **Move to** a specific position also known as **absolute movement** using :c:func:`stepper_move_t… 24 a stop is detected using :c:func:`stepper_run`. 25 - Check if the stepper is **moving** using :c:func:`stepper_is_moving`. [all …]
|
/Zephyr-latest/kernel/ |
D | init_static.c | 80 for (func_ptr *func = __zephyr_init_array_start; in __do_init_array_aux() local 81 func < __zephyr_init_array_end; in __do_init_array_aux() 82 func++) { in __do_init_array_aux() 83 (*func)(); in __do_init_array_aux()
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_axp192.c | 181 int mfd_axp192_gpio_func_get(const struct device *dev, uint8_t gpio, enum axp192_gpio_func *func) in mfd_axp192_gpio_func_get() argument 208 *func = AXP192_GPIO_FUNC_INPUT; in mfd_axp192_gpio_func_get() 211 *func = AXP192_GPIO_FUNC_OUTPUT_OD; in mfd_axp192_gpio_func_get() 214 *func = AXP192_GPIO_FUNC_OUTPUT_LOW; in mfd_axp192_gpio_func_get() 219 *func = AXP192_GPIO_FUNC_LDO; in mfd_axp192_gpio_func_get() 225 *func = AXP192_GPIO_FUNC_ADC; in mfd_axp192_gpio_func_get() 228 *func = AXP192_GPIO_FUNC_FLOAT; in mfd_axp192_gpio_func_get() 240 *func = AXP192_GPIO_FUNC_INPUT; in mfd_axp192_gpio_func_get() 243 *func = AXP192_GPIO_FUNC_OUTPUT_OD; in mfd_axp192_gpio_func_get() 246 *func = AXP192_GPIO_FUNC_CHARGE_CTL; in mfd_axp192_gpio_func_get() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/ |
D | gatt_client_test.c | 164 discover_params.func = discover_func; in gatt_discover() 298 .func = write_cb, in enable_robust_caching() 374 db_hash_read.func = gatt_read_expect_success_cb; in test_main_db_hash_read_eatt() 379 chan_1_read.func = gatt_read_expect_success_cb; in test_main_db_hash_read_eatt() 380 chan_2_read.func = gatt_read_expect_success_cb; in test_main_db_hash_read_eatt() 398 chan_1_read.func = gatt_read_expect_err_out_of_sync_cb; in test_main_out_of_sync_eatt() 399 chan_2_read.func = gatt_read_expect_err_out_of_sync_cb; in test_main_out_of_sync_eatt() 411 db_hash_read.func = gatt_read_expect_success_cb; in test_main_out_of_sync_eatt() 416 chan_1_read.func = gatt_read_expect_success_cb; in test_main_out_of_sync_eatt() 417 chan_2_read.func = gatt_read_expect_success_cb; in test_main_out_of_sync_eatt() [all …]
|
/Zephyr-latest/include/zephyr/drivers/mfd/ |
D | axp192.h | 38 #define AXP192_GPIO_FUNC_VALID(func) (func < AXP192_GPIO_FUNC_INVALID) argument 79 uint8_t gpio, enum axp192_gpio_func func); 91 int mfd_axp192_gpio_func_get(const struct device *dev, uint8_t gpio, enum axp192_gpio_func *func);
|
/Zephyr-latest/soc/atmel/sam0/common/ |
D | soc_port.c | 16 int soc_port_pinmux_set(PortGroup *pg, uint32_t pin, uint32_t func) in soc_port_pinmux_set() argument 26 pg->PMUX[idx].bit.PMUXO = func; in soc_port_pinmux_set() 28 pg->PMUX[idx].bit.PMUXE = func; in soc_port_pinmux_set() 39 uint32_t func = (pin->flags & SOC_PORT_FUNC_MASK) >> SOC_PORT_FUNC_POS; in soc_port_configure() local 48 soc_port_pinmux_set(pg, pin->pinum, func); in soc_port_configure()
|
/Zephyr-latest/doc/services/storage/fcb/ |
D | fcb.rst | 43 - Call :c:func:`fcb_append` to get the location where data can be written. If 44 this fails due to lack of space, you can call :c:func:`fcb_rotate` to erase 46 :c:func:`fcb_append` again. 47 - Use :c:func:`flash_area_write` to write entry contents. 48 - Call :c:func:`fcb_append_finish` when done. This completes the writing of the 53 - Call :c:func:`fcb_walk` with a pointer to your callback function. 55 :c:func:`flash_area_read`. You can tell when all data from within a sector 57 can call :c:func:`fcb_rotate`, if you're done with that data. 61 - Call :c:func:`fcb_getnext` with 0 in entry offset to get the pointer to 63 - Use :c:func:`flash_area_read` to read entry contents. [all …]
|
/Zephyr-latest/doc/kernel/timing_functions/ |
D | index.rst | 24 1. Call :c:func:`timing_init` to initialize the timer. 26 2. Call :c:func:`timing_start` to signal the start of gathering of 29 3. Call :c:func:`timing_counter_get` to mark the start of code 32 4. Call :c:func:`timing_counter_get` to mark the end of code 35 5. Call :c:func:`timing_cycles_get` to get the number of timer cycles 38 6. Call :c:func:`timing_cycles_to_ns` with total number of cycles 44 8. Call :c:func:`timing_stop` to signal the end of gathering of
|
/Zephyr-latest/lib/libc/common/source/thrd/ |
D | once.c | 13 void call_once(once_flag *flag, void (*func)(void)) in call_once() 15 (void)pthread_once((pthread_once_t *)flag, func); in call_once()
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 48 for func in func_trace: 49 if prev_func != func: 50 prev_func = func 51 line += ";" + func
|
/Zephyr-latest/samples/drivers/led/is31fl3733/ |
D | README.rst | 13 - Set all LEDs to full brightness with :c:func:`led_write_channels` API 14 - Disable upper quadrant of LED array with :c:func:`led_write_channels` API 15 - Dim each LED in sequence using :c:func:`led_set_brightness` API 16 - Toggle each LED in sequency using :c:func:`led_on` and :c:func:`led_of` APIs 17 - Toggle between low or high current limit using :c:func:`is31fl3733_current_limit`
|