Lines Matching refs:MMIO_MACDATA
223 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ;
227 writew(EEREAD + ee_addr, xl_mmio + MMIO_MACDATA) ;
231 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ;
235 writew(EEREAD + ee_addr, xl_mmio + MMIO_MACDATA) ;
239 return readw(xl_mmio + MMIO_MACDATA) ;
255 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ;
259 writew(EE_ENABLE_WRITE, xl_mmio + MMIO_MACDATA) ;
263 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ;
267 writew(ee_value, xl_mmio + MMIO_MACDATA) ;
271 writew(EEWRITE + ee_addr, xl_mmio + MMIO_MACDATA) ;
275 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ;
453 result_8 = readb(xl_mmio + MMIO_MACDATA) ;
456 writeb(result_8, xl_mmio + MMIO_MACDATA) ;
466 printk(KERN_INFO "Read from PMBAR = %04x\n", readw(xl_mmio + MMIO_MACDATA));
469 if ( readw( (xl_mmio + MMIO_MACDATA)) & PMB_CPHOLD ) {
474 result_16 = readw(xl_mmio + MMIO_MACDATA) ;
477 writew(result_16,xl_mmio + MMIO_MACDATA) ;
482 result_8 = readb(xl_mmio + MMIO_MACDATA) ;
485 writeb(result_8, xl_mmio + MMIO_MACDATA) ;
502 writeb(xl_priv->fw->data[j], xl_mmio + MMIO_MACDATA);
512 xl_mmio + MMIO_MACDATA);
522 writew(start >> 4, xl_mmio + MMIO_MACDATA);
527 result_8 = readb(xl_mmio + MMIO_MACDATA) ;
530 writeb(result_8, xl_mmio + MMIO_MACDATA) ;
535 result_16 = readw(xl_mmio + MMIO_MACDATA) ;
538 writew(result_16,xl_mmio + MMIO_MACDATA) ;
571 writew(0xD000, xl_mmio + MMIO_MACDATA) ;
574 writew(0X0020, xl_mmio + MMIO_MACDATA) ;
587 xl_priv->srb = readb(xl_mmio + MMIO_MACDATA) << 8 ;
589 xl_priv->srb = xl_priv->srb | readb(xl_mmio + MMIO_MACDATA) ;
593 if ( readw(xl_mmio + MMIO_MACDATA) & 2) {
774 writeb(OPEN_NIC, xl_mmio + MMIO_MACDATA) ;
781 writeb(0xff,xl_mmio + MMIO_MACDATA) ;
785 writeb(0x00, xl_mmio + MMIO_MACDATA) ;
787 writeb(0x00, xl_mmio + MMIO_MACDATA) ;
797 writeb(xl_priv->xl_laa[i-10],xl_mmio + MMIO_MACDATA) ;
803 writeb(dev->dev_addr[i-10], xl_mmio + MMIO_MACDATA) ;
810 writeb(0x00,xl_mmio + MMIO_MACDATA) ;
819 writeb(0xFF, xl_mmio + MMIO_MACDATA) ;
821 writeb(MISR_CSRB , xl_mmio + MMIO_MACDATA) ;
841 if (readb(xl_mmio + MMIO_MACDATA)!=0) {
842 open_err = readb(xl_mmio + MMIO_MACDATA) << 8 ;
844 open_err |= readb(xl_mmio + MMIO_MACDATA) ;
848 xl_priv->asb = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
852 printk(", SRB: %04x",swab16(readw(xl_mmio + MMIO_MACDATA)) ) ;
855 xl_priv->arb = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
858 vsoff = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
867 ver_str[i] = readb(xl_mmio + MMIO_MACDATA) ;
1157 macstatus = readw(xl_mmio + MMIO_MACDATA) ;
1352 if (readb(xl_mmio + MMIO_MACDATA) != CLOSE_NIC) {
1356 if (readb(xl_mmio + MMIO_MACDATA)==0) {
1363 printk(KERN_INFO "%s: Close nic command returned error code %02x\n",dev->name, readb(xl_mmio + MMIO_MACDATA)) ;
1439 srb_cmd = readb(xl_mmio + MMIO_MACDATA) ;
1441 ret_code = readb(xl_mmio + MMIO_MACDATA) ;
1469 printk("%02x:",readb(xl_mmio + MMIO_MACDATA)) ;
1530 arb_cmd = readb(xl_mmio + MMIO_MACDATA) ;
1535 printk(KERN_INFO "%s: Ring Status Change: New Status = %04x\n", dev->name, swab16(readw(xl_mmio + MMIO_MACDATA) )) ;
1537 lan_status = swab16(readw(xl_mmio + MMIO_MACDATA));
1601 xl_priv->mac_buffer = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
1617 if (readb(xl_mmio + MMIO_MACDATA) != 0xff) {
1623 writeb(0xff, xl_mmio + MMIO_MACDATA) ;
1625 writeb(MISR_ASBFR, xl_mmio + MMIO_MACDATA) ;
1658 writeb(0x81, xl_mmio + MMIO_MACDATA) ;
1661 writew(swab16(xl_priv->mac_buffer), xl_mmio + MMIO_MACDATA) ;
1666 writeb(0xff, xl_mmio + MMIO_MACDATA) ;
1669 writeb(MISR_RASB, xl_mmio + MMIO_MACDATA) ;
1687 ret_code = readb(xl_mmio + MMIO_MACDATA) ;
1716 writeb(READ_LOG, xl_mmio + MMIO_MACDATA) ;
1721 writeb(CLOSE_NIC, xl_mmio + MMIO_MACDATA) ;
1726 writeb(SET_RECEIVE_MODE, xl_mmio + MMIO_MACDATA) ;
1728 writew(xl_priv->xl_copy_all_options, xl_mmio + MMIO_MACDATA) ;
1733 writeb(SET_FUNC_ADDRESS, xl_mmio + MMIO_MACDATA) ;
1735 writeb(xl_priv->xl_functional_addr[0], xl_mmio + MMIO_MACDATA) ;
1737 writeb(xl_priv->xl_functional_addr[1], xl_mmio + MMIO_MACDATA) ;
1739 writeb(xl_priv->xl_functional_addr[2], xl_mmio + MMIO_MACDATA) ;
1741 writeb(xl_priv->xl_functional_addr[3], xl_mmio + MMIO_MACDATA) ;
1750 writeb(0xFF, xl_mmio + MMIO_MACDATA) ;
1753 writeb(MISR_CSRB, xl_mmio + MMIO_MACDATA) ;
1773 if (readb(xl_mmio + MMIO_MACDATA) != 0) { /* Misr not clear */
1776 while (readb(xl_mmio + MMIO_MACDATA) != 0 ) {} ; /* Empty Loop */
1781 writeb(0x80, xl_mmio + MMIO_MACDATA) ;