/linux-master/drivers/s390/char/ |
H A D | tape_class.c | 51 struct tape_class_device * tcd; local 55 tcd = kzalloc(sizeof(struct tape_class_device), GFP_KERNEL); 56 if (!tcd) 59 strscpy(tcd->device_name, device_name, TAPECLASS_NAME_LEN); 60 for (s = strchr(tcd->device_name, '/'); s; s = strchr(s, '/')) 62 strscpy(tcd->mode_name, mode_name, TAPECLASS_NAME_LEN); 63 for (s = strchr(tcd->mode_name, '/'); s; s = strchr(s, '/')) 66 tcd->char_device = cdev_alloc(); 67 if (!tcd->char_device) { 72 tcd 108 unregister_tape_dev(struct device *device, struct tape_class_device *tcd) argument [all...] |
H A D | tape_class.h | 57 void unregister_tape_dev(struct device *device, struct tape_class_device *tcd);
|
/linux-master/drivers/dma/ |
H A D | mpc512x_dma.c | 186 struct mpc_dma_tcd *tcd; member in struct:mpc_dma_desc 200 struct mpc_dma_tcd *tcd; member in struct:mpc_dma_chan 220 struct mpc_dma_tcd __iomem *tcd; member in struct:mpc_dma 290 prev->tcd->dlast_sga = mdesc->tcd_paddr; 291 prev->tcd->e_sg = 1; 292 mdesc->tcd->start = 1; 297 prev->tcd->int_maj = 1; 300 memcpy_toio(&mdma->tcd[cid], first->tcd, sizeof(struct mpc_dma_tcd)); 303 mdma->tcd[ci 491 struct mpc_dma_tcd *tcd; local 549 struct mpc_dma_tcd *tcd; local 607 struct mpc_dma_tcd *tcd; local 693 struct mpc_dma_tcd *tcd; local [all...] |
H A D | fsl-edma-common.c | 234 dma_pool_free(fsl_desc->echan->tcd_pool, fsl_desc->tcd[i].vtcd, 235 fsl_desc->tcd[i].ptcd); 361 nbytes = fsl_edma_get_tcd_to_cpu(fsl_chan, edesc->tcd[i].vtcd, nbytes); 364 len += nbytes * fsl_edma_get_tcd_to_cpu(fsl_chan, edesc->tcd[i].vtcd, biter); 383 nbytes = fsl_edma_get_tcd_to_cpu(fsl_chan, edesc->tcd[i].vtcd, nbytes); 387 size = nbytes * fsl_edma_get_tcd_to_cpu(fsl_chan, edesc->tcd[i].vtcd, biter); 390 dma_addr = fsl_edma_get_tcd_to_cpu(fsl_chan, edesc->tcd[i].vtcd, saddr); 392 dma_addr = fsl_edma_get_tcd_to_cpu(fsl_chan, edesc->tcd[i].vtcd, daddr); 435 static void fsl_edma_set_tcd_regs(struct fsl_edma_chan *fsl_chan, void *tcd) argument 447 edma_cp_tcd_to_reg(fsl_chan, tcd, sadd 485 fsl_edma_fill_tcd(struct fsl_edma_chan *fsl_chan, struct fsl_edma_hw_tcd *tcd, dma_addr_t src, dma_addr_t dst, u16 attr, u16 soff, u32 nbytes, dma_addr_t slast, u16 citer, u16 biter, u16 doff, dma_addr_t dlast_sga, bool major_int, bool disable_req, bool enable_sg) argument [all...] |
H A D | fsl-edma-common.h | 115 struct fsl_edma_hw_tcd tcd; member in union:fsl_edma3_ch_reg::__anon270 165 void __iomem *tcd; member in struct:fsl_edma_chan 187 struct fsl_edma_sw_tcd tcd[]; member in struct:fsl_edma_desc 200 /* control and status register is in tcd address space, edma3 reg layout */ 263 edma_read_tcdreg_c(chan, ((struct fsl_edma_hw_tcd64 __iomem *)chan->tcd), __name) : \ 264 edma_read_tcdreg_c(chan, ((struct fsl_edma_hw_tcd __iomem *)chan->tcd), __name) \ 287 struct fsl_edma_hw_tcd64 __iomem *tcd64_r = (struct fsl_edma_hw_tcd64 __iomem *)chan->tcd; \ 288 struct fsl_edma_hw_tcd __iomem *tcd_r = (struct fsl_edma_hw_tcd __iomem *)chan->tcd; \ 298 struct fsl_edma_hw_tcd64 __iomem *tcd64_r = (struct fsl_edma_hw_tcd64 __iomem *)chan->tcd; \ 299 struct fsl_edma_hw_tcd __iomem *tcd_r = (struct fsl_edma_hw_tcd __iomem *)chan->tcd; \ [all...] |
H A D | mcf-edma-main.c | 203 mcf_chan->tcd = mcf_edma->membase + EDMA_TCD
|
H A D | fsl-edma-main.c | 549 offsetof(struct fsl_edma3_ch_reg, tcd) : 0; 550 fsl_chan->tcd = fsl_edma->membase
|
/linux-master/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 20 struct tlb_core_data *tcd; local 23 tcd = paca->tcd_ptr; 24 this = tcd->esel_next; 27 if (next >= tcd->esel_max) 28 next = tcd->esel_first; 30 tcd->esel_next = next;
|
H A D | e500.c | 216 get_paca()->tcd.esel_next = i; 217 get_paca()->tcd.esel_max = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; 218 get_paca()->tcd.esel_first = i;
|
/linux-master/drivers/clocksource/ |
H A D | clps711x-timer.c | 23 static void __iomem *tcd; variable 27 return ~readw(tcd); 34 tcd = base; 36 clocksource_mmio_init(tcd, "clps711x-clocksource", rate, 300, 16,
|
H A D | timer-atmel-tcb.c | 162 struct tc_clkevt_device *tcd = to_tc_clkevt(d); local 163 void __iomem *regs = tcd->regs; 168 clk_disable(tcd->clk); 175 struct tc_clkevt_device *tcd = to_tc_clkevt(d); local 176 void __iomem *regs = tcd->regs; 181 clk_enable(tcd->clk); 194 struct tc_clkevt_device *tcd = to_tc_clkevt(d); local 195 void __iomem *regs = tcd->regs; 203 clk_enable(tcd->clk); 208 writel((tcd [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | paca.h | 134 /* Shared by all threads of a core -- points to tcd of first thread */ 151 struct tlb_core_data tcd; member in struct:paca_struct
|
/linux-master/drivers/thermal/ |
H A D | thermal_core.c | 1054 struct thermal_cooling_device **ptr, *tcd; local 1061 tcd = __thermal_cooling_device_register(np, type, devdata, ops); 1062 if (IS_ERR(tcd)) { 1064 return tcd; 1067 *ptr = tcd; 1070 return tcd;
|
/linux-master/arch/powerpc/kernel/ |
H A D | paca.c | 210 new_paca->tcd_ptr = &new_paca->tcd;
|
H A D | setup_64.c | 108 paca_ptrs[cpu]->tcd_ptr = &paca_ptrs[first]->tcd;
|
/linux-master/include/linux/ |
H A D | power_supply.h | 308 struct thermal_cooling_device *tcd; member in struct:power_supply
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 312 # define VMXNET3_TCD_GET_GEN(tcd) get_bitfield32(((const __le32 *)tcd) + \ 315 # define VMXNET3_TCD_GET_TXIDX(tcd) get_bitfield32((const __le32 *)tcd, \ 330 # define VMXNET3_TCD_GET_GEN(tcd) ((tcd)->gen) 331 # define VMXNET3_TCD_GET_TXIDX(tcd) ((tcd)->txdIdx) 412 while (VMXNET3_TCD_GET_GEN(&gdesc->tcd) == tq->comp_ring.gen) { 413 /* Prevent any &gdesc->tcd fiel [all...] |
H A D | vmxnet3_defs.h | 389 struct Vmxnet3_TxCompDesc tcd; member in union:Vmxnet3_GenericDesc
|
/linux-master/drivers/thermal/tegra/ |
H A D | soctherm.c | 1676 struct thermal_cooling_device *tcd; local 1702 tcd = thermal_of_cooling_device_register(np_stcc, 1705 if (IS_ERR_OR_NULL(tcd)) { 1711 stc->cdev = tcd;
|