Searched refs:pfe_addr (Results 1 – 4 of 4) sorted by relevance
278 static int hif_rx_desc_init(struct pfe_ddr_address *pfe_addr) in hif_rx_desc_init() argument304 bd_va = (struct buf_desc *)(pfe_addr->ddr_pfe_baseaddr in hif_rx_desc_init()306 bd_pa = (struct buf_desc *)(pfe_addr->ddr_pfe_phys_baseaddr in hif_rx_desc_init()312 rx_buf_pa = pfe_addr->ddr_pfe_phys_baseaddr + HIF_RX_PKT_DDR_BASEADDR; in hif_rx_desc_init()367 static int hif_tx_desc_init(struct pfe_ddr_address *pfe_addr) in hif_tx_desc_init() argument393 bd_va = (struct buf_desc *)(pfe_addr->ddr_pfe_baseaddr in hif_tx_desc_init()395 bd_pa = (struct buf_desc *)(pfe_addr->ddr_pfe_phys_baseaddr in hif_tx_desc_init()407 tx_buf_pa = pfe_addr->ddr_pfe_phys_baseaddr + HIF_TX_PKT_DDR_BASEADDR; in hif_tx_desc_init()428 static void pfe_class_init(struct pfe_ddr_address *pfe_addr) in pfe_class_init() argument431 .route_table_baseaddr = pfe_addr->ddr_pfe_phys_baseaddr + in pfe_class_init()[all …]
213 struct pfe_ddr_address *pfe_addr; in pfe_eth_probe() local219 pfe_addr = (struct pfe_ddr_address *)malloc(sizeof in pfe_eth_probe()221 if (!pfe_addr) in pfe_eth_probe()224 pfe_addr->ddr_pfe_baseaddr = in pfe_eth_probe()226 pfe_addr->ddr_pfe_phys_baseaddr = in pfe_eth_probe()230 pfe_addr->ddr_pfe_baseaddr, in pfe_eth_probe()231 (u32)pfe_addr->ddr_pfe_phys_baseaddr); in pfe_eth_probe()233 ret = pfe_drv_init(pfe_addr); in pfe_eth_probe()
88 struct pfe_ddr_address pfe_addr; member95 int pfe_remove(struct pfe_ddr_address *pfe_addr);100 int pfe_init(struct pfe_ddr_address *pfe_addr);
55 int pfe_drv_init(struct pfe_ddr_address *pfe_addr);