Home
last modified time | relevance | path

Searched refs:res_start (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c312 unsigned long res_start = res->guest_memory_offset; in vmw_bo_dirty_transfer_to_res() local
315 WARN_ON_ONCE(res_start & ~PAGE_MASK); in vmw_bo_dirty_transfer_to_res()
316 res_start >>= PAGE_SHIFT; in vmw_bo_dirty_transfer_to_res()
319 if (res_start >= dirty->end || res_end <= dirty->start) in vmw_bo_dirty_transfer_to_res()
322 cur = max(res_start, dirty->start); in vmw_bo_dirty_transfer_to_res()
338 if (res_start <= dirty->start && res_end > dirty->start) in vmw_bo_dirty_transfer_to_res()
340 if (res_start < dirty->end && res_end >= dirty->end) in vmw_bo_dirty_transfer_to_res()
341 dirty->end = res_start; in vmw_bo_dirty_transfer_to_res()
354 unsigned long res_start = res->guest_memory_offset; in vmw_bo_dirty_clear_res() local
359 res_start >>= PAGE_SHIFT; in vmw_bo_dirty_clear_res()
[all …]
Dvmwgfx_resource.c1080 unsigned long res_start = start << PAGE_SHIFT; in vmw_resources_clean() local
1095 res_start) { in vmw_resources_clean()
1135 if (last_cleaned > res_start) { in vmw_resources_clean()
1138 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Diccsense.c84 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()
/linux-6.6.21/drivers/pci/controller/
Dpcie-rcar.c68 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()
/linux-6.6.21/drivers/media/rc/
Dmeson-ir.c91 void __iomem *res_start; in meson_ir_probe() local
100 res_start = devm_platform_ioremap_resource(pdev, 0); in meson_ir_probe()
101 if (IS_ERR(res_start)) in meson_ir_probe()
102 return PTR_ERR(res_start); in meson_ir_probe()
104 ir->reg = devm_regmap_init_mmio(&pdev->dev, res_start, in meson_ir_probe()
/linux-6.6.21/drivers/scsi/mvsas/
Dmv_init.c294 unsigned long res_start, res_len, res_flag_ex = 0; in mvs_ioremap() local
300 res_start = pci_resource_start(pdev, bar_ex); in mvs_ioremap()
302 if (!res_start || !res_len) in mvs_ioremap()
307 mvi->regs_ex = ioremap(res_start, res_len); in mvs_ioremap()
309 mvi->regs_ex = (void *)res_start; in mvs_ioremap()
314 res_start = pci_resource_start(pdev, bar); in mvs_ioremap()
316 if (!res_start || !res_len) { in mvs_ioremap()
322 mvi->regs = ioremap(res_start, res_len); in mvs_ioremap()
/linux-6.6.21/arch/powerpc/kernel/
Diommu.c687 unsigned long res_start, unsigned long res_end) in iommu_table_reserve_pages() argument
691 WARN_ON_ONCE(res_end < res_start); in iommu_table_reserve_pages()
700 if (res_start < tbl->it_offset) in iommu_table_reserve_pages()
701 res_start = tbl->it_offset; in iommu_table_reserve_pages()
707 if (res_start >= res_end) { in iommu_table_reserve_pages()
713 tbl->it_reserved_start = res_start; in iommu_table_reserve_pages()
725 unsigned long res_start, unsigned long res_end) in iommu_init_table() argument
743 iommu_table_reserve_pages(tbl, res_start, res_end); in iommu_init_table()
/linux-6.6.21/drivers/platform/x86/intel/
Dtpmi.c704 u64 res_start; in intel_vsec_tpmi_init() local
714 res_start = res->start; in intel_vsec_tpmi_init()
719 ret = tpmi_fetch_pfs_header(pfs, res_start, size); in intel_vsec_tpmi_init()
724 pfs_start = res_start; in intel_vsec_tpmi_init()
/linux-6.6.21/drivers/video/fbdev/
Doffb.c398 unsigned long res_start = address; in offb_init_fb() local
404 if (!request_mem_region(res_start, res_size, "offb")) in offb_init_fb()
412 release_mem_region(res_start, res_size); in offb_init_fb()
418 release_mem_region(res_start, res_size); in offb_init_fb()
533 release_mem_region(res_start, res_size); in offb_init_fb()
/linux-6.6.21/drivers/pci/hotplug/
Dibmphp_res.c581 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()
/linux-6.6.21/drivers/net/fjes/
Dfjes_hw.h179 phys_addr_t res_start; member
Dfjes_hw.c190 (__le32)(param->res_start & GENMASK_ULL(31, 0))); in fjes_hw_init_command_registers()
192 (__le32)((param->res_start & GENMASK_ULL(63, 32)) >> 32)); in fjes_hw_init_command_registers()
273 param.res_start = __pa(hw->hw_info.res_buf); in fjes_hw_setup()
Dfjes_main.c476 param.res_start = __pa(hw->hw_info.res_buf); in fjes_free_resources()
/linux-6.6.21/arch/powerpc/include/asm/
Diommu.h157 int nid, unsigned long res_start, unsigned long res_end);
/linux-6.6.21/drivers/video/fbdev/aty/
Datyfb_base.c2635 par->wc_cookie = arch_phys_wc_add(par->res_start, in aty_init()
3525 unsigned long addr, res_start, res_size; in atyfb_pci_probe() local
3550 res_start = rp->start; in atyfb_pci_probe()
3552 if (!request_mem_region(res_start, res_size, "atyfb")) in atyfb_pci_probe()
3565 par->res_start = res_start; in atyfb_pci_probe()
3622 release_mem_region(par->res_start, par->res_size); in atyfb_pci_probe()
3748 if (par->res_start) in atyfb_remove()
3749 release_mem_region(par->res_start, par->res_size); in atyfb_remove()
Datyfb.h155 unsigned long res_start; member
/linux-6.6.21/drivers/pci/switch/
Dswitchtec.c1568 unsigned long res_start, res_len; in switchtec_init_pci() local
1581 res_start = pci_resource_start(pdev, 0); in switchtec_init_pci()
1584 if (!devm_request_mem_region(&pdev->dev, res_start, in switchtec_init_pci()
1588 stdev->mmio_mrpc = devm_ioremap_wc(&pdev->dev, res_start, in switchtec_init_pci()
1594 res_start + SWITCHTEC_GAS_TOP_CFG_OFFSET, in switchtec_init_pci()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dpci-ioda.c1378 unsigned long res_start, res_end; in pnv_pci_ioda2_setup_default_config() local
1425 res_start = 0; in pnv_pci_ioda2_setup_default_config()
1428 res_start = pe->phb->ioda.m32_pci_base >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config()
1433 if (iommu_init_table(tbl, pe->phb->hose->node, res_start, res_end)) in pnv_pci_ioda2_setup_default_config()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2747 int res_start = mtt->com.res_id; in check_mtt_range() local
2750 if (start < res_start || start + size > res_start + res_size) in check_mtt_range()