Searched refs:dtp (Results 1 – 3 of 3) sorted by relevance
215 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_chan_alloc() local231 if ((dtp = find_dbdev_id(destid)) == NULL) return 0; in au1xxx_dbdma_chan_alloc()243 if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || in au1xxx_dbdma_chan_alloc()244 (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { in au1xxx_dbdma_chan_alloc()246 dtp->dev_flags |= DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()286 ctp->chan_dest = dtp; in au1xxx_dbdma_chan_alloc()297 if (dtp->dev_intlevel) in au1xxx_dbdma_chan_alloc()299 if (dtp->dev_intpolarity) in au1xxx_dbdma_chan_alloc()314 dtp->dev_flags &= ~DEV_FLAGS_INUSE; in au1xxx_dbdma_chan_alloc()328 dbdev_tab_t *stp, *dtp; in au1xxx_dbdma_set_devwidth() local[all …]
1565 struct atari_disk_type *dtp; in fd_ioctl() local1591 dtp = &disk_type[type]; in fd_ioctl()1594 drive, dtp, dtp->name); in fd_ioctl()1600 dtp = UDT; in fd_ioctl()1603 return put_user(dtp->blocks, (unsigned long *)param); in fd_ioctl()1606 getprm.size = dtp->blocks; in fd_ioctl()1607 getprm.sect = dtp->spt; in fd_ioctl()1609 getprm.track = dtp->blocks/dtp->spt/2; in fd_ioctl()1610 getprm.stretch = dtp->stretch; in fd_ioctl()1665 dtp = &disk_type[setidx]; in fd_ioctl()[all …]
147 static int dbInitTree(struct dmaptree * dtp);3856 static int dbInitTree(struct dmaptree * dtp) in dbInitTree() argument3862 tp = dtp->stree; in dbInitTree()3865 l2max = le32_to_cpu(dtp->l2nleafs) + dtp->budmin; in dbInitTree()3881 for (l2free = dtp->budmin, bsize = 1; l2free < l2max; in dbInitTree()3887 for (i = 0, cp = tp + le32_to_cpu(dtp->leafidx); in dbInitTree()3888 i < le32_to_cpu(dtp->nleafs); in dbInitTree()3908 for (child = le32_to_cpu(dtp->leafidx), in dbInitTree()3909 nparent = le32_to_cpu(dtp->nleafs) >> 2; in dbInitTree()