/linux/drivers/staging/media/atomisp/pci/base/circbuf/src/ |
A D | circbuf.c | 126 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 D | qlge_dbg.c | 606 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 D | radeon_object.c | 292 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 D | radeon_object.h | 148 u64 max_offset, u64 *gpu_addr);
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | init.c | 452 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 D | memcmp.c | 37 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 D | scsi_transport_spi.h | 22 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 D | i915_vma.c | 596 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 D | bnxt_hwrm.c | 728 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 D | amdgpu_object.c | 869 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 D | amdgpu_object.h | 305 u64 min_offset, u64 max_offset);
|
/linux/drivers/mtd/ |
A D | ftl.c | 154 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 D | 53c700.c | 238 __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 D | control.c | 280 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 D | libcxgb_ppm.h | 54 u32 max_offset; member
|
A D | libcxgb_ppm.c | 306 hdr->max_offset = htonl(length); in cxgbi_ppm_make_ppod_hdr()
|
/linux/net/mac80211/ |
A D | he.c | 233 he_obss_pd->max_offset = *data++; in ieee80211_he_spr_ie_to_bss_conf()
|
/linux/drivers/media/dvb-frontends/ |
A D | m88ds3103.c | 384 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 D | ivtvfb.c | 181 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 D | btrfs.h | 514 __u64 max_offset; /* in */ member
|
/linux/drivers/pci/ |
A D | pci.c | 3222 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 D | session.c | 1762 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 D | ioctl.c | 2048 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 D | commands.c | 271 s->he_obss_pd.max_offset; in qtnf_cmd_send_start_ap()
|
/linux/include/net/ |
A D | cfg80211.h | 289 u8 max_offset; member
|