Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/circbuf/src/
Dcircbuf.c126 int max_offset; in ia_css_circbuf_extract() local
133 max_offset = ia_css_circbuf_get_offset(cb, cb->desc->start, cb->desc->end); in ia_css_circbuf_extract()
134 max_offset--; in ia_css_circbuf_extract()
147 if (offset > max_offset) { in ia_css_circbuf_extract()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument
42 for (offset = 0; offset < max_offset; offset++) { in test_one()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c480 int max_offset, cur_offset; in mt7603_init_txpower() local
489 max_offset = 0; in mt7603_init_txpower()
492 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
495 target_power += max_offset; in mt7603_init_txpower()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_vma.c519 unsigned int n, max_offset; in igt_vma_rotate_remap() local
521 max_offset = max(a->stride * a->height, in igt_vma_rotate_remap()
523 GEM_BUG_ON(max_offset > max_pages); in igt_vma_rotate_remap()
524 max_offset = max_pages - max_offset; in igt_vma_rotate_remap()
530 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
531 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
/kernel/linux/linux-5.10/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.h151 u64 max_offset, u64 *gpu_addr);
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_dbg.c606 u32 max_offset; in ql_get_mac_protocol_registers() local
613 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
617 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
622 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
626 max_offset = MAC_ADDR_MAX_FC_MAC_WCOUNT; in ql_get_mac_protocol_registers()
630 max_offset = MAC_ADDR_MAX_MGMT_MAC_WCOUNT; in ql_get_mac_protocol_registers()
634 max_offset = MAC_ADDR_MAX_MGMT_VLAN_WCOUNT; in ql_get_mac_protocol_registers()
638 max_offset = MAC_ADDR_MAX_MGMT_V4_WCOUNT; in ql_get_mac_protocol_registers()
642 max_offset = MAC_ADDR_MAX_MGMT_V6_WCOUNT; in ql_get_mac_protocol_registers()
646 max_offset = MAC_ADDR_MAX_MGMT_TU_DP_WCOUNT; in ql_get_mac_protocol_registers()
[all …]
/kernel/linux/linux-5.10/net/sched/
Dact_pedit.c327 u32 max_offset; in tcf_pedit_act() local
332 max_offset = (skb_transport_header_was_set(skb) ? in tcf_pedit_act()
336 if (skb_ensure_writable(skb, min(skb->len, max_offset))) in tcf_pedit_act()
/kernel/linux/linux-5.10/net/mac80211/
Dhe.c137 he_obss_pd->max_offset = *data++; in ieee80211_he_spr_ie_to_bss_conf()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c896 u64 min_offset, u64 max_offset) in amdgpu_bo_pin_restricted() argument
905 if (WARN_ON_ONCE(min_offset > max_offset)) in amdgpu_bo_pin_restricted()
933 if (max_offset != 0) { in amdgpu_bo_pin_restricted()
936 WARN_ON_ONCE(max_offset < in amdgpu_bo_pin_restricted()
955 lpfn = max_offset >> PAGE_SHIFT; in amdgpu_bo_pin_restricted()
Damdgpu_object.h269 u64 min_offset, u64 max_offset);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
2005 int max_offset = hostdata->chip710 in NCR_700_set_offset() local
2011 if(offset > max_offset) in NCR_700_set_offset()
2012 offset = max_offset; in NCR_700_set_offset()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h54 u32 max_offset; member
Dlibcxgb_ppm.c306 hdr->max_offset = htonl(length); in cxgbi_ppm_make_ppod_hdr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dm88ds3103.c384 u32 max_offset = 0; in m88ds3103b_select_mclk() local
404 if (offset_MHz[i] > max_offset) { in m88ds3103b_select_mclk()
405 max_offset = offset_MHz[i]; in m88ds3103b_select_mclk()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbtrfs.h277 __u64 max_offset; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbtrfs.h274 __u64 max_offset; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbtrfs.h512 __u64 max_offset; /* in */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/pci/
Dpci.c3138 u32 dw0, bei, base, max_offset; in pci_ea_read() local
3181 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read()
3201 end = start + (max_offset | 0x03); in pci_ea_read()
3204 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
/kernel/linux/linux-5.10/tools/perf/util/
Dsession.c1725 u64 max_offset = offset + size; in perf_session__peek_events() local
1745 } while (offset < max_offset); in perf_session__peek_events()
/kernel/linux/linux-5.10/fs/btrfs/
Dioctl.c2096 test.offset = sk->max_offset; in key_in_sk()
2210 test.offset = sk->max_offset; in copy_to_sk()

12