/drivers/of/ |
D | device.c | 183 ssize_t tsize, csize, repend; in of_device_get_modalias() local 205 tsize = csize + cplen; in of_device_get_modalias() 206 repend = tsize; in of_device_get_modalias() 209 return tsize; in of_device_get_modalias() 211 if (tsize >= len) { /* limit compat list */ in of_device_get_modalias()
|
/drivers/ide/ |
D | au1xxx-ide.c | 324 static void auide_init_dbdma_dev(dbdev_tab_t *dev, u32 dev_id, u32 tsize, in auide_init_dbdma_dev() argument 331 dev->dev_tsize = tsize; in auide_init_dbdma_dev() 350 u32 dev_id, tsize, devwidth, flags; in auide_ddma_init() local 354 tsize = 8; /* 1 */ in auide_ddma_init() 364 auide_init_dbdma_dev(&source_dev_tab, dev_id, tsize, devwidth, in auide_ddma_init() 368 auide_init_dbdma_dev(&source_dev_tab, dev_id, tsize, devwidth, in auide_ddma_init() 373 auide_init_dbdma_dev(&target_dev_tab, (u32)DSCR_CMD0_ALWAYS, tsize, in auide_ddma_init()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 1090 u32 tsize; in srpt_map_sg_to_ib_sge() local 1125 tsize = cmd->data_length; in srpt_map_sg_to_ib_sge() 1138 j < count && i < ioctx->n_rbuf && tsize > 0; ++i, ++riu, ++db) { in srpt_map_sg_to_ib_sge() 1146 while (rsize > 0 && tsize > 0) { in srpt_map_sg_to_ib_sge() 1149 tsize -= dma_len; in srpt_map_sg_to_ib_sge() 1153 if (tsize > 0) { in srpt_map_sg_to_ib_sge() 1162 tsize -= rsize; in srpt_map_sg_to_ib_sge() 1192 tsize = cmd->data_length; in srpt_map_sg_to_ib_sge() 1200 j < count && i < ioctx->n_rbuf && tsize > 0; ++i, ++riu, ++db) { in srpt_map_sg_to_ib_sge() 1205 while (rsize > 0 && tsize > 0) { in srpt_map_sg_to_ib_sge() [all …]
|
/drivers/pci/ |
D | msi.c | 746 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument 754 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all() 772 int ret, tsize; in msix_capability_init() local 785 tsize = msix_table_size(control); in msix_capability_init() 786 base = msix_map_region(dev, tsize); in msix_capability_init() 793 msix_mask_all(base, tsize); in msix_capability_init()
|
/drivers/net/can/ |
D | grcan.c | 937 size_t tsize, size_t rsize) in grcan_allocate_dma_buffers() argument 941 struct grcan_dma_buffer *large = rsize > tsize ? &dma->rx : &dma->tx; in grcan_allocate_dma_buffers() 942 struct grcan_dma_buffer *small = rsize > tsize ? &dma->tx : &dma->rx; in grcan_allocate_dma_buffers() 948 size_t maxs = max(tsize, rsize); in grcan_allocate_dma_buffers() 952 size_t ssize = min(tsize, rsize); in grcan_allocate_dma_buffers() 964 dma->tx.size = tsize; in grcan_allocate_dma_buffers()
|
/drivers/dma/ |
D | amba-pl08x.c | 760 size_t tsize) in pl08x_cctl_bits() argument 800 tsize &= PL080_CONTROL_TRANSFER_SIZE_MASK; in pl08x_cctl_bits() 801 retbits |= tsize << PL080_CONTROL_TRANSFER_SIZE_SHIFT; in pl08x_cctl_bits() 1081 size_t lli_len, tsize, width; in pl08x_fill_llis_for_desc() local 1097 tsize = lli_len / bd.srcbus.buswidth; in pl08x_fill_llis_for_desc() 1105 bd.dstbus.buswidth, tsize); in pl08x_fill_llis_for_desc() 1107 lli_len, cctl, tsize); in pl08x_fill_llis_for_desc()
|
/drivers/net/ethernet/alteon/ |
D | acenic.c | 2817 short tsize, i; in ace_copy() local 2823 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_copy() 2828 for (i = 0; i < (tsize / 4); i++) { in ace_copy() 2843 short tsize = 0, i; in ace_clear() local 2849 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_clear() 2855 for (i = 0; i < (tsize / 4); i++) { in ace_clear() 2859 dest += tsize; in ace_clear() 2860 size -= tsize; in ace_clear()
|
/drivers/net/slip/ |
D | slhc.c | 114 size_t tsize = tslots * sizeof(struct cstate); in slhc_init() local 115 comp->tstate = kzalloc(tsize, GFP_KERNEL); in slhc_init()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 314 hns_nic_reuse_page(struct hnae_desc_cb *desc_cb, int tsize, int last_offset) in hns_nic_reuse_page() argument 319 desc_cb->page_offset += tsize; in hns_nic_reuse_page()
|