/linux-6.3-rc2/drivers/s390/char/ |
A D | tape_class.c | 49 struct tape_class_device * tcd; in register_tape_dev() local 54 if (!tcd) in register_tape_dev() 65 if (!tcd->char_device) { in register_tape_dev() 85 &tcd->class_device->kobj, in register_tape_dev() 86 tcd->mode_name in register_tape_dev() 91 return tcd; in register_tape_dev() 97 cdev_del(tcd->char_device); in register_tape_dev() 100 kfree(tcd); in register_tape_dev() 108 if (tcd != NULL && !IS_ERR(tcd)) { in unregister_tape_dev() 111 cdev_del(tcd->char_device); in unregister_tape_dev() [all …]
|
A D | tape_class.h | 57 void unregister_tape_dev(struct device *device, struct tape_class_device *tcd);
|
/linux-6.3-rc2/drivers/dma/ |
A D | mpc512x_dma.c | 501 if (!tcd) in mpc_dma_alloc_chan_resources() 517 mdesc->tcd = &tcd[i]; in mpc_dma_alloc_chan_resources() 532 mchan->tcd = tcd; in mpc_dma_alloc_chan_resources() 564 tcd = mchan->tcd; in mpc_dma_free_chan_resources() 627 tcd = mdesc->tcd; in mpc_dma_prep_memcpy() 646 tcd->soff = 4; in mpc_dma_prep_memcpy() 647 tcd->doff = 4; in mpc_dma_prep_memcpy() 737 tcd = mdesc->tcd; in mpc_dma_prep_slave_sg() 774 tcd->nbytes = tcd_nunits * tcd->ssize; in mpc_dma_prep_slave_sg() 786 tcd->citer = tcd->biter; in mpc_dma_prep_slave_sg() [all …]
|
A D | fsl-edma-common.c | 361 edma_writel(edma, (s32)tcd->saddr, ®s->tcd[ch].saddr); in fsl_edma_set_tcd_regs() 362 edma_writel(edma, (s32)tcd->daddr, ®s->tcd[ch].daddr); in fsl_edma_set_tcd_regs() 364 edma_writew(edma, (s16)tcd->attr, ®s->tcd[ch].attr); in fsl_edma_set_tcd_regs() 365 edma_writew(edma, tcd->soff, ®s->tcd[ch].soff); in fsl_edma_set_tcd_regs() 367 edma_writel(edma, (s32)tcd->nbytes, ®s->tcd[ch].nbytes); in fsl_edma_set_tcd_regs() 368 edma_writel(edma, (s32)tcd->slast, ®s->tcd[ch].slast); in fsl_edma_set_tcd_regs() 370 edma_writew(edma, (s16)tcd->citer, ®s->tcd[ch].citer); in fsl_edma_set_tcd_regs() 371 edma_writew(edma, (s16)tcd->biter, ®s->tcd[ch].biter); in fsl_edma_set_tcd_regs() 372 edma_writew(edma, (s16)tcd->doff, ®s->tcd[ch].doff); in fsl_edma_set_tcd_regs() 383 edma_writew(edma, (s16)tcd->csr, ®s->tcd[ch].csr); in fsl_edma_set_tcd_regs() [all …]
|
A D | fsl-edma-common.h | 106 struct fsl_edma_hw_tcd __iomem *tcd; member 138 struct fsl_edma_sw_tcd tcd[]; member
|
A D | fsl-edma.c | 362 edma_writew(fsl_edma, 0x0, ®s->tcd[i].csr); in fsl_edma_probe() 473 edma_writew(fsl_edma, 0x0, ®s->tcd[i].csr); in fsl_edma_resume_early()
|
A D | mcf-edma.c | 229 iowrite32(0x0, ®s->tcd[i].csr); in mcf_edma_probe()
|
/linux-6.3-rc2/arch/powerpc/mm/nohash/ |
A D | e500_hugetlbpage.c | 20 struct tlb_core_data *tcd; in tlb1_next() local 23 tcd = paca->tcd_ptr; in tlb1_next() 24 this = tcd->esel_next; in tlb1_next() 27 if (next >= tcd->esel_max) in tlb1_next() 28 next = tcd->esel_first; in tlb1_next() 30 tcd->esel_next = next; in tlb1_next()
|
A D | e500.c | 216 get_paca()->tcd.esel_next = i; in map_mem_in_cams_addr() 217 get_paca()->tcd.esel_max = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in map_mem_in_cams_addr() 218 get_paca()->tcd.esel_first = i; in map_mem_in_cams_addr()
|
/linux-6.3-rc2/drivers/clocksource/ |
A 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()
|
A 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()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_core.c | 1028 struct thermal_cooling_device **ptr, *tcd; in devm_thermal_of_cooling_device_register() local 1035 tcd = __thermal_cooling_device_register(np, type, devdata, ops); in devm_thermal_of_cooling_device_register() 1036 if (IS_ERR(tcd)) { in devm_thermal_of_cooling_device_register() 1038 return tcd; in devm_thermal_of_cooling_device_register() 1041 *ptr = tcd; in devm_thermal_of_cooling_device_register() 1044 return tcd; in devm_thermal_of_cooling_device_register()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | paca.h | 153 struct tlb_core_data tcd; member
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | paca.c | 208 new_paca->tcd_ptr = &new_paca->tcd; in initialise_paca()
|
A D | setup_64.c | 108 paca_ptrs[cpu]->tcd_ptr = &paca_ptrs[first]->tcd; in setup_tlb_core_data()
|
/linux-6.3-rc2/drivers/net/vmxnet3/ |
A D | vmxnet3_drv.c | 311 # define VMXNET3_TCD_GET_GEN(tcd) get_bitfield32(((const __le32 *)tcd) + \ argument 314 # define VMXNET3_TCD_GET_TXIDX(tcd) get_bitfield32((const __le32 *)tcd, \ argument 329 # define VMXNET3_TCD_GET_GEN(tcd) ((tcd)->gen) argument 330 # define VMXNET3_TCD_GET_TXIDX(tcd) ((tcd)->txdIdx) argument 397 while (VMXNET3_TCD_GET_GEN(&gdesc->tcd) == tq->comp_ring.gen) { in vmxnet3_tq_tx_complete() 404 &gdesc->tcd), tq, adapter->pdev, in vmxnet3_tq_tx_complete()
|
A D | vmxnet3_defs.h | 389 struct Vmxnet3_TxCompDesc tcd; member
|
/linux-6.3-rc2/include/linux/ |
A D | power_supply.h | 306 struct thermal_cooling_device *tcd; member
|
/linux-6.3-rc2/drivers/thermal/tegra/ |
A D | soctherm.c | 1676 struct thermal_cooling_device *tcd; in soctherm_init_hw_throt_cdev() local 1702 tcd = thermal_of_cooling_device_register(np_stcc, in soctherm_init_hw_throt_cdev() 1705 if (IS_ERR_OR_NULL(tcd)) { in soctherm_init_hw_throt_cdev() 1711 stc->cdev = tcd; in soctherm_init_hw_throt_cdev()
|
/linux-6.3-rc2/drivers/char/pcmcia/ |
A 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()
|