Lines Matching refs:status

41 	u32 status;
43 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
44 status |= (PCI_EXP_LNKCTL_LBMIE | PCI_EXP_LNKCTL_LABIE);
45 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
50 u32 status;
52 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
53 status |= (PCI_EXP_LNKSTA_LBMS | PCI_EXP_LNKSTA_LABS) << 16;
54 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
254 u32 status, scale, power;
281 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_DCR);
282 status |= (power << PCIE_RC_CONFIG_DCR_CSPL_SHIFT) |
284 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_DCR);
295 u32 status;
304 status = rockchip_pcie_read(rockchip, PCIE_CORE_CTRL_PLC1);
305 status = (status & ~PCIE_CORE_CTRL_PLC1_FTS_MASK) |
307 rockchip_pcie_write(rockchip, status, PCIE_CORE_CTRL_PLC1);
312 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
313 status |= PCI_EXP_LNKSTA_SLC << 16;
314 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
317 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
318 status |= PCI_EXP_LNKCTL_RCB;
319 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
329 status, PCIE_LINK_UP(status), 20,
341 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
342 status |= PCI_EXP_LNKCTL_RL;
343 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
346 status, PCIE_LINK_IS_GEN2(status), 20,
353 status = rockchip_pcie_read(rockchip, PCIE_CORE_CTRL);
354 status = 0x1 << ((status & PCIE_CORE_PL_CONF_LANE_MASK) >>
356 dev_dbg(dev, "current link width is x%d\n", status);
374 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_THP_CAP);
375 status &= ~PCIE_RC_CONFIG_THP_CAP_NEXT_MASK;
376 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_THP_CAP);
380 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LINK_CAP);
381 status &= ~PCIE_RC_CONFIG_LINK_CAP_L0S;
382 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LINK_CAP);
385 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_DCSR);
386 status &= ~PCIE_RC_CONFIG_DCSR_MPS_MASK;
387 status |= PCIE_RC_CONFIG_DCSR_MPS_256;
388 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_DCSR);