Home
last modified time | relevance | path

Searched refs:pht (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dphantom.c337 struct phantom_device *pht; in phantom_probe() local
363 pht = kzalloc(sizeof(*pht), GFP_KERNEL); in phantom_probe()
364 if (pht == NULL) { in phantom_probe()
369 pht->caddr = pci_iomap(pdev, 0, 0); in phantom_probe()
370 if (pht->caddr == NULL) { in phantom_probe()
374 pht->iaddr = pci_iomap(pdev, 2, 0); in phantom_probe()
375 if (pht->iaddr == NULL) { in phantom_probe()
379 pht->oaddr = pci_iomap(pdev, 3, 0); in phantom_probe()
380 if (pht->oaddr == NULL) { in phantom_probe()
385 mutex_init(&pht->open_lock); in phantom_probe()
[all …]