|
@@ -1933,7 +1933,7 @@ int dp_srng_access_start(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
|
uint8_t ring_id;
|
|
uint8_t ring_id;
|
|
|
|
|
|
if (!int_ctx)
|
|
if (!int_ctx)
|
|
- return hal_srng_access_start(hal_soc, hal_ring_hdl);
|
|
|
|
|
|
+ return dp_hal_srng_access_start(hal_soc, hal_ring_hdl);
|
|
|
|
|
|
hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tp, &hp);
|
|
hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tp, &hp);
|
|
ring_id = hal_srng_ring_id_get(hal_ring_hdl);
|
|
ring_id = hal_srng_ring_id_get(hal_ring_hdl);
|
|
@@ -1941,7 +1941,7 @@ int dp_srng_access_start(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
|
hif_record_event(dp_soc->hif_handle, int_ctx->dp_intr_id,
|
|
hif_record_event(dp_soc->hif_handle, int_ctx->dp_intr_id,
|
|
ring_id, hp, tp, HIF_EVENT_SRNG_ACCESS_START);
|
|
ring_id, hp, tp, HIF_EVENT_SRNG_ACCESS_START);
|
|
|
|
|
|
- return hal_srng_access_start(hal_soc, hal_ring_hdl);
|
|
|
|
|
|
+ return dp_hal_srng_access_start(hal_soc, hal_ring_hdl);
|
|
}
|
|
}
|
|
|
|
|
|
void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
|
void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
|
@@ -1952,7 +1952,7 @@ void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
|
uint8_t ring_id;
|
|
uint8_t ring_id;
|
|
|
|
|
|
if (!int_ctx)
|
|
if (!int_ctx)
|
|
- return hal_srng_access_end(hal_soc, hal_ring_hdl);
|
|
|
|
|
|
+ return dp_hal_srng_access_end(hal_soc, hal_ring_hdl);
|
|
|
|
|
|
hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tp, &hp);
|
|
hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tp, &hp);
|
|
ring_id = hal_srng_ring_id_get(hal_ring_hdl);
|
|
ring_id = hal_srng_ring_id_get(hal_ring_hdl);
|
|
@@ -1960,7 +1960,7 @@ void dp_srng_access_end(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
|
hif_record_event(dp_soc->hif_handle, int_ctx->dp_intr_id,
|
|
hif_record_event(dp_soc->hif_handle, int_ctx->dp_intr_id,
|
|
ring_id, hp, tp, HIF_EVENT_SRNG_ACCESS_END);
|
|
ring_id, hp, tp, HIF_EVENT_SRNG_ACCESS_END);
|
|
|
|
|
|
- return hal_srng_access_end(hal_soc, hal_ring_hdl);
|
|
|
|
|
|
+ return dp_hal_srng_access_end(hal_soc, hal_ring_hdl);
|
|
}
|
|
}
|
|
|
|
|
|
static inline void dp_srng_record_timer_entry(struct dp_soc *dp_soc,
|
|
static inline void dp_srng_record_timer_entry(struct dp_soc *dp_soc,
|