Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c32 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument
37 for (offset = 0; offset < max_offset; offset++) { in test_one()
/Linux-v5.4/include/scsi/
Dscsi_transport_spi.h22 int max_offset; member
65 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset)
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c476 int max_offset, cur_offset; in mt7603_init_txpower() local
485 max_offset = 0; in mt7603_init_txpower()
488 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
491 target_power += max_offset; in mt7603_init_txpower()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_vma.c516 unsigned int n, max_offset; in igt_vma_rotate_remap() local
518 max_offset = max(a->stride * a->height, in igt_vma_rotate_remap()
520 GEM_BUG_ON(max_offset > max_pages); in igt_vma_rotate_remap()
521 max_offset = max_pages - max_offset; in igt_vma_rotate_remap()
527 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
528 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_object.c328 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()
365 (!max_offset || max_offset > bo->rdev->mc.visible_vram_size)) in radeon_bo_pin_restricted()
369 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
Dradeon_object.h137 u64 max_offset, u64 *gpu_addr);
/Linux-v5.4/drivers/staging/qlge/
Dqlge_dbg.c611 u32 max_offset; in ql_get_mac_protocol_registers() local
619 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
623 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
628 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
632 max_offset = MAC_ADDR_MAX_FC_MAC_WCOUNT; in ql_get_mac_protocol_registers()
636 max_offset = MAC_ADDR_MAX_MGMT_MAC_WCOUNT; in ql_get_mac_protocol_registers()
640 max_offset = MAC_ADDR_MAX_MGMT_VLAN_WCOUNT; in ql_get_mac_protocol_registers()
644 max_offset = MAC_ADDR_MAX_MGMT_V4_WCOUNT; in ql_get_mac_protocol_registers()
648 max_offset = MAC_ADDR_MAX_MGMT_V6_WCOUNT; in ql_get_mac_protocol_registers()
652 max_offset = MAC_ADDR_MAX_MGMT_TU_DP_WCOUNT; in ql_get_mac_protocol_registers()
[all …]
/Linux-v5.4/net/mac80211/
Dhe.c88 he_obss_pd->max_offset = *data++; in ieee80211_he_spr_ie_to_bss_conf()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c822 u64 min_offset, u64 max_offset) in amdgpu_bo_pin_restricted() argument
831 if (WARN_ON_ONCE(min_offset > max_offset)) in amdgpu_bo_pin_restricted()
855 if (max_offset != 0) { in amdgpu_bo_pin_restricted()
857 WARN_ON_ONCE(max_offset < in amdgpu_bo_pin_restricted()
873 lpfn = max_offset >> PAGE_SHIFT; in amdgpu_bo_pin_restricted()
Damdgpu_object.h249 u64 min_offset, u64 max_offset);
Dgfx_v8_0.c3937 int max_offset) in gfx_v8_0_parse_ind_reg_list() argument
3948 BUG_ON(*offset_count >= max_offset); in gfx_v8_0_parse_ind_reg_list()
/Linux-v5.4/drivers/mtd/
Dftl.c154 loff_t offset, max_offset; in scan_header() local
158 max_offset = (0x100000<part->mbd.mtd->size)?0x100000:part->mbd.mtd->size; in scan_header()
161 (offset + sizeof(header)) < max_offset; in scan_header()
173 if (offset == max_offset) { in scan_header()
/Linux-v5.4/drivers/scsi/
D53c700.c239 __u8 max_offset = (hostdata->chip710 in NCR_700_offset_period_to_sxfer() local
250 if(offset > max_offset) { in NCR_700_offset_period_to_sxfer()
252 offset, max_offset); in NCR_700_offset_period_to_sxfer()
253 offset = max_offset; in NCR_700_offset_period_to_sxfer()
1988 int max_offset = hostdata->chip710 in NCR_700_set_offset() local
1994 if(offset > max_offset) in NCR_700_set_offset()
1995 offset = max_offset; in NCR_700_set_offset()
/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h54 u32 max_offset; member
Dlibcxgb_ppm.c307 hdr->max_offset = htonl(length); in cxgbi_ppm_make_ppod_hdr()
/Linux-v5.4/arch/arm/mach-omap2/
Dcontrol.c285 u32 max_offset = OMAP343X_SCRATCHPAD_ROM_OFFSET; in omap3_clear_scratchpad_contents() local
291 for ( ; offset <= max_offset; offset += 0x4) in omap3_clear_scratchpad_contents()
/Linux-v5.4/include/uapi/linux/
Dbtrfs.h475 __u64 max_offset; /* in */ member
/Linux-v5.4/drivers/media/pci/ivtv/
Divtvfb.c181 unsigned long max_offset; member
214 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
/Linux-v5.4/drivers/pci/
Dpci.c2903 u32 dw0, bei, base, max_offset; in pci_ea_read() local
2946 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read()
2966 end = start + (max_offset | 0x03); in pci_ea_read()
2969 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
/Linux-v5.4/fs/btrfs/
Dioctl.c2016 test.offset = sk->max_offset; in key_in_sk()
2121 test.offset = sk->max_offset; in copy_to_sk()
/Linux-v5.4/drivers/net/usb/
Dr8152.c2378 int max_offset = mss ? GTTCPHO_MAX : TCPHO_MAX; in rtl8152_features_check() local
2381 if ((mss || skb->ip_summed == CHECKSUM_PARTIAL) && offset > max_offset) in rtl8152_features_check()
/Linux-v5.4/include/net/
Dcfg80211.h259 u8 max_offset; member
/Linux-v5.4/net/wireless/
Dnl80211.c4498 he_obss_pd->max_offset = in nl80211_parse_he_obss_pd()
4501 if (he_obss_pd->min_offset >= he_obss_pd->max_offset) in nl80211_parse_he_obss_pd()