Home
last modified time | relevance | path

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

12

/linux-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_object.c272 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted() argument
286 if (max_offset != 0) { in radeon_bo_pin_restricted()
293 WARN_ON_ONCE(max_offset < in radeon_bo_pin_restricted()
309 (!max_offset || max_offset > bo->rdev->mc.visible_vram_size)) in radeon_bo_pin_restricted()
313 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
Dradeon_object.h148 u64 max_offset, u64 *gpu_addr);
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dinit.c461 int max_offset, cur_offset; in mt7603_init_txpower() local
471 max_offset = 0; in mt7603_init_txpower()
474 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
477 target_power += max_offset; in mt7603_init_txpower()
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/i915/selftests/
Di915_vma.c597 unsigned int n, max_offset; in igt_vma_rotate_remap() local
599 max_offset = max(plane_info[0].src_stride * plane_info[0].height, in igt_vma_rotate_remap()
601 GEM_BUG_ON(max_offset > max_pages); in igt_vma_rotate_remap()
602 max_offset = max_pages - max_offset; in igt_vma_rotate_remap()
613 for_each_prime_number_from(plane_info[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
614 for_each_prime_number_from(plane_info[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.c784 u32 max_offset, offset; in hwrm_req_dma_slice() local
789 max_offset = BNXT_HWRM_DMA_SIZE - ctx->allocated; in hwrm_req_dma_slice()
790 offset = max_offset - size; in hwrm_req_dma_slice()
794 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in hwrm_req_dma_slice()
/linux-6.12.1/net/sched/
Dact_pedit.c396 u32 max_offset; in tcf_pedit_act() local
401 max_offset = (skb_transport_header_was_set(skb) ? in tcf_pedit_act()
405 if (skb_ensure_writable(skb, min(skb->len, max_offset))) in tcf_pedit_act()
/linux-6.12.1/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-6.12.1/drivers/scsi/
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()
1999 int max_offset = hostdata->chip710 in NCR_700_set_offset() local
2005 if(offset > max_offset) in NCR_700_set_offset()
2006 offset = max_offset; in NCR_700_set_offset()
/linux-6.12.1/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()
/linux-6.12.1/net/mac80211/
Dhe.c244 he_obss_pd->max_offset = *data++; in ieee80211_he_spr_ie_to_bss_conf()
/linux-6.12.1/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()
/linux-6.12.1/drivers/media/pci/ivtv/
Divtvfb.c182 unsigned long max_offset; member
215 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
/linux-6.12.1/include/uapi/linux/
Dbtrfs.h547 __u64 max_offset; /* in */ member
/linux-6.12.1/drivers/pci/
Dpci.c3304 u32 dw0, bei, base, max_offset; in pci_ea_read() local
3348 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read()
3368 end = start + (max_offset | 0x03); in pci_ea_read()
3371 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dvcn_v4_0.c1848 static int vcn_v4_0_enc_find_ib_param(struct amdgpu_ib *ib, uint32_t id, int max_offset) in vcn_v4_0_enc_find_ib_param() argument
1852 for (i = 0; i < ib->length_dw && i < max_offset && ib->ptr[i] >= 8; i += ib->ptr[i]/4) { in vcn_v4_0_enc_find_ib_param()
Dgfx_v8_0.c3882 int max_offset) in gfx_v8_0_parse_ind_reg_list() argument
3893 BUG_ON(*offset_count >= max_offset); in gfx_v8_0_parse_ind_reg_list()
/linux-6.12.1/tools/perf/util/
Dsession.c1559 u64 max_offset = offset + size; in perf_session__peek_events() local
1579 } while (offset < max_offset); in perf_session__peek_events()
/linux-6.12.1/fs/btrfs/
Dioctl.c1560 test.offset = sk->max_offset; in key_in_sk()
1674 test.offset = sk->max_offset; in copy_to_sk()
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c272 s->he_obss_pd.max_offset; in qtnf_cmd_send_start_ap()
/linux-6.12.1/include/net/
Dcfg80211.h315 u8 max_offset; member
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c3578 req.param.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7915_mcu_set_obss_spr_pd()

12