Home
last modified time | relevance | path

Searched refs:xcno (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/arch/arm/mach-netx/
Dxc.c180 struct xc *request_xc(int xcno, struct device *dev) in request_xc() argument
186 if (xcno > 3) in request_xc()
188 if (xc_in_use & (1 << xcno)) in request_xc()
196 (NETX_PA_XPEC(xcno), XPEC_MEM_SIZE, kobject_name(&dev->kobj))) in request_xc()
200 (NETX_PA_XMAC(xcno), XMAC_MEM_SIZE, kobject_name(&dev->kobj))) in request_xc()
204 (SRAM_INTERNAL_PHYS(xcno), SRAM_MEM_SIZE, kobject_name(&dev->kobj))) in request_xc()
207 x->xpec_base = (void * __iomem)io_p2v(NETX_PA_XPEC(xcno)); in request_xc()
208 x->xmac_base = (void * __iomem)io_p2v(NETX_PA_XMAC(xcno)); in request_xc()
209 x->sram_base = ioremap(SRAM_INTERNAL_PHYS(xcno), SRAM_MEM_SIZE); in request_xc()
213 x->irq = NETX_IRQ_XPEC(xcno); in request_xc()
[all …]
Dnxdkn.c37 .xcno = 0,
51 .xcno = 1,
Dnxeb500hmi.c104 .xcno = 0,
118 .xcno = 1,
Dnxdb500.c101 .xcno = 0,
115 .xcno = 1,
/Linux-v4.19/drivers/net/ethernet/
Dnetx-eth.c39 #define EMPTY_PTR_FIFO(xcno) (0 + ((xcno) << 3)) /* Index of the empty pointer FIFO */ argument
40 #define IND_FIFO_PORT_HI(xcno) (1 + ((xcno) << 3)) /* Index of the FIFO where received */ argument
42 #define IND_FIFO_PORT_LO(xcno) (2 + ((xcno) << 3)) /* Index of the FIFO where received */ argument
44 #define REQ_FIFO_PORT_HI(xcno) (3 + ((xcno) << 3)) /* Index of the FIFO where Data packages */ argument
47 #define REQ_FIFO_PORT_LO(xcno) (4 + ((xcno) << 3)) /* Index of the FIFO where Data packages */ argument
50 #define CON_FIFO_PORT_HI(xcno) (5 + ((xcno) << 3)) /* Index of the FIFO where sent Data packages */ argument
52 #define CON_FIFO_PORT_LO(xcno) (6 + ((xcno) << 3)) /* Index of the FIFO where sent Data */ argument
54 #define PFIFO_MASK(xcno) (0x7f << (xcno*8)) argument
394 priv->xc = request_xc(pdata->xcno, &pdev->dev); in netx_eth_drv_probe()
/Linux-v4.19/include/linux/platform_data/
Deth-netx.h22 unsigned int xcno; /* number of xmac/xpec engine this eth uses */ member
/Linux-v4.19/arch/arm/mach-netx/include/mach/
Dxc.h39 struct xc* request_xc(int xcno, struct device *dev);