Home
last modified time | relevance | path

Searched refs:tsize (Results 1 – 12 of 12) sorted by relevance

/drivers/of/
Ddevice.c250 ssize_t tsize; in of_device_get_modalias() local
259 tsize = csize; in of_device_get_modalias()
266 tsize += csize; in of_device_get_modalias()
280 return tsize; in of_device_get_modalias()
/drivers/misc/habanalabs/include/goya/
Dgoya_packets.h130 __le32 tsize; member
137 __le32 tsize; member
/drivers/misc/habanalabs/include/gaudi/
Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/drivers/pci/
Dmsi.c676 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument
684 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all()
704 int ret, tsize; in msix_capability_init() local
717 tsize = msix_table_size(control); in msix_capability_init()
718 base = msix_map_region(dev, tsize); in msix_capability_init()
759 msix_mask_all(base, tsize); in msix_capability_init()
/drivers/misc/habanalabs/goya/
Dgoya.c3298 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3306 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3399 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3406 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3411 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3418 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3463 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3467 sram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
3472 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3476 dram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
[all …]
/drivers/net/can/
Dgrcan.c934 size_t tsize, size_t rsize) in grcan_allocate_dma_buffers() argument
938 struct grcan_dma_buffer *large = rsize > tsize ? &dma->rx : &dma->tx; in grcan_allocate_dma_buffers()
939 struct grcan_dma_buffer *small = rsize > tsize ? &dma->tx : &dma->rx; in grcan_allocate_dma_buffers()
945 size_t maxs = max(tsize, rsize); in grcan_allocate_dma_buffers()
949 size_t ssize = min(tsize, rsize); in grcan_allocate_dma_buffers()
961 dma->tx.size = tsize; in grcan_allocate_dma_buffers()
/drivers/dma/
Damba-pl08x.c1006 size_t tsize) in pl08x_lli_control_bits() argument
1056 tsize &= FTDMAC020_LLI_TRANSFER_SIZE_MASK; in pl08x_lli_control_bits()
1057 retbits |= tsize << FTDMAC020_LLI_TRANSFER_SIZE_SHIFT; in pl08x_lli_control_bits()
1099 tsize &= PL080_CONTROL_TRANSFER_SIZE_MASK; in pl08x_lli_control_bits()
1100 retbits |= tsize << PL080_CONTROL_TRANSFER_SIZE_SHIFT; in pl08x_lli_control_bits()
1413 size_t lli_len, tsize, width; in pl08x_fill_llis_for_desc() local
1429 tsize = lli_len / bd.srcbus.buswidth; in pl08x_fill_llis_for_desc()
1438 tsize); in pl08x_fill_llis_for_desc()
1440 lli_len, cctl, tsize); in pl08x_fill_llis_for_desc()
/drivers/net/ethernet/alteon/
Dacenic.c2810 short tsize, i; in ace_copy() local
2816 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_copy()
2821 for (i = 0; i < (tsize / 4); i++) { in ace_copy()
2836 short tsize = 0, i; in ace_clear() local
2842 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_clear()
2848 for (i = 0; i < (tsize / 4); i++) { in ace_clear()
2852 dest += tsize; in ace_clear()
2853 size -= tsize; in ace_clear()
/drivers/net/slip/
Dslhc.c114 size_t tsize = tslots * sizeof(struct cstate); in slhc_init() local
115 comp->tstate = kzalloc(tsize, GFP_KERNEL); in slhc_init()
/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c1092 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_write_req() local
1094 if (tsize > clt_path->chunk_size) { in rtrs_clt_write_req()
1096 tsize, clt_path->chunk_size); in rtrs_clt_write_req()
1116 req->sg_size = tsize; in rtrs_clt_write_req()
1185 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_read_req() local
1187 if (tsize > clt_path->chunk_size) { in rtrs_clt_read_req()
1190 tsize, clt_path->chunk_size); in rtrs_clt_read_req()
/drivers/block/rnbd/
Drnbd-clt.c1001 size_t tsize = 0; in rnbd_clt_get_sg_size() local
1005 tsize += sg->length; in rnbd_clt_get_sg_size()
1006 return tsize; in rnbd_clt_get_sg_size()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c942 init_tpc_mem_pkt->tsize = cpu_to_le32(tpc_kernel_size); in _gaudi_init_tpc_mem()
5166 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs()
5174 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs()
5256 dev_dbg(hdev->dev, "size == %u\n", le32_to_cpu(user_dma_pkt->tsize)); in gaudi_validate_dma_pkt_no_mmu()
5263 if (!le32_to_cpu(user_dma_pkt->tsize)) { in gaudi_validate_dma_pkt_no_mmu()
5439 le32_to_cpu(user_dma_pkt->tsize), in gaudi_patch_dma_packet()
5442 addr, user_dma_pkt->tsize); in gaudi_patch_dma_packet()
5487 new_dma_pkt->tsize = cpu_to_le32(len); in gaudi_patch_dma_packet()
5869 lin_dma_pkt->tsize = cpu_to_le32(size); in gaudi_memset_device_memory()