Lines Matching refs:hp100_inb

536 		uc_1 = hp100_inb(BOARD_ID + i);  in hp100_probe1()
540 uc += hp100_inb(BOARD_ID + 4); in hp100_probe1()
566 uc += hp100_inb(LAN_ADDR + i); in hp100_probe1()
676 memory_size = (8192 << ((hp100_inb(SRAM) >> 5) & 0x07)); in hp100_probe1()
740 lp->soft_model = hp100_inb(SOFT_MODEL); in hp100_probe1()
770 dev->irq = hp100_inb(IRQ_CHANNEL) & HP100_IRQMASK; in hp100_probe1()
781 dev->dev_addr[i] = hp100_inb(LAN_ADDR + i); in hp100_probe1()
1468 if ((hp100_inb(MAC_CFG_1) & (HP100_TX_IDLE | HP100_RX_IDLE)) == (HP100_TX_IDLE | HP100_RX_IDLE)) in hp100_BM_shutdown()
1479 if (0 == (hp100_inb(BM) & HP100_BM_MASTER)) in hp100_BM_shutdown()
1491 if ((hp100_inb(RX_PDL) == 0) && (hp100_inb(RX_PKT_CNT) == 0)) in hp100_BM_shutdown()
1504 if ((0 == hp100_inb(TX_PKT_CNT)) && in hp100_BM_shutdown()
1505 (0 != (hp100_inb(TX_MEM_FREE) & HP100_AUTO_COMPARE))) in hp100_BM_shutdown()
1669 donecount = (lp->txrcommit) - hp100_inb(TX_PDL); in hp100_clean_txring()
1680 lp->txrcommit, hp100_inb(TX_PDL), donecount); in hp100_clean_txring()
1726 if (!(((i / 2) - 539) > (skb->len + 16) && (hp100_inb(TX_PKT_CNT) < 255))) { in hp100_start_xmit()
1773 for (i = 0; i < 6000 && (hp100_inb(OPTION_MSW) & HP100_TX_CMD); i++) { in hp100_start_xmit()
1859 packets = hp100_inb(RX_PKT_CNT); in hp100_rx()
1868 for (pkt_len = 0; pkt_len < 6000 && (hp100_inb(OPTION_MSW) & HP100_ADV_NXT_PKT); pkt_len++) { in hp100_rx()
1981 while ((lp->rxrcommit > hp100_inb(RX_PDL))) { in hp100_rx_bm()
2003 dev->name, hp100_inb(RX_PDL), hp100_inb(TX_PDL), in hp100_rx_bm()
2004 hp100_inb(RX_PKT_CNT), (u_int) * (ptr->pdl), in hp100_rx_bm()
2095 val = hp100_inb(CRC); in hp100_update_stats()
2098 val = hp100_inb(ABORT); in hp100_update_stats()
2131 hp100_inb(CRC); in hp100_clear_stats()
2132 hp100_inb(ABORT); in hp100_clear_stats()
2210 if (((hp100_inb(MAC_CFG_1) & 0x0f) != lp->mac1_mode) || in hp100_set_multicast_list()
2211 (hp100_inb(MAC_CFG_2) != lp->mac2_mode)) { in hp100_set_multicast_list()
2242 old_hash_bytes[i] = hp100_inb(HASH_BYTE0 + i); in hp100_set_multicast_list()
2301 dev->name, lp->mode, (u_int) val, hp100_inb(RX_PKT_CNT), in hp100_interrupt()
2302 hp100_inb(RX_PDL), hp100_inb(TX_PKT_CNT), hp100_inb(TX_PDL)); in hp100_interrupt()
2494 … if ((hp100_inb(MAC_CFG_1) & (HP100_TX_IDLE | HP100_RX_IDLE)) == (HP100_TX_IDLE | HP100_RX_IDLE)) { in hp100_stop_interface()
2516 if (!(hp100_inb(OPTION_MSW) & HP100_EE_LOAD)) in hp100_load_eeprom()
2537 val_10 = hp100_inb(10_LAN_CFG_1); in hp100_sense_lan()
2538 val_VG = hp100_inb(VG_LAN_CFG_1); in hp100_sense_lan()
2585 if (hp100_inb(VG_LAN_CFG_1) & HP100_LINK_CABLE_ST) in hp100_down_vg_link()
2604 if (!(hp100_inb(VG_LAN_CFG_1) & HP100_LINK_UP_ST)) in hp100_down_vg_link()
2645 if (!(hp100_inb(MAC_CFG_4) & HP100_MAC_SEL_ST)) in hp100_down_vg_link()
2659 if ((hp100_inb(VG_LAN_CFG_1) & HP100_LINK_CABLE_ST) == 0) in hp100_down_vg_link()
2703 startst = hp100_inb(VG_LAN_CFG_1); in hp100_login_to_vg_hub()
2704 if ((force_relogin == TRUE) || (hp100_inb(MAC_CFG_4) & HP100_MAC_SEL_ST)) { in hp100_login_to_vg_hub()
2727 if (~(hp100_inb(VG_LAN_CFG_1) & HP100_LINK_UP_ST)) in hp100_login_to_vg_hub()
2765 if (hp100_inb(VG_LAN_CFG_1) & HP100_LINK_CABLE_ST) in hp100_login_to_vg_hub()
2786 val = hp100_inb(VG_LAN_CFG_1); in hp100_login_to_vg_hub()
2838 val = hp100_inb(VG_LAN_CFG_1); in hp100_login_to_vg_hub()
2896 printk("hardware id #1: 0x%.2x\n", hp100_inb(HW_ID)); in hp100_RegisterDump()
2897 printk("hardware id #2/paging: 0x%.2x\n", hp100_inb(PAGING)); in hp100_RegisterDump()