Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/fpga/
Daltera-ps-spi.c153 size_t extra_bytes = (len & 0x03); in rev_buf() local
154 const u32 *fw_end = (u32 *)(buf + len - extra_bytes); in rev_buf()
162 if (extra_bytes) { in rev_buf()
164 while (extra_bytes) { in rev_buf()
167 extra_bytes--; in rev_buf()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
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-v4.19/drivers/infiniband/hw/hfi1/
Dud.c288 u16 *pkey, u32 extra_bytes, bool bypass) in hfi1_make_bth_deth() argument
303 bth0 |= extra_bytes << 20; in hfi1_make_bth_deth()
325 u32 nwords, extra_bytes; in hfi1_make_ud_req_9B() local
340 extra_bytes = -wqe->length & 3; in hfi1_make_ud_req_9B()
341 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_9B()
384 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false); in hfi1_make_ud_req_9B()
401 u32 dlid, slid, nwords, extra_bytes; in hfi1_make_ud_req_16B() local
428 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2), in hfi1_make_ud_req_16B()
430 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_16B()
476 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, true); in hfi1_make_ud_req_16B()
[all …]
Duc.c319 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv() local
424 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv()
444 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv()
447 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
539 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
564 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
Dverbs.c842 u8 extra_bytes = 0; in build_verbs_tx_desc() local
849 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) + in build_verbs_tx_desc()
857 extra_bytes, in build_verbs_tx_desc()
894 if (extra_bytes) in build_verbs_tx_desc()
896 (void *)trail_buf, extra_bytes); in build_verbs_tx_desc()
918 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_dma() local
920 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) + in hfi1_verbs_send_dma()
1057 u8 extra_bytes = 0; in hfi1_verbs_send_pio() local
1062 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
1063 dwords = (len + extra_bytes) >> 2; in hfi1_verbs_send_pio()
[all …]
Druc.c612 u8 extra_bytes = hfi1_get_16b_padding( in hfi1_make_ruc_header_16B() local
616 extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_ruc_header_16B()
656 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_16B()
698 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B() local
700 extra_bytes) >> 2); in hfi1_make_ruc_header_9B()
733 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_9B()
Drc.c817 u8 extra_bytes; in hfi1_make_rc_ack_16B() local
823 extra_bytes = hfi1_get_16b_padding(*hwords << 2, 0); in hfi1_make_rc_ack_16B()
824 *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_rc_ack_16B()
849 bth0 |= extra_bytes << 20; in hfi1_make_rc_ack_16B()
1555 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in rc_rcv_resp() local
1622 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in rc_rcv_resp()
1658 if (unlikely(tlen < (hdrsize + extra_bytes))) in rc_rcv_resp()
1680 if (unlikely(tlen <= (hdrsize + extra_bytes))) in rc_rcv_resp()
1683 tlen -= hdrsize + extra_bytes; in rc_rcv_resp()
2053 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_rc_rcv() local
[all …]
/Linux-v4.19/drivers/platform/chrome/
Dcros_ec_lightbar.c483 int extra_bytes, max_size, ret; in program_store() local
495 extra_bytes = sizeof(*param) - sizeof(param->set_program.data); in program_store()
496 max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes); in program_store()
525 msg->outsize = count + extra_bytes; in program_store()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dtx.h89 u8 extra_bytes; member
112 (1u << (8 * sizeof(((struct wl128x_tx_mem *) 0)->extra_bytes))))
/Linux-v4.19/drivers/staging/unisys/visorinput/
Dvisorinput.c402 unsigned int extra_bytes = 0; in devdata_create() local
408 extra_bytes = KEYCODE_TABLE_BYTES * 2; in devdata_create()
409 devdata = kzalloc(sizeof(*devdata) + extra_bytes, GFP_KERNEL); in devdata_create()
431 devdata->keycode_table_bytes = extra_bytes; in devdata_create()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c244 u32 extra_bytes; in qib_make_ud_req() local
313 extra_bytes = -wqe->length & 3; in qib_make_ud_req()
314 nwords = (wqe->length + extra_bytes) >> 2; in qib_make_ud_req()
368 bth0 |= extra_bytes << 20; in qib_make_ud_req()
Dqib_ruc.c514 u32 extra_bytes; in qib_make_ruc_header() local
517 extra_bytes = -qp->s_cur_size & 3; in qib_make_ruc_header()
518 nwords = (qp->s_cur_size + extra_bytes) >> 2; in qib_make_ruc_header()
538 bth0 |= extra_bytes << 20; in qib_make_ruc_header()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daiclib.h116 uint8_t extra_bytes[14]; member
/Linux-v4.19/net/rds/
Dmessage.c334 int extra_bytes = num_sgs * sizeof(struct scatterlist); in rds_message_map_pages() local
336 rm = rds_message_alloc(extra_bytes, GFP_NOWAIT); in rds_message_map_pages()
/Linux-v4.19/arch/x86/boot/
Dheader.S522 # extra_bytes = (uncompressed_size >> 12) + 65536 + 128
528 # extra_bytes = (uncompressed_size >> 8) + 65536
/Linux-v4.19/drivers/scsi/
Dadvansys.c270 uchar extra_bytes; member
308 uchar extra_bytes; member
6719 scsiq->extra_bytes = (uchar)(_val >> 8); in _AscCopyLramScsiDoneQ()
6956 if (scsiq->extra_bytes != 0) { in AscIsrQDone()
6957 scsiq->remain_bytes += scsiq->extra_bytes; in AscIsrQDone()
8171 uchar extra_bytes; in AscExeScsiQueue() local
8183 scsiq->q1.extra_bytes = 0; in AscExeScsiQueue()
8278 extra_bytes = in AscExeScsiQueue()
8280 if ((extra_bytes != 0) in AscExeScsiQueue()
8288 scsiq->q1.extra_bytes = in AscExeScsiQueue()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/
Dmain.c1330 desc->wl128x_mem.extra_bytes = aligned_len - skb->len; in wl12xx_set_tx_desc_data_len()
1339 desc->wl128x_mem.extra_bytes); in wl12xx_set_tx_desc_data_len()
/Linux-v4.19/block/
Dblk-throttle.c936 u64 bytes_allowed, extra_bytes, tmp; in tg_with_in_bps_limit() local
959 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_with_in_bps_limit()
960 jiffy_wait = div64_u64(extra_bytes * HZ, tg_bps_limit(tg, rw)); in tg_with_in_bps_limit()
/Linux-v4.19/drivers/scsi/sym53c8xx_2/
Dsym_hipd.h757 u32 extra_bytes; /* Extraneous bytes transferred */ member
Dsym_hipd.c3167 cp->extra_bytes = 0;
3870 resid -= cp->extra_bytes;
4533 cp->extra_bytes += INL(np, nc_scratcha);
5257 cp->extra_bytes = 0;
/Linux-v4.19/fs/ceph/
Dmds_client.c935 int extra_bytes = 0; in create_session_open_msg() local
950 extra_bytes = 4; /* map length */ in create_session_open_msg()
952 extra_bytes += 8 + strlen(metadata[i][0]) + in create_session_open_msg()
957 extra_bytes += 4 + 8; in create_session_open_msg()
960 msg = ceph_msg_new(CEPH_MSG_CLIENT_SESSION, sizeof(*h) + extra_bytes, in create_session_open_msg()