Lines Matching refs:status
106 int status;
113 status = tusb_set_async_mode(sysclk_ps);
114 if (status < 0) {
115 printk(error, "async", status);
118 status = tusb_set_sync_mode(sysclk_ps);
119 if (status < 0)
120 printk(error, "sync", status);
122 return status;
163 int status;
168 status = gpmc_cs_request(async, SZ_16M, (unsigned long *)
170 if (status < 0) {
171 printk(error, 1, status);
172 return status;
178 status = gpmc_cs_program_settings(async_cs, &tusb_async);
179 if (status < 0)
180 return status;
183 status = gpmc_cs_request(sync, SZ_16M, (unsigned long *)
185 if (status < 0) {
186 printk(error, 2, status);
187 return status;
193 status = gpmc_cs_program_settings(sync_cs, &tusb_sync);
194 if (status < 0)
195 return status;
198 status = gpio_request_one(irq, GPIOF_IN, "TUSB6010 irq");
199 if (status < 0) {
200 printk(error, 3, status);
201 return status;
207 printk(error, 4, status);
211 status = tusb6010_platform_retime(1);
212 if (status < 0) {
213 printk(error, 5, status);
214 return status;
219 printk(error, 6, status);
225 status = platform_device_register(&tusb_device);
226 if (status < 0) {
227 printk(error, 7, status);
228 return status;