Home
last modified time | relevance | path

Searched refs:max_offset (Results 1 – 18 of 18) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cgs.c78 uint64_t min_offset, uint64_t max_offset, in amdgpu_cgs_gmap_kmem() argument
98 min_offset, max_offset, mcaddr); in amdgpu_cgs_gmap_kmem()
124 uint64_t min_offset, uint64_t max_offset, in amdgpu_cgs_alloc_gpu_mem() argument
135 if (min_offset > max_offset) { in amdgpu_cgs_alloc_gpu_mem()
151 if (max_offset > adev->mc.real_vram_size) in amdgpu_cgs_alloc_gpu_mem()
154 place.lpfn = max_offset >> PAGE_SHIFT; in amdgpu_cgs_alloc_gpu_mem()
166 min(max_offset, adev->mc.real_vram_size) >> PAGE_SHIFT; in amdgpu_cgs_alloc_gpu_mem()
175 place.lpfn = max_offset >> PAGE_SHIFT; in amdgpu_cgs_alloc_gpu_mem()
182 place.lpfn = max_offset >> PAGE_SHIFT; in amdgpu_cgs_alloc_gpu_mem()
232 u64 min_offset, max_offset; in amdgpu_cgs_gmap_gpu_mem() local
[all …]
Damdgpu_object.c364 u64 min_offset, u64 max_offset, in amdgpu_bo_pin_restricted() argument
373 if (WARN_ON_ONCE(min_offset > max_offset)) in amdgpu_bo_pin_restricted()
381 if (max_offset != 0) { in amdgpu_bo_pin_restricted()
387 WARN_ON_ONCE(max_offset < in amdgpu_bo_pin_restricted()
398 (!max_offset || max_offset > bo->adev->mc.visible_vram_size)) { in amdgpu_bo_pin_restricted()
406 lpfn = max_offset >> PAGE_SHIFT; in amdgpu_bo_pin_restricted()
Damdgpu_object.h147 u64 min_offset, u64 max_offset,
/linux-4.4.14/include/scsi/
Dscsi_transport_spi.h35 int max_offset; member
78 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset)
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_object.c329 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted() argument
342 if (max_offset != 0) { in radeon_bo_pin_restricted()
349 WARN_ON_ONCE(max_offset < in radeon_bo_pin_restricted()
360 (!max_offset || max_offset > bo->rdev->mc.visible_vram_size)) in radeon_bo_pin_restricted()
364 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
Dradeon_object.h137 u64 max_offset, u64 *gpu_addr);
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_dbg.c629 u32 max_offset; in ql_get_mac_protocol_registers() local
637 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
641 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
646 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
650 max_offset = MAC_ADDR_MAX_FC_MAC_WCOUNT; in ql_get_mac_protocol_registers()
654 max_offset = MAC_ADDR_MAX_MGMT_MAC_WCOUNT; in ql_get_mac_protocol_registers()
658 max_offset = MAC_ADDR_MAX_MGMT_VLAN_WCOUNT; in ql_get_mac_protocol_registers()
662 max_offset = MAC_ADDR_MAX_MGMT_V4_WCOUNT; in ql_get_mac_protocol_registers()
666 max_offset = MAC_ADDR_MAX_MGMT_V6_WCOUNT; in ql_get_mac_protocol_registers()
670 max_offset = MAC_ADDR_MAX_MGMT_TU_DP_WCOUNT; in ql_get_mac_protocol_registers()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/include/
Dcgs_common.h168 uint64_t min_offset, uint64_t max_offset,
209 uint64_t min_offset, uint64_t max_offset,
/linux-4.4.14/drivers/mtd/
Dftl.c160 loff_t offset, max_offset; in scan_header() local
164 max_offset = (0x100000<part->mbd.mtd->size)?0x100000:part->mbd.mtd->size; in scan_header()
167 (offset + sizeof(header)) < max_offset; in scan_header()
179 if (offset == max_offset) { in scan_header()
/linux-4.4.14/drivers/scsi/
D53c700.c252 __u8 max_offset = (hostdata->chip710 in NCR_700_offset_period_to_sxfer() local
263 if(offset > max_offset) { in NCR_700_offset_period_to_sxfer()
265 offset, max_offset); in NCR_700_offset_period_to_sxfer()
266 offset = max_offset; in NCR_700_offset_period_to_sxfer()
2016 int max_offset = hostdata->chip710 in NCR_700_set_offset() local
2022 if(offset > max_offset) in NCR_700_set_offset()
2023 offset = max_offset; in NCR_700_set_offset()
/linux-4.4.14/arch/arm/mach-omap2/
Dcontrol.c299 u32 max_offset = OMAP343X_SCRATCHPAD_ROM_OFFSET; in omap3_clear_scratchpad_contents() local
305 for ( ; offset <= max_offset; offset += 0x4) in omap3_clear_scratchpad_contents()
/linux-4.4.14/include/uapi/linux/
Dbtrfs.h291 __u64 max_offset; member
/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c193 unsigned long max_offset; member
226 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h99 u32 max_offset; member
Dlibcxgbi.c1529 hdr.max_offset = htonl(gl->length); in ddp_tag_reserve()
/linux-4.4.14/drivers/pci/
Dpci.c2277 u32 dw0, bei, base, max_offset; in pci_ea_read() local
2320 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read()
2340 end = start + (max_offset | 0x03); in pci_ea_read()
2343 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
/linux-4.4.14/drivers/net/usb/
Dr8152.c1985 int max_offset = mss ? GTTCPHO_MAX : TCPHO_MAX; in rtl8152_features_check() local
1988 if ((mss || skb->ip_summed == CHECKSUM_PARTIAL) && offset > max_offset) in rtl8152_features_check()
/linux-4.4.14/fs/btrfs/
Dioctl.c1928 test.offset = sk->max_offset; in key_in_sk()
2034 test.offset = sk->max_offset; in copy_to_sk()