Home
last modified time | relevance | path

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

/drivers/of/
Ddevice.c183 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/
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/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.c764 size_t tsize) in pl08x_cctl_bits() argument
804 tsize &= PL080_CONTROL_TRANSFER_SIZE_MASK; in pl08x_cctl_bits()
805 retbits |= tsize << PL080_CONTROL_TRANSFER_SIZE_SHIFT; in pl08x_cctl_bits()
1085 size_t lli_len, tsize, width; in pl08x_fill_llis_for_desc() local
1101 tsize = lli_len / bd.srcbus.buswidth; in pl08x_fill_llis_for_desc()
1109 bd.dstbus.buswidth, tsize); in pl08x_fill_llis_for_desc()
1111 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()
/drivers/infiniband/hw/i40iw/
Di40iw_puda.c631 u32 tsize, cqsize; in i40iw_puda_cq_create() local
640 tsize = cqsize + sizeof(struct i40iw_cq_shadow_area); in i40iw_puda_cq_create()
641 ret = i40iw_allocate_dma_mem(dev->hw, &rsrc->cqmem, tsize, in i40iw_puda_cq_create()