Home
last modified time | relevance | path

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

12

/linux/drivers/staging/media/atomisp/pci/base/circbuf/src/
A 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()
/linux/drivers/staging/qlge/
A Dqlge_dbg.c606 u32 max_offset; in qlge_get_mac_protocol_registers() local
613 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in qlge_get_mac_protocol_registers()
617 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in qlge_get_mac_protocol_registers()
622 max_offset = MAC_ADDR_MAX_CAM_WCOUNT; in qlge_get_mac_protocol_registers()
626 max_offset = MAC_ADDR_MAX_FC_MAC_WCOUNT; in qlge_get_mac_protocol_registers()
630 max_offset = MAC_ADDR_MAX_MGMT_MAC_WCOUNT; in qlge_get_mac_protocol_registers()
634 max_offset = MAC_ADDR_MAX_MGMT_VLAN_WCOUNT; in qlge_get_mac_protocol_registers()
638 max_offset = MAC_ADDR_MAX_MGMT_V4_WCOUNT; in qlge_get_mac_protocol_registers()
642 max_offset = MAC_ADDR_MAX_MGMT_V6_WCOUNT; in qlge_get_mac_protocol_registers()
646 max_offset = MAC_ADDR_MAX_MGMT_TU_DP_WCOUNT; in qlge_get_mac_protocol_registers()
[all …]
/linux/drivers/gpu/drm/radeon/
A Dradeon_object.c292 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted() argument
306 if (max_offset != 0) { in radeon_bo_pin_restricted()
313 WARN_ON_ONCE(max_offset < in radeon_bo_pin_restricted()
329 (!max_offset || max_offset > bo->rdev->mc.visible_vram_size)) in radeon_bo_pin_restricted()
333 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
A Dradeon_object.h148 u64 max_offset, u64 *gpu_addr);
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
A Dinit.c452 int max_offset, cur_offset; in mt7603_init_txpower() local
461 max_offset = 0; in mt7603_init_txpower()
464 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
467 target_power += max_offset; in mt7603_init_txpower()
/linux/tools/testing/selftests/powerpc/stringloops/
A 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()
/linux/include/scsi/
A Dscsi_transport_spi.h22 int max_offset; member
65 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset)
/linux/drivers/gpu/drm/i915/selftests/
A Di915_vma.c596 unsigned int n, max_offset; in igt_vma_rotate_remap() local
598 max_offset = max(plane_info[0].src_stride * plane_info[0].height, in igt_vma_rotate_remap()
600 GEM_BUG_ON(max_offset > max_pages); in igt_vma_rotate_remap()
601 max_offset = max_pages - max_offset; in igt_vma_rotate_remap()
612 for_each_prime_number_from(plane_info[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
613 for_each_prime_number_from(plane_info[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_hwrm.c728 u32 max_offset, offset; in hwrm_req_dma_slice() local
733 max_offset = BNXT_HWRM_DMA_SIZE - ctx->allocated; in hwrm_req_dma_slice()
734 offset = max_offset - size; in hwrm_req_dma_slice()
738 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in hwrm_req_dma_slice()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_object.c869 u64 min_offset, u64 max_offset) in amdgpu_bo_pin_restricted() argument
878 if (WARN_ON_ONCE(min_offset > max_offset)) in amdgpu_bo_pin_restricted()
903 if (max_offset != 0) { in amdgpu_bo_pin_restricted()
906 WARN_ON_ONCE(max_offset < in amdgpu_bo_pin_restricted()
929 lpfn = max_offset >> PAGE_SHIFT; in amdgpu_bo_pin_restricted()
A Damdgpu_object.h305 u64 min_offset, u64 max_offset);
/linux/drivers/mtd/
A 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/drivers/scsi/
A D53c700.c238 __u8 max_offset = (hostdata->chip710 in NCR_700_offset_period_to_sxfer() local
249 if(offset > max_offset) { in NCR_700_offset_period_to_sxfer()
251 offset, max_offset); in NCR_700_offset_period_to_sxfer()
252 offset = max_offset; in NCR_700_offset_period_to_sxfer()
2002 int max_offset = hostdata->chip710 in NCR_700_set_offset() local
2008 if(offset > max_offset) in NCR_700_set_offset()
2009 offset = max_offset; in NCR_700_set_offset()
/linux/arch/arm/mach-omap2/
A Dcontrol.c280 u32 max_offset = OMAP343X_SCRATCHPAD_ROM_OFFSET; in omap3_clear_scratchpad_contents() local
286 for ( ; offset <= max_offset; offset += 0x4) in omap3_clear_scratchpad_contents()
/linux/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_ppm.h54 u32 max_offset; member
A Dlibcxgb_ppm.c306 hdr->max_offset = htonl(length); in cxgbi_ppm_make_ppod_hdr()
/linux/net/mac80211/
A Dhe.c233 he_obss_pd->max_offset = *data++; in ieee80211_he_spr_ie_to_bss_conf()
/linux/drivers/media/dvb-frontends/
A 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()
/linux/drivers/media/pci/ivtv/
A Divtvfb.c181 unsigned long max_offset; member
214 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
/linux/include/uapi/linux/
A Dbtrfs.h514 __u64 max_offset; /* in */ member
/linux/drivers/pci/
A Dpci.c3222 u32 dw0, bei, base, max_offset; in pci_ea_read() local
3265 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read()
3285 end = start + (max_offset | 0x03); in pci_ea_read()
3288 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
/linux/tools/perf/util/
A Dsession.c1762 u64 max_offset = offset + size; in perf_session__peek_events() local
1782 } while (offset < max_offset); in perf_session__peek_events()
/linux/fs/btrfs/
A Dioctl.c2048 test.offset = sk->max_offset; in key_in_sk()
2162 test.offset = sk->max_offset; in copy_to_sk()
/linux/drivers/net/wireless/quantenna/qtnfmac/
A Dcommands.c271 s->he_obss_pd.max_offset; in qtnf_cmd_send_start_ap()
/linux/include/net/
A Dcfg80211.h289 u8 max_offset; member

Completed in 140 milliseconds

12