Searched refs:dev_bogus (Results 1 – 1 of 1) sorted by relevance
1126 struct device *dev_bogus; in of_unittest_dma_ranges_one() local1128 dev_bogus = kzalloc(sizeof(struct device), GFP_KERNEL); in of_unittest_dma_ranges_one()1129 if (!dev_bogus) { in of_unittest_dma_ranges_one()1135 dev_bogus->dma_range_map = map; in of_unittest_dma_ranges_one()1136 paddr = dma_to_phys(dev_bogus, expect_dma_addr); in of_unittest_dma_ranges_one()1137 dma_addr = phys_to_dma(dev_bogus, expect_paddr); in of_unittest_dma_ranges_one()1147 kfree(dev_bogus); in of_unittest_dma_ranges_one()