Lines Matching refs:hme_write32

244 #define hme_write32(__hp, __reg, __val) \  macro
257 #define hme_write32(__hp, __reg, __val) \ macro
274 #define hme_write32(__hp, __reg, __val) \ macro
299 hme_write32(hp, tregs + TCVR_BBDATA, bit); in BB_PUT_BIT()
300 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_PUT_BIT()
301 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); in BB_PUT_BIT()
309 hme_write32(hp, tregs + TCVR_BBCLOCK, 0);
310 hme_write32(hp, tregs + TCVR_BBCLOCK, 1);
325 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_GET_BIT2()
332 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); in BB_GET_BIT2()
349 hme_write32(hp, tregs + TCVR_BBOENAB, 1); in happy_meal_bb_read()
372 hme_write32(hp, tregs + TCVR_BBOENAB, 0); in happy_meal_bb_read()
395 hme_write32(hp, tregs + TCVR_BBOENAB, 1); in happy_meal_bb_write()
425 hme_write32(hp, tregs + TCVR_BBOENAB, 0); in happy_meal_bb_write()
447 hme_write32(hp, tregs + TCVR_FRAME, in happy_meal_tcvr_read()
477 hme_write32(hp, tregs + TCVR_FRAME, in happy_meal_tcvr_write()
604 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
611 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
616 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
620 hme_write32(hp, hp->bigmacregs + BMAC_TXCFG, in set_happy_link_modes()
836 hme_write32(hp, bregs + BMAC_TXSWRESET, 0); in happy_meal_tx_reset()
856 hme_write32(hp, bregs + BMAC_RXSWRESET, 0); in happy_meal_rx_reset()
878 hme_write32(hp, gregs + GREG_SWRESET, GREG_RESET_ALL); in happy_meal_stop()
896 hme_write32(hp, bregs + BMAC_RCRCECTR, 0); in happy_meal_get_counters()
899 hme_write32(hp, bregs + BMAC_UNALECTR, 0); in happy_meal_get_counters()
902 hme_write32(hp, bregs + BMAC_GLECTR, 0); in happy_meal_get_counters()
909 hme_write32(hp, bregs + BMAC_EXCTR, 0); in happy_meal_get_counters()
910 hme_write32(hp, bregs + BMAC_LTCTR, 0); in happy_meal_get_counters()
927 hme_write32(hp, tregs + TCVR_IMASK, 0xffff); in happy_meal_poll_stop()
931 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_poll_stop()
958 hme_write32(hp, tregs + TCVR_CFG, tconfig & ~(TCV_CFG_PSELECT)); in happy_meal_tcvr_reset()
970 hme_write32(hp, tregs + TCVR_CFG, tconfig | TCV_CFG_PSELECT); in happy_meal_tcvr_reset()
976 hme_write32(hp, tregs + TCVR_CFG, (tconfig | TCV_CFG_PSELECT)); in happy_meal_tcvr_reset()
986 hme_write32(hp, tregs + TCVR_CFG, (tconfig & ~(TCV_CFG_PSELECT))); in happy_meal_tcvr_reset()
1064 hme_write32(hp, tregs + TCVR_CFG, tconfig); in happy_meal_transceiver_check()
1075 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_transceiver_check()
1090 hme_write32(hp, tregs + TCVR_CFG, tconfig | TCV_CFG_PSELECT); in happy_meal_transceiver_check()
1096 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_transceiver_check()
1413 hme_write32(hp, tregs + TCVR_IMASK, 0xffff); in happy_meal_init()
1419 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_init()
1424 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_init()
1443 hme_write32(hp, bregs + BMAC_XIFCFG, 0); in happy_meal_init()
1449 hme_write32(hp, bregs + BMAC_XIFCFG, BIGMAC_XCFG_MIIDISAB); in happy_meal_init()
1463 hme_write32(hp, bregs + BMAC_JSIZE, DEFAULT_JAMSIZE); in happy_meal_init()
1464 hme_write32(hp, bregs + BMAC_IGAP1, DEFAULT_IPG1); in happy_meal_init()
1465 hme_write32(hp, bregs + BMAC_IGAP2, DEFAULT_IPG2); in happy_meal_init()
1471 hme_write32(hp, bregs + BMAC_RSEED, ((e[5] | e[4]<<8)&0x3ff)); in happy_meal_init()
1473 hme_write32(hp, bregs + BMAC_MACADDR2, ((e[4] << 8) | e[5])); in happy_meal_init()
1474 hme_write32(hp, bregs + BMAC_MACADDR1, ((e[2] << 8) | e[3])); in happy_meal_init()
1475 hme_write32(hp, bregs + BMAC_MACADDR0, ((e[0] << 8) | e[1])); in happy_meal_init()
1480 hme_write32(hp, bregs + BMAC_HTABLE0, 0xffff); in happy_meal_init()
1481 hme_write32(hp, bregs + BMAC_HTABLE1, 0xffff); in happy_meal_init()
1482 hme_write32(hp, bregs + BMAC_HTABLE2, 0xffff); in happy_meal_init()
1483 hme_write32(hp, bregs + BMAC_HTABLE3, 0xffff); in happy_meal_init()
1495 hme_write32(hp, bregs + BMAC_HTABLE0, hash_table[0]); in happy_meal_init()
1496 hme_write32(hp, bregs + BMAC_HTABLE1, hash_table[1]); in happy_meal_init()
1497 hme_write32(hp, bregs + BMAC_HTABLE2, hash_table[2]); in happy_meal_init()
1498 hme_write32(hp, bregs + BMAC_HTABLE3, hash_table[3]); in happy_meal_init()
1500 hme_write32(hp, bregs + BMAC_HTABLE3, 0); in happy_meal_init()
1501 hme_write32(hp, bregs + BMAC_HTABLE2, 0); in happy_meal_init()
1502 hme_write32(hp, bregs + BMAC_HTABLE1, 0); in happy_meal_init()
1503 hme_write32(hp, bregs + BMAC_HTABLE0, 0); in happy_meal_init()
1510 hme_write32(hp, erxregs + ERX_RING, in happy_meal_init()
1512 hme_write32(hp, etxregs + ETX_RING, in happy_meal_init()
1522 hme_write32(hp, erxregs + ERX_RING, in happy_meal_init()
1532 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST64); in happy_meal_init()
1558 hme_write32(hp, gregs + GREG_CFG, gcfg); in happy_meal_init()
1561 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST32); in happy_meal_init()
1564 hme_write32(hp, gregs + GREG_CFG, GREG_CFG_BURST16); in happy_meal_init()
1567 hme_write32(hp, gregs + GREG_CFG, 0); in happy_meal_init()
1573 hme_write32(hp, gregs + GREG_IMASK, in happy_meal_init()
1580 hme_write32(hp, etxregs + ETX_RSIZE, (TX_RING_SIZE >> ETX_RSIZE_SHIFT) - 1); in happy_meal_init()
1585 hme_write32(hp, etxregs + ETX_CFG, in happy_meal_init()
1595 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1597 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1611 hme_write32(hp, bregs + BMAC_RXCFG, rxcfg); in happy_meal_init()
1625 hme_write32(hp, bregs + BMAC_TXCFG, regtmp /*| BIGMAC_TXCFG_DGIVEUP*/); in happy_meal_init()
1628 hme_write32(hp, bregs + BMAC_ALIMIT, 16); in happy_meal_init()
1643 hme_write32(hp, bregs + BMAC_XIFCFG, regtmp); in happy_meal_init()
1651 hme_write32(hp, bregs + BMAC_TXMAX, ETH_FRAME_LEN + 8); in happy_meal_init()
1652 hme_write32(hp, bregs + BMAC_RXMAX, ETH_FRAME_LEN + 8); in happy_meal_init()
1654 hme_write32(hp, bregs + BMAC_TXCFG, in happy_meal_init()
1656 hme_write32(hp, bregs + BMAC_RXCFG, in happy_meal_init()
1674 hme_write32(hp, tregs + TCVR_IMASK, 0xffff); in happy_meal_set_initial_advertisement()
1676 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_set_initial_advertisement()
1679 hme_write32(hp, tregs + TCVR_CFG, in happy_meal_set_initial_advertisement()
1686 hme_write32(hp, bregs + BMAC_XIFCFG, 0); in happy_meal_set_initial_advertisement()
1689 hme_write32(hp, bregs + BMAC_XIFCFG, BIGMAC_XCFG_MIIDISAB); in happy_meal_set_initial_advertisement()
2330 hme_write32(hp, hp->etxregs + ETX_PENDING, ETX_TP_DMAWAKEUP); in happy_meal_start_xmit()
2367 hme_write32(hp, bregs + BMAC_HTABLE0, 0xffff); in happy_meal_set_multicast()
2368 hme_write32(hp, bregs + BMAC_HTABLE1, 0xffff); in happy_meal_set_multicast()
2369 hme_write32(hp, bregs + BMAC_HTABLE2, 0xffff); in happy_meal_set_multicast()
2370 hme_write32(hp, bregs + BMAC_HTABLE3, 0xffff); in happy_meal_set_multicast()
2372 hme_write32(hp, bregs + BMAC_RXCFG, in happy_meal_set_multicast()
2383 hme_write32(hp, bregs + BMAC_HTABLE0, hash_table[0]); in happy_meal_set_multicast()
2384 hme_write32(hp, bregs + BMAC_HTABLE1, hash_table[1]); in happy_meal_set_multicast()
2385 hme_write32(hp, bregs + BMAC_HTABLE2, hash_table[2]); in happy_meal_set_multicast()
2386 hme_write32(hp, bregs + BMAC_HTABLE3, hash_table[3]); in happy_meal_set_multicast()