Searched refs:hte_dev (Results 1 – 1 of 1) sorted by relevance
643 struct tegra_hte_soc *hte_dev = chip->data; in tegra_hte_match_from_linedata() local645 if (!hte_dev || (hte_dev->prov_data->type != HTE_TEGRA_TYPE_GPIO)) in tegra_hte_match_from_linedata()648 return hte_dev->c == gpiod_to_chip(hdesc->attr.line_data); in tegra_hte_match_from_linedata()692 struct tegra_hte_soc *hte_dev; in tegra_hte_probe() local698 hte_dev = devm_kzalloc(dev, sizeof(*hte_dev), GFP_KERNEL); in tegra_hte_probe()699 if (!hte_dev) in tegra_hte_probe()706 dev_set_drvdata(&pdev->dev, hte_dev); in tegra_hte_probe()707 hte_dev->prov_data = of_device_get_match_data(&pdev->dev); in tegra_hte_probe()711 slices = hte_dev->prov_data->slices; in tegra_hte_probe()716 hte_dev->regs = devm_platform_ioremap_resource(pdev, 0); in tegra_hte_probe()[all …]