Lines Matching refs:result
97 int result = -ENOBUFS; in wusbhc_mmcie_set() local
110 result = -ENOSYS; in wusbhc_mmcie_set()
126 result = (wusbhc->mmcie_add)(wusbhc, interval, repeat_cnt, handle, in wusbhc_mmcie_set()
128 if (result >= 0) in wusbhc_mmcie_set()
132 return result; in wusbhc_mmcie_set()
143 int result; in wusbhc_mmcie_rm() local
157 result = (wusbhc->mmcie_rm)(wusbhc, handle); in wusbhc_mmcie_rm()
158 if (result == 0) in wusbhc_mmcie_rm()
194 int result; in wusbhc_start() local
200 result = wusbhc_rsv_establish(wusbhc); in wusbhc_start()
201 if (result < 0) { in wusbhc_start()
203 result); in wusbhc_start()
207 result = wusbhc_devconnect_start(wusbhc); in wusbhc_start()
208 if (result < 0) { in wusbhc_start()
210 result); in wusbhc_start()
214 result = wusbhc_sec_start(wusbhc); in wusbhc_start()
215 if (result < 0) { in wusbhc_start()
217 result); in wusbhc_start()
221 result = wusbhc->set_num_dnts(wusbhc, wusbhc->dnts_interval, in wusbhc_start()
223 if (result < 0) { in wusbhc_start()
224 dev_err(dev, "Cannot set DNTS parameters: %d\n", result); in wusbhc_start()
227 result = wusbhc_mmc_start(wusbhc); in wusbhc_start()
228 if (result < 0) { in wusbhc_start()
229 dev_err(dev, "error starting wusbch: %d\n", result); in wusbhc_start()
243 return result; in wusbhc_start()
269 int result = 0; in wusbhc_chid_set() local
288 result = -ENODEV; in wusbhc_chid_set()
294 result = wusbhc_pal_register(wusbhc); in wusbhc_chid_set()
295 if (result < 0) { in wusbhc_chid_set()
303 result = uwb_radio_start(&wusbhc->pal); in wusbhc_chid_set()
307 return result; in wusbhc_chid_set()
315 return result; in wusbhc_chid_set()