Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/renesas/
Dpinctrl-rcar-common.h25 #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/
Dtracing_macros.h13 #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/
Dsw_isr_table.h145 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/
Dsdio.c88 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/
Dsdio.h35 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/
Dbtp_bap.c81 .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/
Dpinctrl_ene_kb1200.c60 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 …]
Dpinctrl_cc13xx_cc26xx.c11 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/
Ddma_stm32_v2.c46 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 …]
Ddma_stm32_v1.c60 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.S19 .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/
Dnetusb.c24 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/
Dgen_isr_tables_parser_carrays.py140 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/
Dztest_mock.h36 #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/
Dstepper.rst11 - 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/
Dinit_static.c80 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/
Dmfd_axp192.c181 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/
Dgatt_client_test.c164 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/
Daxp192.h38 #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/
Dsoc_port.c16 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/
Dfcb.rst43 - 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/
Dindex.rst24 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/
Donce.c13 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/
Dstackcollapse.py48 for func in func_trace:
49 if prev_func != func:
50 prev_func = func
51 line += ";" + func
/Zephyr-latest/samples/drivers/led/is31fl3733/
DREADME.rst13 - 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`

12345678910>>...20