Home
last modified time | relevance | path

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

12

/linux/net/smc/
H A Dsmc_clc.h383 u16 max_offset; in smc_get_clc_v2_ext() local
385 max_offset = offsetof(struct smc_clc_msg_proposal_area, pclc_v2_ext) - in smc_get_clc_v2_ext()
390 ntohs(prop_smcd->v2_ext_offset) > max_offset) in smc_get_clc_v2_ext()
403 u16 max_offset = offsetof(struct smc_clc_msg_proposal_area, pclc_smcd_v2_ext) - in smc_get_clc_smcd_v2_ext() local
411 ntohs(prop_v2ext->hdr.smcd_v2_ext_offset) > max_offset) in smc_get_clc_smcd_v2_ext()
/linux/drivers/gpu/drm/radeon/
H A 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()
H A Dradeon_object.h148 u64 max_offset, u64 *gpu_addr);
/linux/tools/testing/selftests/powerpc/stringloops/
H 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/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dinit.c462 int max_offset, cur_offset; in mt7603_init_txpower() local
472 max_offset = 0; in mt7603_init_txpower()
475 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
478 target_power += max_offset; in mt7603_init_txpower()
/linux/include/scsi/
H 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/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm.c489 u32 max_offset, offset; in bnge_hwrm_req_dma_slice() local
494 max_offset = BNGE_HWRM_DMA_SIZE - ctx->allocated; in bnge_hwrm_req_dma_slice()
495 offset = max_offset - size; in bnge_hwrm_req_dma_slice()
499 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in bnge_hwrm_req_dma_slice()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwrm.c786 u32 max_offset, offset; in hwrm_req_dma_slice()
791 max_offset = BNXT_HWRM_DMA_SIZE - ctx->allocated; in hwrm_req_dma_slice()
792 offset = max_offset - size; in hwrm_req_dma_slice()
796 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in hwrm_req_dma_slice()
784 u32 max_offset, offset; hwrm_req_dma_slice() local
/linux/drivers/mtd/
H 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/
H A 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()
2000 int max_offset = hostdata->chip710 in NCR_700_set_offset() local
2006 if(offset > max_offset) in NCR_700_set_offset()
2007 offset = max_offset; in NCR_700_set_offset()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.h54 u32 max_offset; member
H A Dlibcxgb_ppm.c306 hdr->max_offset = htonl(length); in cxgbi_ppm_make_ppod_hdr()
/linux/drivers/media/pci/ivtv/
H A Divtvfb.c182 unsigned long max_offset; member
215 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
/linux/kernel/trace/
H A Dtrace_probe.c1176 int i, max_offset = 0; in __store_entry_arg()
1190 if (earg->code[i].offset > max_offset) in __store_entry_arg()
1191 max_offset = earg->code[i].offset; in __store_entry_arg()
1193 return max_offset; in __store_entry_arg()
1137 int i, max_offset = 0; get_entry_arg_max_offset() local
/linux/include/uapi/linux/
H A Dbtrfs.h548 __u64 max_offset; /* in */ member
/linux/drivers/pci/
H A Dpci.c3351 u32 dw0, bei, base, max_offset; in pci_ea_read()
3395 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read()
3415 end = start + (max_offset | 0x03); in pci_ea_read()
3418 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
3325 u32 dw0, bei, base, max_offset; pci_ea_read() local
/linux/tools/perf/util/
H A Dsession.c2933 u64 max_offset = offset + size; in perf_event__process_id_index()
2979 } while (offset < max_offset);
1809 u64 max_offset = offset + size; perf_session__peek_events() local
/linux/fs/btrfs/
H A Dioctl.c1431 test.offset = sk->max_offset; in copy_to_sk()
1537 test.offset = sk->max_offset; in copy_to_sk()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v8_0.c3891 int max_offset) in gfx_v8_0_parse_ind_reg_list()
3902 BUG_ON(*offset_count >= max_offset); in gfx_v8_0_parse_ind_reg_list()
3889 gfx_v8_0_parse_ind_reg_list(int * register_list_format,int ind_offset,int list_size,int * unique_indices,int * indices_count,int max_indices,int * ind_start_offsets,int * offset_count,int max_offset) gfx_v8_0_parse_ind_reg_list() argument
/linux/include/net/
H A Dcfg80211.h310 * @max_offset: maximum tx power offset an associated station shall use
321 u8 max_offset;
320 u8 max_offset; global() member
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c3766 req.param.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7915_mcu_set_obss_spr_pd()
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c3388 he_obss_pd->max_offset); in ath11k_mac_config_obss_pd()
3406 srg_th = ATH11K_OBSS_PD_MAX_THRESHOLD + he_obss_pd->max_offset; in ath11k_mac_config_obss_pd()
H A Dwmi.c3587 cmd->obss_max = he_obss_pd->max_offset; in ath11k_wmi_send_obss_spr_cmd()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c4943 req.pd_th_srg = max_th - he_obss_pd->max_offset; in mt7996_mcu_set_obss_spr_bitmap()
/linux/net/wireless/
H A Dnl80211.c7030 he_obss_pd->max_offset = in nl80211_get_ap_channel()
7036 if (he_obss_pd->min_offset > he_obss_pd->max_offset)

12