Searched refs:ch_data (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/counter/ |
D | counter_nxp_s32_sys_timer.c | 59 struct nxp_s32_sys_timer_chan_data ch_data[SYS_TIMER_NUM_CHANNELS]; member 118 struct nxp_s32_sys_timer_chan_data *ch_data = &data->ch_data[channel]; in stm_set_alarm() local 169 ch_data->callback = NULL; in stm_set_alarm() 180 struct nxp_s32_sys_timer_chan_data *ch_data = NULL; in stm_isr() local 194 ch_data = &data->ch_data[channel]; in stm_isr() 195 if (ch_data->callback) { in stm_isr() 196 cb = ch_data->callback; in stm_isr() 197 cb_args = ch_data->user_data; in stm_isr() 198 ch_data->callback = NULL; in stm_isr() 199 ch_data->user_data = NULL; in stm_isr() [all …]
|
D | counter_rpi_pico_timer.c | 29 struct counter_rpi_pico_timer_ch_data *ch_data; member 80 struct counter_rpi_pico_timer_ch_data *chdata = &data->ch_data[id]; in counter_rpi_pico_timer_set_alarm() 115 struct counter_rpi_pico_timer_ch_data *chdata = &data->ch_data[id]; in counter_rpi_pico_timer_cancel_alarm() 162 counter_alarm_callback_t cb = data->ch_data[ch].callback; in counter_rpi_pico_irq_handle() 163 void *user_data = data->ch_data[ch].user_data; in counter_rpi_pico_irq_handle() 166 data->ch_data[ch].callback = NULL; in counter_rpi_pico_irq_handle() 167 data->ch_data[ch].user_data = NULL; in counter_rpi_pico_irq_handle() 221 ch_data##inst[DT_NUM_IRQS(DT_DRV_INST(inst))]; \ 223 .ch_data = ch_data##inst, \ 233 .channels = ARRAY_SIZE(ch_data##inst), \
|
D | counter_andes_atcpit100.c | 69 struct counter_atcpit100_ch_data ch_data[CH_NUM_PER_COUNTER]; member 119 cb = data->ch_data[i].alarm_callback; in atcpit100_irq_handler() 120 data->ch_data[i].alarm_callback = NULL; in atcpit100_irq_handler() 122 cb(dev, i, cur_ticks, data->ch_data[i].alarm_user_data); in atcpit100_irq_handler() 235 if (data->ch_data[chan_id].alarm_callback) { in atcpit100_set_alarm() 252 data->ch_data[chan_id].alarm_callback = alarm_cfg->callback; in atcpit100_set_alarm() 253 data->ch_data[chan_id].alarm_user_data = alarm_cfg->user_data; in atcpit100_set_alarm() 275 data->ch_data[chan_id].alarm_callback = NULL; in atcpit100_set_alarm() 337 data->ch_data[chan_id].alarm_callback = NULL; in atcpit100_cancel_alarm() 355 if (data->ch_data[i].alarm_callback) { in atcpit100_set_top_value()
|
D | counter_max32_timer.c | 32 struct max32_tmr_ch_data *ch_data; member 145 config->ch_data[id].callback = NULL; in set_cc() 158 struct max32_tmr_ch_data *chdata = &cfg->ch_data[chan]; in api_set_alarm() 182 cfg->ch_data[chan].callback = NULL; in api_cancel_alarm() 216 chdata = &cfg->ch_data[id]; in max32_alarm_irq_handle() 337 .ch_data = counter##_num##_ch_data, \
|
D | counter_nrfx_timer.c | 49 struct counter_nrfx_ch_data *ch_data; member 204 config->ch_data[id].callback = NULL; in set_cc() 217 struct counter_nrfx_ch_data *chdata = &nrfx_config->ch_data[chan]; in set_alarm() 239 config->ch_data[chan_id].callback = NULL; in cancel_alarm() 255 if (nrfx_config->ch_data[i].callback) { in set_top_value() 370 chdata = &config->ch_data[id]; in alarm_irq_handle() 464 .ch_data = counter##idx##_ch_data, \
|
D | counter_ll_stm32_timer.c | 104 struct counter_stm32_ch_data *ch_data; member 257 config->ch_data[id].callback = NULL; in counter_stm32_set_cc() 270 struct counter_stm32_ch_data *chdata = &config->ch_data[chan]; in counter_stm32_set_alarm() 291 config->ch_data[chan].callback = NULL; in counter_stm32_cancel_alarm() 308 if (config->ch_data[i].callback) { in counter_stm32_set_top_value() 562 chdata = &config->ch_data[id]; in counter_stm32_alarm_irq_handle() 659 .ch_data = counter##idx##_ch_data, \
|
D | counter_nrfx_rtc.c | 72 struct counter_nrfx_ch_data *ch_data; member 318 config->ch_data[chan].callback = NULL; in set_cc() 340 struct counter_nrfx_ch_data *chdata = &nrfx_config->ch_data[chan]; in set_channel_alarm() 365 config->ch_data[chan].callback = NULL; in disable() 501 if (nrfx_config->ch_data[i].callback) { in set_top_value() 650 chdata = &config->ch_data[chan]; in alarm_irq_handle() 737 .ch_data = counter##idx##_ch_data, \
|
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/ |
D | fdc2x1x.c | 636 double ch_data; in fdc2x1x_channel_get() local 640 fdc2x1x_raw_to_freq(dev, 0, &ch_data); in fdc2x1x_channel_get() 641 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get() 642 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get() 646 fdc2x1x_raw_to_freq(dev, 1, &ch_data); in fdc2x1x_channel_get() 647 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get() 648 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get() 656 fdc2x1x_raw_to_freq(dev, 2, &ch_data); in fdc2x1x_channel_get() 657 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get() 658 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get() [all …]
|
/Zephyr-latest/drivers/dma/ |
D | dma_andes_atcdmac300.c | 153 struct dma_chan_data *ch_data; in dma_atcdmac300_isr() local 169 ch_data = &data->chan[channel]; in dma_atcdmac300_isr() 170 if (ch_data->blkcallback) { in dma_atcdmac300_isr() 171 ch_data->blkcallback(dev, ch_data->blkuser_data, channel, 0); in dma_atcdmac300_isr() 182 ch_data = &data->chan[channel]; in dma_atcdmac300_isr() 183 if (ch_data->blkcallback) { in dma_atcdmac300_isr() 184 ch_data->blkcallback(dev, ch_data->blkuser_data, channel, -EIO); in dma_atcdmac300_isr()
|