Lines Matching refs:stat
96 int stat; in ddb_irq_msi() local
99 stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, in ddb_irq_msi()
101 if (stat >= 1) { in ddb_irq_msi()
102 dev->msi = stat; in ddb_irq_msi()
114 int stat; in ddb_irq_init() local
132 stat = request_irq(pci_irq_vector(dev->pdev, 0), in ddb_irq_init()
135 if (stat < 0) in ddb_irq_init()
136 return stat; in ddb_irq_init()
137 stat = request_irq(pci_irq_vector(dev->pdev, 1), in ddb_irq_init()
140 if (stat < 0) { in ddb_irq_init()
142 return stat; in ddb_irq_init()
147 stat = request_irq(pci_irq_vector(dev->pdev, 0), in ddb_irq_init()
150 if (stat < 0) in ddb_irq_init()
151 return stat; in ddb_irq_init()
160 return stat; in ddb_irq_init()
167 int stat = 0; in ddb_probe() local
206 stat = -ENOMEM; in ddb_probe()
211 stat = -ENODEV; in ddb_probe()
224 stat = ddb_irq_init(dev); in ddb_probe()
225 if (stat < 0) in ddb_probe()
241 return stat; in ddb_probe()
286 int stat; in module_init_ddbridge() local
291 stat = ddb_init_ddbridge(); in module_init_ddbridge()
292 if (stat < 0) in module_init_ddbridge()
293 return stat; in module_init_ddbridge()
294 stat = pci_register_driver(&ddb_pci_driver); in module_init_ddbridge()
295 if (stat < 0) in module_init_ddbridge()
296 ddb_exit_ddbridge(0, stat); in module_init_ddbridge()
298 return stat; in module_init_ddbridge()