Lines Matching refs:result
46 int result;
48 result = lv1_map_device_mmio_region(r->did.bus_id, r->did.dev_id,
51 if (result) {
53 __func__, __LINE__, ps3_result(result));
58 return result;
64 int result;
66 result = lv1_unmap_device_mmio_region(r->did.bus_id, r->did.dev_id,
69 if (result)
71 __func__, __LINE__, ps3_result(result));
74 return result;
81 int result;
85 result = dev->match_id == drv->match_id;
89 (result ? "match" : "miss"));
90 return result;
95 int result;
100 result = lv1_open_device(dev->did.bus_id, dev->did.dev_id, 0);
102 if (result) {
104 __func__, __LINE__, result);
105 result = -EACCES;
110 result = ps3_dma_region_create(dev->d_region);
112 if (result) {
114 __func__, __LINE__, result);
116 result = -EINVAL;
124 result = drv->probe(dev);
129 if (result) {
134 return result;
141 return result;
172 int result;
177 result = bus_register(&ps3_system_bus_type);
178 BUG_ON(result);
179 return result;
192 int result;
208 result = ps3_dma_map(dev->d_region, virt_addr, size, dma_handle);
210 if (result) {
212 __func__, __LINE__, result);
246 int result;
249 result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size,
252 if (result) {
254 __func__, __LINE__, result);
264 int result;
266 result = ps3_dma_unmap(dev->d_region, dma_addr, size);
268 if (result) {
270 __func__, __LINE__, result);
285 int result = ps3_dma_map(dev->d_region,
289 if (result) {
291 __func__, __LINE__, result);
345 int result;
361 result = device_register(&dev->core);
362 return result;
369 int result;
373 result = driver_register(&drv->core);
374 return result;