/drivers/s390/char/ |
D | tape_class.c | 49 struct tape_class_device * tcd; in register_tape_dev() local 53 tcd = kzalloc(sizeof(struct tape_class_device), GFP_KERNEL); in register_tape_dev() 54 if (!tcd) in register_tape_dev() 57 strlcpy(tcd->device_name, device_name, TAPECLASS_NAME_LEN); in register_tape_dev() 58 for (s = strchr(tcd->device_name, '/'); s; s = strchr(s, '/')) in register_tape_dev() 60 strlcpy(tcd->mode_name, mode_name, TAPECLASS_NAME_LEN); in register_tape_dev() 61 for (s = strchr(tcd->mode_name, '/'); s; s = strchr(s, '/')) in register_tape_dev() 64 tcd->char_device = cdev_alloc(); in register_tape_dev() 65 if (!tcd->char_device) { in register_tape_dev() 70 tcd->char_device->owner = fops->owner; in register_tape_dev() [all …]
|
D | tape_class.h | 57 void unregister_tape_dev(struct device *device, struct tape_class_device *tcd);
|
/drivers/dma/ |
D | mpc512x_dma.c | 186 struct mpc_dma_tcd *tcd; member 200 struct mpc_dma_tcd *tcd; member 220 struct mpc_dma_tcd __iomem *tcd; member 290 prev->tcd->dlast_sga = mdesc->tcd_paddr; in mpc_dma_execute() 291 prev->tcd->e_sg = 1; in mpc_dma_execute() 292 mdesc->tcd->start = 1; in mpc_dma_execute() 297 prev->tcd->int_maj = 1; in mpc_dma_execute() 300 memcpy_toio(&mdma->tcd[cid], first->tcd, sizeof(struct mpc_dma_tcd)); in mpc_dma_execute() 303 mdma->tcd[cid].e_sg = 1; in mpc_dma_execute() 491 struct mpc_dma_tcd *tcd; in mpc_dma_alloc_chan_resources() local [all …]
|
D | fsl-edma-common.c | 154 dma_pool_free(fsl_desc->echan->tcd_pool, fsl_desc->tcd[i].vtcd, in fsl_edma_free_desc() 155 fsl_desc->tcd[i].ptcd); in fsl_edma_free_desc() 283 len += le32_to_cpu(edesc->tcd[i].vtcd->nbytes) in fsl_edma_desc_residue() 284 * le16_to_cpu(edesc->tcd[i].vtcd->biter); in fsl_edma_desc_residue() 290 cur_addr = edma_readl(fsl_chan->edma, ®s->tcd[ch].saddr); in fsl_edma_desc_residue() 292 cur_addr = edma_readl(fsl_chan->edma, ®s->tcd[ch].daddr); in fsl_edma_desc_residue() 296 size = le32_to_cpu(edesc->tcd[i].vtcd->nbytes) in fsl_edma_desc_residue() 297 * le16_to_cpu(edesc->tcd[i].vtcd->biter); in fsl_edma_desc_residue() 299 dma_addr = le32_to_cpu(edesc->tcd[i].vtcd->saddr); in fsl_edma_desc_residue() 301 dma_addr = le32_to_cpu(edesc->tcd[i].vtcd->daddr); in fsl_edma_desc_residue() [all …]
|
D | fsl-edma-common.h | 106 struct fsl_edma_hw_tcd __iomem *tcd; member 137 struct fsl_edma_sw_tcd tcd[]; member
|
D | fsl-edma.c | 363 edma_writew(fsl_edma, 0x0, ®s->tcd[i].csr); in fsl_edma_probe() 468 edma_writew(fsl_edma, 0x0, ®s->tcd[i].csr); in fsl_edma_resume_early()
|
D | mcf-edma.c | 233 iowrite32(0x0, ®s->tcd[i].csr); in mcf_edma_probe()
|
/drivers/clocksource/ |
D | clps711x-timer.c | 23 static void __iomem *tcd; variable 27 return ~readw(tcd); in clps711x_sched_clock_read() 34 tcd = base; in clps711x_clksrc_init() 36 clocksource_mmio_init(tcd, "clps711x-clocksource", rate, 300, 16, in clps711x_clksrc_init()
|
D | timer-atmel-tcb.c | 162 struct tc_clkevt_device *tcd = to_tc_clkevt(d); in tc_shutdown() local 163 void __iomem *regs = tcd->regs; in tc_shutdown() 168 clk_disable(tcd->clk); in tc_shutdown() 175 struct tc_clkevt_device *tcd = to_tc_clkevt(d); in tc_set_oneshot() local 176 void __iomem *regs = tcd->regs; in tc_set_oneshot() 181 clk_enable(tcd->clk); in tc_set_oneshot() 194 struct tc_clkevt_device *tcd = to_tc_clkevt(d); in tc_set_periodic() local 195 void __iomem *regs = tcd->regs; in tc_set_periodic() 203 clk_enable(tcd->clk); in tc_set_periodic() 208 writel((tcd->rate + HZ / 2) / HZ, tcaddr + ATMEL_TC_REG(2, RC)); in tc_set_periodic()
|
/drivers/thermal/ |
D | thermal_core.c | 1047 struct thermal_cooling_device **ptr, *tcd; in devm_thermal_of_cooling_device_register() local 1054 tcd = __thermal_cooling_device_register(np, type, devdata, ops); in devm_thermal_of_cooling_device_register() 1055 if (IS_ERR(tcd)) { in devm_thermal_of_cooling_device_register() 1057 return tcd; in devm_thermal_of_cooling_device_register() 1060 *ptr = tcd; in devm_thermal_of_cooling_device_register() 1063 return tcd; in devm_thermal_of_cooling_device_register()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 297 # define VMXNET3_TCD_GET_GEN(tcd) get_bitfield32(((const __le32 *)tcd) + \ argument 300 # define VMXNET3_TCD_GET_TXIDX(tcd) get_bitfield32((const __le32 *)tcd, \ argument 315 # define VMXNET3_TCD_GET_GEN(tcd) ((tcd)->gen) argument 316 # define VMXNET3_TCD_GET_TXIDX(tcd) ((tcd)->txdIdx) argument 383 while (VMXNET3_TCD_GET_GEN(&gdesc->tcd) == tq->comp_ring.gen) { in vmxnet3_tq_tx_complete() 390 &gdesc->tcd), tq, adapter->pdev, in vmxnet3_tq_tx_complete()
|
D | vmxnet3_defs.h | 365 struct Vmxnet3_TxCompDesc tcd; member
|
/drivers/thermal/tegra/ |
D | soctherm.c | 1714 struct thermal_cooling_device *tcd; in soctherm_init_hw_throt_cdev() local 1740 tcd = thermal_of_cooling_device_register(np_stcc, in soctherm_init_hw_throt_cdev() 1743 if (IS_ERR_OR_NULL(tcd)) { in soctherm_init_hw_throt_cdev() 1749 stc->cdev = tcd; in soctherm_init_hw_throt_cdev()
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 891 static void rx_ready_async(MGSLPC_INFO *info, int tcd) in rx_ready_async() argument 899 if (tcd) { in rx_ready_async()
|