Lines Matching refs:result
131 int result;
137 result = uwb_rc_mac_addr_get(rc, &addr);
138 if (result < 0) {
139 dev_err(dev, "cannot retrieve UWB EUI-48 address: %d\n", result);
140 return result;
147 result = uwb_rc_mac_addr_set(rc, &addr);
148 if (result < 0) {
151 devname, result);
152 return result;
163 int result;
166 result = uwb_radio_setup(rc);
167 if (result < 0) {
168 dev_err(dev, "cannot setup UWB radio: %d\n", result);
171 result = uwb_rc_mac_addr_setup(rc);
172 if (result < 0) {
173 dev_err(dev, "cannot setup UWB MAC address: %d\n", result);
176 result = uwb_rc_dev_addr_assign(rc);
177 if (result < 0) {
178 dev_err(dev, "cannot assign UWB DevAddr: %d\n", result);
181 result = uwb_rc_ie_setup(rc);
182 if (result < 0) {
183 dev_err(dev, "cannot setup IE subsystem: %d\n", result);
186 result = uwb_rsv_setup(rc);
187 if (result < 0) {
188 dev_err(dev, "cannot setup reservation subsystem: %d\n", result);
198 return result;
214 int result;
231 result = rc->start(rc);
232 if (result < 0)
235 result = uwb_rc_setup(rc);
236 if (result < 0) {
237 dev_err(dev, "cannot setup UWB radio controller: %d\n", result);
241 result = uwb_dev_add(&rc->uwb_dev, parent_dev, rc);
242 if (result < 0 && result != -EADDRNOTAVAIL)
245 result = uwb_rc_sys_add(rc);
246 if (result < 0) {
248 "dev attributes: %d\n", result);
267 return result;