Searched refs:pht (Results 1 – 1 of 1) sorted by relevance
341 struct phantom_device *pht; in phantom_probe() local367 pht = kzalloc(sizeof(*pht), GFP_KERNEL); in phantom_probe()368 if (pht == NULL) { in phantom_probe()373 pht->caddr = pci_iomap(pdev, 0, 0); in phantom_probe()374 if (pht->caddr == NULL) { in phantom_probe()378 pht->iaddr = pci_iomap(pdev, 2, 0); in phantom_probe()379 if (pht->iaddr == NULL) { in phantom_probe()383 pht->oaddr = pci_iomap(pdev, 3, 0); in phantom_probe()384 if (pht->oaddr == NULL) { in phantom_probe()389 mutex_init(&pht->open_lock); in phantom_probe()[all …]