Home
last modified time | relevance | path

Searched refs:extra_bytes (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_hwconfig.c113 u32 extra_bytes; in xe_guc_hwconfig_dump() local
121 num_dw = div_u64_rem(size, sizeof(u32), &extra_bytes); in xe_guc_hwconfig_dump()
157 if (i < num_dw || extra_bytes) in xe_guc_hwconfig_dump()
159 (num_dw - i) * sizeof(u32) + extra_bytes); in xe_guc_hwconfig_dump()
/linux/drivers/infiniband/hw/hfi1/
H A Dud.c226 u16 *pkey, u32 extra_bytes, bool bypass) in hfi1_make_bth_deth() argument
241 bth0 |= extra_bytes << 20; in hfi1_make_bth_deth()
264 u32 nwords, extra_bytes; in hfi1_make_ud_req_9B() local
279 extra_bytes = -wqe->length & 3; in hfi1_make_ud_req_9B()
280 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_9B()
323 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false); in hfi1_make_ud_req_9B()
340 u32 dlid, slid, nwords, extra_bytes; in hfi1_make_ud_req_16B() local
367 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2), in hfi1_make_ud_req_16B()
369 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_16B()
415 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, true); in hfi1_make_ud_req_16B()
[all …]
H A Duc.c274 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv() local
379 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv()
399 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv()
402 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
493 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
518 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
H A Druc.c243 u8 extra_bytes = hfi1_get_16b_padding( in hfi1_make_ruc_header_16B() local
247 extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_ruc_header_16B()
287 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_16B()
330 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B() local
332 extra_bytes) >> 2); in hfi1_make_ruc_header_9B()
365 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_9B()
H A Dverbs.c728 u8 extra_bytes = 0; in build_verbs_tx_desc() local
735 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) + in build_verbs_tx_desc()
743 extra_bytes, in build_verbs_tx_desc()
780 if (extra_bytes) in build_verbs_tx_desc()
782 extra_bytes); in build_verbs_tx_desc()
813 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_dma() local
815 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) + in hfi1_verbs_send_dma()
955 u8 extra_bytes = 0; in hfi1_verbs_send_pio() local
960 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
961 dwords = (len + extra_bytes) >> 2; in hfi1_verbs_send_pio()
[all …]
H A Drc.c1287 u8 extra_bytes; in hfi1_make_rc_ack_16B() local
1293 extra_bytes = hfi1_get_16b_padding(*hwords << 2, 0); in hfi1_make_rc_ack_16B()
1294 *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_rc_ack_16B()
1319 bth0 |= extra_bytes << 20; in hfi1_make_rc_ack_16B()
2321 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in rc_rcv_resp() local
2388 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in rc_rcv_resp()
2425 if (unlikely(tlen < (hdrsize + extra_bytes))) in rc_rcv_resp()
2447 if (unlikely(tlen <= (hdrsize + extra_bytes))) in rc_rcv_resp()
2450 tlen -= hdrsize + extra_bytes; in rc_rcv_resp()
2784 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_rc_rcv() local
[all …]
H A Ddriver.c1641 u32 extra_bytes; in hfi1_ipoib_ib_rcv() local
1680 extra_bytes = ib_bth_get_pad(packet->ohdr) + (SIZE_OF_CRC << 2) + in hfi1_ipoib_ib_rcv()
1682 if (unlikely(tlen < extra_bytes)) in hfi1_ipoib_ib_rcv()
1685 tlen -= extra_bytes; in hfi1_ipoib_ib_rcv()
H A Dtid_rdma.c2495 u8 extra_bytes = pad + packet->extra_byte + in hfi1_rc_rcv_tid_rdma_read_resp() local
2499 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_rc_rcv_tid_rdma_read_resp()
4316 u8 extra_bytes = pad + packet->extra_byte + in hfi1_rc_rcv_tid_rdma_write_data() local
4320 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_rc_rcv_tid_rdma_write_data()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h187 static inline struct octeon_recv_info *octeon_alloc_recv_info(int extra_bytes) in octeon_alloc_recv_info() argument
193 extra_bytes, GFP_ATOMIC); in octeon_alloc_recv_info()
201 if (extra_bytes) in octeon_alloc_recv_info()
/linux/drivers/infiniband/hw/qib/
H A Dqib_ruc.c213 u32 extra_bytes; in qib_make_ruc_header() local
216 extra_bytes = -qp->s_cur_size & 3; in qib_make_ruc_header()
217 nwords = (qp->s_cur_size + extra_bytes) >> 2; in qib_make_ruc_header()
237 bth0 |= extra_bytes << 20; in qib_make_ruc_header()
H A Dqib_ud.c240 u32 extra_bytes; in qib_make_ud_req() local
309 extra_bytes = -wqe->length & 3; in qib_make_ud_req()
310 nwords = (wqe->length + extra_bytes) >> 2; in qib_make_ud_req()
364 bth0 |= extra_bytes << 20; in qib_make_ud_req()
/linux/drivers/net/wireless/ti/wlcore/
H A Dtx.h75 u8 extra_bytes; member
98 (1u << (8 * sizeof(((struct wl128x_tx_mem *) 0)->extra_bytes))))
/linux/arch/x86/boot/
H A Dheader.S473 # extra_bytes = (uncompressed_size >> 12) + 65536 + 128
479 # extra_bytes = (uncompressed_size >> 8) + 65536
485 # extra_bytes = (uncompressed_size >> 8) + 131072
/linux/drivers/scsi/aic7xxx/
H A Daiclib.h116 uint8_t extra_bytes[14]; member
/linux/net/rds/
H A Dmessage.c339 int extra_bytes = num_sgs * sizeof(struct scatterlist); in rds_message_map_pages() local
341 rm = rds_message_alloc(extra_bytes, GFP_NOWAIT); in rds_message_map_pages()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c152 unsigned int extra_bytes = 0, extra_pkts = 0; in write_pkt_desc() local
261 extra_bytes = (be16_to_cpu(req->offload.inner_l4_off) + in write_pkt_desc()
297 q->stats.tx_bytes += skb->len + extra_bytes; in write_pkt_desc()
/linux/drivers/scsi/
H A Dadvansys.c257 uchar extra_bytes; member
295 uchar extra_bytes; member
6646 scsiq->extra_bytes = (uchar)(_val >> 8); in _AscCopyLramScsiDoneQ()
6864 if (scsiq->extra_bytes != 0) { in AscIsrQDone()
6865 scsiq->remain_bytes += scsiq->extra_bytes; in AscIsrQDone()
8080 uchar extra_bytes; in AscExeScsiQueue() local
8092 scsiq->q1.extra_bytes = 0; in AscExeScsiQueue()
8187 extra_bytes = in AscExeScsiQueue()
8189 if ((extra_bytes != 0) in AscExeScsiQueue()
8197 scsiq->q1.extra_bytes = in AscExeScsiQueue()
[all …]
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c234 int extra_bytes; member
758 tu->extra_bytes = drm_fixp2int_ceil(temp2_fp); in _dp_ctrl_calc_tu()
760 tu->extra_bytes = 0; in _dp_ctrl_calc_tu()
762 temp1_fp = drm_fixp_from_fraction(tu->extra_bytes, 1); in _dp_ctrl_calc_tu()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.h744 u32 extra_bytes; /* Extraneous bytes transferred */ member
H A Dsym_hipd.c3155 cp->extra_bytes = 0;
3858 resid -= cp->extra_bytes;
4528 cp->extra_bytes += INL(np, nc_scratcha);
5252 cp->extra_bytes = 0;
/linux/fs/ceph/
H A Dmds_client.c1543 int extra_bytes = 0; in create_session_full_msg() local
1561 extra_bytes = 4; /* map length */ in create_session_full_msg()
1563 extra_bytes += 8 + strlen(metadata[i][0]) + in create_session_full_msg()
1573 extra_bytes += 4 + size; in create_session_full_msg()
1580 extra_bytes += 2 + 4 + 4 + size; in create_session_full_msg()
1583 extra_bytes += 4 + 4 + 8; in create_session_full_msg()
1586 msg = ceph_msg_new(CEPH_MSG_CLIENT_SESSION, sizeof(*h) + extra_bytes, in create_session_full_msg()
/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c3580 size_t extra_bytes; in lpfc_rd_obj_emb0_handle_job() local
3629 extra_bytes = sg_copy_buffer(job->reply_payload.sg_list, in lpfc_rd_obj_emb0_handle_job()
3634 bsg_reply->reply_payload_rcv_len += extra_bytes; in lpfc_rd_obj_emb0_handle_job()
3636 skip += extra_bytes; in lpfc_rd_obj_emb0_handle_job()
3641 i, extra_bytes); in lpfc_rd_obj_emb0_handle_job()
/linux/net/ipv4/
H A Dtcp_output.c2622 u64 extra_bytes = (u64)READ_ONCE(sk->sk_pacing_rate) * in tcp_small_queue_check() local
2630 extra_bytes >>= (20 - 1); in tcp_small_queue_check()
2631 limit += extra_bytes; in tcp_small_queue_check()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared.c7226 double extra_bytes = 0; in CalculateTarb() local
7231 extra_bytes = extra_bytes + (NumberOfDPP[k] * PixelChunkSizeInKByte * 1024); in CalculateTarb()
7234 extra_bytes = extra_bytes + (MetaChunkSize * 1024); in CalculateTarb()
7237 extra_bytes = extra_bytes + tdlut_bytes_per_group[k]; in CalculateTarb()
7240 extra_bytes_prefetch = extra_bytes; in CalculateTarb()
7244extra_bytes = extra_bytes + NumberOfDPP[k] * dpte_group_bytes[k] * (1 + 8 * HostVMDynamicLevels) *… in CalculateTarb()
7248 *Tarb = extra_bytes / ReturnBW; in CalculateTarb()
7253 dml2_printf("DML::%s: extra_bytes = %f\n", __func__, extra_bytes); in CalculateTarb()
H A Ddml2_core_dcn4_calcs.c4785 double extra_bytes = 0; in CalculateTarb() local
4790 extra_bytes = extra_bytes + (NumberOfDPP[k] * PixelChunkSizeInKByte * 1024); in CalculateTarb()
4793 extra_bytes = extra_bytes + (MetaChunkSize * 1024); in CalculateTarb()
4796 extra_bytes = extra_bytes + tdlut_bytes_per_group[k]; in CalculateTarb()
4799 extra_bytes_prefetch = extra_bytes; in CalculateTarb()
4803extra_bytes = extra_bytes + NumberOfDPP[k] * dpte_group_bytes[k] * (1 + 8 * HostVMDynamicLevels) *… in CalculateTarb()
4807 *Tarb = extra_bytes / ReturnBW; in CalculateTarb()
4812 dml2_printf("DML::%s: extra_bytes = %f\n", __func__, extra_bytes); in CalculateTarb()