Lines Matching refs:out_be32
109 out_be32(&fec->paddr1, *(const u32 *)(&mac[0])); in mpc52xx_fec_set_paddr()
110 out_be32(&fec->paddr2, (*(const u16 *)(&mac[4]) << 16) | FEC_PADDR2_TYPE); in mpc52xx_fec_set_paddr()
191 out_be32(&fec->r_cntrl, rcntrl); in mpc52xx_fec_adjust_link()
192 out_be32(&fec->x_cntrl, tcntrl); in mpc52xx_fec_adjust_link()
456 out_be32(&fec->ievent, ievent); /* clear pending events */ in mpc52xx_fec_interrupt()
538 out_be32(&fec->mib_control, FEC_MIB_DISABLE); in mpc52xx_fec_reset_stats()
542 out_be32(&fec->mib_control, 0); in mpc52xx_fec_reset_stats()
560 out_be32(&fec->r_cntrl, rx_control); in mpc52xx_fec_set_multicast_list()
563 out_be32(&fec->r_cntrl, rx_control); in mpc52xx_fec_set_multicast_list()
566 out_be32(&fec->gaddr1, 0xffffffff); in mpc52xx_fec_set_multicast_list()
567 out_be32(&fec->gaddr2, 0xffffffff); in mpc52xx_fec_set_multicast_list()
581 out_be32(&fec->gaddr1, gaddr1); in mpc52xx_fec_set_multicast_list()
582 out_be32(&fec->gaddr2, gaddr2); in mpc52xx_fec_set_multicast_list()
600 out_be32(&fec->ecntrl, FEC_ECNTRL_RESET); in mpc52xx_fec_hw_init()
610 out_be32(&fec->op_pause, FEC_OP_PAUSE_OPCODE | 0x20); in mpc52xx_fec_hw_init()
615 out_be32(&fec->rfifo_cntrl, FEC_FIFO_CNTRL_FRAME | FEC_FIFO_CNTRL_LTG_7); in mpc52xx_fec_hw_init()
616 out_be32(&fec->tfifo_cntrl, FEC_FIFO_CNTRL_FRAME | FEC_FIFO_CNTRL_LTG_7); in mpc52xx_fec_hw_init()
619 out_be32(&fec->rfifo_alarm, 0x0000030c); in mpc52xx_fec_hw_init()
620 out_be32(&fec->tfifo_alarm, 0x00000100); in mpc52xx_fec_hw_init()
623 out_be32(&fec->x_wmrk, FEC_FIFO_WMRK_256B); in mpc52xx_fec_hw_init()
626 out_be32(&fec->xmit_fsm, FEC_XMIT_FSM_APPEND_CRC | FEC_XMIT_FSM_ENABLE_CRC); in mpc52xx_fec_hw_init()
627 out_be32(&fec->iaddr1, 0x00000000); /* No individual filter */ in mpc52xx_fec_hw_init()
628 out_be32(&fec->iaddr2, 0x00000000); /* No individual filter */ in mpc52xx_fec_hw_init()
633 out_be32(&fec->mii_speed, priv->mdio_speed); in mpc52xx_fec_hw_init()
654 out_be32(&fec->rfifo_status, in_be32(&fec->rfifo_status) & tmp); in mpc52xx_fec_start()
655 out_be32(&fec->tfifo_status, in_be32(&fec->tfifo_status) & tmp); in mpc52xx_fec_start()
658 out_be32(&fec->reset_cntrl, FEC_RESET_CNTRL_ENABLE_IS_RESET); in mpc52xx_fec_start()
678 out_be32(&fec->r_cntrl, rcntrl); in mpc52xx_fec_start()
679 out_be32(&fec->x_cntrl, tcntrl); in mpc52xx_fec_start()
682 out_be32(&fec->ievent, 0xffffffff); in mpc52xx_fec_start()
685 out_be32(&fec->imask, FEC_IMASK_ENABLE); in mpc52xx_fec_start()
688 out_be32(&fec->ecntrl, FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_start()
689 out_be32(&fec->r_des_active, 0x01000000); in mpc52xx_fec_start()
705 out_be32(&fec->imask, 0); in mpc52xx_fec_stop()
734 out_be32(&fec->ecntrl, in_be32(&fec->ecntrl) & ~FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_stop()
745 out_be32(&fec->rfifo_status, in_be32(&fec->rfifo_status)); in mpc52xx_fec_reset()
746 out_be32(&fec->reset_cntrl, FEC_RESET_CNTRL_RESET_FIFO); in mpc52xx_fec_reset()