Lines Matching refs:cmd
693 unsigned int cmd = 0; in init_mac() local
743 cmd = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in init_mac()
744 cmd &= ~MAC_CMDCFG_PAD_EN; /* No padding Removal on Receive */ in init_mac()
745 cmd &= ~MAC_CMDCFG_CRC_FWD; /* CRC Removal */ in init_mac()
746 cmd |= MAC_CMDCFG_RX_ERR_DISC; /* Automatically discard frames in init_mac()
749 cmd |= MAC_CMDCFG_CNTL_FRM_ENA; in init_mac()
750 cmd &= ~MAC_CMDCFG_TX_ENA; in init_mac()
751 cmd &= ~MAC_CMDCFG_RX_ENA; in init_mac()
754 cmd &= ~MAC_CMDCFG_HD_ENA; in init_mac()
755 cmd &= ~MAC_CMDCFG_ETH_SPEED; in init_mac()
756 cmd &= ~MAC_CMDCFG_ENA_10; in init_mac()
758 csrwr32(cmd, priv->mac_dev, tse_csroffs(command_config)); in init_mac()
765 "MAC post-initialization: CMD_CONFIG = 0x%08x\n", cmd); in init_mac()