Searched refs:thc_dev (Results 1 – 1 of 1) sorted by relevance
195 struct thc_device *thc_dev; in thc_dev_init() local198 thc_dev = devm_kzalloc(device, sizeof(*thc_dev), GFP_KERNEL); in thc_dev_init()199 if (!thc_dev) in thc_dev_init()202 thc_dev->dev = device; in thc_dev_init()203 thc_dev->mmio_addr = mem_addr; in thc_dev_init()204 thc_dev->thc_regmap = devm_regmap_init(device, NULL, thc_dev, &thc_regmap_cfg); in thc_dev_init()205 if (IS_ERR(thc_dev->thc_regmap)) { in thc_dev_init()211 thc_clear_state(thc_dev); in thc_dev_init()217 thc_dev->dma_ctx = thc_dma_init(thc_dev); in thc_dev_init()218 if (!thc_dev->dma_ctx) { in thc_dev_init()[all …]