Home
last modified time | relevance | path

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

/linux-3.4.99/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.c38 .xcno = 0,
52 .xcno = 1,
Dnxeb500hmi.c105 .xcno = 0,
119 .xcno = 1,
Dnxdb500.c102 .xcno = 0,
116 .xcno = 1,
/linux-3.4.99/drivers/net/ethernet/
Dnetx-eth.c40 #define EMPTY_PTR_FIFO(xcno) (0 + ((xcno) << 3)) /* Index of the empty pointer FIFO */ argument
41 #define IND_FIFO_PORT_HI(xcno) (1 + ((xcno) << 3)) /* Index of the FIFO where received */ argument
43 #define IND_FIFO_PORT_LO(xcno) (2 + ((xcno) << 3)) /* Index of the FIFO where received */ argument
45 #define REQ_FIFO_PORT_HI(xcno) (3 + ((xcno) << 3)) /* Index of the FIFO where Data packages */ argument
48 #define REQ_FIFO_PORT_LO(xcno) (4 + ((xcno) << 3)) /* Index of the FIFO where Data packages */ argument
51 #define CON_FIFO_PORT_HI(xcno) (5 + ((xcno) << 3)) /* Index of the FIFO where sent Data packages */ argument
53 #define CON_FIFO_PORT_LO(xcno) (6 + ((xcno) << 3)) /* Index of the FIFO where sent Data */ argument
55 #define PFIFO_MASK(xcno) (0x7f << (xcno*8)) argument
396 priv->xc = request_xc(pdata->xcno, &pdev->dev); in netx_eth_drv_probe()
/linux-3.4.99/arch/arm/mach-netx/include/mach/
Deth.h24 unsigned int xcno; /* number of xmac/xpec engine this eth uses */ member
Dxc.h39 struct xc* request_xc(int xcno, struct device *dev);