/drivers/dma/ |
D | sirf-dma.c | 107 struct sirfsoc_dma_desc *sdesc = NULL; in sirfsoc_dma_execute() local 114 sdesc = list_first_entry(&schan->queued, struct sirfsoc_dma_desc, in sirfsoc_dma_execute() 117 list_move_tail(&sdesc->node, &schan->active); in sirfsoc_dma_execute() 120 writel_relaxed(sdesc->width, sdma->base + SIRFSOC_DMA_WIDTH_0 + in sirfsoc_dma_execute() 123 (sdesc->dir << SIRFSOC_DMA_DIR_CTRL_BIT), in sirfsoc_dma_execute() 125 writel_relaxed(sdesc->xlen, sdma->base + cid * 0x10 + in sirfsoc_dma_execute() 127 writel_relaxed(sdesc->ylen, sdma->base + cid * 0x10 + in sirfsoc_dma_execute() 136 writel(sdesc->addr >> 2, sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR); in sirfsoc_dma_execute() 138 if (sdesc->cyclic) { in sirfsoc_dma_execute() 151 struct sirfsoc_dma_desc *sdesc = NULL; in sirfsoc_dma_irq() local [all …]
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 208 static inline dma_addr_t get_buf_addr(const struct rx_sw_desc *sdesc) in get_buf_addr() argument 210 return sdesc->dma_addr & ~(dma_addr_t)(RX_LARGE_BUF | RX_UNMAPPED_BUF); in get_buf_addr() 220 static inline bool is_buf_mapped(const struct rx_sw_desc *sdesc) in is_buf_mapped() argument 222 return !(sdesc->dma_addr & RX_UNMAPPED_BUF); in is_buf_mapped() 389 struct tx_sw_desc *sdesc; in free_tx_desc() local 395 sdesc = &tq->sdesc[cidx]; in free_tx_desc() 401 if (sdesc->skb) { in free_tx_desc() 403 unmap_sgl(dev, sdesc->skb, sdesc->sgl, tq); in free_tx_desc() 404 kfree_skb(sdesc->skb); in free_tx_desc() 405 sdesc->skb = NULL; in free_tx_desc() [all …]
|
D | adapter.h | 138 struct rx_sw_desc *sdesc; /* address of SW RX descriptor ring */ member 240 struct tx_sw_desc *sdesc; /* address of SW TX descriptor ring */ member
|
/drivers/dma/sh/ |
D | shdma-base.c | 59 struct shdma_desc *sdesc; in shdma_chan_xfer_ld_queue() local 66 list_for_each_entry(sdesc, &schan->ld_queue, node) in shdma_chan_xfer_ld_queue() 67 if (sdesc->mark == DESC_SUBMITTED) { in shdma_chan_xfer_ld_queue() 68 ops->start_xfer(schan, sdesc); in shdma_chan_xfer_ld_queue() 162 struct shdma_desc *sdesc; in shdma_get_desc() local 164 list_for_each_entry(sdesc, &schan->ld_free, node) in shdma_get_desc() 165 if (sdesc->mark != DESC_PREPARED) { in shdma_get_desc() 166 BUG_ON(sdesc->mark != DESC_IDLE); in shdma_get_desc() 167 list_del(&sdesc->node); in shdma_get_desc() 168 return sdesc; in shdma_get_desc() [all …]
|
D | sudmac.c | 52 #define to_desc(sdesc) container_of(sdesc, struct sudmac_desc, shdma_desc) argument 102 struct shdma_desc *sdesc) in sudmac_set_reg() argument 118 struct shdma_desc *sdesc) in sudmac_start_xfer() argument 121 struct sudmac_desc *sd = to_desc(sdesc); in sudmac_start_xfer() 123 sudmac_set_reg(sc, &sd->hw, sdesc); in sudmac_start_xfer() 174 struct shdma_desc *sdesc, in sudmac_desc_setup() argument 178 struct sudmac_desc *sd = to_desc(sdesc); in sudmac_desc_setup() 217 struct shdma_desc *sdesc) in sudmac_get_partial() argument 220 struct sudmac_desc *sd = to_desc(sdesc); in sudmac_get_partial() 227 struct shdma_desc *sdesc) in sudmac_desc_completed() argument [all …]
|
D | shdma.c | 266 struct shdma_desc *sdesc) in sh_dmae_start_xfer() argument 270 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_start_xfer() 273 sdesc->async_tx.cookie, sh_chan->shdma_chan.id, in sh_dmae_start_xfer() 347 struct shdma_desc *sdesc, in sh_dmae_desc_setup() argument 350 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() 385 struct shdma_desc *sdesc) in sh_dmae_get_partial() argument 389 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() 423 struct shdma_desc *sdesc) in sh_dmae_desc_completed() argument 427 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_completed() 432 return (sdesc->direction == DMA_DEV_TO_MEM && in sh_dmae_desc_completed() [all …]
|
/drivers/media/platform/soc_camera/ |
D | soc_camera.c | 553 struct soc_camera_desc *sdesc = to_soc_camera_desc(icd); in soc_camera_open() local 568 if (sdesc->subdev_desc.reset) in soc_camera_open() 569 sdesc->subdev_desc.reset(icd->pdev); in soc_camera_open() 1089 struct soc_camera_desc *sdesc) in soc_camera_init_i2c() argument 1093 struct soc_camera_host_desc *shd = &sdesc->host_desc; in soc_camera_init_i2c() 1103 shd->board_info->platform_data = &sdesc->subdev_desc; in soc_camera_init_i2c() 1134 #define soc_camera_init_i2c(icd, sdesc) (-ENODEV) argument 1144 struct soc_camera_desc *sdesc = to_soc_camera_desc(icd); in soc_camera_probe() local 1145 struct soc_camera_host_desc *shd = &sdesc->host_desc; in soc_camera_probe() 1146 struct soc_camera_subdev_desc *ssdd = &sdesc->subdev_desc; in soc_camera_probe() [all …]
|
D | soc_camera_platform.c | 57 return soc_camera_set_power(p->icd->control, &p->icd->sdesc->subdev_desc, on); in soc_camera_platform_s_power()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 371 d = &q->sdesc[cidx]; in free_tx_desc() 382 d = q->sdesc; in free_tx_desc() 469 struct rx_sw_desc *d = &q->sdesc[q->cidx]; in free_rx_bufs() 496 struct rx_sw_desc *d = &q->sdesc[q->cidx]; in unmap_rx_buf() 550 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl() 583 sd = q->sdesc; in refill_fl() 611 sd = q->sdesc; in refill_fl() 1094 q->q.sdesc[last_desc].skb = skb; in t4_eth_xmit() 1095 q->q.sdesc[last_desc].sgl = (struct ulptx_sgl *)(cpl + 1); in t4_eth_xmit() 1389 q->q.sdesc[last_desc].skb = skb; in service_ofldq() [all …]
|
D | cxgb4.h | 355 struct rx_sw_desc *sdesc; /* address of SW Rx descriptor ring */ member 436 struct tx_sw_desc *sdesc; /* address of SW Tx descriptor ring */ member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 240 struct tx_sw_desc *d = &q->sdesc[cidx]; in unmap_skb() 269 d = cidx + 1 == q->size ? q->sdesc : d + 1; in unmap_skb() 295 d = &q->sdesc[cidx]; in free_tx_desc() 308 d = q->sdesc; in free_tx_desc() 385 struct rx_sw_desc *d = &q->sdesc[cidx]; in free_rx_bufs() 502 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl() 545 sd = q->sdesc; in refill_fl() 579 q->sdesc[q->pidx] = q->sdesc[idx]; in recycle_rx_buf() 683 kfree(q->fl[i].sdesc); in t3_free_qset() 695 if (q->txq[i].sdesc) { in t3_free_qset() [all …]
|
D | adapter.h | 116 struct rx_sw_desc *sdesc; /* address of SW Rx descriptor ring */ member 177 struct tx_sw_desc *sdesc; /* address of SW Tx descriptor ring */ member
|
/drivers/md/ |
D | dm-crypt.c | 518 } sdesc; in crypt_iv_lmk_one() local 523 sdesc.desc.tfm = lmk->hash_tfm; in crypt_iv_lmk_one() 524 sdesc.desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP; in crypt_iv_lmk_one() 526 r = crypto_shash_init(&sdesc.desc); in crypt_iv_lmk_one() 531 r = crypto_shash_update(&sdesc.desc, lmk->seed, LMK_SEED_SIZE); in crypt_iv_lmk_one() 537 r = crypto_shash_update(&sdesc.desc, data + 16, 16 * 31); in crypt_iv_lmk_one() 546 r = crypto_shash_update(&sdesc.desc, (u8 *)buf, sizeof(buf)); in crypt_iv_lmk_one() 551 r = crypto_shash_export(&sdesc.desc, &md5state); in crypt_iv_lmk_one()
|