Searched refs:DIV_ROUND_UP (Results 26 - 47 of 47) sorted by relevance

12

/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tls.c534 kwr->wr_mid = htobe32(V_FW_WR_LEN16(DIV_ROUND_UP(len, 16)) |
545 DIV_ROUND_UP(len - sizeof(struct work_request_hdr), 16));
564 txsd->tx_credits = DIV_ROUND_UP(len, 16);
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dmlx5.h463 static inline unsigned DIV_ROUND_UP(unsigned n, unsigned d) function
H A Dqp.c911 qp->sq.cur_post += DIV_ROUND_UP(size * 16, MLX5_SEND_WQE_BB);
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_chain.h187 DIV_ROUND_UP(elem_cnt, USABLE_ELEMS_PER_PAGE(elem_size, mode))
H A Decore_mcp.c544 u32 cnt = 0, msecs = DIV_ROUND_UP(usecs, 1000);
672 max_retries = DIV_ROUND_UP(max_retries, 1000);
4397 DIV_ROUND_UP(p_params->retry_interval,
H A Decore_dbg_fw_funcs.c369 #define CEIL_DWORDS(size) DIV_ROUND_UP(size, 32)
3867 for (i = 0; i < DIV_ROUND_UP(ram_size, BRB_REG_BIG_RAM_DATA_SIZE); i++) {
4663 trace_data_size_dwords = DIV_ROUND_UP(trace_data_size_bytes + sizeof(struct mcp_trace), BYTES_IN_DWORD);
/freebsd-11-stable/sys/arm/nvidia/
H A Das3722_regulators.c51 #define DIV_ROUND_UP(n,d) howmany(n, d) macro
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.h218 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) macro
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_dp.c391 aux_clock_divider = DIV_ROUND_UP(intel_pch_rawclk(dev), 2);
2659 #define get_delay(field) (DIV_ROUND_UP(final.field, 10))
2695 pp_div |= (DIV_ROUND_UP(seq->t11_t12, 1000)
H A Dintel_ringbuffer.c1026 intel_ring_emit(ring, (DIV_ROUND_UP(len, 4096) << 16) | 1024);
H A Dintel_display.c6633 u32 pitch = DIV_ROUND_UP(width * bpp, 8);
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_memfree.c367 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk);
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Drv770.c925 num_loops = DIV_ROUND_UP(size_in_dw, 0xFFFF);
H A Dr100.c902 num_loops = DIV_ROUND_UP(num_gpu_pages, 8191);
H A Dr600.c2727 num_loops = DIV_ROUND_UP(size_in_dw, 0xFFFE);
H A Dsi.c4066 num_loops = DIV_ROUND_UP(size_in_bytes, 0xfffff);
H A Devergreen.c3473 num_loops = DIV_ROUND_UP(size_in_dw, 0xfffff);
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c152 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16)
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c373 DIV_ROUND_UP(MLX4_IB_UD_HEADER_SIZE,
493 qp->sq_max_wqes_per_wr = DIV_ROUND_UP(s, 1U << qp->sq.wqe_shift);
3219 ind += DIV_ROUND_UP(size * 16, 1U << qp->sq.wqe_shift);
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_hw.c3364 u32 exprom_header_buf[DIV_ROUND_UP(sizeof(struct exprom_header),
3626 i = DIV_ROUND_UP(size, sf_sec_size); /* # of sectors spanned */
8016 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd,
9958 i = DIV_ROUND_UP(FLASH_CFG_MAX_SIZE, /* # of sectors spanned */
10199 i = DIV_ROUND_UP(size ? size : FLASH_FW_START,
10335 i = DIV_ROUND_UP(FLASH_BOOTCFG_MAX_SIZE,/* # of sectors spanned */
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c3800 qp->sq.cur_post += DIV_ROUND_UP(size * 16, MLX5_SEND_WQE_BB);
/freebsd-11-stable/sys/dev/bxe/
H A Dbxe.c5910 line += DIV_ROUND_UP(sc->qm_cid_count * QM_QUEUES_PER_FUNC * 4,

Completed in 621 milliseconds

12