Searched refs:pcie_port (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/cavium/liquidio/ |
D | cn66xx_device.c | 89 r64 = lio_pci_readq(oct, CN6XXX_DPI_SLI_PRTX_CFG(oct->pcie_port)); in lio_cn6xxx_setup_pcie_mps() 91 lio_pci_writeq(oct, r64, CN6XXX_DPI_SLI_PRTX_CFG(oct->pcie_port)); in lio_cn6xxx_setup_pcie_mps() 112 r64 = octeon_read_csr64(oct, CN6XXX_SLI_S2M_PORTX_CTL(oct->pcie_port)); in lio_cn6xxx_setup_pcie_mrrs() 114 octeon_write_csr64(oct, CN6XXX_SLI_S2M_PORTX_CTL(oct->pcie_port), r64); in lio_cn6xxx_setup_pcie_mrrs() 117 r64 = lio_pci_readq(oct, CN6XXX_DPI_SLI_PRTX_CFG(oct->pcie_port)); in lio_cn6xxx_setup_pcie_mrrs() 119 lio_pci_writeq(oct, r64, CN6XXX_DPI_SLI_PRTX_CFG(oct->pcie_port)); in lio_cn6xxx_setup_pcie_mrrs() 167 (oct->pcie_port * 0x5555555555555555ULL)); in lio_cn6xxx_setup_global_input_regs() 200 (oct->pcie_port * 0x5555555555555555ULL)); in lio_cn6xxx_setup_global_output_regs() 420 bar1 = lio_pci_readq(oct, CN6XXX_BAR1_REG(idx, oct->pcie_port)); in lio_cn6xxx_bar1_idx_setup() 422 CN6XXX_BAR1_REG(idx, oct->pcie_port)); in lio_cn6xxx_bar1_idx_setup() [all …]
|
D | cn23xx_pf_device.c | 82 "CN23XX_DPI_SLI_PRTX_CFG", oct->pcie_port, in cn23xx_dump_pf_initialized_regs() 83 CN23XX_DPI_SLI_PRTX_CFG(oct->pcie_port), in cn23xx_dump_pf_initialized_regs() 84 lio_pci_readq(oct, CN23XX_DPI_SLI_PRTX_CFG(oct->pcie_port))); in cn23xx_dump_pf_initialized_regs() 88 "CN23XX_SLI_S2M_PORTX_CTL", oct->pcie_port, in cn23xx_dump_pf_initialized_regs() 89 CVM_CAST64(CN23XX_SLI_S2M_PORTX_CTL(oct->pcie_port)), in cn23xx_dump_pf_initialized_regs() 91 oct, CN23XX_SLI_S2M_PORTX_CTL(oct->pcie_port)))); in cn23xx_dump_pf_initialized_regs() 303 u16 mac_no = oct->pcie_port; in cn23xx_setup_global_mac_regs() 423 reg_val = (u64)oct->pcie_port << CN23XX_PKT_INPUT_CTL_MAC_NUM_POS; in cn23xx_pf_setup_global_input_regs() 712 u16 mac_no = oct->pcie_port; in cn23xx_setup_pf_mbox() 1048 oct, CN23XX_PEM_BAR1_INDEX_REG(oct->pcie_port, idx)); in cn23xx_bar1_idx_setup() [all …]
|
D | octeon_nic.c | 68 rdp->pcie_port = oct->pcie_port; in octeon_alloc_soft_command_resp()
|
D | lio_ethtool.c | 2557 reg = CN23XX_SLI_PKT_MAC_RINFO64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg() 2560 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg() 2564 reg = CN23XX_SLI_MAC_PF_INT_ENB64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg() 2567 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg() 2571 reg = CN23XX_SLI_MAC_PF_INT_SUM64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg() 2574 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg() 2583 reg = 0x27300 + oct->pcie_port * CN23XX_MAC_INT_OFFSET + in cn23xx_read_csr_reg() 2587 oct->pcie_port, oct->pf_num, (u64)octeon_read_csr64(oct, reg)); in cn23xx_read_csr_reg() 2590 reg = 0x27200 + oct->pcie_port * CN23XX_MAC_INT_OFFSET + in cn23xx_read_csr_reg() 2594 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg() [all …]
|
D | request_manager.c | 632 rdp->pcie_port = oct->pcie_port; in octeon_prepare_soft_command() 669 rdp->pcie_port = oct->pcie_port; in octeon_prepare_soft_command()
|
D | liquidio_common.h | 565 u64 pcie_port:3; member 569 u64 pcie_port:3;
|
D | octeon_device.h | 463 u16 pcie_port; member
|
/drivers/phy/hisilicon/ |
D | phy-hi3670-pcie.c | 556 struct device_node *pcie_port; in hi3670_pcie_get_resources_from_pcie() local 560 pcie_port = of_get_child_by_name(dev->parent->of_node, "pcie"); in hi3670_pcie_get_resources_from_pcie() 561 if (!pcie_port) { in hi3670_pcie_get_resources_from_pcie() 567 pcie_dev = bus_find_device_by_of_node(&platform_bus_type, pcie_port); in hi3670_pcie_get_resources_from_pcie()
|
/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 191 if (oct->pcie_port) in octep_configure_ring_mapping_cn93_pf() 221 val = octep_read_csr64(oct, CN93_SDP_MAC_PF_RING_CTL(oct->pcie_port)); in octep_init_config_cn93_pf() 749 oct->pcie_port = octep_read_csr64(oct, CN93_SDP_MAC_NUMBER) & 0xff; in octep_device_setup_cn93_pf() 751 "Octeon device using PCIE Port %d\n", oct->pcie_port); in octep_device_setup_cn93_pf()
|
D | octep_tx.h | 249 u64 pcie_port:3; member
|
D | octep_main.h | 237 u16 pcie_port; member
|