bar0 42 arch/alpha/include/asm/core_irongate.h igcsr32 bar0; /* 0x10 - BAR0 - AGP */ bar0 325 arch/alpha/kernel/core_irongate.c gart_bus_addr = (unsigned long)IRONGATE0->bar0 & bar0 68 arch/powerpc/platforms/52xx/mpc52xx_pci.c u32 bar0; /* PCI + 0x10 */ bar0 312 arch/powerpc/platforms/52xx/mpc52xx_pci.c out_be32(&pci_regs->bar0, PCI_BASE_ADDRESS_MEM_PREFETCH | pci_phys); bar0 39 arch/sparc/kernel/leon_pci_grpci1.c unsigned int bar0; /* 0x04 BAR0 (RO) */ bar0 225 arch/x86/kernel/early_printk.c u32 classcode, bar0; bar0 267 arch/x86/kernel/early_printk.c bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); bar0 282 arch/x86/kernel/early_printk.c if (bar0 & 0x01) { bar0 286 arch/x86/kernel/early_printk.c early_serial_base = bar0&0xfffffffc; bar0 295 arch/x86/kernel/early_printk.c (unsigned long)early_ioremap(bar0 & 0xfffffff0, 0x10); bar0 27 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c u32 bar0; bar0 49 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c nvkm_wr32(device, 0x001700, priv->bar0); bar0 108 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c priv->bar0 = nvkm_rd32(device, 0x001700); bar0 5142 drivers/infiniband/hw/i40iw/i40iw_ctrl.c dev->hw->hw_addr = info->bar0; bar0 1351 drivers/infiniband/hw/i40iw/i40iw_main.c info.bar0 = ldev->hw_addr; bar0 593 drivers/infiniband/hw/i40iw/i40iw_type.h void __iomem *bar0; bar0 98 drivers/infiniband/hw/usnic/usnic_vnic.c struct vnic_dev_bar *bar0; bar0 102 drivers/infiniband/hw/usnic/usnic_vnic.c bar0 = usnic_vnic_get_bar(vnic, 0); bar0 106 drivers/infiniband/hw/usnic/usnic_vnic.c &bar0->bus_addr, bar0 107 drivers/infiniband/hw/usnic/usnic_vnic.c bar0->vaddr, bar0->len); bar0 280 drivers/media/pci/cobalt/cobalt-driver.c if (cobalt->bar0) { bar0 281 drivers/media/pci/cobalt/cobalt-driver.c pci_iounmap(pci_dev, cobalt->bar0); bar0 282 drivers/media/pci/cobalt/cobalt-driver.c cobalt->bar0 = NULL; bar0 351 drivers/media/pci/cobalt/cobalt-driver.c cobalt->bar0 = pci_iomap(pci_dev, 0, 0); bar0 357 drivers/media/pci/cobalt/cobalt-driver.c if (!cobalt->bar0 || !cobalt->bar1) { bar0 255 drivers/media/pci/cobalt/cobalt-driver.h void __iomem *bar0, *bar1; bar0 297 drivers/media/pci/cobalt/cobalt-driver.h iowrite32(val, cobalt->bar0 + reg); bar0 302 drivers/media/pci/cobalt/cobalt-driver.h return ioread32(cobalt->bar0 + reg); bar0 42 drivers/media/pci/cobalt/cobalt-omnitek.c #define BASE (cobalt->bar0) bar0 1930 drivers/net/ethernet/broadcom/bnxt/bnxt.c val = readl(bp->bar0 + reg_off); bar0 2134 drivers/net/ethernet/broadcom/bnxt/bnxt.c int_status = readl(bp->bar0 + BNXT_CAG_REG_LEGACY_INT_STATUS); bar0 4253 drivers/net/ethernet/broadcom/bnxt/bnxt.c __iowrite32_copy(bp->bar0 + bar_offset, data, msg_len / 4); bar0 4256 drivers/net/ethernet/broadcom/bnxt/bnxt.c writel(0, bp->bar0 + bar_offset + i); bar0 4259 drivers/net/ethernet/broadcom/bnxt/bnxt.c writel(1, bp->bar0 + doorbell_offset); bar0 7084 drivers/net/ethernet/broadcom/bnxt/bnxt.c writel(reg_base, bp->bar0 + BNXT_GRCPF_REG_WINDOW_BASE_OUT + bar0 9074 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bar0 + BNXT_GRCPF_REG_WINDOW_BASE_OUT + 12); bar0 10392 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->bar0) { bar0 10393 drivers/net/ethernet/broadcom/bnxt/bnxt.c pci_iounmap(pdev, bp->bar0); bar0 10394 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bar0 = NULL; bar0 10607 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bar0 + BNXT_GRCPF_REG_WINDOW_BASE_OUT + 4); bar0 10611 drivers/net/ethernet/broadcom/bnxt/bnxt.c writel(val, bp->bar0 + reg_off); bar0 10820 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bar0 = pci_ioremap_bar(pdev, 0); bar0 10821 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bar0) { bar0 1404 drivers/net/ethernet/broadcom/bnxt/bnxt.h void __iomem *bar0; bar0 3480 drivers/net/ethernet/brocade/bna/bnad.c bnad->bar0 = ioremap_nocache(bnad->mmio_start, bnad->mmio_len); bar0 3481 drivers/net/ethernet/brocade/bna/bnad.c if (!bnad->bar0) { bar0 3485 drivers/net/ethernet/brocade/bna/bnad.c dev_info(&pdev->dev, "bar0 mapped to %p, len %llu\n", bnad->bar0, bar0 3510 drivers/net/ethernet/brocade/bna/bnad.c iounmap(bnad->bar0); bar0 3531 drivers/net/ethernet/brocade/bna/bnad.c if (bnad->bar0) bar0 3532 drivers/net/ethernet/brocade/bna/bnad.c iounmap(bnad->bar0); bar0 3671 drivers/net/ethernet/brocade/bna/bnad.c pcidev_info.pci_bar_kva = bnad->bar0; bar0 309 drivers/net/ethernet/brocade/bna/bnad.h void __iomem *bar0; /* BAR0 address */ bar0 778 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u32 bar0; bar0 789 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c bar0 = t4_read_pcie_cfg4(adap, pci_base); bar0 790 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c bar0 &= pci_mask; bar0 791 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c adap->t4_bar0 = bar0; bar0 793 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ret = bar0 + memwin_base; bar0 661 drivers/net/ethernet/intel/ixgb/ixgb_hw.h u32 bar0; /* Base Address registers */ bar0 1009 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 1013 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pci_mode); bar0 1043 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 1049 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pci_mode); bar0 1111 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 1135 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tti_data1_mem); bar0 1160 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tti_data2_mem); bar0 1165 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tti_command_mem); bar0 1167 drivers/net/ethernet/neterion/s2io.c if (wait_for_cmd_complete(&bar0->tti_command_mem, bar0 1187 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 1210 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->sw_reset); bar0 1212 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->sw_reset); bar0 1217 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->sw_reset); bar0 1219 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->sw_reset); bar0 1226 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 1236 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; bar0 1237 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 1239 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 1241 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 1245 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_int_mask); bar0 1246 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_int_mask); bar0 1247 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_int_mask); bar0 1251 drivers/net/ethernet/neterion/s2io.c writeq(vBIT(val64, 2, 14), &bar0->rmac_max_pyld_len); bar0 1256 drivers/net/ethernet/neterion/s2io.c &bar0->dtx_control, UF); bar0 1264 drivers/net/ethernet/neterion/s2io.c &bar0->dtx_control, UF); bar0 1265 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->dtx_control); bar0 1272 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_0); bar0 1273 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_1); bar0 1274 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_2); bar0 1275 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_3); bar0 1290 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_0); bar0 1295 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_1); bar0 1300 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_2); bar0 1305 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_3); bar0 1320 drivers/net/ethernet/neterion/s2io.c writeq(PCC_ENABLE_FOUR, &bar0->pcc_enable); bar0 1322 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->tx_fifo_partition_0); bar0 1324 drivers/net/ethernet/neterion/s2io.c &bar0->tx_fifo_partition_0, (unsigned long long)val64); bar0 1330 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->tx_pa_cfg); bar0 1335 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_pa_cfg); bar0 1344 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_queue_priority); bar0 1393 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_queue_cfg); bar0 1402 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1403 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1404 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1405 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1406 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1410 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1411 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1412 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1413 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1415 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1419 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1421 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1423 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1425 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1427 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1431 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1432 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1433 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1434 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1436 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1440 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1442 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1444 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1446 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1448 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1452 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1454 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1456 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1458 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1460 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1464 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1466 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1468 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1470 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1472 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1476 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); bar0 1477 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); bar0 1478 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); bar0 1479 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); bar0 1481 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); bar0 1486 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->tx_fifo_partition_0); bar0 1488 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_0); bar0 1497 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1498 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1499 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1500 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1501 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1504 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1508 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1509 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1510 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1511 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1513 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1516 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1520 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1522 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1524 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1526 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1528 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1531 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1535 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1536 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1537 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1538 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1540 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1543 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1547 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1549 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1551 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1553 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1555 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1558 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1562 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1564 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1566 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1568 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1570 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1573 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1577 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1579 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1581 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1583 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1585 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1588 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1592 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); bar0 1593 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); bar0 1594 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); bar0 1595 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); bar0 1597 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); bar0 1600 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); bar0 1607 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_frm_len_n[i]); bar0 1612 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_frm_len_n[i]); bar0 1626 drivers/net/ethernet/neterion/s2io.c &bar0->rts_frm_len_n[i]); bar0 1641 drivers/net/ethernet/neterion/s2io.c writeq(mac_control->stats_mem_phy, &bar0->stat_addr); bar0 1645 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->stat_byte_cnt); bar0 1654 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_link_util); bar0 1680 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rti_data1_mem); bar0 1690 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rti_data2_mem); bar0 1696 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rti_command_mem); bar0 1707 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rti_command_mem); bar0 1725 drivers/net/ethernet/neterion/s2io.c writeq(0xffbbffbbffbbffbbULL, &bar0->mc_pause_thresh_q0q3); bar0 1726 drivers/net/ethernet/neterion/s2io.c writeq(0xffbbffbbffbbffbbULL, &bar0->mc_pause_thresh_q4q7); bar0 1729 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; bar0 1730 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 1732 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 1734 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 1736 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 1739 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; bar0 1740 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 1743 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_cfg); bar0 1745 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 1747 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 1755 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); bar0 1758 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_pause_cfg); bar0 1772 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_pause_thresh_q0q3); bar0 1780 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_pause_thresh_q4q7); bar0 1786 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pic_control); bar0 1788 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->pic_control); bar0 1791 drivers/net/ethernet/neterion/s2io.c writeq(TXREQTO_VAL(0x7f) | TXREQTO_EN, &bar0->txreqtimeout); bar0 1792 drivers/net/ethernet/neterion/s2io.c writeq(0x0, &bar0->read_retry_delay); bar0 1793 drivers/net/ethernet/neterion/s2io.c writeq(0x0, &bar0->write_retry_delay); bar0 1803 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->misc_control); bar0 1804 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pic_control2); bar0 1806 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->pic_control2); bar0 1810 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tmac_avg_ipg); bar0 1850 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 1854 drivers/net/ethernet/neterion/s2io.c writeq(DISABLE_ALL_INTRS, &bar0->general_int_mask); bar0 1861 drivers/net/ethernet/neterion/s2io.c TXDMA_SM_INT, flag, &bar0->txdma_int_mask); bar0 1866 drivers/net/ethernet/neterion/s2io.c &bar0->pfc_err_mask); bar0 1870 drivers/net/ethernet/neterion/s2io.c TDA_PCIX_ERR, flag, &bar0->tda_err_mask); bar0 1878 drivers/net/ethernet/neterion/s2io.c flag, &bar0->pcc_err_mask); bar0 1881 drivers/net/ethernet/neterion/s2io.c TTI_ECC_DB_ERR, flag, &bar0->tti_err_mask); bar0 1886 drivers/net/ethernet/neterion/s2io.c flag, &bar0->lso_err_mask); bar0 1889 drivers/net/ethernet/neterion/s2io.c flag, &bar0->tpa_err_mask); bar0 1891 drivers/net/ethernet/neterion/s2io.c do_s2io_write_bits(SM_SM_ERR_ALARM, flag, &bar0->sm_err_mask); bar0 1897 drivers/net/ethernet/neterion/s2io.c &bar0->mac_int_mask); bar0 1901 drivers/net/ethernet/neterion/s2io.c flag, &bar0->mac_tmac_err_mask); bar0 1907 drivers/net/ethernet/neterion/s2io.c &bar0->xgxs_int_mask); bar0 1910 drivers/net/ethernet/neterion/s2io.c flag, &bar0->xgxs_txgxs_err_mask); bar0 1917 drivers/net/ethernet/neterion/s2io.c flag, &bar0->rxdma_int_mask); bar0 1921 drivers/net/ethernet/neterion/s2io.c RC_RDA_FAIL_WR_Rn, flag, &bar0->rc_err_mask); bar0 1925 drivers/net/ethernet/neterion/s2io.c &bar0->prc_pcix_err_mask); bar0 1928 drivers/net/ethernet/neterion/s2io.c &bar0->rpa_err_mask); bar0 1934 drivers/net/ethernet/neterion/s2io.c flag, &bar0->rda_err_mask); bar0 1937 drivers/net/ethernet/neterion/s2io.c flag, &bar0->rti_err_mask); bar0 1943 drivers/net/ethernet/neterion/s2io.c &bar0->mac_int_mask); bar0 1950 drivers/net/ethernet/neterion/s2io.c flag, &bar0->mac_rmac_err_mask); bar0 1956 drivers/net/ethernet/neterion/s2io.c &bar0->xgxs_int_mask); bar0 1958 drivers/net/ethernet/neterion/s2io.c &bar0->xgxs_rxgxs_err_mask); bar0 1964 drivers/net/ethernet/neterion/s2io.c flag, &bar0->mc_int_mask); bar0 1967 drivers/net/ethernet/neterion/s2io.c &bar0->mc_err_mask); bar0 1988 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 2008 drivers/net/ethernet/neterion/s2io.c &bar0->pic_int_mask); bar0 2010 drivers/net/ethernet/neterion/s2io.c &bar0->gpio_int_mask); bar0 2012 drivers/net/ethernet/neterion/s2io.c writeq(DISABLE_ALL_INTRS, &bar0->pic_int_mask); bar0 2018 drivers/net/ethernet/neterion/s2io.c writeq(DISABLE_ALL_INTRS, &bar0->pic_int_mask); bar0 2030 drivers/net/ethernet/neterion/s2io.c writeq(0x0, &bar0->tx_traffic_mask); bar0 2036 drivers/net/ethernet/neterion/s2io.c writeq(DISABLE_ALL_INTRS, &bar0->tx_traffic_mask); bar0 2045 drivers/net/ethernet/neterion/s2io.c writeq(0x0, &bar0->rx_traffic_mask); bar0 2051 drivers/net/ethernet/neterion/s2io.c writeq(DISABLE_ALL_INTRS, &bar0->rx_traffic_mask); bar0 2055 drivers/net/ethernet/neterion/s2io.c temp64 = readq(&bar0->general_int_mask); bar0 2060 drivers/net/ethernet/neterion/s2io.c writeq(temp64, &bar0->general_int_mask); bar0 2062 drivers/net/ethernet/neterion/s2io.c nic->general_int_mask = readq(&bar0->general_int_mask); bar0 2073 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 2074 drivers/net/ethernet/neterion/s2io.c u64 val64 = readq(&bar0->adapter_status); bar0 2113 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 2114 drivers/net/ethernet/neterion/s2io.c u64 val64 = readq(&bar0->adapter_status); bar0 2179 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 2183 drivers/net/ethernet/neterion/s2io.c writeq(fix_mac[i++], &bar0->gpio_control); bar0 2185 drivers/net/ethernet/neterion/s2io.c (void) readq(&bar0->gpio_control); bar0 2204 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 2216 drivers/net/ethernet/neterion/s2io.c &bar0->prc_rxd0_n[i]); bar0 2218 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->prc_ctrl_n[i]); bar0 2227 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->prc_ctrl_n[i]); bar0 2232 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); bar0 2234 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); bar0 2238 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); bar0 2240 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); bar0 2249 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_mrs); bar0 2251 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_mrs, UF); bar0 2252 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_mrs); bar0 2257 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 2259 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 2265 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 2282 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 2284 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 2297 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 2299 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); bar0 2301 drivers/net/ethernet/neterion/s2io.c writeq(val64, (void __iomem *)bar0 + 0x2700); bar0 2403 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 2414 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 2416 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 2762 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 2774 drivers/net/ethernet/neterion/s2io.c addr = (u8 __iomem *)&bar0->xmsi_mask_reg; bar0 2788 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 2808 drivers/net/ethernet/neterion/s2io.c writeq(0, &bar0->rx_traffic_mask); bar0 2809 drivers/net/ethernet/neterion/s2io.c readl(&bar0->rx_traffic_mask); bar0 2828 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 2839 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_traffic_int); bar0 2840 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_traffic_int); bar0 3086 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 3092 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3094 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3103 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3105 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3112 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3114 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3132 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 3138 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3140 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3148 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3150 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); bar0 3154 drivers/net/ethernet/neterion/s2io.c rval64 = readq(&bar0->mdio_control); bar0 3393 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 3410 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->sw_reset); bar0 3450 drivers/net/ethernet/neterion/s2io.c writeq(s2BIT(62), &bar0->txpic_int_reg); bar0 3485 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 3487 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); bar0 3489 drivers/net/ethernet/neterion/s2io.c writeq(val64, (void __iomem *)bar0 + 0x2700); bar0 3497 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pcc_err_reg); bar0 3498 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->pcc_err_reg); bar0 3517 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 3525 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); bar0 3536 drivers/net/ethernet/neterion/s2io.c writeq(value[i], &bar0->swapper_ctrl); bar0 3537 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); bar0 3550 drivers/net/ethernet/neterion/s2io.c valr = readq(&bar0->swapper_ctrl); bar0 3554 drivers/net/ethernet/neterion/s2io.c writeq(valt, &bar0->xmsi_address); bar0 3555 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_address); bar0 3567 drivers/net/ethernet/neterion/s2io.c writeq((value[i] | valr), &bar0->swapper_ctrl); bar0 3568 drivers/net/ethernet/neterion/s2io.c writeq(valt, &bar0->xmsi_address); bar0 3569 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_address); bar0 3581 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->swapper_ctrl); bar0 3602 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->swapper_ctrl); bar0 3626 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->swapper_ctrl); bar0 3628 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->swapper_ctrl); bar0 3634 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); bar0 3648 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 3653 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_access); bar0 3669 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 3678 drivers/net/ethernet/neterion/s2io.c writeq(nic->msix_info[i].addr, &bar0->xmsi_address); bar0 3679 drivers/net/ethernet/neterion/s2io.c writeq(nic->msix_info[i].data, &bar0->xmsi_data); bar0 3681 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_access); bar0 3690 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 3701 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_access); bar0 3707 drivers/net/ethernet/neterion/s2io.c addr = readq(&bar0->xmsi_address); bar0 3708 drivers/net/ethernet/neterion/s2io.c data = readq(&bar0->xmsi_data); bar0 3718 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 3762 drivers/net/ethernet/neterion/s2io.c rx_mat = readq(&bar0->rx_mat); bar0 3770 drivers/net/ethernet/neterion/s2io.c writeq(rx_mat, &bar0->rx_mat); bar0 3771 drivers/net/ethernet/neterion/s2io.c readq(&bar0->rx_mat); bar0 3815 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 3830 drivers/net/ethernet/neterion/s2io.c saved64 = val64 = readq(&bar0->scheduled_int_ctrl); bar0 3834 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->scheduled_int_ctrl); bar0 3849 drivers/net/ethernet/neterion/s2io.c writeq(saved64, &bar0->scheduled_int_ctrl); bar0 4199 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4208 drivers/net/ethernet/neterion/s2io.c addr = (u8 __iomem *)&bar0->xmsi_mask_reg; bar0 4227 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4234 drivers/net/ethernet/neterion/s2io.c reason = readq(&bar0->general_int_status); bar0 4240 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->general_int_mask); bar0 4246 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->tx_traffic_int); bar0 4251 drivers/net/ethernet/neterion/s2io.c writeq(sp->general_int_mask, &bar0->general_int_mask); bar0 4252 drivers/net/ethernet/neterion/s2io.c readl(&bar0->general_int_status); bar0 4261 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4264 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pic_int_status); bar0 4266 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_reg); bar0 4275 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_reg); bar0 4276 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); bar0 4279 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_mask); bar0 4281 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 4283 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 4285 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 4287 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 4296 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); bar0 4299 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_mask); bar0 4302 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 4305 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); bar0 4308 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_mask); bar0 4311 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 4313 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 4316 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); bar0 4355 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4383 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_rmac_err_reg); bar0 4384 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_rmac_err_reg); bar0 4390 drivers/net/ethernet/neterion/s2io.c if (do_s2io_chk_alarm_bit(SERR_SOURCE_ANY, &bar0->serr_source, bar0 4395 drivers/net/ethernet/neterion/s2io.c if (do_s2io_chk_alarm_bit(GPIO_INT_REG_DP_ERR_INT, &bar0->gpio_int_reg, bar0 4401 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->ring_bump_counter1); bar0 4408 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->ring_bump_counter2); bar0 4416 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->txdma_int_status); bar0 4422 drivers/net/ethernet/neterion/s2io.c &bar0->pfc_err_reg, bar0 4426 drivers/net/ethernet/neterion/s2io.c &bar0->pfc_err_reg, bar0 4435 drivers/net/ethernet/neterion/s2io.c &bar0->tda_err_reg, bar0 4439 drivers/net/ethernet/neterion/s2io.c &bar0->tda_err_reg, bar0 4449 drivers/net/ethernet/neterion/s2io.c &bar0->pcc_err_reg, bar0 4453 drivers/net/ethernet/neterion/s2io.c &bar0->pcc_err_reg, bar0 4460 drivers/net/ethernet/neterion/s2io.c &bar0->tti_err_reg, bar0 4464 drivers/net/ethernet/neterion/s2io.c &bar0->tti_err_reg, bar0 4472 drivers/net/ethernet/neterion/s2io.c &bar0->lso_err_reg, bar0 4476 drivers/net/ethernet/neterion/s2io.c &bar0->lso_err_reg, bar0 4483 drivers/net/ethernet/neterion/s2io.c &bar0->tpa_err_reg, bar0 4487 drivers/net/ethernet/neterion/s2io.c &bar0->tpa_err_reg, bar0 4494 drivers/net/ethernet/neterion/s2io.c &bar0->sm_err_reg, bar0 4499 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_int_status); bar0 4502 drivers/net/ethernet/neterion/s2io.c &bar0->mac_tmac_err_reg, bar0 4508 drivers/net/ethernet/neterion/s2io.c &bar0->mac_tmac_err_reg, bar0 4512 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_int_status); bar0 4515 drivers/net/ethernet/neterion/s2io.c &bar0->xgxs_txgxs_err_reg, bar0 4519 drivers/net/ethernet/neterion/s2io.c &bar0->xgxs_txgxs_err_reg, bar0 4523 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rxdma_int_status); bar0 4529 drivers/net/ethernet/neterion/s2io.c &bar0->rc_err_reg, bar0 4534 drivers/net/ethernet/neterion/s2io.c RC_RDA_FAIL_WR_Rn, &bar0->rc_err_reg, bar0 4539 drivers/net/ethernet/neterion/s2io.c &bar0->prc_pcix_err_reg, bar0 4545 drivers/net/ethernet/neterion/s2io.c &bar0->prc_pcix_err_reg, bar0 4551 drivers/net/ethernet/neterion/s2io.c &bar0->rpa_err_reg, bar0 4555 drivers/net/ethernet/neterion/s2io.c &bar0->rpa_err_reg, bar0 4565 drivers/net/ethernet/neterion/s2io.c &bar0->rda_err_reg, bar0 4572 drivers/net/ethernet/neterion/s2io.c &bar0->rda_err_reg, bar0 4578 drivers/net/ethernet/neterion/s2io.c &bar0->rti_err_reg, bar0 4582 drivers/net/ethernet/neterion/s2io.c &bar0->rti_err_reg, bar0 4586 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_int_status); bar0 4589 drivers/net/ethernet/neterion/s2io.c &bar0->mac_rmac_err_reg, bar0 4595 drivers/net/ethernet/neterion/s2io.c &bar0->mac_rmac_err_reg, bar0 4599 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_int_status); bar0 4602 drivers/net/ethernet/neterion/s2io.c &bar0->xgxs_rxgxs_err_reg, bar0 4607 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_int_status); bar0 4610 drivers/net/ethernet/neterion/s2io.c &bar0->mc_err_reg, bar0 4616 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_err_reg); bar0 4657 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4680 drivers/net/ethernet/neterion/s2io.c reason = readq(&bar0->general_int_status); bar0 4687 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->general_int_mask); bar0 4692 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_mask); bar0 4693 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_int); bar0 4694 drivers/net/ethernet/neterion/s2io.c readl(&bar0->rx_traffic_int); bar0 4703 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_int); bar0 4718 drivers/net/ethernet/neterion/s2io.c writeq(S2IO_MINUS_ONE, &bar0->tx_traffic_int); bar0 4736 drivers/net/ethernet/neterion/s2io.c writeq(sp->general_int_mask, &bar0->general_int_mask); bar0 4737 drivers/net/ethernet/neterion/s2io.c readl(&bar0->general_int_status); bar0 4754 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4762 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->stat_cfg); bar0 4765 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->stat_cfg); bar0 4881 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 4891 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data0_mem); bar0 4893 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data1_mem); bar0 4897 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 4899 drivers/net/ethernet/neterion/s2io.c wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 4908 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data0_mem); bar0 4910 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data1_mem); bar0 4914 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 4916 drivers/net/ethernet/neterion/s2io.c wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 4926 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; bar0 4927 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 4930 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 4932 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 4936 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); bar0 4938 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); bar0 4942 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 4948 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; bar0 4949 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 4952 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 4954 drivers/net/ethernet/neterion/s2io.c writeq(RMAC_CFG_KEY(0x4C0D), &bar0->rmac_cfg_key); bar0 4958 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); bar0 4960 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); bar0 4964 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); bar0 4986 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data0_mem); bar0 4988 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data1_mem); bar0 4993 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 4996 drivers/net/ethernet/neterion/s2io.c if (wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 5016 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data0_mem); bar0 5018 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data1_mem); bar0 5023 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 5026 drivers/net/ethernet/neterion/s2io.c if (wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 5113 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5116 drivers/net/ethernet/neterion/s2io.c &bar0->rmac_addr_data0_mem); bar0 5120 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 5123 drivers/net/ethernet/neterion/s2io.c if (wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 5159 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5164 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 5167 drivers/net/ethernet/neterion/s2io.c if (wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 5173 drivers/net/ethernet/neterion/s2io.c tmp64 = readq(&bar0->rmac_addr_data0_mem); bar0 5369 drivers/net/ethernet/neterion/s2io.c reg = readq(sp->bar0 + i); bar0 5379 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5385 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 5391 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); bar0 5393 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 5399 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 5420 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5424 drivers/net/ethernet/neterion/s2io.c u64 val64 = readq(&bar0->adapter_control); bar0 5433 drivers/net/ethernet/neterion/s2io.c sp->adapt_ctrl_org = readq(&bar0->gpio_control); bar0 5446 drivers/net/ethernet/neterion/s2io.c writeq(sp->adapt_ctrl_org, &bar0->gpio_control); bar0 5494 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5496 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); bar0 5521 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5523 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); bar0 5532 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_pause_cfg); bar0 5558 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5566 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->i2c_control, LF); bar0 5569 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->i2c_control); bar0 5584 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); bar0 5586 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); bar0 5588 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->spi_control); bar0 5593 drivers/net/ethernet/neterion/s2io.c *data = readq(&bar0->spi_data); bar0 5624 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5632 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->i2c_control, LF); bar0 5635 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->i2c_control); bar0 5648 drivers/net/ethernet/neterion/s2io.c writeq(SPI_DATA_WRITE(data, (cnt << 3)), &bar0->spi_data); bar0 5653 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); bar0 5655 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); bar0 5657 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->spi_control); bar0 5845 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 5849 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); bar0 5855 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); bar0 5861 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_queue_cfg); bar0 5871 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_efifo_cfg); bar0 5878 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_data); bar0 5879 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_data); bar0 5886 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_data); bar0 5887 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_data); bar0 6050 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 6053 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 6077 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 6081 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 6083 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 6085 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); bar0 6087 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_test_ctrl, LF); bar0 6089 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_mrs); bar0 6091 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_mrs, UF); bar0 6094 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_mrs, UF); bar0 6100 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_d0); bar0 6105 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_d1); bar0 6110 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_d2); bar0 6113 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_add); bar0 6118 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_test_ctrl, LF); bar0 6121 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); bar0 6131 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_test_ctrl, LF); bar0 6134 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); bar0 6143 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); bar0 6153 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(0, &bar0->mc_rldram_test_ctrl, LF); bar0 6649 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 6652 drivers/net/ethernet/neterion/s2io.c writeq(vBIT(val64, 2, 14), &bar0->rmac_max_pyld_len); bar0 6669 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 6692 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 6694 drivers/net/ethernet/neterion/s2io.c if (!(readq(&bar0->adapter_control) & ADAPTER_CNTL_EN)) { bar0 6696 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 6698 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 6701 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 6703 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); bar0 6704 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 6707 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 6717 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 6719 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 6724 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 6726 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); bar0 6727 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 6730 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); bar0 6732 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); bar0 7014 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = sp->bar0; bar0 7059 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); bar0 7599 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = nic->bar0; bar0 7606 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_ds_mem_data); bar0 7612 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_ds_mem_ctrl); bar0 7614 drivers/net/ethernet/neterion/s2io.c return wait_for_cmd_complete(&bar0->rts_ds_mem_ctrl, bar0 7659 drivers/net/ethernet/neterion/s2io.c struct XENA_dev_config __iomem *bar0 = NULL; bar0 7839 drivers/net/ethernet/neterion/s2io.c sp->bar0 = pci_ioremap_bar(pdev, 0); bar0 7840 drivers/net/ethernet/neterion/s2io.c if (!sp->bar0) { bar0 7936 drivers/net/ethernet/neterion/s2io.c bar0 = sp->bar0; bar0 7939 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); bar0 7940 drivers/net/ethernet/neterion/s2io.c wait_for_cmd_complete(&bar0->rmac_addr_cmd_mem, bar0 7943 drivers/net/ethernet/neterion/s2io.c tmp64 = readq(&bar0->rmac_addr_data0_mem); bar0 8005 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 8007 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); bar0 8009 drivers/net/ethernet/neterion/s2io.c writeq(val64, (void __iomem *)bar0 + 0x2700); bar0 8010 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); bar0 8122 drivers/net/ethernet/neterion/s2io.c iounmap(sp->bar0); bar0 8160 drivers/net/ethernet/neterion/s2io.c iounmap(sp->bar0); bar0 868 drivers/net/ethernet/neterion/s2io.h void __iomem *bar0; bar0 570 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_device_toc_get(void __iomem *bar0) bar0 577 drivers/net/ethernet/neterion/vxge/vxge-config.c (struct vxge_hw_legacy_reg __iomem *)bar0; bar0 584 drivers/net/ethernet/neterion/vxge/vxge-config.c toc = bar0 + val64; bar0 602 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->legacy_reg = hldev->bar0; bar0 604 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->toc_reg = __vxge_hw_device_toc_get(hldev->bar0); bar0 611 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->common_reg = hldev->bar0 + val64; bar0 614 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->mrpcim_reg = hldev->bar0 + val64; bar0 618 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->srpcim_reg[i] = hldev->bar0 + val64; bar0 623 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->vpmgmt_reg[i] = hldev->bar0 + val64; bar0 628 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->vpath_reg[i] = hldev->bar0 + val64; bar0 635 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->kdfc = hldev->bar0 + VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64) ; bar0 996 drivers/net/ethernet/neterion/vxge/vxge-config.c vxge_hw_device_hw_info_get(void __iomem *bar0, bar0 1010 drivers/net/ethernet/neterion/vxge/vxge-config.c toc = __vxge_hw_device_toc_get(bar0); bar0 1017 drivers/net/ethernet/neterion/vxge/vxge-config.c common_reg = bar0 + val64; bar0 1037 drivers/net/ethernet/neterion/vxge/vxge-config.c vpmgmt_reg = bar0 + val64; bar0 1046 drivers/net/ethernet/neterion/vxge/vxge-config.c mrpcim_reg = bar0 + val64; bar0 1055 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath.vp_reg = bar0 + val64; bar0 1078 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath.vp_reg = bar0 + val64; bar0 1337 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->bar0 = attr->bar0; bar0 737 drivers/net/ethernet/neterion/vxge/vxge-config.h void __iomem *bar0; bar0 841 drivers/net/ethernet/neterion/vxge/vxge-config.h void __iomem *bar0; bar0 1850 drivers/net/ethernet/neterion/vxge/vxge-config.h void __iomem *bar0, bar0 4424 drivers/net/ethernet/neterion/vxge/vxge-main.c attr.bar0 = pci_ioremap_bar(pdev, 0); bar0 4425 drivers/net/ethernet/neterion/vxge/vxge-main.c if (!attr.bar0) { bar0 4433 drivers/net/ethernet/neterion/vxge/vxge-main.c attr.bar0, bar0 4436 drivers/net/ethernet/neterion/vxge/vxge-main.c status = vxge_hw_device_hw_info_get(attr.bar0, bar0 4594 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->bar0 = attr.bar0; bar0 4740 drivers/net/ethernet/neterion/vxge/vxge-main.c iounmap(attr.bar0); bar0 4781 drivers/net/ethernet/neterion/vxge/vxge-main.c iounmap(vdev->bar0); bar0 389 drivers/net/ethernet/neterion/vxge/vxge-main.h void __iomem *bar0; bar0 1205 drivers/net/ethernet/qlogic/netxen/netxen_nic.h #define NX_RD_DUMP_REG(addr, bar0, data) do { \ bar0 1206 drivers/net/ethernet/qlogic/netxen/netxen_nic.h writel((addr & 0xFFFF0000), (void __iomem *) (bar0 + \ bar0 1208 drivers/net/ethernet/qlogic/netxen/netxen_nic.h readl((void __iomem *) (bar0 + NX_FW_DUMP_REG1)); \ bar0 1209 drivers/net/ethernet/qlogic/netxen/netxen_nic.h *data = readl((void __iomem *) (bar0 + NX_FW_DUMP_REG2 + \ bar0 1213 drivers/net/ethernet/qlogic/netxen/netxen_nic.h #define NX_WR_DUMP_REG(addr, bar0, data) do { \ bar0 1214 drivers/net/ethernet/qlogic/netxen/netxen_nic.h writel((addr & 0xFFFF0000), (void __iomem *) (bar0 + \ bar0 1216 drivers/net/ethernet/qlogic/netxen/netxen_nic.h readl((void __iomem *) (bar0 + NX_FW_DUMP_REG1)); \ bar0 1217 drivers/net/ethernet/qlogic/netxen/netxen_nic.h writel(data, (void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr)));\ bar0 1218 drivers/net/ethernet/qlogic/netxen/netxen_nic.h readl((void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr))); \ bar0 283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c static void qlcnic_read_window_reg(u32 addr, void __iomem *bar0, u32 *data) bar0 289 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c val = bar0 + QLCNIC_FW_DUMP_REG1; bar0 292 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c val = bar0 + QLCNIC_FW_DUMP_REG2 + LSW(addr); bar0 296 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c static void qlcnic_write_window_reg(u32 addr, void __iomem *bar0, u32 data) bar0 302 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c val = bar0 + QLCNIC_FW_DUMP_REG1; bar0 305 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c val = bar0 + QLCNIC_FW_DUMP_REG2 + LSW(addr); bar0 18 drivers/net/phy/mdio-thunder.c void __iomem *bar0; bar0 50 drivers/net/phy/mdio-thunder.c nexus->bar0 = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); bar0 51 drivers/net/phy/mdio-thunder.c if (!nexus->bar0) { bar0 87 drivers/net/phy/mdio-thunder.c bus->register_base = (u64)nexus->bar0 + bar0 43 drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c u32 bar0; bar0 64 drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &bar0); bar0 95 drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, bar0); bar0 226 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c u32 v, bar0 = addr & SBSDIO_SBWINDOW_MASK; bar0 229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (bar0 == sdiodev->sbwad) bar0 232 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c v = bar0 >> 8; bar0 239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev->sbwad = bar0; bar0 1208 drivers/scsi/aacraid/aacraid.h #define src_readb(AEP, CSR) readb(&((AEP)->regs.src.bar0->CSR)) bar0 1209 drivers/scsi/aacraid/aacraid.h #define src_readl(AEP, CSR) readl(&((AEP)->regs.src.bar0->CSR)) bar0 1211 drivers/scsi/aacraid/aacraid.h &((AEP)->regs.src.bar0->CSR)) bar0 1213 drivers/scsi/aacraid/aacraid.h &((AEP)->regs.src.bar0->CSR)) bar0 1216 drivers/scsi/aacraid/aacraid.h &((AEP)->regs.src.bar0->CSR)) bar0 1627 drivers/scsi/aacraid/aacraid.h struct src_registers __iomem *bar0; bar0 613 drivers/scsi/aacraid/src.c iounmap(dev->regs.src.bar0); bar0 614 drivers/scsi/aacraid/src.c dev->base = dev->regs.src.bar0 = NULL; bar0 622 drivers/scsi/aacraid/src.c dev->base = dev->regs.src.bar0 = ioremap(dev->base_start, size); bar0 641 drivers/scsi/aacraid/src.c iounmap(dev->regs.src.bar0); bar0 642 drivers/scsi/aacraid/src.c dev->base = dev->regs.src.bar0 = NULL; bar0 651 drivers/scsi/aacraid/src.c dev->base = dev->regs.src.bar0 = ioremap(dev->base_start, size); bar0 220 drivers/scsi/fnic/fnic.h struct vnic_dev_bar bar0; bar0 538 drivers/scsi/fnic/fnic_main.c if (fnic->bar0.vaddr) bar0 539 drivers/scsi/fnic/fnic_main.c iounmap(fnic->bar0.vaddr); bar0 635 drivers/scsi/fnic/fnic_main.c fnic->bar0.vaddr = pci_iomap(pdev, 0, 0); bar0 636 drivers/scsi/fnic/fnic_main.c fnic->bar0.bus_addr = pci_resource_start(pdev, 0); bar0 637 drivers/scsi/fnic/fnic_main.c fnic->bar0.len = pci_resource_len(pdev, 0); bar0 639 drivers/scsi/fnic/fnic_main.c if (!fnic->bar0.vaddr) { bar0 647 drivers/scsi/fnic/fnic_main.c fnic->vdev = vnic_dev_register(NULL, fnic, pdev, &fnic->bar0); bar0 283 drivers/scsi/snic/snic.h struct vnic_dev_bar bar0; bar0 274 drivers/scsi/snic/snic_main.c if (snic->bar0.vaddr) bar0 275 drivers/scsi/snic/snic_main.c iounmap(snic->bar0.vaddr); bar0 451 drivers/scsi/snic/snic_main.c snic->bar0.vaddr = pci_iomap(pdev, 0, 0); bar0 452 drivers/scsi/snic/snic_main.c if (!snic->bar0.vaddr) { bar0 460 drivers/scsi/snic/snic_main.c snic->bar0.bus_addr = pci_resource_start(pdev, 0); bar0 461 drivers/scsi/snic/snic_main.c snic->bar0.len = pci_resource_len(pdev, 0); bar0 462 drivers/scsi/snic/snic_main.c SNIC_BUG_ON(snic->bar0.bus_addr == 0); bar0 465 drivers/scsi/snic/snic_main.c snic->vdev = svnic_dev_alloc_discover(NULL, snic, pdev, &snic->bar0, 1); bar0 195 drivers/tty/serial/rp2.c void __iomem *bar0; bar0 620 drivers/tty/serial/rp2.c writel(4, card->bar0 + RP2_FPGA_CTL0); bar0 621 drivers/tty/serial/rp2.c writel(0, card->bar0 + RP2_FPGA_CTL1); bar0 627 drivers/tty/serial/rp2.c writel(RP2_IRQ_MASK_EN_m, card->bar0 + RP2_IRQ_MASK); bar0 761 drivers/tty/serial/rp2.c card->bar0 = bars[0]; bar0 1791 sound/pci/ctxfi/cthw20k1.c unsigned int bar0, bar1, bar2, bar3, bar4, bar5; bar0 1837 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_0, &bar0);