Searched refs:bar0_len (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/video/fbdev/ |
D | tgafb.c | 1413 resource_size_t bar0_start = 0, bar0_len = 0; local 1442 bar0_len = pci_resource_len(to_pci_dev(dev), 0); 1446 bar0_len = to_tc_dev(dev)->resource.end - bar0_start + 1; 1448 if (!request_mem_region (bar0_start, bar0_len, "tgafb")) { 1454 mem_base = ioremap(bar0_start, bar0_len); 1536 release_mem_region(bar0_start, bar0_len); 1544 resource_size_t bar0_start = 0, bar0_len = 0; local 1560 bar0_len = pci_resource_len(to_pci_dev(dev), 0); 1564 bar0_len = to_tc_dev(dev)->resource.end - bar0_start + 1; 1566 release_mem_region(bar0_start, bar0_len);
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 1151 unsigned long mem_len, pci_len0 = 0, bar0_len; in qlcnic_setup_pci_map() local 1156 qlcnic_get_bar_length(pdev->device, &bar0_len); in qlcnic_setup_pci_map() 1157 if (mem_len >= bar0_len) { in qlcnic_setup_pci_map()
|