Home
last modified time | relevance | path

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

/drivers/of/
Ddevice.c86 ssize_t tsize, csize, repend; in of_device_get_modalias() local
108 tsize = csize + cplen; in of_device_get_modalias()
109 repend = tsize; in of_device_get_modalias()
112 return tsize; in of_device_get_modalias()
114 if (tsize >= len) { /* limit compat list */ in of_device_get_modalias()
129 return tsize; in of_device_get_modalias()
/drivers/ide/
Dau1xxx-ide.c324 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/media/parport/
Dw9966.c753 unsigned long tsize = (dleft > W9966_RBUFFER) ? W9966_RBUFFER : dleft; in w9966_v4l_read() local
755 if (parport_read(cam->pport, tbuf, tsize) < tsize) { in w9966_v4l_read()
759 if (copy_to_user(dest, tbuf, tsize) != 0) { in w9966_v4l_read()
763 dest += tsize; in w9966_v4l_read()
764 dleft -= tsize; in w9966_v4l_read()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c1092 u32 tsize; in srpt_map_sg_to_ib_sge() local
1127 tsize = cmd->data_length; in srpt_map_sg_to_ib_sge()
1140 j < count && i < ioctx->n_rbuf && tsize > 0; ++i, ++riu, ++db) { in srpt_map_sg_to_ib_sge()
1148 while (rsize > 0 && tsize > 0) { in srpt_map_sg_to_ib_sge()
1151 tsize -= dma_len; in srpt_map_sg_to_ib_sge()
1155 if (tsize > 0) { in srpt_map_sg_to_ib_sge()
1164 tsize -= rsize; in srpt_map_sg_to_ib_sge()
1194 tsize = cmd->data_length; in srpt_map_sg_to_ib_sge()
1202 j < count && i < ioctx->n_rbuf && tsize > 0; ++i, ++riu, ++db) { in srpt_map_sg_to_ib_sge()
1207 while (rsize > 0 && tsize > 0) { in srpt_map_sg_to_ib_sge()
[all …]
/drivers/net/can/
Dgrcan.c937 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/
Damba-pl08x.c756 size_t tsize) in pl08x_cctl_bits() argument
796 tsize &= PL080_CONTROL_TRANSFER_SIZE_MASK; in pl08x_cctl_bits()
797 retbits |= tsize << PL080_CONTROL_TRANSFER_SIZE_SHIFT; in pl08x_cctl_bits()
1077 size_t lli_len, tsize, width; in pl08x_fill_llis_for_desc() local
1093 tsize = lli_len / bd.srcbus.buswidth; in pl08x_fill_llis_for_desc()
1101 bd.dstbus.buswidth, tsize); in pl08x_fill_llis_for_desc()
1103 lli_len, cctl, tsize); in pl08x_fill_llis_for_desc()
/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/net/ethernet/alteon/
Dacenic.c2817 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()