/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 330 unsigned long res_start = res->backup_offset; in vmw_bo_dirty_transfer_to_res() local 333 WARN_ON_ONCE(res_start & ~PAGE_MASK); in vmw_bo_dirty_transfer_to_res() 334 res_start >>= PAGE_SHIFT; in vmw_bo_dirty_transfer_to_res() 337 if (res_start >= dirty->end || res_end <= dirty->start) in vmw_bo_dirty_transfer_to_res() 340 cur = max(res_start, dirty->start); in vmw_bo_dirty_transfer_to_res() 356 if (res_start <= dirty->start && res_end > dirty->start) in vmw_bo_dirty_transfer_to_res() 358 if (res_start < dirty->end && res_end >= dirty->end) in vmw_bo_dirty_transfer_to_res() 359 dirty->end = res_start; in vmw_bo_dirty_transfer_to_res() 372 unsigned long res_start = res->backup_offset; in vmw_bo_dirty_clear_res() local 377 res_start >>= PAGE_SHIFT; in vmw_bo_dirty_clear_res() [all …]
|
D | vmwgfx_resource.c | 1108 unsigned long res_start = start << PAGE_SHIFT; in vmw_resources_clean() local 1123 res_start) { in vmw_resources_clean() 1163 if (last_cleaned > res_start) { in vmw_resources_clean() 1166 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | iccsense.c | 84 u8 res_start = 0; in nvbios_iccsense_parse() local 96 res_start = 0x3; in nvbios_iccsense_parse() 101 res_start = 0x5; in nvbios_iccsense_parse() 122 rail->resistors[r].mohm = nvbios_rd08(bios, entry + res_start + r * 2); in nvbios_iccsense_parse() 123 rail->resistors[r].enabled = !(nvbios_rd08(bios, entry + res_start + r * 2 + 1) & 0x40); in nvbios_iccsense_parse() 125 rail->config = nvbios_rd16(bios, entry + res_start + rail->resistor_count * 2); in nvbios_iccsense_parse()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | pcie-rcar.c | 68 resource_size_t res_start; in rcar_pcie_set_outbound() local 86 res_start = pci_pio_to_address(res->start) - window->offset; in rcar_pcie_set_outbound() 88 res_start = res->start - window->offset; in rcar_pcie_set_outbound() 90 rcar_pci_write_reg(pcie, upper_32_bits(res_start), PCIEPAUR(win)); in rcar_pcie_set_outbound() 91 rcar_pci_write_reg(pcie, lower_32_bits(res_start) & ~0x7F, in rcar_pcie_set_outbound()
|
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
D | mv_init.c | 300 unsigned long res_start, res_len, res_flag_ex = 0; in mvs_ioremap() local 306 res_start = pci_resource_start(pdev, bar_ex); in mvs_ioremap() 308 if (!res_start || !res_len) in mvs_ioremap() 313 mvi->regs_ex = ioremap(res_start, res_len); in mvs_ioremap() 315 mvi->regs_ex = (void *)res_start; in mvs_ioremap() 320 res_start = pci_resource_start(pdev, bar); in mvs_ioremap() 322 if (!res_start || !res_len) { in mvs_ioremap() 328 mvi->regs = ioremap(res_start, res_len); in mvs_ioremap()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | iommu.c | 630 unsigned long res_start, unsigned long res_end) in iommu_table_reserve_pages() argument 634 WARN_ON_ONCE(res_end < res_start); in iommu_table_reserve_pages() 643 tbl->it_reserved_start = res_start; in iommu_table_reserve_pages() 647 if (res_start && res_end && in iommu_table_reserve_pages() 648 (tbl->it_offset + tbl->it_size < res_start || in iommu_table_reserve_pages() 676 unsigned long res_start, unsigned long res_end) in iommu_init_table() argument 695 iommu_table_reserve_pages(tbl, res_start, res_end); in iommu_init_table()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | offb.c | 396 unsigned long res_start = address; in offb_init_fb() local 401 if (!request_mem_region(res_start, res_size, "offb")) in offb_init_fb() 409 release_mem_region(res_start, res_size); in offb_init_fb() 416 release_mem_region(res_start, res_size); in offb_init_fb() 534 release_mem_region(res_start, res_size); in offb_init_fb()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | ibmphp_res.c | 581 struct resource_node *res_start = NULL; in ibmphp_add_resource() local 602 res_start = bus_cur->firstIO; in ibmphp_add_resource() 606 res_start = bus_cur->firstMem; in ibmphp_add_resource() 610 res_start = bus_cur->firstPFMem; in ibmphp_add_resource() 645 if (!res_start) { in ibmphp_add_resource() 661 res_cur = res_start; in ibmphp_add_resource()
|
/kernel/linux/linux-5.10/drivers/net/fjes/ |
D | fjes_hw.h | 179 phys_addr_t res_start; member
|
D | fjes_hw.c | 189 (__le32)(param->res_start & GENMASK_ULL(31, 0))); in fjes_hw_init_command_registers() 191 (__le32)((param->res_start & GENMASK_ULL(63, 32)) >> 32)); in fjes_hw_init_command_registers() 268 param.res_start = __pa(hw->hw_info.res_buf); in fjes_hw_setup()
|
D | fjes_main.c | 481 param.res_start = __pa(hw->hw_info.res_buf); in fjes_free_resources()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | iommu.h | 156 int nid, unsigned long res_start, unsigned long res_end);
|
/kernel/linux/linux-5.10/drivers/pci/switch/ |
D | switchtec.c | 1517 unsigned long res_start, res_len; in switchtec_init_pci() local 1530 res_start = pci_resource_start(pdev, 0); in switchtec_init_pci() 1533 if (!devm_request_mem_region(&pdev->dev, res_start, in switchtec_init_pci() 1537 stdev->mmio_mrpc = devm_ioremap_wc(&pdev->dev, res_start, in switchtec_init_pci() 1543 res_start + SWITCHTEC_GAS_TOP_CFG_OFFSET, in switchtec_init_pci()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
D | atyfb_base.c | 2630 par->wc_cookie = arch_phys_wc_add(par->res_start, in aty_init() 3526 unsigned long addr, res_start, res_size; in atyfb_pci_probe() local 3547 res_start = rp->start; in atyfb_pci_probe() 3549 if (!request_mem_region(res_start, res_size, "atyfb")) in atyfb_pci_probe() 3562 par->res_start = res_start; in atyfb_pci_probe() 3619 release_mem_region(par->res_start, par->res_size); in atyfb_pci_probe() 3744 if (par->res_start) in atyfb_remove() 3745 release_mem_region(par->res_start, par->res_size); in atyfb_remove()
|
D | atyfb.h | 153 unsigned long res_start; member
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 1880 unsigned long res_start, res_end; in pnv_pci_ioda2_setup_default_config() local 1927 res_start = 0; in pnv_pci_ioda2_setup_default_config() 1930 res_start = pe->phb->ioda.m32_pci_base >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config() 1933 iommu_init_table(tbl, pe->phb->hose->node, res_start, res_end); in pnv_pci_ioda2_setup_default_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2746 int res_start = mtt->com.res_id; in check_mtt_range() local 2749 if (start < res_start || start + size > res_start + res_size) in check_mtt_range()
|