Home
last modified time | relevance | path

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

12345

/Zephyr-latest/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_mcux_edma.c121 #define DEV_CHANNEL_DATA(dev, ch) \ argument
124 #define DEV_EDMA_HANDLE(dev, ch) \ argument
129 #define DEV_DMAMUX_IDX(dev, ch) (ch / DEV_CFG(dev)->channels_per_mux) argument
131 #define DEV_DMAMUX_CHANNEL(dev, ch) \ argument
156 #define EDMA_HW_TCD_SADDR(dev, ch) (DEV_BASE(dev)->TCD[ch].SADDR) argument
157 #define EDMA_HW_TCD_DADDR(dev, ch) (DEV_BASE(dev)->TCD[ch].DADDR) argument
158 #define EDMA_HW_TCD_BITER(dev, ch) (DEV_BASE(dev)->TCD[ch].BITER_ELINKNO) argument
159 #define EDMA_HW_TCD_CITER(dev, ch) (DEV_BASE(dev)->TCD[ch].CITER_ELINKNO) argument
160 #define EDMA_HW_TCD_CSR(dev, ch) (DEV_BASE(dev)->TCD[ch].CSR) argument
162 #define EDMA_HW_TCD_SADDR(dev, ch) (DEV_BASE(dev)->CH[ch].TCD_SADDR) argument
[all …]
Ddma_rpi_pico.c205 static int dma_rpi_pico_reload(const struct device *dev, uint32_t ch, uint32_t src, uint32_t dst, in dma_rpi_pico_reload()
230 static int dma_rpi_pico_start(const struct device *dev, uint32_t ch) in dma_rpi_pico_start()
250 static int dma_rpi_pico_stop(const struct device *dev, uint32_t ch) in dma_rpi_pico_stop()
273 static int dma_rpi_pico_get_status(const struct device *dev, uint32_t ch, struct dma_status *stat) in dma_rpi_pico_get_status()
290 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-latest/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-latest/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-latest/include/zephyr/drivers/
Demul_sensor.h72 struct sensor_chan_spec ch, const q31_t *value, in emul_sensor_backend_set_channel()
105 struct sensor_chan_spec ch, q31_t *lower, in emul_sensor_backend_get_sample_range()
131 struct sensor_chan_spec ch, in emul_sensor_backend_set_attribute()
165 struct sensor_chan_spec ch, in emul_sensor_backend_get_attribute_metadata()
/Zephyr-latest/subsys/settings/src/
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
Dsettings.c52 struct settings_handler *ch; in settings_register_with_cprio() local
176 struct settings_handler *ch; in settings_parse_and_lookup() local
218 struct settings_handler_static *ch; in settings_call_set_handler() local
292 struct settings_handler *ch; in settings_commit_subtree() local
/Zephyr-latest/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-latest/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-latest/drivers/sensor/nxp/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-latest/drivers/mbox/
Dmbox_andes_plic_sw.c28 static inline bool is_channel_valid(const struct device *dev, uint32_t ch) in is_channel_valid()
35 static int mbox_plic_send(const struct device *dev, uint32_t ch, const struct mbox_msg *msg) in mbox_plic_send()
53 static int mbox_plic_register_callback(const struct device *dev, uint32_t ch, mbox_callback_t cb, in mbox_plic_register_callback()
85 static int mbox_plic_set_enabled(const struct device *dev, uint32_t ch, bool enable) in mbox_plic_set_enabled()
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-latest/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.c56 int ch = config->channel; in pwm_enable() local
104 int ch = config->channel; in pwm_it8xxx2_set_cycles() local
236 int ch = config->channel; in pwm_it8xxx2_init() local
/Zephyr-latest/drivers/interrupt_controller/
Dintc_sam0_eic_priv.h693 uint8_t ch = sam0_eic_channels[port][pin]; in sam0_eic_map_to_line() local
/Zephyr-latest/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-latest/drivers/sensor/bosch/bmi160/
Demul_bmi160.c287 static int bmi160_emul_backend_set_channel(const struct emul *target, struct sensor_chan_spec ch, in bmi160_emul_backend_set_channel()
375 struct sensor_chan_spec ch, q31_t *lower, in bmi160_emul_backend_get_sample_range()
448 static int bmi160_emul_backend_set_offset(const struct emul *target, struct sensor_chan_spec ch, in bmi160_emul_backend_set_offset()
518 static int bmi160_emul_backend_set_attribute(const struct emul *target, struct sensor_chan_spec ch, in bmi160_emul_backend_set_attribute()
532 struct sensor_chan_spec ch, in bmi160_emul_backend_get_attribute_metadata()
/Zephyr-latest/drivers/serial/
Duart_rtt.c60 unsigned int ch = config ? config->channel : 0; in uart_rtt_poll_in() local
75 unsigned int ch = config ? config->channel : 0; in uart_rtt_poll_out() local
97 unsigned int ch = cfg ? cfg->channel : 0; in uart_rtt_tx() local
Duart_wch_usart.c72 static int usart_wch_poll_in(const struct device *dev, unsigned char *ch) in usart_wch_poll_in()
85 static void usart_wch_poll_out(const struct device *dev, unsigned char ch) in usart_wch_poll_out()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/
Dsync.c28 uint *ch; in backchannel_init() local
/Zephyr-latest/tests/bsim/babblekit/src/
Dsync.c27 uint *ch; in bk_sync_init() local
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.c461 static int bma4xx_decoder_get_frame_count(const uint8_t *buffer, struct sensor_chan_spec ch, in bma4xx_decoder_get_frame_count()
492 static int bma4xx_decoder_get_size_info(struct sensor_chan_spec ch, size_t *base_size, in bma4xx_decoder_get_size_info()
512 static int bma4xx_get_shift(struct sensor_chan_spec ch, uint8_t accel_fs, int8_t *shift) in bma4xx_get_shift()
587 static int bma4xx_one_shot_decode(const uint8_t *buffer, struct sensor_chan_spec ch, in bma4xx_one_shot_decode()
654 static int bma4xx_decoder_decode(const uint8_t *buffer, struct sensor_chan_spec ch, in bma4xx_decoder_decode()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_common.c13 uint8_t ch; in spi_nrfx_wake_init() local

12345