Lines Matching defs:ce_id
551 static void ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id,
569 ath12k_hif_get_ce_msi_idx(ab, ce_id, &msi_data_idx);
579 int ce_id, enum hal_ring_type type)
588 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags))
589 ath12k_ce_srng_msi_ring_params_setup(ab, ce_id, ¶ms);
593 if (!(CE_ATTR_DIS_INTR & ab->hw_params->host_ce_config[ce_id].flags))
597 params.max_buffer_len = ab->hw_params->host_ce_config[ce_id].src_sz_max;
598 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) {
605 if (!(ab->hw_params->host_ce_config[ce_id].flags & CE_ATTR_DIS_INTR)) {
617 ret = ath12k_hal_srng_setup(ab, type, ce_id, 0, ¶ms);
620 ret, ce_id);
666 static int ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id)
668 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id];
669 const struct ce_attr *attr = &ab->hw_params->host_ce_config[ce_id];
705 void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id)
707 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id];
1044 int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id)
1046 if (ce_id >= ab->hw_params->ce_count)
1049 return ab->hw_params->host_ce_config[ce_id].flags;