Lines Matching refs:retval
80 int retval; in rt2x00pci_probe() local
83 retval = pci_enable_device(pci_dev); in rt2x00pci_probe()
84 if (retval) { in rt2x00pci_probe()
86 return retval; in rt2x00pci_probe()
89 retval = pci_request_regions(pci_dev, pci_name(pci_dev)); in rt2x00pci_probe()
90 if (retval) { in rt2x00pci_probe()
102 retval = -EIO; in rt2x00pci_probe()
109 retval = -ENOMEM; in rt2x00pci_probe()
127 retval = rt2x00pci_alloc_reg(rt2x00dev); in rt2x00pci_probe()
128 if (retval) in rt2x00pci_probe()
139 retval = rt2x00lib_probe_dev(rt2x00dev); in rt2x00pci_probe()
140 if (retval) in rt2x00pci_probe()
157 return retval; in rt2x00pci_probe()
186 int retval; in rt2x00pci_suspend() local
188 retval = rt2x00lib_suspend(rt2x00dev, state); in rt2x00pci_suspend()
189 if (retval) in rt2x00pci_suspend()
190 return retval; in rt2x00pci_suspend()