Home
last modified time | relevance | path

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

/linux-6.1.9/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, ioread32be(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs()
34 &uccf->uf_regs->upsmr, ioread32be(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs()
36 &uccf->uf_regs->utodr, ioread16be(&uccf->uf_regs->utodr)); in ucc_fast_dump_regs()
38 &uccf->uf_regs->udsr, ioread16be(&uccf->uf_regs->udsr)); in ucc_fast_dump_regs()
40 &uccf->uf_regs->ucce, ioread32be(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs()
42 &uccf->uf_regs->uccm, ioread32be(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs()
44 &uccf->uf_regs->uccs, ioread8(&uccf->uf_regs->uccs)); in ucc_fast_dump_regs()
[all …]
/linux-6.1.9/include/soc/fsl/qe/
Ducc_fast.h221 void ucc_fast_free(struct ucc_fast_private * uccf);
230 void ucc_fast_enable(struct ucc_fast_private * uccf, enum comm_dir mode);
239 void ucc_fast_disable(struct ucc_fast_private * uccf, enum comm_dir mode);
247 void ucc_fast_irq(struct ucc_fast_private * uccf);
260 void ucc_fast_transmit_on_demand(struct ucc_fast_private * uccf);
264 void ucc_fast_dump_regs(struct ucc_fast_private * uccf);
/linux-6.1.9/drivers/net/ethernet/freescale/
Ducc_geth.c1302 uf_regs = ugeth->uccf->uf_regs; in adjust_enet_interface()
1381 struct ucc_fast_private *uccf; in ugeth_graceful_stop_tx() local
1386 uccf = ugeth->uccf; in ugeth_graceful_stop_tx()
1389 clrbits32(uccf->p_uccm, UCC_GETH_UCCE_GRA); in ugeth_graceful_stop_tx()
1390 out_be32(uccf->p_ucce, UCC_GETH_UCCE_GRA); /* clear by writing 1 */ in ugeth_graceful_stop_tx()
1401 temp = in_be32(uccf->p_ucce); in ugeth_graceful_stop_tx()
1404 uccf->stopped_tx = 1; in ugeth_graceful_stop_tx()
1411 struct ucc_fast_private *uccf; in ugeth_graceful_stop_rx() local
1416 uccf = ugeth->uccf; in ugeth_graceful_stop_rx()
1436 uccf->stopped_rx = 1; in ugeth_graceful_stop_rx()
[all …]
Ducc_geth.h39 struct ucc_fast uccf; member
1156 struct ucc_fast_private *uccf; member
Ducc_geth_ethtool.c167 &ugeth->uccf->uf_regs->upsmr, in uec_set_pauseparam()
/linux-6.1.9/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()
345 ucc_fast_free(priv->uccf); in uhdlc_init()
638 qe_setbits_be32(priv->uccf->p_uccm, in ucc_hdlc_poll()
649 struct ucc_fast_private *uccf; in ucc_hdlc_irq_handler() local
653 uccf = priv->uccf; in ucc_hdlc_irq_handler()
655 ucce = ioread32be(uccf->p_ucce); in ucc_hdlc_irq_handler()
656 uccm = ioread32be(uccf->p_uccm); in ucc_hdlc_irq_handler()
658 iowrite32be(ucce, uccf->p_ucce); in ucc_hdlc_irq_handler()
[all …]
Dfsl_ucc_hdlc.h68 struct ucc_fast_private *uccf; member