/Zephyr-latest/drivers/counter/ |
D | counter_mchp_xec.c | 110 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()
|
D | counter_mcux_gpt.c | 72 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()
|
D | counter_mcux_lpc_rtc.c | 125 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
|
D | counter_mcux_rtc.c | 93 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()
|
D | counter_ambiq_timer.c | 146 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()
|
D | counter_mcux_tpm.c | 75 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()
|
D | counter_xlnx_axi_timer.c | 120 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()
|
D | counter_dw_timer.c | 215 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()
|
D | counter_esp32_tmr.c | 147 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()
|
D | counter_mcux_qtmr.c | 150 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()
|
D | counter_nxp_mrt.c | 181 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()
|
D | counter_sam0_tc32.c | 182 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()
|
D | counter_ifx_cat1.c | 349 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()
|
D | counter_nrfx_timer.c | 233 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()
|
D | counter_timer_shell.c | 32 static void timer_alarm_handler(const struct device *counter_dev, uint8_t chan_id, in timer_alarm_handler() argument
|
D | counter_ll_stm32_rtc.c | 339 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
|
D | counter_nrfx_rtc.c | 368 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/ |
D | dma_nxp_sdma.c | 411 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/ |
D | pcie_ep_iproc.c | 187 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/ |
D | main.c | 67 uint8_t chan_id, uint32_t ticks, in test_counter_interrupt_fn() argument
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | mesh_test.h | 169 uint32_t *chan_id; member
|
/Zephyr-latest/subsys/testsuite/busy_sim/ |
D | busy_sim.c | 103 uint8_t chan_id, uint32_t ticks, in counter_alarm_callback() argument
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_andes_atcwdt200.c | 97 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/ |
D | test_counter.c | 203 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/ |
D | design_guidelines.rst | 57 uint8_t chan_id,
|