static inline void vsp1_lif_write(struct vsp1_lif *lif, struct vsp1_dl_body *dlb, u32 reg, u32 data) { vsp1_dl_body_write(dlb, reg + lif->entity.index * VI6_LIF_OFFSET, data); }
static inline void vsp1_brx_write(struct vsp1_brx *brx, struct vsp1_dl_body *dlb, u32 reg, u32 data) { vsp1_dl_body_write(dlb, brx->base + reg, data); }
static inline void vsp1_sru_write(struct vsp1_sru *sru, struct vsp1_dl_body *dlb, u32 reg, u32 data) { vsp1_dl_body_write(dlb, reg, data); }
static inline void vsp1_rpf_write(struct vsp1_rwpf *rpf, struct vsp1_dl_body *dlb, u32 reg, u32 data) { vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, data); }