Searched refs:last_offset (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 547 u32 last_offset; in mlx4_create_zones() local 600 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones() 624 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 625 ((int)(max_table_offset - last_offset)) >= in mlx4_create_zones() 627 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 628 !((last_offset + requested_size - 1) & in mlx4_create_zones() 633 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 1; in mlx4_create_zones() 635 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones() 636 last_offset = candidate_offset; in mlx4_create_zones() 640 if (last_offset > max_table_offset) { in mlx4_create_zones() [all …]
|
/drivers/android/ |
D | binder_alloc_selftest.c | 238 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/ |
D | phy.c | 1015 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument 1019 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal() 1022 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal() 1044 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal() 1046 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal() 1052 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal() 1057 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal() 1076 s8 last_offset; in mt7601u_phy_freq_cal() local 1081 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal() 1085 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
|
/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 253 uint32_t i, last_offset = 0; in submit_reloc() local 294 (off < last_offset)) { in submit_reloc() 315 last_offset = off; in submit_reloc()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | llog.c | 218 __u64 last_offset; in llog_process_thread() local 257 last_offset = cur_offset; in llog_process_thread() 308 last_offset; in llog_process_thread()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 314 hns_nic_reuse_page(struct hnae_desc_cb *desc_cb, int tsize, int last_offset) in hns_nic_reuse_page() argument 321 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page() 338 int bnum, length, size, i, truesize, last_offset; in hns_nic_poll_rx_skb() local 342 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_poll_rx_skb() 386 hns_nic_reuse_page(desc_cb, truesize, last_offset); in hns_nic_poll_rx_skb() 402 hns_nic_reuse_page(desc_cb, truesize, last_offset); in hns_nic_poll_rx_skb()
|
/drivers/soc/ti/ |
D | knav_qmss_queue.c | 753 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/intel/ixgbe/ |
D | ixgbe_main.c | 1901 unsigned int last_offset = ixgbe_rx_pg_size(rx_ring) - in ixgbe_add_rx_frag() local 1937 if (rx_buffer->page_offset > last_offset) in ixgbe_add_rx_frag()
|