Searched refs:xcno (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/arch/arm/mach-netx/ |
D | xc.c | 180 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 …]
|
D | nxdkn.c | 38 .xcno = 0, 52 .xcno = 1,
|
D | nxeb500hmi.c | 105 .xcno = 0, 119 .xcno = 1,
|
D | nxdb500.c | 102 .xcno = 0, 116 .xcno = 1,
|
/linux-3.4.99/drivers/net/ethernet/ |
D | netx-eth.c | 40 #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/ |
D | eth.h | 24 unsigned int xcno; /* number of xmac/xpec engine this eth uses */ member
|
D | xc.h | 39 struct xc* request_xc(int xcno, struct device *dev);
|