/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 312 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 …]
|
D | vmwgfx_resource.c | 1080 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/ |
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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/media/rc/ |
D | meson-ir.c | 91 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/ |
D | mv_init.c | 294 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/ |
D | iommu.c | 687 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/ |
D | tpmi.c | 704 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/ |
D | offb.c | 398 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/ |
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()
|
/linux-6.6.21/drivers/net/fjes/ |
D | fjes_hw.h | 179 phys_addr_t res_start; member
|
D | fjes_hw.c | 190 (__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()
|
D | fjes_main.c | 476 param.res_start = __pa(hw->hw_info.res_buf); in fjes_free_resources()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | iommu.h | 157 int nid, unsigned long res_start, unsigned long res_end);
|
/linux-6.6.21/drivers/video/fbdev/aty/ |
D | atyfb_base.c | 2635 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()
|
D | atyfb.h | 155 unsigned long res_start; member
|
/linux-6.6.21/drivers/pci/switch/ |
D | switchtec.c | 1568 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/ |
D | pci-ioda.c | 1378 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/ |
D | resource_tracker.c | 2747 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()
|