Home
last modified time | relevance | path

Searched defs:ch (Results 1 – 25 of 104) sorted by relevance

12345

/Zephyr-Core-3.6.0/drivers/dma/
Ddma_gd32.c46 #define DMA_CHCTL(dma, ch) REG32((dma + 0x08UL) + 0x14UL * (uint32_t)(ch)) argument
47 #define DMA_CHCNT(dma, ch) REG32((dma + 0x0CUL) + 0x14UL * (uint32_t)(ch)) argument
48 #define DMA_CHPADDR(dma, ch) REG32((dma + 0x10UL) + 0x14UL * (uint32_t)(ch)) argument
49 #define DMA_CHMADDR(dma, ch) REG32((dma + 0x14UL) + 0x14UL * (uint32_t)(ch)) argument
54 #define GD32_DMA_CHCTL(dma, ch) DMA_CHCTL((dma), (ch)) argument
55 #define GD32_DMA_CHCNT(dma, ch) DMA_CHCNT((dma), (ch)) argument
56 #define GD32_DMA_CHPADDR(dma, ch) DMA_CHPADDR((dma), (ch)) argument
57 #define GD32_DMA_CHMADDR(dma, ch) DMA_CHMADDR((dma), (ch)) argument
95 gd32_dma_periph_increase_enable(uint32_t reg, dma_channel_enum ch) in gd32_dma_periph_increase_enable()
101 gd32_dma_periph_increase_disable(uint32_t reg, dma_channel_enum ch) in gd32_dma_periph_increase_disable()
[all …]
Ddma_andes_atcdmac300.c27 #define DMA_CH_OFFSET(ch) (ch * 0x20) argument
28 #define DMA_CH_CTRL(dev, ch) \ argument
30 #define DMA_CH_TRANSIZE(dev, ch) \ argument
32 #define DMA_CH_SRC_ADDR_L(dev, ch) \ argument
34 #define DMA_CH_SRC_ADDR_H(dev, ch) \ argument
36 #define DMA_CH_DST_ADDR_L(dev, ch) \ argument
38 #define DMA_CH_DST_ADDR_H(dev, ch) \ argument
40 #define DMA_CH_LL_PTR_L(dev, ch) \ argument
42 #define DMA_CH_LL_PTR_H(dev, ch) \ argument
106 #define DMA_INT_STATUS_CH_MSK(ch) (0x111 << ch) argument
Ddma_rpi_pico.c201 static int dma_rpi_pico_reload(const struct device *dev, uint32_t ch, uint32_t src, uint32_t dst, in dma_rpi_pico_reload()
226 static int dma_rpi_pico_start(const struct device *dev, uint32_t ch) in dma_rpi_pico_start()
246 static int dma_rpi_pico_stop(const struct device *dev, uint32_t ch) in dma_rpi_pico_stop()
269 static int dma_rpi_pico_get_status(const struct device *dev, uint32_t ch, struct dma_status *stat) in dma_rpi_pico_get_status()
286 static bool dma_rpi_pico_api_chan_filter(const struct device *dev, int ch, void *filter_param) in dma_rpi_pico_api_chan_filter()
/Zephyr-Core-3.6.0/drivers/ipm/
Dipm_stm32_ipcc.c38 #define IPCC_EnableReceiveChannel(hipcc, ch) \ argument
40 #define IPCC_EnableTransmitChannel(hipcc, ch) \ argument
42 #define IPCC_DisableReceiveChannel(hipcc, ch) \ argument
44 #define IPCC_DisableTransmitChannel(hipcc, ch) \ argument
47 #define IPCC_ClearFlag_CHx(hipcc, ch) LL_C1_IPCC_ClearFlag_CHx(hipcc, 1 << ch) argument
48 #define IPCC_SetFlag_CHx(hipcc, ch) LL_C1_IPCC_SetFlag_CHx(hipcc, 1 << ch) argument
50 #define IPCC_IsActiveFlag_CHx(hipcc, ch) \ argument
66 #define IPCC_EnableReceiveChannel(hipcc, ch) \ argument
68 #define IPCC_EnableTransmitChannel(hipcc, ch) \ argument
70 #define IPCC_DisableReceiveChannel(hipcc, ch) \ argument
[all …]
/Zephyr-Core-3.6.0/subsys/debug/gdbstub/
Dgdbstub_backend_serial.c43 void z_gdb_putchar(unsigned char ch) in z_gdb_putchar()
50 unsigned char ch; in z_gdb_getchar() local
/Zephyr-Core-3.6.0/subsys/settings/src/
Dsettings.c51 struct settings_handler *ch; in settings_register() local
168 struct settings_handler *ch; in settings_parse_and_lookup() local
210 struct settings_handler_static *ch; in settings_call_set_handler() local
257 struct settings_handler *ch; in settings_commit_subtree() local
Dsettings_runtime.c28 struct settings_handler_static *ch; in settings_runtime_set() local
44 struct settings_handler_static *ch; in settings_runtime_get() local
61 struct settings_handler_static *ch; in settings_runtime_commit() local
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Demul_sensor.h71 static inline int emul_sensor_backend_set_channel(const struct emul *target, enum sensor_channel ch, in emul_sensor_backend_set_channel()
104 enum sensor_channel ch, q31_t *lower, in emul_sensor_backend_get_sample_range()
130 enum sensor_channel ch, in emul_sensor_backend_set_attribute()
164 enum sensor_channel ch, in emul_sensor_backend_get_attribute_metadata()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/open_close/src/
Dbs_sync.c55 void bs_bc_receive_msg_sync(uint ch, size_t size, uint8_t *data) in bs_bc_receive_msg_sync()
63 void bs_bc_send_uint(uint ch, uint64_t data) in bs_bc_send_uint()
71 uint64_t bs_bc_recv_uint(uint ch) in bs_bc_recv_uint()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/long_read/
Dbs_sync.c55 void bs_bc_receive_msg_sync(uint ch, size_t size, uint8_t *data) in bs_bc_receive_msg_sync()
63 void bs_bc_send_uint(uint ch, uint64_t data) in bs_bc_send_uint()
71 uint64_t bs_bc_recv_uint(uint ch) in bs_bc_recv_uint()
/Zephyr-Core-3.6.0/drivers/sensor/qdec_mcux/
Dqdec_mcux.c42 static int qdec_mcux_attr_set(const struct device *dev, enum sensor_channel ch, in qdec_mcux_attr_set()
71 static int qdec_mcux_attr_get(const struct device *dev, enum sensor_channel ch, in qdec_mcux_attr_get()
93 static int qdec_mcux_fetch(const struct device *dev, enum sensor_channel ch) in qdec_mcux_fetch()
110 static int qdec_mcux_ch_get(const struct device *dev, enum sensor_channel ch, in qdec_mcux_ch_get()
/Zephyr-Core-3.6.0/drivers/mbox/
Dmbox_andes_plic_sw.c63 static inline bool is_channel_valid(const struct device *dev, uint32_t ch) in is_channel_valid()
70 static int mbox_andes_send(const struct device *dev, uint32_t ch, in mbox_andes_send()
87 static int mbox_andes_register_callback(const struct device *dev, uint32_t ch, in mbox_andes_register_callback()
131 static int mbox_andes_set_enabled(const struct device *dev, uint32_t ch, in mbox_andes_set_enabled()
181 uint32_t irq, ch, hartid; in andes_plic_sw_irq_handler() local
Dmbox_nrfx_ipc.c34 static inline bool is_rx_channel_valid(const struct device *dev, uint32_t ch) in is_rx_channel_valid()
41 static inline bool is_tx_channel_valid(const struct device *dev, uint32_t ch) in is_tx_channel_valid()
164 for (size_t ch = 0; ch < IPC_CONF_NUM; ch++) { in enable_dt_channels() local
/Zephyr-Core-3.6.0/drivers/interrupt_controller/
Dintc_sam0_eic_priv.h693 uint8_t ch = sam0_eic_channels[port][pin]; in sam0_eic_map_to_line() local
/Zephyr-Core-3.6.0/tests/drivers/build_all/sensor/src/
Dgeneric_test.c106 for (enum sensor_channel ch = 0; ch < ARRAY_SIZE(channel_table); ch++) { in run_generic_test() local
158 enum sensor_channel ch = iodev_all_channels[i]; in run_generic_test() local
197 for (int ch = 0; ch < ARRAY_SIZE(channel_table); ch++) { in run_generic_test() local
/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_gd32.c51 #define TIMER_CHCTL2_CHXEN(ch) BIT(4U * (ch)) argument
53 #define TIMER_CHCTL2_CHXP(ch) BIT(1U + (4U * (ch))) argument
55 #define TIMER_CHCTLX_MSK(ch) (0xFU << (8U * (ch))) argument
Dpwm_ite_it8xxx2.c50 int ch = config->channel; in pwm_enable() local
97 int ch = config->channel; in pwm_it8xxx2_set_cycles() local
218 int ch = config->channel; in pwm_it8xxx2_init() local
/Zephyr-Core-3.6.0/lib/posix/options/
Dfnmatch.c51 static inline int foldcase(int ch, int flags) in foldcase()
61 #define FOLDCASE(ch, flags) foldcase((unsigned char)(ch), (flags)) argument
/Zephyr-Core-3.6.0/drivers/sensor/bmi160/
Demul_bmi160.c282 static int bmi160_emul_backend_set_channel(const struct emul *target, enum sensor_channel ch, in bmi160_emul_backend_set_channel()
369 static int bmi160_emul_backend_get_sample_range(const struct emul *target, enum sensor_channel ch, in bmi160_emul_backend_get_sample_range()
443 static int bmi160_emul_backend_set_offset(const struct emul *target, enum sensor_channel ch, in bmi160_emul_backend_set_offset()
513 static int bmi160_emul_backend_set_attribute(const struct emul *target, enum sensor_channel ch, in bmi160_emul_backend_set_attribute()
527 enum sensor_channel ch, in bmi160_emul_backend_get_attribute_metadata()
/Zephyr-Core-3.6.0/drivers/serial/
Duart_rtt.c62 unsigned int ch = config ? config->channel : 0; in uart_rtt_poll_in() local
77 unsigned int ch = config ? config->channel : 0; in uart_rtt_poll_out() local
99 unsigned int ch = cfg ? cfg->channel : 0; in uart_rtt_tx() local
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/disconnect/common/
Dsync.c28 uint *ch; in backchannel_init() local
/Zephyr-Core-3.6.0/drivers/spi/
Dspi_nrfx_common.c13 uint8_t ch; in spi_nrfx_wake_init() local
/Zephyr-Core-3.6.0/drivers/sensor/fdc2x1x/
Dfdc2x1x.c31 uint8_t ch, double *freq) in fdc2x1x_raw_to_freq()
55 uint8_t ch, double freq, double *capacitance) in fdc2x1x_raw_to_capacitance()
315 static int fdc2x1x_set_active_channel(const struct device *dev, uint8_t ch) in fdc2x1x_set_active_channel()
733 int ch; in fdc2x1x_init_config() local
974 #define FDC2X1X_CH_CFG_INIT(ch) \ argument
985 #define FDC2X1X_CHANNEL_BUF_INIT(ch) 0, argument
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/eatt_notif/src/
Dcommon.c40 const uint *ch = bs_open_back_channel(device_nbr, dev_nbrs, channel_nbrs, BACK_CHANNELS); in device_sync_init() local
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/general/src/
Dcommon.c41 uint *ch = bs_open_back_channel(device_nbr, dev_nbrs, channel_nbrs, BACK_CHANNELS); in device_sync_init() local

12345