Lines Matching refs:OFFSET
48 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro
96 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
102 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
429 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \
430 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \
431 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \
600 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create()
601 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create()
602 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create()
603 t1_tpi_write(adapter, OFFSET(0x2305), 0x00001001); /* PL4IO Enable */ in pm3393_mac_create()
604 t1_tpi_write(adapter, OFFSET(0x2320), 0x00008800); in pm3393_mac_create()
605 t1_tpi_write(adapter, OFFSET(0x2321), 0x00008800); in pm3393_mac_create()
606 t1_tpi_write(adapter, OFFSET(0x2322), 0x00008800); in pm3393_mac_create()
607 t1_tpi_write(adapter, OFFSET(0x2323), 0x00008800); in pm3393_mac_create()
608 t1_tpi_write(adapter, OFFSET(0x2324), 0x00008800); in pm3393_mac_create()
609 t1_tpi_write(adapter, OFFSET(0x2325), 0x00008800); in pm3393_mac_create()
610 t1_tpi_write(adapter, OFFSET(0x2326), 0x00008800); in pm3393_mac_create()
611 t1_tpi_write(adapter, OFFSET(0x2327), 0x00008800); in pm3393_mac_create()
612 t1_tpi_write(adapter, OFFSET(0x2328), 0x00008800); in pm3393_mac_create()
613 t1_tpi_write(adapter, OFFSET(0x2329), 0x00008800); in pm3393_mac_create()
614 t1_tpi_write(adapter, OFFSET(0x232a), 0x00008800); in pm3393_mac_create()
615 t1_tpi_write(adapter, OFFSET(0x232b), 0x00008800); in pm3393_mac_create()
616 t1_tpi_write(adapter, OFFSET(0x232c), 0x00008800); in pm3393_mac_create()
617 t1_tpi_write(adapter, OFFSET(0x232d), 0x00008800); in pm3393_mac_create()
618 t1_tpi_write(adapter, OFFSET(0x232e), 0x00008800); in pm3393_mac_create()
619 t1_tpi_write(adapter, OFFSET(0x232f), 0x00008800); in pm3393_mac_create()
620 t1_tpi_write(adapter, OFFSET(0x230d), 0x00009c00); in pm3393_mac_create()
621 t1_tpi_write(adapter, OFFSET(0x2304), 0x00000202); /* PL4IO Calendar Repetitions */ in pm3393_mac_create()
623 t1_tpi_write(adapter, OFFSET(0x3200), 0x00008080); /* EFLX Enable */ in pm3393_mac_create()
624 t1_tpi_write(adapter, OFFSET(0x3210), 0x00000000); /* EFLX Channel Deprovision */ in pm3393_mac_create()
625 t1_tpi_write(adapter, OFFSET(0x3203), 0x00000000); /* EFLX Low Limit */ in pm3393_mac_create()
626 t1_tpi_write(adapter, OFFSET(0x3204), 0x00000040); /* EFLX High Limit */ in pm3393_mac_create()
627 t1_tpi_write(adapter, OFFSET(0x3205), 0x000002cc); /* EFLX Almost Full */ in pm3393_mac_create()
628 t1_tpi_write(adapter, OFFSET(0x3206), 0x00000199); /* EFLX Almost Empty */ in pm3393_mac_create()
629 t1_tpi_write(adapter, OFFSET(0x3207), 0x00000240); /* EFLX Cut Through Threshold */ in pm3393_mac_create()
630 t1_tpi_write(adapter, OFFSET(0x3202), 0x00000000); /* EFLX Indirect Register Update */ in pm3393_mac_create()
631 t1_tpi_write(adapter, OFFSET(0x3210), 0x00000001); /* EFLX Channel Provision */ in pm3393_mac_create()
632 t1_tpi_write(adapter, OFFSET(0x3208), 0x0000ffff); /* EFLX Undocumented */ in pm3393_mac_create()
633 t1_tpi_write(adapter, OFFSET(0x320a), 0x0000ffff); /* EFLX Undocumented */ in pm3393_mac_create()
634 …t1_tpi_write(adapter, OFFSET(0x320c), 0x0000ffff); /* EFLX enable overflow interrupt The other bit… in pm3393_mac_create()
635 t1_tpi_write(adapter, OFFSET(0x320e), 0x0000ffff); /* EFLX Undocumented */ in pm3393_mac_create()
637 t1_tpi_write(adapter, OFFSET(0x2200), 0x0000c000); /* IFLX Configuration - enable */ in pm3393_mac_create()
638 t1_tpi_write(adapter, OFFSET(0x2201), 0x00000000); /* IFLX Channel Deprovision */ in pm3393_mac_create()
639 t1_tpi_write(adapter, OFFSET(0x220e), 0x00000000); /* IFLX Low Limit */ in pm3393_mac_create()
640 t1_tpi_write(adapter, OFFSET(0x220f), 0x00000100); /* IFLX High Limit */ in pm3393_mac_create()
641 t1_tpi_write(adapter, OFFSET(0x2210), 0x00000c00); /* IFLX Almost Full Limit */ in pm3393_mac_create()
642 t1_tpi_write(adapter, OFFSET(0x2211), 0x00000599); /* IFLX Almost Empty Limit */ in pm3393_mac_create()
643 t1_tpi_write(adapter, OFFSET(0x220d), 0x00000000); /* IFLX Indirect Register Update */ in pm3393_mac_create()
644 t1_tpi_write(adapter, OFFSET(0x2201), 0x00000001); /* IFLX Channel Provision */ in pm3393_mac_create()
645 t1_tpi_write(adapter, OFFSET(0x2203), 0x0000ffff); /* IFLX Undocumented */ in pm3393_mac_create()
646 t1_tpi_write(adapter, OFFSET(0x2205), 0x0000ffff); /* IFLX Undocumented */ in pm3393_mac_create()
647 …t1_tpi_write(adapter, OFFSET(0x2209), 0x0000ffff); /* IFLX Enable overflow interrupt. The other b… in pm3393_mac_create()
649 t1_tpi_write(adapter, OFFSET(0x2241), 0xfffffffe); /* PL4MOS Undocumented */ in pm3393_mac_create()
650 t1_tpi_write(adapter, OFFSET(0x2242), 0x0000ffff); /* PL4MOS Undocumented */ in pm3393_mac_create()
651 t1_tpi_write(adapter, OFFSET(0x2243), 0x00000008); /* PL4MOS Starving Burst Size */ in pm3393_mac_create()
652 t1_tpi_write(adapter, OFFSET(0x2244), 0x00000008); /* PL4MOS Hungry Burst Size */ in pm3393_mac_create()
653 t1_tpi_write(adapter, OFFSET(0x2245), 0x00000008); /* PL4MOS Transfer Size */ in pm3393_mac_create()
654 t1_tpi_write(adapter, OFFSET(0x2240), 0x00000005); /* PL4MOS Disable */ in pm3393_mac_create()
656 t1_tpi_write(adapter, OFFSET(0x2280), 0x00002103); /* PL4ODP Training Repeat and SOP rule */ in pm3393_mac_create()
657 t1_tpi_write(adapter, OFFSET(0x2284), 0x00000000); /* PL4ODP MAX_T setting */ in pm3393_mac_create()
659 …t1_tpi_write(adapter, OFFSET(0x3280), 0x00000087); /* PL4IDU Enable data forward, port state machi… in pm3393_mac_create()
660 t1_tpi_write(adapter, OFFSET(0x3282), 0x0000001f); /* PL4IDU Enable Dip4 check error interrupts */ in pm3393_mac_create()
662 t1_tpi_write(adapter, OFFSET(0x3040), 0x0c32); /* # TXXG Config */ in pm3393_mac_create()
664 t1_tpi_write(adapter, OFFSET(0x304d), 0x8000); in pm3393_mac_create()
665 t1_tpi_write(adapter, OFFSET(0x2040), 0x059c); /* # RXXG Config */ in pm3393_mac_create()
666 t1_tpi_write(adapter, OFFSET(0x2049), 0x0001); /* # RXXG Cut Through */ in pm3393_mac_create()
667 t1_tpi_write(adapter, OFFSET(0x2070), 0x0000); /* # Disable promiscuous mode */ in pm3393_mac_create()
671 t1_tpi_write(adapter, OFFSET(0x206e), 0x0000); /* # Disable Match Enable bit */ in pm3393_mac_create()
672 t1_tpi_write(adapter, OFFSET(0x204a), 0xffff); /* # low addr */ in pm3393_mac_create()
673 t1_tpi_write(adapter, OFFSET(0x204b), 0xffff); /* # mid addr */ in pm3393_mac_create()
674 t1_tpi_write(adapter, OFFSET(0x204c), 0xffff); /* # high addr */ in pm3393_mac_create()
675 t1_tpi_write(adapter, OFFSET(0x206e), 0x0009); /* # Enable Match Enable bit */ in pm3393_mac_create()
677 t1_tpi_write(adapter, OFFSET(0x0003), 0x0000); /* # NO SOP/ PAD_EN setup */ in pm3393_mac_create()
678 t1_tpi_write(adapter, OFFSET(0x0100), 0x0ff0); /* # RXEQB disabled */ in pm3393_mac_create()
679 t1_tpi_write(adapter, OFFSET(0x0101), 0x0f0f); /* # No Preemphasis */ in pm3393_mac_create()
752 t1_tpi_read(adapter, OFFSET(SUNI1x10GEXP_REG_DEVICE_STATUS), &val); in pm3393_mac_reset()