Lines Matching refs:pex_idx
106 static void mvebu_get_port_lane(struct mvebu_pcie *pcie, int pex_idx, in mvebu_get_port_lane() argument
114 pcie->port = port[pex_idx]; in mvebu_get_port_lane()
115 pcie->lane = lane[pex_idx]; in mvebu_get_port_lane()
116 *mem_target = target[pex_idx]; in mvebu_get_port_lane()
117 *mem_attr = attr[pex_idx]; in mvebu_get_port_lane()
141 static void mvebu_get_port_lane(struct mvebu_pcie *pcie, int pex_idx, in mvebu_get_port_lane() argument
151 pcie->port = port[pex_idx]; in mvebu_get_port_lane()
152 pcie->lane = lane[pex_idx]; in mvebu_get_port_lane()
153 *mem_target = target[pex_idx]; in mvebu_get_port_lane()
154 *mem_attr = attr[pex_idx]; in mvebu_get_port_lane()
158 static int mvebu_pex_unit_is_x4(int pex_idx) in mvebu_pex_unit_is_x4() argument
160 int pex_unit = pex_idx < 9 ? pex_idx >> 2 : 3; in mvebu_pex_unit_is_x4()