Lines Matching refs:hp100_inb

305 		sig[i] = hp100_inb(BOARD_ID + i);  in hp100_read_id()
309 sum += hp100_inb(BOARD_ID + i); in hp100_read_id()
482 uc += hp100_inb(LAN_ADDR + i); in hp100_probe1()
595 memory_size = (8192 << ((hp100_inb(SRAM) >> 5) & 0x07)); in hp100_probe1()
656 lp->soft_model = hp100_inb(SOFT_MODEL); in hp100_probe1()
677 dev->irq = hp100_inb(IRQ_CHANNEL) & HP100_IRQMASK; in hp100_probe1()
688 dev->dev_addr[i] = hp100_inb(LAN_ADDR + i); in hp100_probe1()
1396 if ((hp100_inb(MAC_CFG_1) & (HP100_TX_IDLE | HP100_RX_IDLE)) == (HP100_TX_IDLE | HP100_RX_IDLE)) in hp100_BM_shutdown()
1407 if (0 == (hp100_inb(BM) & HP100_BM_MASTER)) in hp100_BM_shutdown()
1419 if ((hp100_inb(RX_PDL) == 0) && (hp100_inb(RX_PKT_CNT) == 0)) in hp100_BM_shutdown()
1432 if ((0 == hp100_inb(TX_PKT_CNT)) && in hp100_BM_shutdown()
1433 (0 != (hp100_inb(TX_MEM_FREE) & HP100_AUTO_COMPARE))) in hp100_BM_shutdown()
1600 donecount = (lp->txrcommit) - hp100_inb(TX_PDL); in hp100_clean_txring()
1611 lp->txrcommit, hp100_inb(TX_PDL), donecount); in hp100_clean_txring()
1644 if (!(((i / 2) - 539) > (skb->len + 16) && (hp100_inb(TX_PKT_CNT) < 255))) { in hp100_start_xmit()
1690 for (i = 0; i < 6000 && (hp100_inb(OPTION_MSW) & HP100_TX_CMD); i++) { in hp100_start_xmit()
1773 packets = hp100_inb(RX_PKT_CNT); in hp100_rx()
1782 for (pkt_len = 0; pkt_len < 6000 && (hp100_inb(OPTION_MSW) & HP100_ADV_NXT_PKT); pkt_len++) { in hp100_rx()
1886 while ((lp->rxrcommit > hp100_inb(RX_PDL))) { in hp100_rx_bm()
1908 dev->name, hp100_inb(RX_PDL), hp100_inb(TX_PDL), in hp100_rx_bm()
1909 hp100_inb(RX_PKT_CNT), (u_int) * (ptr->pdl), in hp100_rx_bm()
1998 val = hp100_inb(CRC); in hp100_update_stats()
2001 val = hp100_inb(ABORT); in hp100_update_stats()
2036 hp100_inb(CRC); in hp100_clear_stats()
2037 hp100_inb(ABORT); in hp100_clear_stats()
2113 if (((hp100_inb(MAC_CFG_1) & 0x0f) != lp->mac1_mode) || in hp100_set_multicast_list()
2114 (hp100_inb(MAC_CFG_2) != lp->mac2_mode)) { in hp100_set_multicast_list()
2145 old_hash_bytes[i] = hp100_inb(HASH_BYTE0 + i); in hp100_set_multicast_list()
2204 dev->name, lp->mode, (u_int) val, hp100_inb(RX_PKT_CNT), in hp100_interrupt()
2205 hp100_inb(RX_PDL), hp100_inb(TX_PKT_CNT), hp100_inb(TX_PDL)); in hp100_interrupt()
2398 … if ((hp100_inb(MAC_CFG_1) & (HP100_TX_IDLE | HP100_RX_IDLE)) == (HP100_TX_IDLE | HP100_RX_IDLE)) { in hp100_stop_interface()
2420 if (!(hp100_inb(OPTION_MSW) & HP100_EE_LOAD)) in hp100_load_eeprom()
2441 val_10 = hp100_inb(10_LAN_CFG_1); in hp100_sense_lan()
2442 val_VG = hp100_inb(VG_LAN_CFG_1); in hp100_sense_lan()
2493 if (hp100_inb(VG_LAN_CFG_1) & HP100_LINK_CABLE_ST) in hp100_down_vg_link()
2510 if (!(hp100_inb(VG_LAN_CFG_1) & HP100_LINK_UP_ST)) in hp100_down_vg_link()
2549 if (!(hp100_inb(MAC_CFG_4) & HP100_MAC_SEL_ST)) in hp100_down_vg_link()
2561 if ((hp100_inb(VG_LAN_CFG_1) & HP100_LINK_CABLE_ST) == 0) in hp100_down_vg_link()
2601 startst = hp100_inb(VG_LAN_CFG_1); in hp100_login_to_vg_hub()
2602 if ((force_relogin == 1) || (hp100_inb(MAC_CFG_4) & HP100_MAC_SEL_ST)) { in hp100_login_to_vg_hub()
2625 if (!(hp100_inb(VG_LAN_CFG_1) & HP100_LINK_UP_ST)) in hp100_login_to_vg_hub()
2661 if (hp100_inb(VG_LAN_CFG_1) & HP100_LINK_CABLE_ST) in hp100_login_to_vg_hub()
2680 val = hp100_inb(VG_LAN_CFG_1); in hp100_login_to_vg_hub()
2730 val = hp100_inb(VG_LAN_CFG_1); in hp100_login_to_vg_hub()
2788 printk("hardware id #1: 0x%.2x\n", hp100_inb(HW_ID)); in hp100_RegisterDump()
2789 printk("hardware id #2/paging: 0x%.2x\n", hp100_inb(PAGING)); in hp100_RegisterDump()