Lines Matching refs:result
145 zx_status_t result = ZX_OK;
186 result = ZX_ERR_NO_MEMORY;
192 result = ZX_ERR_NO_MEMORY;
197 result = ZX_ERR_NO_MEMORY;
204 result = xhci_claim_ownership(xhci);
205 if (result != ZX_OK) {
211 result = io_buffer_init(&xhci->dcbaa_erst_buffer, xhci->bti_handle, PAGE_SIZE,
213 if (result != ZX_OK) {
217 result = io_buffer_init(&xhci->input_context_buffer, xhci->bti_handle, PAGE_SIZE,
219 if (result != ZX_OK) {
233 result = io_buffer_init(&xhci->scratch_pad_pages_buffer, xhci->bti_handle,
235 if (result != ZX_OK) {
240 result = io_buffer_physmap(&xhci->scratch_pad_pages_buffer);
241 if (result != ZX_OK) {
247 result = io_buffer_init(&xhci->scratch_pad_index_buffer, xhci->bti_handle,
250 if (result != ZX_OK) {
306 result = xhci_transfer_ring_init(&xhci->command_ring, xhci->bti_handle, COMMAND_RING_SIZE);
307 if (result != ZX_OK) {
313 result = xhci_event_ring_init(&xhci->event_rings[i], xhci->bti_handle,
315 if (result != ZX_OK) {
336 result = xhci_root_hub_init(xhci, i);
337 if (result != ZX_OK) goto fail;
344 return result;