Home
last modified time | relevance | path

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

/drivers/of/
Ddevice.c257 ssize_t tsize; in of_device_get_modalias() local
266 tsize = csize; in of_device_get_modalias()
273 tsize += csize; in of_device_get_modalias()
287 return tsize; in of_device_get_modalias()
/drivers/misc/habanalabs/include/goya/
Dgoya_packets.h118 __le32 tsize; member
125 __le32 tsize; member
/drivers/misc/habanalabs/include/gaudi/
Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/drivers/misc/habanalabs/include/gaudi2/
Dgaudi2_packets.h157 __le32 tsize; member
192 __le32 tsize; member
/drivers/pci/msi/
Dmsi.c553 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument
561 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all()
615 int ret, tsize; in msix_capability_init() local
631 tsize = msix_table_size(control); in msix_capability_init()
632 base = msix_map_region(dev, tsize); in msix_capability_init()
655 msix_mask_all(base, tsize); in msix_capability_init()
/drivers/misc/habanalabs/goya/
Dgoya.c3341 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3349 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3441 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3448 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3453 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3460 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3505 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3509 sram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
3514 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3518 dram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
[all …]
/drivers/net/can/
Dgrcan.c933 size_t tsize, size_t rsize) in grcan_allocate_dma_buffers() argument
937 struct grcan_dma_buffer *large = rsize > tsize ? &dma->rx : &dma->tx; in grcan_allocate_dma_buffers()
938 struct grcan_dma_buffer *small = rsize > tsize ? &dma->tx : &dma->rx; in grcan_allocate_dma_buffers()
944 size_t maxs = max(tsize, rsize); in grcan_allocate_dma_buffers()
948 size_t ssize = min(tsize, rsize); in grcan_allocate_dma_buffers()
960 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.c2807 short tsize, i; in ace_copy() local
2813 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_copy()
2818 for (i = 0; i < (tsize / 4); i++) { in ace_copy()
2833 short tsize = 0, i; in ace_clear() local
2839 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_clear()
2845 for (i = 0; i < (tsize / 4); i++) { in ace_clear()
2849 dest += tsize; in ace_clear()
2850 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.c1091 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_write_req() local
1093 if (tsize > clt_path->chunk_size) { in rtrs_clt_write_req()
1095 tsize, clt_path->chunk_size); in rtrs_clt_write_req()
1115 req->sg_size = tsize; in rtrs_clt_write_req()
1184 const size_t tsize = sizeof(*msg) + req->data_len + req->usr_len; in rtrs_clt_read_req() local
1186 if (tsize > clt_path->chunk_size) { in rtrs_clt_read_req()
1189 tsize, clt_path->chunk_size); in rtrs_clt_read_req()
/drivers/block/rnbd/
Drnbd-clt.c980 size_t tsize = 0; in rnbd_clt_get_sg_size() local
984 tsize += sg->length; in rnbd_clt_get_sg_size()
985 return tsize; in rnbd_clt_get_sg_size()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c977 init_tpc_mem_pkt->tsize = cpu_to_le32(tpc_kernel_size); in _gaudi_init_tpc_mem()
4958 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs()
4966 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in gaudi_pin_memory_before_cs()
5047 dev_dbg(hdev->dev, "size == %u\n", le32_to_cpu(user_dma_pkt->tsize)); in gaudi_validate_dma_pkt_no_mmu()
5054 if (!le32_to_cpu(user_dma_pkt->tsize)) { in gaudi_validate_dma_pkt_no_mmu()
5232 le32_to_cpu(user_dma_pkt->tsize), in gaudi_patch_dma_packet()
5235 addr, user_dma_pkt->tsize); in gaudi_patch_dma_packet()
5280 new_dma_pkt->tsize = cpu_to_le32(len); in gaudi_patch_dma_packet()
5666 lin_dma_pkt->tsize = cpu_to_le32(size); in gaudi_memset_device_memory()