Lines Matching refs:status
44 u32 status;
46 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
47 status |= (PCI_EXP_LNKCTL_LBMIE | PCI_EXP_LNKCTL_LABIE);
48 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
53 u32 status;
55 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
56 status |= (PCI_EXP_LNKSTA_LBMS | PCI_EXP_LNKSTA_LABS) << 16;
57 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
260 u32 status, scale, power;
287 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_DCR);
288 status |= (power << PCIE_RC_CONFIG_DCR_CSPL_SHIFT) |
290 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_DCR);
301 u32 status;
310 status = rockchip_pcie_read(rockchip, PCIE_CORE_CTRL_PLC1);
311 status = (status & ~PCIE_CORE_CTRL_PLC1_FTS_MASK) |
313 rockchip_pcie_write(rockchip, status, PCIE_CORE_CTRL_PLC1);
318 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
319 status |= PCI_EXP_LNKSTA_SLC << 16;
320 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
323 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
324 status |= PCI_EXP_LNKCTL_RCB;
325 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
335 status, PCIE_LINK_UP(status), 20,
347 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS);
348 status |= PCI_EXP_LNKCTL_RL;
349 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS);
352 status, PCIE_LINK_IS_GEN2(status), 20,
359 status = rockchip_pcie_read(rockchip, PCIE_CORE_CTRL);
360 status = 0x1 << ((status & PCIE_CORE_PL_CONF_LANE_MASK) >>
362 dev_dbg(dev, "current link width is x%d\n", status);
380 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_THP_CAP);
381 status &= ~PCIE_RC_CONFIG_THP_CAP_NEXT_MASK;
382 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_THP_CAP);
386 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LINK_CAP);
387 status &= ~PCIE_RC_CONFIG_LINK_CAP_L0S;
388 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LINK_CAP);
391 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_DCSR);
392 status &= ~PCIE_RC_CONFIG_DCSR_MPS_MASK;
393 status |= PCIE_RC_CONFIG_DCSR_MPS_256;
394 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_DCSR);