Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/misc/eeprom/
Dat24.c83 u32 byte_len; member
121 u32 byte_len; member
129 .byte_len = _len, .flags = _flags, \
134 .byte_len = _len, .flags = _flags, \
140 .byte_len = _len, .flags = _flags, \
448 if (off + count > at24->byte_len) in at24_read()
492 if (off + count > at24->byte_len) in at24_write()
546 static unsigned int at24_get_offset_adj(u8 flags, unsigned int byte_len) in at24_get_offset_adj() argument
550 return 0xa0 - byte_len; in at24_get_offset_adj()
598 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.12.1/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.12.1/fs/btrfs/tests/
Dextent-io-tests.c415 unsigned long byte_len = eb->len; in __test_eb_bitmaps() local
420 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
424 ret = test_bitmap_set("set all", bitmap, eb, 0, 0, byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
429 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
458 if (byte_len > PAGE_SIZE) { in __test_eb_bitmaps()
466 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
483 byte_len * BITS_PER_BYTE); in __test_eb_bitmaps()
487 for (i = 0; i < byte_len * BITS_PER_BYTE / 32; i++) { in __test_eb_bitmaps()
/linux-6.12.1/include/linux/spi/
Deeprom.h15 u32 byte_len; member
/linux-6.12.1/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.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c293 ssize_t csize, byte_len; in vmw_diff_memcpy() local
302 byte_len = diff->cpp; in vmw_diff_memcpy()
314 byte_len += csize; in vmw_diff_memcpy()
317 memcpy(dest, src, byte_len); in vmw_diff_memcpy()
/linux-6.12.1/include/rdma/
Drdmavt_qp.h836 u32 byte_len, last; in rvt_qp_complete_swqe() local
849 byte_len = wqe->length; in rvt_qp_complete_swqe()
861 .byte_len = byte_len, in rvt_qp_complete_swqe()
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dcq.c782 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
786 wc->byte_len = 8; in mlx4_ib_poll_one()
790 wc->byte_len = 8; in mlx4_ib_poll_one()
794 wc->byte_len = 8; in mlx4_ib_poll_one()
798 wc->byte_len = 8; in mlx4_ib_poll_one()
811 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in mlx4_ib_poll_one()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_padding.c179 int byte_len; member
/linux-6.12.1/fs/ocfs2/
Dfile.h73 u64 byte_len);
Dfile.c1520 u64 byte_len) in ocfs2_truncate_cluster_pages() argument
1527 end = byte_start + byte_len; in ocfs2_truncate_cluster_pages()
1763 u64 byte_len) in ocfs2_remove_inode_range() argument
1784 (unsigned long long)byte_len); in ocfs2_remove_inode_range()
1786 if (byte_len == 0) in ocfs2_remove_inode_range()
1792 if (byte_start > id_count || byte_start + byte_len > id_count) { in ocfs2_remove_inode_range()
1799 byte_start + byte_len, 0); in ocfs2_remove_inode_range()
1828 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start + byte_len); in ocfs2_remove_inode_range()
1836 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()
1839 ret = ocfs2_zero_partial_clusters(inode, byte_start, byte_len); in ocfs2_remove_inode_range()
[all …]
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_cq.c59 wc->byte_len = cqe->bytes; in siw_reap_cqe()
/linux-6.12.1/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.12.1/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.12.1/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c361 wc->byte_len = cqe->byte_len; in pvrdma_poll_one()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dcq.c140 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_good_req()
144 wc->byte_len = 8; in handle_good_req()
148 wc->byte_len = 8; in handle_good_req()
152 wc->byte_len = 8; in handle_good_req()
156 wc->byte_len = 8; in handle_good_req()
203 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_responder()
/linux-6.12.1/drivers/infiniband/sw/rdmavt/
Dtrace_cq.h88 __entry->length = wc->byte_len;
Dcq.c85 uqueue[head].byte_len = entry->byte_len; in rvt_cq_enter()
/linux-6.12.1/drivers/infiniband/ulp/srpt/
Dib_srpt.h186 int byte_len; member
/linux-6.12.1/include/uapi/rdma/
Dvmw_pvrdma-abi.h295 __u32 byte_len; member
/linux-6.12.1/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.12.1/include/trace/events/
Dib_mad.h164 __entry->length = wc->byte_len;
212 __entry->length = wc->byte_len;

123