Lines Matching +full:8 +full:- +full:way
1 /* SPDX-License-Identifier: GPL-2.0-only */
36 #define UNU_FFP(x) (((x) & 0xff) << 8)
88 #define ATC_MAT(x) (((x) & 0xf) << 8)
103 #define MAC_BYTE_2 8
177 #define PORT_RX_MIR BIT(8)
210 #define PVC_EG_TAG(x) (((x) & 0x7) << 8)
227 /* Register for port port-and-protocol based vlan 1 control */
242 #define PMCR_BACKPR_EN BIT(8)
313 ((p) - 5) * 0x1000 + (r))
328 #define MT7531_SGMII_REMOTE_FAULT_DIS BIT(8)
398 #define CLK_SKEW_OUT(x) (((x) & 0x3) << 8)
399 #define CLK_SKEW_OUT_MASK GENMASK(9, 8)
436 #define CHG_STRAP BIT(8)
443 #define MHWTRAP_P6_DIS BIT(8)
487 #define DQSI1_TAP_MASK (0x7f << 8)
489 #define DQSI1_TAP(x) (((x) & 0x7f) << 8)
496 #define MT7530_TRGMII_RD(x) (0x7a10 + (x) * 8)
507 #define MT7530_TRGMII_TD_ODT(i) (0x7a54 + 8 * (i))
512 #define TCK_TAP(x) (((x) & 0xf) << 8)
515 #define CSR_RGMII_EDGE_ALIGN BIT(8)
547 #define RG_SYSPLL_PREDIV(x) (((x) & 0x3) << 8)
585 #define RG_GSWPLL_BR BIT(8)
589 #define RG_GSWPLL_POSDIV_500M(x) (((x) & 0x3) << 8)
617 /* struct mt7530_port - This is the main data structure for holding the state
624 * VLAN-tagged frames.
659 /* struct mt753x_info - This is the main data structure for holding the specific
662 * @phy_read: Holding the way reading PHY port
663 * @phy_write: Holding the way writing PHY port
664 * @pad_setup: Holding the way setting up the bus pad for a certain
668 * @mac_port_validate: Holding the way to set addition validate type for a
670 * @mac_port_get_state: Holding the way getting the MAC/PCS state for a certain
672 * @mac_port_config: Holding the way setting up the PHY attribute to a
674 * @mac_pcs_an_restart Holding the way restarting PCS autonegotiation for a
676 * @mac_pcs_link_up: Holding the way setting up the PHY attribute to the pcs
702 /* struct mt7530_priv - This is the main data structure for holding the state
706 * @bus: The bus used for the device and built-in PHY
750 e->port = port; in mt7530_hw_vlan_entry_init()
751 e->untagged = untagged; in mt7530_hw_vlan_entry_init()
771 p->priv = priv; in INIT_MT7530_DUMMY_POLL()
772 p->reg = reg; in INIT_MT7530_DUMMY_POLL()