Lines Matching refs:ether1_readw
83 #define ether1_readw(dev, addr, type, offset, svflgs) ether1_inw_p (dev, addr + (int)(&((type *)0)-… macro
465 if (ether1_readw(dev, CFG_ADDR, cfg_t, cfg_command, NORMALIRQS) != CMD_CONFIG) { in ether1_init_for_open()
515 while (ether1_readw(dev, ISCP_ADDR, iscp_t, iscp_busy, DISABLEIRQS) == 1) { in ether1_init_for_open()
524 while (((status = ether1_readw(dev, CFG_ADDR, cfg_t, cfg_status, DISABLEIRQS)) in ether1_init_for_open()
533 ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS), in ether1_init_for_open()
534 ether1_readw(dev, SCB_ADDR, scb_t, scb_command, NORMALIRQS), in ether1_init_for_open()
535 ether1_readw(dev, SCB_ADDR, scb_t, scb_cbl_offset, NORMALIRQS), in ether1_init_for_open()
536 ether1_readw(dev, SCB_ADDR, scb_t, scb_rfa_offset, NORMALIRQS)); in ether1_init_for_open()
541 while (((status = ether1_readw(dev, SA_ADDR, sa_t, sa_status, DISABLEIRQS)) in ether1_init_for_open()
550 ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS), in ether1_init_for_open()
551 ether1_readw(dev, SCB_ADDR, scb_t, scb_command, NORMALIRQS), in ether1_init_for_open()
552 ether1_readw(dev, SCB_ADDR, scb_t, scb_cbl_offset, NORMALIRQS), in ether1_init_for_open()
553 ether1_readw(dev, SCB_ADDR, scb_t, scb_rfa_offset, NORMALIRQS)); in ether1_init_for_open()
558 while (((status = ether1_readw(dev, MC_ADDR, mc_t, mc_status, DISABLEIRQS)) in ether1_init_for_open()
567 ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS), in ether1_init_for_open()
568 ether1_readw(dev, SCB_ADDR, scb_t, scb_command, NORMALIRQS), in ether1_init_for_open()
569 ether1_readw(dev, SCB_ADDR, scb_t, scb_cbl_offset, NORMALIRQS), in ether1_init_for_open()
570 ether1_readw(dev, SCB_ADDR, scb_t, scb_rfa_offset, NORMALIRQS)); in ether1_init_for_open()
575 while (((status = ether1_readw(dev, TDR_ADDR, tdr_t, tdr_status, DISABLEIRQS)) in ether1_init_for_open()
584 ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS), in ether1_init_for_open()
585 ether1_readw(dev, SCB_ADDR, scb_t, scb_command, NORMALIRQS), in ether1_init_for_open()
586 ether1_readw(dev, SCB_ADDR, scb_t, scb_cbl_offset, NORMALIRQS), in ether1_init_for_open()
587 ether1_readw(dev, SCB_ADDR, scb_t, scb_rfa_offset, NORMALIRQS)); in ether1_init_for_open()
589 status = ether1_readw(dev, TDR_ADDR, tdr_t, tdr_result, DISABLEIRQS); in ether1_init_for_open()
755 if (ether1_readw(dev, SCB_ADDR, scb_t, scb_cbl_offset, NORMALIRQS) in ether1_xmit_done()
849 status = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_status, NORMALIRQS); in ether1_recv_done()
853 rbdaddr = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_rbdoffset, NORMALIRQS); in ether1_recv_done()
879 nexttail = ether1_readw(dev, priv(dev)->rx_tail, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done()
890 priv(dev)->rx_head = ether1_readw(dev, priv(dev)->rx_head, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done()
900 status = ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS); in ether1_interrupt()
914 if (ether1_readw(dev, SCB_ADDR, scb_t, scb_cbl_offset, NORMALIRQS) in ether1_interrupt()
926 if (ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS) & SCB_STRXSUSP) { in ether1_interrupt()
933 ether1_readw(dev, SCB_ADDR, scb_t, scb_status, NORMALIRQS)); in ether1_interrupt()
934 printk (KERN_WARNING "RU ptr = %04X\n", ether1_readw(dev, SCB_ADDR, scb_t, scb_rfa_offset, in ether1_interrupt()