Lines Matching refs:result

49 	status_t result = gUSBModule->send_request(device,
53 if (result != B_OK) {
54 TRACE_ALWAYS("Request of the PHYIDs failed:%#010x\n", result);
55 return result;
81 fStatus = result;
91 status_t result = Read(MII_BMCR, &control);
92 if (result != B_OK) {
93 TRACE_ALWAYS("Error of reading control word:%#010x.\n", result);
94 return result;
100 result = Write(MII_BMCR, control);
101 if (result != B_OK) {
103 control, result);
106 result = Write(MII_BMCR, BMCR_Reset);
107 if (result != B_OK) {
108 TRACE_ALWAYS("Error of resetting PHY:%#010x.\n", result);
112 result = Read(MII_PHYID0, &id01);
113 if (result != B_OK) {
114 TRACE_ALWAYS("Error of reading PHY ID1:%#010x.\n", result);
117 result = Read(MII_PHYID1, &id02);
118 if (result != B_OK) {
119 TRACE_ALWAYS("Error of reading PHY ID2:%#010x.\n", result);
127 return result;
169 status_t result = InitCheck();
170 if (B_OK != result) {
171 TRACE_ALWAYS("Error: MII is not ready:%#010x\n", result);
172 return result;
184 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR
187 if (result != B_OK) {
188 TRACE_ALWAYS("Error of switching MII to SW op.mode: %#010x\n", result);
189 return result;
209 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR
212 if (result != B_OK) {
213 TRACE_ALWAYS("Error of switching MII to HW op.mode: %#010x\n", result);
225 status_t result = InitCheck();
226 if (B_OK != result) {
227 TRACE_ALWAYS("Error: MII is not ready:%#010x\n", result);
228 return result;
239 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR
242 if (result != B_OK) {
243 TRACE_ALWAYS("Error of switching MII to SW op.mode: %#010x\n", result);
244 return result;
264 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR
267 if (result != B_OK) {
268 TRACE_ALWAYS("Error of switching MII to HW op.mode: %#010x\n", result);
285 status_t result = InitCheck();
286 if (B_OK != result) {
287 TRACE_ALWAYS("Error: MII is not ready:%#010x.\n", result);
288 return result;
300 result = gUSBModule->send_request(fDevice,
304 if (result != B_OK) {
305 TRACE_ALWAYS("Error of switching MII to SW op.mode: %#010x\n", result);
306 return result;
334 result = gUSBModule->send_request(fDevice, USB_REQTYPE_VENDOR
337 if (result != B_OK) {
338 TRACE_ALWAYS("Error of switching MII to HW op.mode: %#010x\n", result);
341 return result;