Searched refs:bar_len (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
D | gf100.c | 88 resource_size_t bar_len; in gf100_bar_oneinit_bar() local 96 bar_len = device->func->resource_size(device, bar_nr); in gf100_bar_oneinit_bar() 97 if (!bar_len) in gf100_bar_oneinit_bar() 100 bar_len >>= 1; in gf100_bar_oneinit_bar() 102 ret = nvkm_vmm_new(device, 0, bar_len, NULL, 0, key, in gf100_bar_oneinit_bar()
|
/kernel/linux/linux-5.10/drivers/net/fddi/ |
D | defxx.c | 435 resource_size_t *bar_start, resource_size_t *bar_len) in dfx_get_bars() argument 446 bar_len[0] = pci_resource_len(to_pci_dev(bdev), num); in dfx_get_bars() 448 bar_len[2] = bar_len[1] = 0; in dfx_get_bars() 469 bar_len[0] = ((bar_hi - bar_lo) | PI_MEM_ADD_MASK_M) + in dfx_get_bars() 473 bar_len[0] = PI_ESIC_K_CSR_IO_LEN; in dfx_get_bars() 476 bar_len[1] = PI_ESIC_K_BURST_HOLDOFF_LEN; in dfx_get_bars() 478 bar_len[2] = PI_ESIC_K_ESIC_CSR_LEN; in dfx_get_bars() 483 bar_len[0] = PI_TC_K_CSR_LEN; in dfx_get_bars() 485 bar_len[2] = bar_len[1] = 0; in dfx_get_bars() 556 resource_size_t bar_len[3] = {0}; /* resource length */ in dfx_register() local [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
D | usnic_abi.h | 73 u32 bar_len; member
|
D | usnic_ib_verbs.c | 113 resp.bar_len = bar->len; in usnic_ib_fill_create_qp_resp()
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_pci_modern.c | 514 size_t bar_len; in vp_get_shm_region() local 520 bar_len = pci_resource_len(pci_dev, bar); in vp_get_shm_region() 528 if (offset + len > bar_len) { in vp_get_shm_region()
|