Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/fpga/
H A Daltera-ps-spi.c156 size_t extra_bytes = (len & 0x03); in rev_buf() local
157 const u32 *fw_end = (u32 *)(buf + len - extra_bytes); in rev_buf()
165 if (extra_bytes) { in rev_buf()
167 while (extra_bytes) { in rev_buf()
170 extra_bytes--; in rev_buf()
/kernel/linux/linux-6.6/drivers/fpga/
H A Daltera-ps-spi.c156 size_t extra_bytes = (len & 0x03); in rev_buf() local
157 const u32 *fw_end = (u32 *)(buf + len - extra_bytes); in rev_buf()
165 if (extra_bytes) { in rev_buf()
167 while (extra_bytes) { in rev_buf()
170 extra_bytes--; in rev_buf()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h183 * @param extra_bytes - extra bytes to be allocated at the end of the recv info
187 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h183 * @param extra_bytes - extra bytes to be allocated at the end of the recv info
187 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dud.c268 u16 *pkey, u32 extra_bytes, bool bypass) in hfi1_make_bth_deth()
283 bth0 |= extra_bytes << 20; in hfi1_make_bth_deth()
306 u32 nwords, extra_bytes; in hfi1_make_ud_req_9B() local
321 extra_bytes = -wqe->length & 3; in hfi1_make_ud_req_9B()
322 nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_9B()
365 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false); in hfi1_make_ud_req_9B()
382 u32 dlid, slid, nwords, extra_bytes; in hfi1_make_ud_req_16B() local
409 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2), in hfi1_make_ud_req_16B()
411 nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; in hfi1_make_ud_req_16B()
457 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, tru in hfi1_make_ud_req_16B()
266 hfi1_make_bth_deth(struct rvt_qp *qp, struct rvt_swqe *wqe, struct ib_other_headers *ohdr, u16 *pkey, u32 extra_bytes, bool bypass) hfi1_make_bth_deth() argument
872 u8 extra_bytes; hfi1_ud_rcv() local
[all...]
H A Duc.c320 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2); in hfi1_uc_rcv() local
425 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv()
445 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv()
448 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()
H A Druc.c284 u8 extra_bytes = hfi1_get_16b_padding( in hfi1_make_ruc_header_16B() local
288 extra_bytes + SIZE_OF_LT) >> 2); in hfi1_make_ruc_header_16B()
328 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_16B()
370 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B() local
372 extra_bytes) >> 2); in hfi1_make_ruc_header_9B()
405 bth0 |= extra_bytes << 20; in hfi1_make_ruc_header_9B()
H A Dverbs.c770 u8 extra_bytes = 0; in build_verbs_tx_desc() local
777 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) + in build_verbs_tx_desc()
785 extra_bytes, in build_verbs_tx_desc()
822 if (extra_bytes) in build_verbs_tx_desc()
824 extra_bytes); in build_verbs_tx_desc()
855 u8 extra_bytes = hfi1_get_16b_padding((hdrwords << 2), len); in hfi1_verbs_send_dma() local
857 dwords = (len + extra_bytes + (SIZE_OF_CRC << 2) + in hfi1_verbs_send_dma()
997 u8 extra_bytes = 0; in hfi1_verbs_send_pio() local
1002 extra_bytes = pad_size + (SIZE_OF_CRC << 2) + SIZE_OF_LT; in hfi1_verbs_send_pio()
1003 dwords = (len + extra_bytes) >> in hfi1_verbs_send_pio()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dud.c226 u16 *pkey, u32 extra_bytes, bool bypass) in hfi1_make_bth_deth()
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, tru in hfi1_make_ud_req_16B()
224 hfi1_make_bth_deth(struct rvt_qp *qp, struct rvt_swqe *wqe, struct ib_other_headers *ohdr, u16 *pkey, u32 extra_bytes, bool bypass) hfi1_make_bth_deth() argument
826 u8 extra_bytes; hfi1_ud_rcv() local
[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) >> in hfi1_verbs_send_pio()
[all...]
/kernel/linux/linux-5.10/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.c239 u32 extra_bytes; in qib_make_ud_req() local
308 extra_bytes = -wqe->length & 3; in qib_make_ud_req()
309 nwords = (wqe->length + extra_bytes) >> 2; in qib_make_ud_req()
363 bth0 |= extra_bytes << 20; in qib_make_ud_req()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dtx.h75 u8 extra_bytes; member
98 (1u << (8 * sizeof(((struct wl128x_tx_mem *) 0)->extra_bytes))))
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dtx.h75 u8 extra_bytes; member
98 (1u << (8 * sizeof(((struct wl128x_tx_mem *) 0)->extra_bytes))))
/kernel/linux/linux-5.10/drivers/staging/unisys/visorinput/
H A 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()
/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dcros_ec_lightbar.c426 int extra_bytes, max_size, ret; in program_store() local
438 extra_bytes = sizeof(*param) - sizeof(param->set_program.data); in program_store()
439 max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes); in program_store()
468 msg->outsize = count + extra_bytes; in program_store()
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_ec_lightbar.c425 int extra_bytes, max_size, ret; in program_store() local
437 extra_bytes = sizeof(*param) - sizeof(param->set_program.data); in program_store()
438 max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes); in program_store()
467 msg->outsize = count + extra_bytes; in program_store()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
H A Daiclib.h116 uint8_t extra_bytes[14]; member
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/
H A Daiclib.h116 uint8_t extra_bytes[14]; member
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dheader.S523 # extra_bytes = (uncompressed_size >> 12) + 32768 + 18
535 # extra_bytes = (uncompressed_size >> 12) + 65536 + 128
541 # extra_bytes = (uncompressed_size >> 8) + 65536
547 # extra_bytes = (uncompressed_size >> 8) + 131072
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dheader.S465 # extra_bytes = (uncompressed_size >> 12) + 32768 + 18
477 # extra_bytes = (uncompressed_size >> 12) + 65536 + 128
483 # extra_bytes = (uncompressed_size >> 8) + 65536
489 # extra_bytes = (uncompressed_size >> 8) + 131072

Completed in 20 milliseconds

12