Lines Matching defs:lp
318 smc_pxa_dma_inpump(struct smc_local *lp, u_char *buf, int len) in smc_pxa_dma_inpump()
344 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insl()
387 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insw()
506 #define TCR_REG(lp) SMC_REG(lp, 0x0000, 0) argument
525 #define EPH_STATUS_REG(lp) SMC_REG(lp, 0x0002, 0) argument
544 #define RCR_REG(lp) SMC_REG(lp, 0x0004, 0) argument
561 #define COUNTER_REG(lp) SMC_REG(lp, 0x0006, 0) argument
566 #define MIR_REG(lp) SMC_REG(lp, 0x0008, 0) argument
571 #define RPC_REG(lp) SMC_REG(lp, 0x000A, 0) argument
597 #define CONFIG_REG(lp) SMC_REG(lp, 0x0000, 1) argument
609 #define BASE_REG(lp) SMC_REG(lp, 0x0002, 1) argument
614 #define ADDR0_REG(lp) SMC_REG(lp, 0x0004, 1) argument
615 #define ADDR1_REG(lp) SMC_REG(lp, 0x0006, 1) argument
616 #define ADDR2_REG(lp) SMC_REG(lp, 0x0008, 1) argument
621 #define GP_REG(lp) SMC_REG(lp, 0x000A, 1) argument
626 #define CTL_REG(lp) SMC_REG(lp, 0x000C, 1) argument
639 #define MMU_CMD_REG(lp) SMC_REG(lp, 0x0000, 2) argument
653 #define PN_REG(lp) SMC_REG(lp, 0x0002, 2) argument
658 #define AR_REG(lp) SMC_REG(lp, 0x0003, 2) argument
664 #define TXFIFO_REG(lp) SMC_REG(lp, 0x0004, 2) argument
669 #define RXFIFO_REG(lp) SMC_REG(lp, 0x0005, 2) argument
672 #define FIFO_REG(lp) SMC_REG(lp, 0x0004, 2) argument
676 #define PTR_REG(lp) SMC_REG(lp, 0x0006, 2) argument
684 #define DATA_REG(lp) SMC_REG(lp, 0x0008, 2) argument
689 #define INT_REG(lp) SMC_REG(lp, 0x000C, 2) argument
694 #define IM_REG(lp) SMC_REG(lp, 0x000D, 2) argument
707 #define MCAST_REG1(lp) SMC_REG(lp, 0x0000, 3) argument
708 #define MCAST_REG2(lp) SMC_REG(lp, 0x0002, 3) argument
709 #define MCAST_REG3(lp) SMC_REG(lp, 0x0004, 3) argument
710 #define MCAST_REG4(lp) SMC_REG(lp, 0x0006, 3) argument
715 #define MII_REG(lp) SMC_REG(lp, 0x0008, 3) argument
726 #define REV_REG(lp) SMC_REG(lp, 0x000A, 3) argument
732 #define ERCV_REG(lp) SMC_REG(lp, 0x000C, 3) argument
739 #define EXT_REG(lp) SMC_REG(lp, 0x0000, 7) argument
863 #define SMC_REG(lp, reg, bank) \ argument
874 #define SMC_REG(lp, reg, bank) (reg<<SMC_IO_SHIFT) argument
886 #define SMC_MUST_ALIGN_WRITE(lp) SMC_32BIT(lp) argument
888 #define SMC_GET_PN(lp) \ argument
892 #define SMC_SET_PN(lp, x) \ argument
902 #define SMC_GET_AR(lp) \ argument
906 #define SMC_GET_TXFIFO(lp) \ argument
910 #define SMC_GET_RXFIFO(lp) \ argument
914 #define SMC_GET_INT(lp) \ argument
918 #define SMC_ACK_INT(lp, x) \ argument
932 #define SMC_GET_INT_MASK(lp) \ argument
936 #define SMC_SET_INT_MASK(lp, x) \ argument
944 #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) argument
946 #define SMC_SELECT_BANK(lp, x) \ argument
954 #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp)) argument
956 #define SMC_SET_BASE(lp, x) SMC_outw(x, ioaddr, BASE_REG(lp)) argument
958 #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp)) argument
960 #define SMC_SET_CONFIG(lp, x) SMC_outw(x, ioaddr, CONFIG_REG(lp)) argument
962 #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp)) argument
964 #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) argument
966 #define SMC_SET_CTL(lp, x) SMC_outw(x, ioaddr, CTL_REG(lp)) argument
968 #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) argument
970 #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp)) argument
972 #define SMC_SET_GP(lp, x) \ argument
980 #define SMC_SET_MII(lp, x) SMC_outw(x, ioaddr, MII_REG(lp)) argument
982 #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) argument
984 #define SMC_SET_MIR(lp, x) SMC_outw(x, ioaddr, MIR_REG(lp)) argument
986 #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) argument
988 #define SMC_SET_MMU_CMD(lp, x) SMC_outw(x, ioaddr, MMU_CMD_REG(lp)) argument
990 #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) argument
992 #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp)) argument
994 #define SMC_SET_PTR(lp, x) \ argument
1002 #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) argument
1004 #define SMC_GET_RCR(lp) SMC_inw(ioaddr, RCR_REG(lp)) argument
1006 #define SMC_SET_RCR(lp, x) SMC_outw(x, ioaddr, RCR_REG(lp)) argument
1008 #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp)) argument
1010 #define SMC_GET_RPC(lp) SMC_inw(ioaddr, RPC_REG(lp)) argument
1012 #define SMC_SET_RPC(lp, x) \ argument
1020 #define SMC_GET_TCR(lp) SMC_inw(ioaddr, TCR_REG(lp)) argument
1022 #define SMC_SET_TCR(lp, x) SMC_outw(x, ioaddr, TCR_REG(lp)) argument
1025 #define SMC_GET_MAC_ADDR(lp, addr) \ argument
1037 #define SMC_SET_MAC_ADDR(lp, addr) \ argument
1044 #define SMC_SET_MCAST(lp, x) \ argument
1053 #define SMC_PUT_PKT_HDR(lp, status, length) \ argument
1064 #define SMC_GET_PKT_HDR(lp, status, length) \ argument
1076 #define SMC_PUSH_DATA(lp, p, l) \ argument
1100 #define SMC_PULL_DATA(lp, p, l) \ argument