Lines Matching refs:octo_phy_mask
67 uint octo_phy_mask = 0; in calculate_octo_phy_mask() local
83 octo_phy_mask |= (1 << (k * 2)); in calculate_octo_phy_mask()
92 octo_phy_mask |= (1 << (k * 2 + 1)); in calculate_octo_phy_mask()
97 octo_phy_mask |= (1 << (k * 2 + 1)); in calculate_octo_phy_mask()
100 return octo_phy_mask; in calculate_octo_phy_mask()
125 struct porttype *get_porttype(uint octo_phy_mask, uint k) in get_porttype() argument
130 if (octo_phy_mask & 0x01) in get_porttype()
132 else if (!(octo_phy_mask & 0x03)) in get_porttype()
135 if (octo_phy_mask & (1 << octo_index)) in get_porttype()
160 int init_octo_phys(uint octo_phy_mask) in init_octo_phys() argument
172 porttype = get_porttype(octo_phy_mask, bus_idx); in init_octo_phys()
184 if (!m && octo_phy_mask & (0xf << octo_index)) { in init_octo_phys()
190 if (!(octo_phy_mask & BIT(octo_index + m))) in init_octo_phys()