Home
last modified time | relevance | path

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

/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfman_ncsw.c38 uint32_t fman_get_bmi_err_event(struct fman_bmi_regs *bmi_rg) in fman_get_bmi_err_event() argument
42 event = ioread32be(&bmi_rg->fmbm_ievr); in fman_get_bmi_err_event()
43 mask = ioread32be(&bmi_rg->fmbm_ier); in fman_get_bmi_err_event()
46 force = ioread32be(&bmi_rg->fmbm_ifr); in fman_get_bmi_err_event()
48 iowrite32be(force & ~event, &bmi_rg->fmbm_ifr); in fman_get_bmi_err_event()
50 iowrite32be(event, &bmi_rg->fmbm_ievr); in fman_get_bmi_err_event()
334 &fman_rg->bmi_rg->fmbm_spliodn[port_id - 1]); in fman_set_liodn_per_port()
407 uint16_t fman_get_size_of_fifo(struct fman_bmi_regs *bmi_rg, uint8_t port_id) in fman_get_size_of_fifo() argument
414 tmp_reg = ioread32be(&bmi_rg->fmbm_pfs[port_id - 1]); in fman_get_size_of_fifo()
418 uint32_t fman_get_total_fifo_size(struct fman_bmi_regs *bmi_rg) in fman_get_total_fifo_size() argument
[all …]
H A Dfm_ncsw.c257 struct fman_bmi_regs *bmi_rg = p_Fm->p_FmBmiRegs; in BmiErrEvent() local
260 event = fman_get_bmi_err_event(bmi_rg); in BmiErrEvent()
1954 fman_rg.bmi_rg = p_Fm->p_FmBmiRegs; in FmGetSetPortParams()
2157 struct fman_bmi_regs *bmi_rg = p_Fm->p_FmBmiRegs; in FmFreePortParams() local
2192 numOfTasks = fman_get_num_of_tasks(bmi_rg, hardwarePortId); in FmFreePortParams()
2197 numOfDmas = fman_get_num_of_dmas(bmi_rg, hardwarePortId); in FmFreePortParams()
2205 fman_set_num_of_open_dmas(bmi_rg, in FmFreePortParams()
2214 sizeOfFifo = fman_get_size_of_fifo(bmi_rg, hardwarePortId); in FmFreePortParams()
2598 struct fman_bmi_regs *bmi_rg = p_Fm->p_FmBmiRegs; in FmSetSizeOfFifo() local
2636 fman_set_size_of_fifo(bmi_rg, hardwarePortId, sizeOfFifo, extraSizeOfFifo); in FmSetSizeOfFifo()
[all …]
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman.h277 struct fman_bmi_regs *bmi_rg; member
682 uint32_t fman_get_bmi_err_event(struct fman_bmi_regs *bmi_rg);
696 uint16_t fman_get_size_of_fifo(struct fman_bmi_regs *bmi_rg, uint8_t port_id);
697 uint32_t fman_get_total_fifo_size(struct fman_bmi_regs *bmi_rg);
698 uint16_t fman_get_size_of_extra_fifo(struct fman_bmi_regs *bmi_rg,
700 uint8_t fman_get_num_of_tasks(struct fman_bmi_regs *bmi_rg, uint8_t port_id);
701 uint8_t fman_get_num_extra_tasks(struct fman_bmi_regs *bmi_rg,
703 uint8_t fman_get_num_of_dmas(struct fman_bmi_regs *bmi_rg, uint8_t port_id);
704 uint8_t fman_get_num_extra_dmas(struct fman_bmi_regs *bmi_rg,
734 void fman_set_size_of_fifo(struct fman_bmi_regs *bmi_rg,
[all …]