Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/misc/eeprom/ !
Dat24.c82 u32 byte_len; member
120 u32 byte_len; member
128 .byte_len = _len, .flags = _flags, \
133 .byte_len = _len, .flags = _flags, \
139 .byte_len = _len, .flags = _flags, \
431 if (off + count > at24->byte_len) in at24_read()
478 if (off + count > at24->byte_len) in at24_write()
561 static unsigned int at24_get_offset_adj(u8 flags, unsigned int byte_len) in at24_get_offset_adj() argument
565 return 0xa0 - byte_len; in at24_get_offset_adj()
588 u32 byte_len, page_size, flags, addrw; in at24_probe() local
[all …]
Dat25.c92 if (unlikely(offset >= at25->chip.byte_len)) in at25_ee_read()
94 if ((offset + count) > at25->chip.byte_len) in at25_ee_read()
95 count = at25->chip.byte_len - offset; in at25_ee_read()
207 if (unlikely(off >= at25->chip.byte_len)) in at25_ee_write()
209 if ((off + count) > at25->chip.byte_len) in at25_ee_write()
210 count = at25->chip.byte_len - off; in at25_ee_write()
335 chip->byte_len = val; in at25_fw_to_chip()
401 chip->byte_len = BIT(id[7] - 0x21 + 4) * 1024; in at25_fram_to_chip()
402 if (chip->byte_len > 64 * 1024) in at25_fram_to_chip()
499 at25->nvmem_config.size = at25->chip.byte_len; in at25_probe()
[all …]
/linux-6.6.21/drivers/spi/ !
Dspi-armada-3700.c111 u8 byte_len; member
256 a3700_spi->byte_len = len; in a3700_spi_bytelen_set()
596 unsigned int nbits = 0, byte_len; in a3700_spi_transfer_one_fifo() local
603 byte_len = xfer->bits_per_word >> 3; in a3700_spi_transfer_one_fifo()
604 a3700_spi_fifo_thres_set(a3700_spi, byte_len); in a3700_spi_transfer_one_fifo()
757 if (a3700_spi->byte_len == 1) in a3700_spi_transfer_one_full_duplex()
771 memcpy(a3700_spi->rx_buf, &val, a3700_spi->byte_len); in a3700_spi_transfer_one_full_duplex()
773 a3700_spi->buf_len -= a3700_spi->byte_len; in a3700_spi_transfer_one_full_duplex()
774 a3700_spi->tx_buf += a3700_spi->byte_len; in a3700_spi_transfer_one_full_duplex()
775 a3700_spi->rx_buf += a3700_spi->byte_len; in a3700_spi_transfer_one_full_duplex()
/linux-6.6.21/fs/btrfs/tests/ !
Dextent-io-tests.c395 unsigned long byte_len = eb->len; in __test_eb_bitmaps() local
400 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
404 ret = test_bitmap_set("set all", bitmap, eb, 0, 0, byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
409 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
438 if (byte_len > PAGE_SIZE) { in __test_eb_bitmaps()
446 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
463 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
467 for (i = 0; i < byte_len * BITS_PER_BYTE / 32; i++) { in __test_eb_bitmaps()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ !
Dvmwgfx_blit.c291 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()
/linux-6.6.21/include/linux/spi/ !
Deeprom.h15 u32 byte_len; member
/linux-6.6.21/drivers/infiniband/hw/qib/ !
Dqib_ud.c126 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()
523 wc.byte_len = tlen + sizeof(struct ib_grh); in qib_ud_rcv()
545 if (unlikely(wc.byte_len > qp->r_len)) { in qib_ud_rcv()
555 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in qib_ud_rcv()
Dqib_uc.c385 wc.byte_len = tlen + qp->r_rcv_len; in qib_uc_rcv()
386 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv()
480 wc.byte_len = qp->r_len; in qib_uc_rcv()
/linux-6.6.21/include/rdma/ !
Drdmavt_qp.h835 u32 byte_len, last; in rvt_qp_complete_swqe() local
848 byte_len = wqe->length; in rvt_qp_complete_swqe()
860 .byte_len = byte_len, in rvt_qp_complete_swqe()
/linux-6.6.21/drivers/infiniband/hw/mlx4/ !
Dcq.c781 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()
/linux-6.6.21/tools/testing/selftests/bpf/progs/ !
Dbtf_dump_test_case_padding.c179 int byte_len; member
/linux-6.6.21/fs/ocfs2/ !
Dfile.h72 u64 byte_len);
Dfile.c1514 u64 byte_len) in ocfs2_truncate_cluster_pages() argument
1521 end = byte_start + byte_len; in ocfs2_truncate_cluster_pages()
1757 u64 byte_len) in ocfs2_remove_inode_range() argument
1778 (unsigned long long)byte_len); in ocfs2_remove_inode_range()
1780 if (byte_len == 0) in ocfs2_remove_inode_range()
1785 byte_start + byte_len, 0); in ocfs2_remove_inode_range()
1814 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start + byte_len); in ocfs2_remove_inode_range()
1822 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()
1825 ret = ocfs2_zero_partial_clusters(inode, byte_start, byte_len); in ocfs2_remove_inode_range()
1906 ocfs2_truncate_cluster_pages(inode, byte_start, byte_len); in ocfs2_remove_inode_range()
/linux-6.6.21/drivers/infiniband/sw/siw/ !
Dsiw_cq.c59 wc->byte_len = cqe->bytes; in siw_reap_cqe()
/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Duc.c403 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv()
404 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv()
505 wc.byte_len = qp->r_len; in hfi1_uc_rcv()
Dud.c108 wc.byte_len = length + sizeof(struct ib_grh); in ud_loopback()
137 if (unlikely(wc.byte_len > qp->r_len)) { in ud_loopback()
935 wc.byte_len = tlen + sizeof(struct ib_grh); in hfi1_ud_rcv()
957 if (unlikely(wc.byte_len > qp->r_len)) { in hfi1_ud_rcv()
979 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in hfi1_ud_rcv()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/ !
Dpvrdma_cq.c360 wc->byte_len = cqe->byte_len; in pvrdma_poll_one()
/linux-6.6.21/drivers/infiniband/hw/mthca/ !
Dmthca_cq.c596 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()
/linux-6.6.21/drivers/infiniband/hw/mlx5/ !
Dcq.c137 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()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/ !
Dtrace_cq.h88 __entry->length = wc->byte_len;
Dcq.c84 uqueue[head].byte_len = entry->byte_len; in rvt_cq_enter()
/linux-6.6.21/drivers/infiniband/ulp/srpt/ !
Dib_srpt.h186 int byte_len; member
/linux-6.6.21/include/uapi/rdma/ !
Dvmw_pvrdma-abi.h295 __u32 byte_len; member
/linux-6.6.21/drivers/infiniband/ulp/ipoib/ !
Dipoib_cm.c626 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()
/linux-6.6.21/include/trace/events/ !
Dib_mad.h164 __entry->length = wc->byte_len;
212 __entry->length = wc->byte_len;

123