| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | qp.c | 558 u32 last_offset; in mlx4_create_zones() local 635 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 638 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 639 !((last_offset + requested_size - 1) & in mlx4_create_zones() 646 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones() 647 last_offset = candidate_offset; in mlx4_create_zones() 651 if (last_offset > max_table_offset) { in mlx4_create_zones() 656 bf_mask - (last_offset & bf_mask), in mlx4_create_zones() 663 bf_mask - (last_offset & bf_mask), in mlx4_create_zones() 670 last_offset = candidate_offset; in mlx4_create_zones() [all …]
|
| /drivers/net/wireless/mediatek/mt7601u/ |
| A D | phy.c | 1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument 1023 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal() 1026 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal() 1048 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal() 1050 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal() 1056 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal() 1061 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal() 1080 s8 last_offset; in mt7601u_phy_freq_cal() local 1085 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal() 1089 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
|
| /drivers/vfio/pci/pds/ |
| A D | lm.c | 140 if (offset < lm_file->last_offset || !lm_file->last_offset_sg) { in pds_vfio_get_file_page() 141 lm_file->last_offset = 0; in pds_vfio_get_file_page() 146 cur_offset = lm_file->last_offset; in pds_vfio_get_file_page() 153 lm_file->last_offset = cur_offset; in pds_vfio_get_file_page()
|
| A D | lm.h | 29 unsigned long last_offset; member
|
| /drivers/ras/amd/atl/ |
| A D | map.c | 400 u64 last_offset = 0; in find_normalized_offset() local 419 if (*norm_offset <= last_offset) { in find_normalized_offset() 421 ctx->map.num, *norm_offset, last_offset); in find_normalized_offset() 429 last_offset = *norm_offset; in find_normalized_offset()
|
| /drivers/android/tests/ |
| A D | binder_alloc_kunit.c | 340 size_t last_offset, offset = 0; in gen_buf_sizes() local 348 last_offset = offset; in gen_buf_sizes() 350 front_sizes[i] = offset - last_offset; in gen_buf_sizes()
|
| /drivers/gpu/drm/etnaviv/ |
| A D | etnaviv_gem_submit.c | 262 u32 i, last_offset = 0; in submit_reloc() local 290 (off < last_offset)) { in submit_reloc() 306 last_offset = off; in submit_reloc()
|
| /drivers/vfio/pci/virtio/ |
| A D | migrate.c | 42 if (offset < buf->last_offset || !buf->last_offset_sg) { in virtiovf_get_migration_page() 43 buf->last_offset = 0; in virtiovf_get_migration_page() 48 cur_offset = buf->last_offset; in virtiovf_get_migration_page() 55 buf->last_offset = cur_offset; in virtiovf_get_migration_page() 1031 vhca_buf->last_offset; in virtiovf_resume_write()
|
| A D | common.h | 37 unsigned long last_offset; member
|
| /drivers/staging/media/meson/vdec/ |
| A D | esparser.c | 281 if (offset < sess->last_offset) in esparser_get_offset() 284 sess->last_offset = offset; in esparser_get_offset()
|
| A D | vdec.h | 277 u32 last_offset; member
|
| A D | vdec.c | 327 sess->last_offset = 0; in vdec_start_streaming()
|
| /drivers/gpu/drm/msm/ |
| A D | msm_gem_submit.c | 451 uint32_t i, last_offset = 0; in submit_reloc() local 484 (off < last_offset)) { in submit_reloc() 502 last_offset = off; in submit_reloc()
|
| /drivers/soc/ti/ |
| A D | knav_qmss_queue.c | 762 unsigned last_offset; in knav_pool_create() local 816 last_offset = 0; in knav_pool_create() 819 if ((iter->region_offset - last_offset) >= num_desc) { in knav_pool_create() 823 last_offset = iter->region_offset + iter->num_desc; in knav_pool_create() 830 pool->region_offset = last_offset; in knav_pool_create()
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_vm.c | 937 #define GET_RESERVED_SIZE(last_offset, last_size) round_up((last_offset) + (last_size), PAGE_SIZE) argument
|
| /drivers/net/ethernet/hisilicon/hns/ |
| A D | hns_enet.c | 439 int last_offset; in hns_nic_reuse_page() local 452 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page() 478 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_coredump.c | 341 record->offset = cpu_to_le32(bs_trace->last_offset); in bnxt_fill_drv_seg_record()
|
| A D | bnxt.h | 2140 u32 last_offset; member 2152 bs_trace->last_offset = offset; in bnxt_bs_trace_check_wrap()
|
| A D | bnxt.c | 9114 req->next_bs_offset = cpu_to_le32(bs_trace->last_offset); in bnxt_hwrm_func_backing_store_cfg_v2()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_ethtool.c | 4048 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local 4100 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit() 4102 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit() 4107 last_offset)); in __i40e_reprogram_flex_pit()
|
| /drivers/md/ |
| A D | dm-integrity.c | 3948 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local 3963 get_area_and_offset(ic, ic->provided_data_sectors - 1, &last_area, &last_offset); in calculate_device_limits() 3964 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()
|