Home
last modified time | relevance | path

Searched refs:fman_rg (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfman_ncsw.c314 void fman_set_liodn_per_port(struct fman_rg *fman_rg, uint8_t port_id, in fman_set_liodn_per_port() argument
324 tmp = ioread32be(&fman_rg->dma_rg->fmdmplr[port_id / 2]); in fman_set_liodn_per_port()
332 iowrite32be(tmp, &fman_rg->dma_rg->fmdmplr[port_id / 2]); in fman_set_liodn_per_port()
334 &fman_rg->bmi_rg->fmbm_spliodn[port_id - 1]); in fman_set_liodn_per_port()
628 void fman_regconfig(struct fman_rg *fman_rg, struct fman_cfg *cfg) in fman_regconfig() argument
635 tmp_reg = ioread32be(&fman_rg->bmi_rg->fmbm_cfg1); in fman_regconfig()
639 tmp_reg = ioread32be(&fman_rg->bmi_rg->fmbm_cfg2); in fman_regconfig()
643 tmp_reg = ioread32be(&fman_rg->dma_rg->fmdmtr); in fman_regconfig()
646 tmp_reg = ioread32be(&fman_rg->dma_rg->fmdmhy); in fman_regconfig()
649 tmp_reg = ioread32be(&fman_rg->dma_rg->fmdmmr); in fman_regconfig()
[all …]
H A Dfm_ncsw.c1952 struct fman_rg fman_rg; in FmGetSetPortParams() local
1954 fman_rg.bmi_rg = p_Fm->p_FmBmiRegs; in FmGetSetPortParams()
1955 fman_rg.qmi_rg = p_Fm->p_FmQmiRegs; in FmGetSetPortParams()
1956 fman_rg.fpm_rg = p_Fm->p_FmFpmRegs; in FmGetSetPortParams()
1957 fman_rg.dma_rg = p_Fm->p_FmDmaRegs; in FmGetSetPortParams()
2018 fman_qmi_disable_dispatch_limit(fman_rg.fpm_rg); in FmGetSetPortParams()
2052 enqTh = fman_get_qmi_enq_th(fman_rg.qmi_rg); in FmGetSetPortParams()
2057 fman_set_qmi_enq_th(fman_rg.qmi_rg, enqTh); in FmGetSetPortParams()
2060 deqTh = fman_get_qmi_deq_th(fman_rg.qmi_rg); in FmGetSetPortParams()
2066 fman_set_qmi_deq_th(fman_rg.qmi_rg, deqTh); in FmGetSetPortParams()
[all …]
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman.h274 struct fman_rg { struct
712 uint32_t fman_get_counter(struct fman_rg *fman_rg,
730 void fman_set_liodn_per_port(struct fman_rg *fman_rg,
748 int fman_set_exception(struct fman_rg *fman_rg,
761 void fman_regconfig(struct fman_rg *fman_rg, struct fman_cfg *cfg);
766 void fman_free_resources(struct fman_rg *fman_rg);
767 int fman_enable(struct fman_rg *fman_rg, struct fman_cfg *cfg);
783 int fman_modify_counter(struct fman_rg *fman_rg,
786 void fman_force_intr(struct fman_rg *fman_rg,