Searched refs:channel_data (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/drivers/dma/ |
D | dma_xilinx_axi_dma.c | 365 dma_xilinx_axi_dma_acknowledge_interrupt(struct dma_xilinx_axi_dma_channel *channel_data) in dma_xilinx_axi_dma_acknowledge_interrupt() argument 370 uint32_t dmacr = dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmacr); in dma_xilinx_axi_dma_acknowledge_interrupt() 372 dma_xilinx_axi_dma_write_reg(&channel_data->channel_regs->dmacr, dmacr); in dma_xilinx_axi_dma_acknowledge_interrupt() 379 const struct dma_xilinx_axi_dma_channel *channel_data, in dma_xilinx_axi_dma_channel_has_error() argument 385 if (dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmasr) & in dma_xilinx_axi_dma_channel_has_error() 388 dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmasr)); in dma_xilinx_axi_dma_channel_has_error() 392 if (dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmasr) & in dma_xilinx_axi_dma_channel_has_error() 395 dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmasr)); in dma_xilinx_axi_dma_channel_has_error() 399 if (dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmasr) & in dma_xilinx_axi_dma_channel_has_error() 402 dma_xilinx_axi_dma_read_reg(&channel_data->channel_regs->dmasr)); in dma_xilinx_axi_dma_channel_has_error() [all …]
|
D | dma_si32.c | 45 struct dma_si32_channel_data channel_data[CHANNEL_COUNT]; member 60 const dma_callback_t cb = dma_si32_data.channel_data[channel].callback; in dma_si32_isr_handler() 61 void *user_data = dma_si32_data.channel_data[channel].callback_user_data; in dma_si32_isr_handler() 134 struct dma_si32_channel_data *channel_data; in dma_si32_config() local 224 channel_data = &dma_si32_data.channel_data[channel]; in dma_si32_config() 225 channel_data->callback = cfg->dma_callback; in dma_si32_config() 226 channel_data->callback_user_data = cfg->user_data; in dma_si32_config() 291 channel_data->tmd = SI32_DMADESC_A_CONFIG_TMD_AUTO_REQUEST_VALUE; in dma_si32_config() 292 channel_data->memory_to_memory = 1; in dma_si32_config() 300 channel_data->tmd = SI32_DMADESC_A_CONFIG_TMD_BASIC_VALUE; in dma_si32_config() [all …]
|
D | dma_smartbond.c | 161 struct dma_channel_data channel_data[DMA_CHANNELS_COUNT]; member 516 data->channel_data[channel].cb = cfg->dma_callback; in dma_smartbond_config() 517 data->channel_data[channel].user_data = cfg->user_data; in dma_smartbond_config() 522 data->channel_data[channel].cb = NULL; in dma_smartbond_config() 523 data->channel_data[channel].user_data = NULL; in dma_smartbond_config() 526 data->channel_data[channel].dir = cfg->channel_direction; in dma_smartbond_config() 545 data->channel_data[channel].burst_len = cfg->source_burst_length; in dma_smartbond_config() 553 data->channel_data[channel].bus_width = cfg->source_data_size; in dma_smartbond_config() 645 data->channel_data[channel].is_dma_configured = true; in dma_smartbond_config() 663 if (!data->channel_data[channel].is_dma_configured) { in dma_smartbond_reload() [all …]
|
D | dma_mcux_lpc.c | 36 struct channel_data { struct 59 struct channel_data *channel_data; argument 74 ((struct channel_data *)(&(((struct dma_mcux_lpc_dma_data *)dev->data)->channel_data[ch]))) 85 struct channel_data *data = (struct channel_data *)param; in nxp_lpc_dma_callback() 139 static int dma_mcux_lpc_queue_descriptors(struct channel_data *data, in dma_mcux_lpc_queue_descriptors() 312 static void dma_mcux_lpc_clear_channel_data(struct channel_data *data) in dma_mcux_lpc_clear_channel_data() 331 struct channel_data *data; in dma_mcux_lpc_configure() 734 struct channel_data *data = DEV_CHANNEL_DATA(dev, virtual_channel); in dma_mcux_lpc_start() 747 struct channel_data *data = DEV_CHANNEL_DATA(dev, virtual_channel); in dma_mcux_lpc_stop() 764 struct channel_data *data = DEV_CHANNEL_DATA(dev, virtual_channel); in dma_mcux_lpc_reload() [all …]
|
D | dma_dw.c | 104 .channel_data = &dmac##inst, \
|
D | dma_intel_lpss.c | 161 .channel_data = &dma_intel_lpss##n, \
|
D | dma_dw_common.h | 248 struct dw_drv_plat_data *channel_data; member
|
D | dma_intel_adsp_gpdma.c | 540 .channel_data = &dmac##inst, \
|
D | dma_dw_common.c | 360 lli_desc->ctrl_hi |= DW_CTLH_CLASS(dev_data->channel_data->chan[channel].class) | in dw_dma_config()
|
/Zephyr-latest/drivers/input/ |
D | input_esp32_touch_sensor.c | 62 struct esp32_touch_sensor_channel_data *channel_data; member 130 *channel_data = &dev_cfg->channel_data[i]; local 132 channel_data->status = channel_status; 133 (void)k_work_reschedule(&channel_data->work, 158 struct esp32_touch_sensor_channel_data *channel_data = local 160 const struct device *dev = channel_data->dev; 162 int key_index = channel_data - &dev_cfg->channel_data[0]; 167 if (channel_data->last_status != channel_data->status) { 170 channel_data->status, true, K_FOREVER); 172 channel_data->last_status = channel_data->status; [all …]
|
D | input_analog_axis.c | 39 struct analog_axis_channel_data *channel_data; member 187 struct analog_axis_channel_data *axis_data = &cfg->channel_data[i]; in analog_axis_loop() 363 .channel_data = analog_axis_channel_data_##inst, \
|