Home
last modified time | relevance | path

Searched refs:uccf (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/soc/fsl/qe/
Ducc_fast.c26 void ucc_fast_dump_regs(struct ucc_fast_private * uccf) in ucc_fast_dump_regs() argument
28 printk(KERN_INFO "UCC%u Fast registers:\n", uccf->uf_info->ucc_num); in ucc_fast_dump_regs()
29 printk(KERN_INFO "Base address: 0x%p\n", uccf->uf_regs); in ucc_fast_dump_regs()
32 &uccf->uf_regs->gumr, qe_ioread32be(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs()
34 &uccf->uf_regs->upsmr, qe_ioread32be(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs()
36 &uccf->uf_regs->utodr, qe_ioread16be(&uccf->uf_regs->utodr)); in ucc_fast_dump_regs()
38 &uccf->uf_regs->udsr, qe_ioread16be(&uccf->uf_regs->udsr)); in ucc_fast_dump_regs()
40 &uccf->uf_regs->ucce, qe_ioread32be(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs()
42 &uccf->uf_regs->uccm, qe_ioread32be(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs()
44 &uccf->uf_regs->uccs, qe_ioread8(&uccf->uf_regs->uccs)); in ucc_fast_dump_regs()
[all …]
/Linux-v5.10/include/soc/fsl/qe/
Ducc_fast.h222 void ucc_fast_free(struct ucc_fast_private * uccf);
231 void ucc_fast_enable(struct ucc_fast_private * uccf, enum comm_dir mode);
240 void ucc_fast_disable(struct ucc_fast_private * uccf, enum comm_dir mode);
248 void ucc_fast_irq(struct ucc_fast_private * uccf);
261 void ucc_fast_transmit_on_demand(struct ucc_fast_private * uccf);
265 void ucc_fast_dump_regs(struct ucc_fast_private * uccf);
/Linux-v5.10/drivers/net/wan/
Dfsl_ucc_hdlc.c114 ret = ucc_fast_init(uf_info, &priv->uccf); in uhdlc_init()
120 priv->uf_regs = priv->uccf->uf_regs; in uhdlc_init()
121 ucc_fast_disable(priv->uccf, COMM_DIR_RX | COMM_DIR_TX); in uhdlc_init()
342 ucc_fast_free(priv->uccf); in uhdlc_init()
631 qe_setbits_be32(priv->uccf->p_uccm, in ucc_hdlc_poll()
642 struct ucc_fast_private *uccf; in ucc_hdlc_irq_handler() local
646 uccf = priv->uccf; in ucc_hdlc_irq_handler()
648 ucce = ioread32be(uccf->p_ucce); in ucc_hdlc_irq_handler()
649 uccm = ioread32be(uccf->p_uccm); in ucc_hdlc_irq_handler()
651 iowrite32be(ucce, uccf->p_ucce); in ucc_hdlc_irq_handler()
[all …]
Dfsl_ucc_hdlc.h68 struct ucc_fast_private *uccf; member
/Linux-v5.10/drivers/net/ethernet/freescale/
Ducc_geth.c1323 uf_regs = ugeth->uccf->uf_regs; in adjust_enet_interface()
1402 struct ucc_fast_private *uccf; in ugeth_graceful_stop_tx() local
1407 uccf = ugeth->uccf; in ugeth_graceful_stop_tx()
1410 clrbits32(uccf->p_uccm, UCC_GETH_UCCE_GRA); in ugeth_graceful_stop_tx()
1411 out_be32(uccf->p_ucce, UCC_GETH_UCCE_GRA); /* clear by writing 1 */ in ugeth_graceful_stop_tx()
1422 temp = in_be32(uccf->p_ucce); in ugeth_graceful_stop_tx()
1425 uccf->stopped_tx = 1; in ugeth_graceful_stop_tx()
1432 struct ucc_fast_private *uccf; in ugeth_graceful_stop_rx() local
1437 uccf = ugeth->uccf; in ugeth_graceful_stop_rx()
1457 uccf->stopped_rx = 1; in ugeth_graceful_stop_rx()
[all …]
Ducc_geth.h39 struct ucc_fast uccf; member
1152 struct ucc_fast_private *uccf; member
Ducc_geth_ethtool.c167 &ugeth->uccf->uf_regs->upsmr, in uec_set_pauseparam()