Home
last modified time | relevance | path

Searched refs:BAR_2 (Results 1 – 13 of 13) sorted by relevance

/drivers/dma/dw-edma/
Ddw-edma-pcie.c63 DW_BLOCK(BAR_2, 0x00000000, 0x00000800)
65 DW_BLOCK(BAR_2, 0x00200000, 0x00000800)
69 DW_BLOCK(BAR_2, 0x00400000, 0x00000800)
71 DW_BLOCK(BAR_2, 0x00600000, 0x00000800)
76 DW_BLOCK(BAR_2, 0x00800000, 0x00000800)
78 DW_BLOCK(BAR_2, 0x00900000, 0x00000800)
82 DW_BLOCK(BAR_2, 0x00a00000, 0x00000800)
84 DW_BLOCK(BAR_2, 0x00b00000, 0x00000800)
/drivers/misc/bcm-vk/
Dbcm_vk_dev.c251 memcpy_fromio(&log, vk->bar[BAR_2] + vk->peerlog_off, sizeof(log)); in bcm_vk_dump_peer_log()
278 loc_buf[cnt] = vkread8(vk, BAR_2, data_offset + log.rd_idx); in bcm_vk_dump_peer_log()
290 vkwrite32(vk, log.rd_idx, BAR_2, in bcm_vk_dump_peer_log()
384 offset &= (pci_resource_len(vk->pdev, BAR_2 * 2) - 1); in bcm_vk_get_card_info()
389 *dst++ = vkread8(vk, BAR_2, offset++); in bcm_vk_get_card_info()
410 memcpy_fromio(&vk->peerlog_info, vk->bar[BAR_2] + vk->peerlog_off, in bcm_vk_get_card_info()
445 buf_size = vkread32(vk, BAR_2, in bcm_vk_get_proc_mon_info()
452 num = vkread32(vk, BAR_2, offset); in bcm_vk_get_proc_mon_info()
453 entry_size = vkread32(vk, BAR_2, offset + sizeof(num)); in bcm_vk_get_proc_mon_info()
469 memcpy_fromio(dst, vk->bar[BAR_2] + offset, num * entry_size); in bcm_vk_get_proc_mon_info()
Dbcm_vk.h258 BAR_2 enumerator
/drivers/ntb/hw/epf/
Dntb_hw_epf.c55 BAR_2, enumerator
659 enum pci_barno db_reg_bar = BAR_2; in ntb_epf_pci_probe()
731 .db_reg_bar = BAR_2,
/drivers/pci/controller/dwc/
Dpci-layerscape-ep.c252 ls_epc->bar_fixed_64bit = (1 << BAR_2) | (1 << BAR_4); in ls_pcie_ep_probe()
Dpcie-uniphier-ep.c329 .bar_fixed_64bit = BIT(BAR_0) | BIT(BAR_2) | BIT(BAR_4),
Dpcie-keembay.c312 .bar_fixed_64bit = BIT(BAR_0) | BIT(BAR_2) | BIT(BAR_4),
Dpcie-tegra194.c1889 .reserved_bar = 1 << BAR_2 | 1 << BAR_3 | 1 << BAR_4 | 1 << BAR_5,
/drivers/misc/
Dpci_endpoint_test.c102 BAR_2, enumerator
969 .test_reg_bar = BAR_2,
/drivers/pci/controller/
Dpcie-rcar-ep.c448 .bar_fixed_64bit = 1 << BAR_0 | 1 << BAR_2 | 1 << BAR_4,
/drivers/rapidio/devices/
Dtsi721.h61 #define BAR_2 2 macro
Dtsi721.c2796 if (pci_resource_flags(pdev, BAR_2) & IORESOURCE_MEM_64) { in tsi721_probe()
2797 if (pci_resource_flags(pdev, BAR_2) & IORESOURCE_PREFETCH) in tsi721_probe()
2801 priv->p2r_bar[0].base = pci_resource_start(pdev, BAR_2); in tsi721_probe()
2802 priv->p2r_bar[0].size = pci_resource_len(pdev, BAR_2); in tsi721_probe()
/drivers/net/ethernet/broadcom/
Dtg3.c70 #define BAR_2 2 macro
17702 tp->aperegs = pci_ioremap_bar(pdev, BAR_2); in tg3_init_one()