/linux-5.19.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 312 unsigned long res_start = res->backup_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->backup_offset; in vmw_bo_dirty_clear_res() local 359 res_start >>= PAGE_SHIFT; in vmw_bo_dirty_clear_res() [all …]
|
D | vmwgfx_resource.c | 1103 unsigned long res_start = start << PAGE_SHIFT; in vmw_resources_clean() local 1118 res_start) { in vmw_resources_clean() 1158 if (last_cleaned > res_start) { in vmw_resources_clean() 1161 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
|
/linux-5.19.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()
|
/linux-5.19.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()
|
/linux-5.19.10/drivers/scsi/mvsas/ |
D | mv_init.c | 299 unsigned long res_start, res_len, res_flag_ex = 0; in mvs_ioremap() local 305 res_start = pci_resource_start(pdev, bar_ex); in mvs_ioremap() 307 if (!res_start || !res_len) in mvs_ioremap() 312 mvi->regs_ex = ioremap(res_start, res_len); in mvs_ioremap() 314 mvi->regs_ex = (void *)res_start; in mvs_ioremap() 319 res_start = pci_resource_start(pdev, bar); in mvs_ioremap() 321 if (!res_start || !res_len) { in mvs_ioremap() 327 mvi->regs = ioremap(res_start, res_len); in mvs_ioremap()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | iommu.c | 677 unsigned long res_start, unsigned long res_end) in iommu_table_reserve_pages() argument 681 WARN_ON_ONCE(res_end < res_start); in iommu_table_reserve_pages() 690 if (res_start < tbl->it_offset) in iommu_table_reserve_pages() 691 res_start = tbl->it_offset; in iommu_table_reserve_pages() 697 if (res_start >= res_end) { in iommu_table_reserve_pages() 703 tbl->it_reserved_start = res_start; in iommu_table_reserve_pages() 715 unsigned long res_start, unsigned long res_end) in iommu_init_table() argument 733 iommu_table_reserve_pages(tbl, res_start, res_end); in iommu_init_table()
|
/linux-5.19.10/drivers/video/fbdev/ |
D | offb.c | 397 unsigned long res_start = address; in offb_init_fb() local 402 if (!request_mem_region(res_start, res_size, "offb")) in offb_init_fb() 410 release_mem_region(res_start, res_size); in offb_init_fb() 417 release_mem_region(res_start, res_size); in offb_init_fb() 536 release_mem_region(res_start, res_size); in offb_init_fb()
|
/linux-5.19.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()
|
/linux-5.19.10/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() 269 param.res_start = __pa(hw->hw_info.res_buf); in fjes_hw_setup()
|
D | fjes_main.c | 473 param.res_start = __pa(hw->hw_info.res_buf); in fjes_free_resources()
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | iommu.h | 154 int nid, unsigned long res_start, unsigned long res_end);
|
/linux-5.19.10/drivers/pci/switch/ |
D | switchtec.c | 1578 unsigned long res_start, res_len; in switchtec_init_pci() local 1591 res_start = pci_resource_start(pdev, 0); in switchtec_init_pci() 1594 if (!devm_request_mem_region(&pdev->dev, res_start, in switchtec_init_pci() 1598 stdev->mmio_mrpc = devm_ioremap_wc(&pdev->dev, res_start, in switchtec_init_pci() 1604 res_start + SWITCHTEC_GAS_TOP_CFG_OFFSET, in switchtec_init_pci()
|
/linux-5.19.10/drivers/video/fbdev/aty/ |
D | atyfb_base.c | 2640 par->wc_cookie = arch_phys_wc_add(par->res_start, in aty_init() 3532 unsigned long addr, res_start, res_size; in atyfb_pci_probe() local 3553 res_start = rp->start; in atyfb_pci_probe() 3555 if (!request_mem_region(res_start, res_size, "atyfb")) in atyfb_pci_probe() 3568 par->res_start = res_start; in atyfb_pci_probe() 3625 release_mem_region(par->res_start, par->res_size); in atyfb_pci_probe() 3750 if (par->res_start) in atyfb_remove() 3751 release_mem_region(par->res_start, par->res_size); in atyfb_remove()
|
D | atyfb.h | 153 unsigned long res_start; member
|
/linux-5.19.10/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 1729 unsigned long res_start, res_end; in pnv_pci_ioda2_setup_default_config() local 1776 res_start = 0; in pnv_pci_ioda2_setup_default_config() 1779 res_start = pe->phb->ioda.m32_pci_base >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config() 1784 if (iommu_init_table(tbl, pe->phb->hose->node, res_start, res_end)) in pnv_pci_ioda2_setup_default_config()
|
/linux-5.19.10/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()
|