Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c330 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 …]
Dvmwgfx_resource.c1106 unsigned long res_start = start << PAGE_SHIFT; in vmw_resources_clean() local
1121 res_start) { in vmw_resources_clean()
1161 if (last_cleaned > res_start) { in vmw_resources_clean()
1164 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
/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()
/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()
/drivers/scsi/mvsas/
Dmv_init.c300 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()
/drivers/video/fbdev/
Doffb.c396 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()
/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()
/drivers/pci/switch/
Dswitchtec.c1510 unsigned long res_start, res_len; in switchtec_init_pci() local
1523 res_start = pci_resource_start(pdev, 0); in switchtec_init_pci()
1526 if (!devm_request_mem_region(&pdev->dev, res_start, in switchtec_init_pci()
1530 stdev->mmio_mrpc = devm_ioremap_wc(&pdev->dev, res_start, in switchtec_init_pci()
1536 res_start + SWITCHTEC_GAS_TOP_CFG_OFFSET, in switchtec_init_pci()
/drivers/net/fjes/
Dfjes_hw.h179 phys_addr_t res_start; member
Dfjes_hw.c189 (__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()
272 param.res_start = __pa(hw->hw_info.res_buf); in fjes_hw_setup()
Dfjes_main.c473 param.res_start = __pa(hw->hw_info.res_buf); in fjes_free_resources()
/drivers/video/fbdev/aty/
Datyfb_base.c2641 par->wc_cookie = arch_phys_wc_add(par->res_start, in aty_init()
3537 unsigned long addr, res_start, res_size; in atyfb_pci_probe() local
3558 res_start = rp->start; in atyfb_pci_probe()
3560 if (!request_mem_region(res_start, res_size, "atyfb")) in atyfb_pci_probe()
3573 par->res_start = res_start; in atyfb_pci_probe()
3630 release_mem_region(par->res_start, par->res_size); in atyfb_pci_probe()
3755 if (par->res_start) in atyfb_remove()
3756 release_mem_region(par->res_start, par->res_size); in atyfb_remove()
Datyfb.h153 unsigned long res_start; member
/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()