Home
last modified time | relevance | path

Searched refs:chan_id (Results 26 – 50 of 51) sorted by relevance

123

/Zephyr-latest/drivers/counter/
Dcounter_mchp_xec.c110 static int counter_xec_set_alarm(const struct device *dev, uint8_t chan_id, in counter_xec_set_alarm() argument
116 if (chan_id != 0) { in counter_xec_set_alarm()
117 LOG_ERR("Invalid channel id %u", chan_id); in counter_xec_set_alarm()
155 static int counter_xec_cancel_alarm(const struct device *dev, uint8_t chan_id) in counter_xec_cancel_alarm() argument
160 if (chan_id != 0) { in counter_xec_cancel_alarm()
161 LOG_ERR("Invalid channel id %u", chan_id); in counter_xec_cancel_alarm()
Dcounter_mcux_gpt.c72 static int mcux_gpt_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_gpt_set_alarm() argument
81 if (chan_id != 0) { in mcux_gpt_set_alarm()
104 static int mcux_gpt_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_gpt_cancel_alarm() argument
109 if (chan_id != 0) { in mcux_gpt_cancel_alarm()
Dcounter_mcux_lpc_rtc.c125 static int mcux_lpc_rtc_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_lpc_rtc_set_alarm() argument
138 if (chan_id != 0U) { in mcux_lpc_rtc_set_alarm()
165 static int mcux_lpc_rtc_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_lpc_rtc_cancel_alarm() argument
169 if (chan_id != 0U) { in mcux_lpc_rtc_cancel_alarm()
330 static int mcux_lpc_rtc_highres_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_lpc_rtc_highres_set_alarm() argument
336 static int mcux_lpc_rtc_highres_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_lpc_rtc_highres_cancel_alarm() argument
Dcounter_mcux_rtc.c93 static int mcux_rtc_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_rtc_set_alarm() argument
106 if (chan_id != 0U) { in mcux_rtc_set_alarm()
133 static int mcux_rtc_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_rtc_cancel_alarm() argument
137 if (chan_id != 0U) { in mcux_rtc_cancel_alarm()
Dcounter_ambiq_timer.c146 static int counter_ambiq_set_alarm(const struct device *dev, uint8_t chan_id, in counter_ambiq_set_alarm() argument
149 ARG_UNUSED(chan_id); in counter_ambiq_set_alarm()
188 static int counter_ambiq_cancel_alarm(const struct device *dev, uint8_t chan_id) in counter_ambiq_cancel_alarm() argument
190 ARG_UNUSED(chan_id); in counter_ambiq_cancel_alarm()
Dcounter_mcux_tpm.c75 static int mcux_tpm_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_tpm_set_alarm() argument
84 if (chan_id != kTPM_Chnl_0) { in mcux_tpm_set_alarm()
114 static int mcux_tpm_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_tpm_cancel_alarm() argument
119 if (chan_id != kTPM_Chnl_0) { in mcux_tpm_cancel_alarm()
Dcounter_xlnx_axi_timer.c120 static int xlnx_axi_timer_set_alarm(const struct device *dev, uint8_t chan_id, in xlnx_axi_timer_set_alarm() argument
127 ARG_UNUSED(chan_id); in xlnx_axi_timer_set_alarm()
172 uint8_t chan_id) in xlnx_axi_timer_cancel_alarm() argument
176 ARG_UNUSED(chan_id); in xlnx_axi_timer_cancel_alarm()
Dcounter_dw_timer.c215 static int counter_dw_timer_set_alarm(const struct device *timer_dev, uint8_t chan_id, in counter_dw_timer_set_alarm() argument
218 ARG_UNUSED(chan_id); in counter_dw_timer_set_alarm()
268 static int counter_dw_timer_cancel_alarm(const struct device *timer_dev, uint8_t chan_id) in counter_dw_timer_cancel_alarm() argument
270 ARG_UNUSED(chan_id); in counter_dw_timer_cancel_alarm()
Dcounter_esp32_tmr.c147 static int counter_esp32_set_alarm(const struct device *dev, uint8_t chan_id, in counter_esp32_set_alarm() argument
150 ARG_UNUSED(chan_id); in counter_esp32_set_alarm()
172 static int counter_esp32_cancel_alarm(const struct device *dev, uint8_t chan_id) in counter_esp32_cancel_alarm() argument
174 ARG_UNUSED(chan_id); in counter_esp32_cancel_alarm()
Dcounter_mcux_qtmr.c150 static int mcux_qtmr_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_qtmr_set_alarm() argument
158 if (chan_id != 0) { in mcux_qtmr_set_alarm()
186 static int mcux_qtmr_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_qtmr_cancel_alarm() argument
191 if (chan_id != 0) { in mcux_qtmr_cancel_alarm()
Dcounter_nxp_mrt.c181 uint8_t chan_id, in nxp_mrt_set_alarm() argument
185 ARG_UNUSED(chan_id); in nxp_mrt_set_alarm()
192 static inline int nxp_mrt_cancel_alarm(const struct device *dev, uint8_t chan_id) in nxp_mrt_cancel_alarm() argument
195 ARG_UNUSED(chan_id); in nxp_mrt_cancel_alarm()
Dcounter_sam0_tc32.c182 uint8_t chan_id, in counter_sam0_tc32_set_alarm() argument
189 ARG_UNUSED(chan_id); in counter_sam0_tc32_set_alarm()
220 uint8_t chan_id) in counter_sam0_tc32_cancel_alarm() argument
228 ARG_UNUSED(chan_id); in counter_sam0_tc32_cancel_alarm()
Dcounter_ifx_cat1.c349 static int ifx_cat1_counter_set_alarm(const struct device *dev, uint8_t chan_id, in ifx_cat1_counter_set_alarm() argument
352 ARG_UNUSED(chan_id); in ifx_cat1_counter_set_alarm()
443 static int ifx_cat1_counter_cancel_alarm(const struct device *dev, uint8_t chan_id) in ifx_cat1_counter_cancel_alarm() argument
445 ARG_UNUSED(chan_id); in ifx_cat1_counter_cancel_alarm()
Dcounter_nrfx_timer.c233 static int cancel_alarm(const struct device *dev, uint8_t chan_id) in cancel_alarm() argument
236 uint32_t int_mask = nrf_timer_compare_int_get(ID_TO_CC(chan_id)); in cancel_alarm()
239 config->ch_data[chan_id].callback = NULL; in cancel_alarm()
Dcounter_timer_shell.c32 static void timer_alarm_handler(const struct device *counter_dev, uint8_t chan_id, in timer_alarm_handler() argument
Dcounter_ll_stm32_rtc.c339 static int rtc_stm32_set_alarm(const struct device *dev, uint8_t chan_id, in rtc_stm32_set_alarm() argument
462 static int rtc_stm32_cancel_alarm(const struct device *dev, uint8_t chan_id) in rtc_stm32_cancel_alarm() argument
Dcounter_nrfx_rtc.c368 static int cancel_alarm(const struct device *dev, uint8_t chan_id) in cancel_alarm() argument
370 disable(dev, chan_id); in cancel_alarm()
/Zephyr-latest/drivers/dma/
Ddma_nxp_sdma.c411 static bool sdma_channel_filter(const struct device *dev, int chan_id, void *param) in sdma_channel_filter() argument
416 if (chan_id == 0) in sdma_channel_filter()
419 if (chan_id >= FSL_FEATURE_SDMA_MODULE_CHANNEL) in sdma_channel_filter()
422 dev_data->chan[chan_id].event_source = *((int *)param); in sdma_channel_filter()
423 dev_data->chan[chan_id].index = chan_id; in sdma_channel_filter()
/Zephyr-latest/drivers/pcie/endpoint/
Dpcie_ep_iproc.c187 uint32_t chan_id; in iproc_pcie_pl330_dma_xfer() local
205 chan_id = cfg->pl330_tx_chan_id; in iproc_pcie_pl330_dma_xfer()
209 chan_id = cfg->pl330_rx_chan_id; in iproc_pcie_pl330_dma_xfer()
212 ret = dma_config(cfg->pl330_dev, chan_id, &dma_cfg); in iproc_pcie_pl330_dma_xfer()
219 ret = dma_start(cfg->pl330_dev, chan_id); in iproc_pcie_pl330_dma_xfer()
/Zephyr-latest/samples/drivers/counter/alarm/src/
Dmain.c67 uint8_t chan_id, uint32_t ticks, in test_counter_interrupt_fn() argument
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dmesh_test.h169 uint32_t *chan_id; member
/Zephyr-latest/subsys/testsuite/busy_sim/
Dbusy_sim.c103 uint8_t chan_id, uint32_t ticks, in counter_alarm_callback() argument
/Zephyr-latest/drivers/watchdog/
Dwdt_andes_atcwdt200.c97 static void wdt_counter_cb(const struct device *counter_dev, uint8_t chan_id, in wdt_counter_cb() argument
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/
Dtest_counter.c203 static void alarm_handler(const struct device *dev, uint8_t chan_id, in alarm_handler() argument
350 static void alarm_handler2(const struct device *dev, uint8_t chan_id, in alarm_handler2() argument
/Zephyr-latest/doc/develop/api/
Ddesign_guidelines.rst57 uint8_t chan_id,

123