Home
last modified time | relevance | path

Searched refs:last_offset (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dqp.c553 u32 last_offset; in mlx4_create_zones() local
606 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones()
630 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
631 ((int)(max_table_offset - last_offset)) >= in mlx4_create_zones()
633 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
634 !((last_offset + requested_size - 1) & in mlx4_create_zones()
639 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 1; in mlx4_create_zones()
641 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones()
642 last_offset = candidate_offset; in mlx4_create_zones()
646 if (last_offset > max_table_offset) { in mlx4_create_zones()
[all …]
/drivers/android/
Dbinder_alloc_selftest.c238 size_t last_offset, offset = 0; in binder_selftest_alloc_size() local
241 last_offset = offset; in binder_selftest_alloc_size()
243 front_sizes[i] = offset - last_offset; in binder_selftest_alloc_size()
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c1017 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument
1021 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal()
1024 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal()
1046 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal()
1048 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal()
1054 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal()
1059 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal()
1078 s8 last_offset; in mt7601u_phy_freq_cal() local
1083 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal()
1087 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c234 u32 i, last_offset = 0; in submit_reloc() local
258 (off < last_offset)) { in submit_reloc()
274 last_offset = off; in submit_reloc()
/drivers/staging/lustre/lustre/obdclass/
Dllog.c216 __u64 last_offset; in llog_process_thread() local
259 last_offset = cur_offset; in llog_process_thread()
310 last_offset; in llog_process_thread()
/drivers/gpu/drm/msm/
Dmsm_gem_submit.c295 uint32_t i, last_offset = 0; in submit_reloc() local
337 (off < last_offset)) { in submit_reloc()
359 last_offset = off; in submit_reloc()
/drivers/soc/ti/
Dknav_qmss_queue.c753 unsigned last_offset; in knav_pool_create() local
805 last_offset = 0; in knav_pool_create()
809 if ((pi->region_offset - last_offset) >= num_desc) { in knav_pool_create()
813 last_offset = pi->region_offset + pi->num_desc; in knav_pool_create()
820 pool->region_offset = last_offset; in knav_pool_create()
/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c515 int last_offset; in hns_nic_reuse_page() local
528 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page()
554 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1031 unsigned int last_offset = PAGE_SIZE - I40E_RXBUFFER_2048; in i40e_add_rx_frag() local
1069 if (rx_buffer->page_offset > last_offset) in i40e_add_rx_frag()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1583 unsigned int last_offset = PAGE_SIZE - I40E_RXBUFFER_2048; in i40e_add_rx_frag() local
1621 if (rx_buffer->page_offset > last_offset) in i40e_add_rx_frag()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1959 unsigned int last_offset = ixgbe_rx_pg_size(rx_ring) - in ixgbe_add_rx_frag() local
1995 if (rx_buffer->page_offset > last_offset) in ixgbe_add_rx_frag()