Lines Matching +full:8 +full:- +full:way

1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #define MT7530_MAX_MTU (15 * 1024 - ETH_HLEN - ETH_FCS_LEN - MTK_HDR_LEN)
41 #define UNU_FFP(x) (((x) & 0xff) << 8)
103 #define ATC_MAT(x) (((x) & 0xf) << 8)
118 #define MAC_BYTE_2 8
214 #define PORT_RX_MIR BIT(8)
247 #define PVC_EG_TAG(x) (((x) & 0x7) << 8)
271 /* Register for port port-and-protocol based vlan 1 control */
286 #define PMCR_BACKPR_EN BIT(8)
375 #define MT7531_SGMII_REG_BASE(p) (0x5000 + ((p) - 5) * 0x1000)
430 #define CLK_SKEW_OUT(x) (((x) & 0x3) << 8)
431 #define CLK_SKEW_OUT_MASK GENMASK(9, 8)
468 #define CHG_STRAP BIT(8)
475 #define MHWTRAP_P6_DIS BIT(8)
519 #define DQSI1_TAP_MASK (0x7f << 8)
521 #define DQSI1_TAP(x) (((x) & 0x7f) << 8)
528 #define MT7530_TRGMII_RD(x) (0x7a10 + (x) * 8)
539 #define MT7530_TRGMII_TD_ODT(i) (0x7a54 + 8 * (i))
544 #define TCK_TAP(x) (((x) & 0xf) << 8)
547 #define CSR_RGMII_EDGE_ALIGN BIT(8)
568 * [10: 8] port 2
599 #define RG_SYSPLL_PREDIV(x) (((x) & 0x3) << 8)
637 #define RG_GSWPLL_BR BIT(8)
641 #define RG_GSWPLL_POSDIV_500M(x) (((x) & 0x3) << 8)
669 /* struct mt7530_port - This is the main data structure for holding the state
701 /* struct mt753x_info - This is the main data structure for holding the specific
704 * @phy_read_c22: Holding the way reading PHY port using C22
705 * @phy_write_c22: Holding the way writing PHY port using C22
706 * @phy_read_c45: Holding the way reading PHY port using C45
707 * @phy_write_c45: Holding the way writing PHY port using C45
708 * @pad_setup: Holding the way setting up the bus pad for a certain
712 * @mac_port_validate: Holding the way to set addition validate type for a
714 * @mac_port_config: Holding the way setting up the PHY attribute to a
742 /* struct mt7530_priv - This is the main data structure for holding the state
746 * @bus: The bus used for the device and built-in PHY
800 e->port = port; in mt7530_hw_vlan_entry_init()
801 e->untagged = untagged; in mt7530_hw_vlan_entry_init()
821 p->priv = priv; in INIT_MT7530_DUMMY_POLL()
822 p->reg = reg; in INIT_MT7530_DUMMY_POLL()