/drivers/misc/eeprom/ |
D | at25.c | 74 if (unlikely(offset >= at25->chip.byte_len)) in at25_ee_read() 76 if ((offset + count) > at25->chip.byte_len) in at25_ee_read() 77 count = at25->chip.byte_len - offset; in at25_ee_read() 137 if (unlikely(off >= at25->chip.byte_len)) in at25_ee_write() 139 if ((off + count) > at25->chip.byte_len) in at25_ee_write() 140 count = at25->chip.byte_len - off; in at25_ee_write() 256 chip->byte_len = val; in at25_fw_to_chip() 364 at25->nvmem_config.size = chip.byte_len; in at25_probe() 371 (chip.byte_len < 1024) ? chip.byte_len : (chip.byte_len / 1024), in at25_probe() 372 (chip.byte_len < 1024) ? "Byte" : "KByte", in at25_probe()
|
D | at24.c | 87 u32 byte_len; member 124 u32 byte_len; member 131 .byte_len = _len, .flags = _flags, \ 136 .byte_len = _len, .flags = _flags, \ 433 if (off + count > at24->byte_len) in at24_read() 480 if (off + count > at24->byte_len) in at24_write() 565 static unsigned int at24_get_offset_adj(u8 flags, unsigned int byte_len) in at24_get_offset_adj() argument 569 return 0xa0 - byte_len; in at24_get_offset_adj() 592 u32 byte_len, page_size, flags, addrw; in at24_probe() local 644 err = device_property_read_u32(dev, "size", &byte_len); in at24_probe() [all …]
|
/drivers/spi/ |
D | spi-armada-3700.c | 112 u8 byte_len; member 257 a3700_spi->byte_len = len; in a3700_spi_bytelen_set() 597 unsigned int nbits = 0, byte_len; in a3700_spi_transfer_one_fifo() local 604 byte_len = xfer->bits_per_word >> 3; in a3700_spi_transfer_one_fifo() 605 a3700_spi_fifo_thres_set(a3700_spi, byte_len); in a3700_spi_transfer_one_fifo() 758 if (a3700_spi->byte_len == 1) in a3700_spi_transfer_one_full_duplex() 772 memcpy(a3700_spi->rx_buf, &val, a3700_spi->byte_len); in a3700_spi_transfer_one_full_duplex() 774 a3700_spi->buf_len -= a3700_spi->byte_len; in a3700_spi_transfer_one_full_duplex() 775 a3700_spi->tx_buf += a3700_spi->byte_len; in a3700_spi_transfer_one_full_duplex() 776 a3700_spi->rx_buf += a3700_spi->byte_len; in a3700_spi_transfer_one_full_duplex()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 291 ssize_t csize, byte_len; in vmw_diff_memcpy() local 300 byte_len = diff->cpp; in vmw_diff_memcpy() 312 byte_len += csize; in vmw_diff_memcpy() 315 memcpy(dest, src, byte_len); in vmw_diff_memcpy()
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 126 wc.byte_len = length + sizeof(struct ib_grh); in qib_ud_loopback() 155 if (unlikely(wc.byte_len > qp->r_len)) { in qib_ud_loopback() 522 wc.byte_len = tlen + sizeof(struct ib_grh); in qib_ud_rcv() 544 if (unlikely(wc.byte_len > qp->r_len)) { in qib_ud_rcv() 554 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in qib_ud_rcv()
|
D | qib_uc.c | 384 wc.byte_len = tlen + qp->r_rcv_len; in qib_uc_rcv() 385 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv() 479 wc.byte_len = qp->r_len; in qib_uc_rcv()
|
/drivers/infiniband/hw/mlx4/ |
D | cq.c | 781 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one() 785 wc->byte_len = 8; in mlx4_ib_poll_one() 789 wc->byte_len = 8; in mlx4_ib_poll_one() 793 wc->byte_len = 8; in mlx4_ib_poll_one() 797 wc->byte_len = 8; in mlx4_ib_poll_one() 810 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
|
/drivers/infiniband/hw/hfi1/ |
D | uc.c | 449 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv() 450 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv() 551 wc.byte_len = qp->r_len; in hfi1_uc_rcv()
|
D | ud.c | 150 wc.byte_len = length + sizeof(struct ib_grh); in ud_loopback() 179 if (unlikely(wc.byte_len > qp->r_len)) { in ud_loopback() 981 wc.byte_len = tlen + sizeof(struct ib_grh); in hfi1_ud_rcv() 1003 if (unlikely(wc.byte_len > qp->r_len)) { in hfi1_ud_rcv() 1025 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in hfi1_ud_rcv()
|
/drivers/infiniband/sw/siw/ |
D | siw_cq.c | 59 wc->byte_len = cqe->bytes; in siw_reap_cqe()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 596 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one() 600 entry->byte_len = MTHCA_ATOMIC_BYTE_LEN; in mthca_poll_one() 604 entry->byte_len = MTHCA_ATOMIC_BYTE_LEN; in mthca_poll_one() 611 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 357 wc->byte_len = cqe->byte_len; in pvrdma_poll_one()
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 137 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_good_req() 141 wc->byte_len = 8; in handle_good_req() 145 wc->byte_len = 8; in handle_good_req() 149 wc->byte_len = 8; in handle_good_req() 153 wc->byte_len = 8; in handle_good_req() 200 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_responder()
|
/drivers/infiniband/sw/rdmavt/ |
D | trace_cq.h | 130 __entry->length = wc->byte_len;
|
D | cq.c | 126 uqueue[head].byte_len = entry->byte_len; in rvt_cq_enter()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 186 int byte_len; member
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 626 if (wc->byte_len < IPOIB_CM_COPYBREAK) { in ipoib_cm_handle_rx_wc() 627 int dlen = wc->byte_len; in ipoib_cm_handle_rx_wc() 643 frags = PAGE_ALIGN(wc->byte_len - in ipoib_cm_handle_rx_wc() 644 min_t(u32, wc->byte_len, IPOIB_CM_HEAD_SIZE)) / in ipoib_cm_handle_rx_wc() 663 wc->byte_len, wc->slid); in ipoib_cm_handle_rx_wc() 665 skb_put_frags(skb, IPOIB_CM_HEAD_SIZE, wc->byte_len, newskb); in ipoib_cm_handle_rx_wc()
|
D | ipoib_ib.c | 217 wc->byte_len, wc->slid); in ipoib_ib_handle_rx_wc() 221 skb_put(skb, wc->byte_len); in ipoib_ib_handle_rx_wc()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_comp.c | 389 wc->byte_len = wqe->dma.length; in make_send_cqe() 400 uwc->byte_len = wqe->dma.length; in make_send_cqe()
|
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 790 wc->byte_len = CQE_LEN(&cqe); in __c4iw_poll_cq_one() 792 wc->byte_len = 0; in __c4iw_poll_cq_one() 824 wc->byte_len = CQE_LEN(&cqe); in __c4iw_poll_cq_one()
|
/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 582 length = wc->byte_len - ISER_HEADERS_LEN; in iser_login_rsp() 676 length = wc->byte_len - ISER_HEADERS_LEN; in iser_task_rsp()
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.c | 529 if (unlikely(wc->byte_len < sizeof(*msg))) { in rtrs_clt_rkey_rsp_done() 531 wc->byte_len); in rtrs_clt_rkey_rsp_done() 2365 if (unlikely(wc->byte_len < sizeof(*msg))) { in rtrs_clt_info_rsp_done() 2367 wc->byte_len); in rtrs_clt_info_rsp_done() 2380 if (unlikely(wc->byte_len < rx_sz)) { in rtrs_clt_info_rsp_done() 2382 wc->byte_len); in rtrs_clt_info_rsp_done()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmd.c | 1385 int i, byte_len; in mwifiex_cmd_append_rpn_expression() local 1397 byte_len = filter->byte_seq[MWIFIEX_MEF_MAX_BYTESEQ]; in mwifiex_cmd_append_rpn_expression() 1398 memcpy(stack_ptr, filter->byte_seq, byte_len); in mwifiex_cmd_append_rpn_expression() 1399 stack_ptr += byte_len; in mwifiex_cmd_append_rpn_expression() 1400 *stack_ptr = byte_len; in mwifiex_cmd_append_rpn_expression()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 2420 ibwc->byte_len = rw->len; in ocrdma_update_wc() 2476 ibwc->byte_len = 0; in ocrdma_update_err_cqe() 2611 ibwc->byte_len = (le32_to_cpu(cqe->ud.rxlen_pkey) >> in ocrdma_update_ud_rcqe() 2694 ibwc->byte_len = le32_to_cpu(cqe->rq.rxlen); in ocrdma_poll_success_rcqe() 2830 ibwc->byte_len = 0; in ocrdma_add_err_cqe()
|
/drivers/infiniband/core/ |
D | mad.c | 559 wc->byte_len = sizeof(struct ib_mad) + sizeof(struct ib_grh); in build_smp_wc() 700 mad_wc.byte_len = mad_send_wr->send_buf.hdr_len in handle_outgoing_dr_smp() 2000 recv->header.wc.byte_len, in handle_opa_smi() 2073 recv->header.recv_wc.mad_len = wc->byte_len - sizeof(struct ib_grh); in ib_mad_recv_done()
|