Home
last modified time | relevance | path

Searched refs:transfer (Results 1 – 25 of 781) sorted by relevance

12345678910>>...32

/external/valgrind/coregrind/m_gdbserver/
Dvalgrind-low-ppc64.c188 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
189 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
190 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
191 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
192 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
193 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
194 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
195 case 7: VG_(transfer) (&ppc64->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
196 case 8: VG_(transfer) (&ppc64->guest_GPR8, buf, dir, size, mod); break; in transfer_register()
197 case 9: VG_(transfer) (&ppc64->guest_GPR9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-ppc32.c191 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
192 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
193 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
194 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
195 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
196 case 5: VG_(transfer) (&ppc32->guest_GPR5, buf, dir, size, mod); break; in transfer_register()
197 case 6: VG_(transfer) (&ppc32->guest_GPR6, buf, dir, size, mod); break; in transfer_register()
198 case 7: VG_(transfer) (&ppc32->guest_GPR7, buf, dir, size, mod); break; in transfer_register()
199 case 8: VG_(transfer) (&ppc32->guest_GPR8, buf, dir, size, mod); break; in transfer_register()
200 case 9: VG_(transfer) (&ppc32->guest_GPR9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm64.c152 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break; in transfer_register()
153 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break; in transfer_register()
154 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break; in transfer_register()
155 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break; in transfer_register()
156 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); break; in transfer_register()
157 case 5: VG_(transfer) (&arm->guest_X5, buf, dir, size, mod); break; in transfer_register()
158 case 6: VG_(transfer) (&arm->guest_X6, buf, dir, size, mod); break; in transfer_register()
159 case 7: VG_(transfer) (&arm->guest_X7, buf, dir, size, mod); break; in transfer_register()
160 case 8: VG_(transfer) (&arm->guest_X8, buf, dir, size, mod); break; in transfer_register()
161 case 9: VG_(transfer) (&arm->guest_X9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-tilegx.c155 case 0: VG_(transfer) (&tilegx->guest_r0, buf, dir, size, mod); break; in transfer_register()
156 case 1: VG_(transfer) (&tilegx->guest_r1, buf, dir, size, mod); break; in transfer_register()
157 case 2: VG_(transfer) (&tilegx->guest_r2, buf, dir, size, mod); break; in transfer_register()
158 case 3: VG_(transfer) (&tilegx->guest_r3, buf, dir, size, mod); break; in transfer_register()
159 case 4: VG_(transfer) (&tilegx->guest_r4, buf, dir, size, mod); break; in transfer_register()
160 case 5: VG_(transfer) (&tilegx->guest_r5, buf, dir, size, mod); break; in transfer_register()
161 case 6: VG_(transfer) (&tilegx->guest_r6, buf, dir, size, mod); break; in transfer_register()
162 case 7: VG_(transfer) (&tilegx->guest_r7, buf, dir, size, mod); break; in transfer_register()
163 case 8: VG_(transfer) (&tilegx->guest_r8, buf, dir, size, mod); break; in transfer_register()
164 case 9: VG_(transfer) (&tilegx->guest_r9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-s390x.c134 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break; in transfer_register()
135 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break; in transfer_register()
136 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break; in transfer_register()
137 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); break; in transfer_register()
138 case 5: VG_(transfer) (&s390x->guest_r3, buf, dir, size, mod); break; in transfer_register()
139 case 6: VG_(transfer) (&s390x->guest_r4, buf, dir, size, mod); break; in transfer_register()
140 case 7: VG_(transfer) (&s390x->guest_r5, buf, dir, size, mod); break; in transfer_register()
141 case 8: VG_(transfer) (&s390x->guest_r6, buf, dir, size, mod); break; in transfer_register()
142 case 9: VG_(transfer) (&s390x->guest_r7, buf, dir, size, mod); break; in transfer_register()
143 case 10: VG_(transfer) (&s390x->guest_r8, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips64.c263 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; in transfer_register()
264 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; in transfer_register()
265 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; in transfer_register()
266 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; in transfer_register()
267 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); break; in transfer_register()
268 case 5: VG_(transfer) (&mips1->guest_r5, buf, dir, size, mod); break; in transfer_register()
269 case 6: VG_(transfer) (&mips1->guest_r6, buf, dir, size, mod); break; in transfer_register()
270 case 7: VG_(transfer) (&mips1->guest_r7, buf, dir, size, mod); break; in transfer_register()
271 case 8: VG_(transfer) (&mips1->guest_r8, buf, dir, size, mod); break; in transfer_register()
272 case 9: VG_(transfer) (&mips1->guest_r9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips32.c262 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; in transfer_register()
263 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; in transfer_register()
264 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; in transfer_register()
265 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; in transfer_register()
266 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); break; in transfer_register()
267 case 5: VG_(transfer) (&mips1->guest_r5, buf, dir, size, mod); break; in transfer_register()
268 case 6: VG_(transfer) (&mips1->guest_r6, buf, dir, size, mod); break; in transfer_register()
269 case 7: VG_(transfer) (&mips1->guest_r7, buf, dir, size, mod); break; in transfer_register()
270 case 8: VG_(transfer) (&mips1->guest_r8, buf, dir, size, mod); break; in transfer_register()
271 case 9: VG_(transfer) (&mips1->guest_r9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm.c191 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break; in transfer_register()
192 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break; in transfer_register()
193 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break; in transfer_register()
194 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break; in transfer_register()
195 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); break; in transfer_register()
196 case 5: VG_(transfer) (&arm->guest_R5, buf, dir, size, mod); break; in transfer_register()
197 case 6: VG_(transfer) (&arm->guest_R6, buf, dir, size, mod); break; in transfer_register()
198 case 7: VG_(transfer) (&arm->guest_R7, buf, dir, size, mod); break; in transfer_register()
199 case 8: VG_(transfer) (&arm->guest_R8, buf, dir, size, mod); break; in transfer_register()
200 case 9: VG_(transfer) (&arm->guest_R9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-amd64.c164 case 0: VG_(transfer) (&amd64->guest_RAX, buf, dir, size, mod); break; in transfer_register()
165 case 1: VG_(transfer) (&amd64->guest_RBX, buf, dir, size, mod); break; in transfer_register()
166 case 2: VG_(transfer) (&amd64->guest_RCX, buf, dir, size, mod); break; in transfer_register()
167 case 3: VG_(transfer) (&amd64->guest_RDX, buf, dir, size, mod); break; in transfer_register()
168 case 4: VG_(transfer) (&amd64->guest_RSI, buf, dir, size, mod); break; in transfer_register()
169 case 5: VG_(transfer) (&amd64->guest_RDI, buf, dir, size, mod); break; in transfer_register()
170 case 6: VG_(transfer) (&amd64->guest_RBP, buf, dir, size, mod); break; in transfer_register()
171 case 7: VG_(transfer) (&amd64->guest_RSP, buf, dir, size, mod); break; in transfer_register()
172 case 8: VG_(transfer) (&amd64->guest_R8, buf, dir, size, mod); break; in transfer_register()
173 case 9: VG_(transfer) (&amd64->guest_R9, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-x86.c131 case 0: VG_(transfer) (&x86->guest_EAX, buf, dir, size, mod); break; in transfer_register()
132 case 1: VG_(transfer) (&x86->guest_ECX, buf, dir, size, mod); break; in transfer_register()
133 case 2: VG_(transfer) (&x86->guest_EDX, buf, dir, size, mod); break; in transfer_register()
134 case 3: VG_(transfer) (&x86->guest_EBX, buf, dir, size, mod); break; in transfer_register()
135 case 4: VG_(transfer) (&x86->guest_ESP, buf, dir, size, mod); break; in transfer_register()
136 case 5: VG_(transfer) (&x86->guest_EBP, buf, dir, size, mod); break; in transfer_register()
137 case 6: VG_(transfer) (&x86->guest_ESI, buf, dir, size, mod); break; in transfer_register()
138 case 7: VG_(transfer) (&x86->guest_EDI, buf, dir, size, mod); break; in transfer_register()
139 case 8: VG_(transfer) (&x86->guest_EIP, buf, dir, size, mod); break; in transfer_register()
149 VG_(transfer) (&eflags, buf, dir, size, mod); break; in transfer_register()
[all …]
/external/dnsmasq/src/
Dtftp.c22 static void free_transfer(struct tftp_transfer *transfer);
25 static ssize_t get_block(char *packet, struct tftp_transfer *transfer);
52 struct tftp_transfer *transfer; in tftp_request() local
144 if (!(transfer = whine_malloc(sizeof(struct tftp_transfer)))) in tftp_request()
147 if ((transfer->sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) in tftp_request()
149 free(transfer); in tftp_request()
153 transfer->peer = peer; in tftp_request()
154 transfer->timeout = now + 2; in tftp_request()
155 transfer->backoff = 1; in tftp_request()
156 transfer->block = 1; in tftp_request()
[all …]
/external/libusb/libusb/
Dsync.c36 static void ctrl_transfer_cb(struct libusb_transfer *transfer) in ctrl_transfer_cb() argument
38 int *completed = transfer->user_data; in ctrl_transfer_cb()
40 usbi_dbg("actual_length=%d", transfer->actual_length); in ctrl_transfer_cb()
76 struct libusb_transfer *transfer = libusb_alloc_transfer(0); in libusb_control_transfer() local
81 if (!transfer) in libusb_control_transfer()
86 libusb_free_transfer(transfer); in libusb_control_transfer()
95 libusb_fill_control_transfer(transfer, dev_handle, buffer, in libusb_control_transfer()
97 transfer->flags = LIBUSB_TRANSFER_FREE_BUFFER; in libusb_control_transfer()
98 r = libusb_submit_transfer(transfer); in libusb_control_transfer()
100 libusb_free_transfer(transfer); in libusb_control_transfer()
[all …]
Dlibusb.h708 typedef void (*libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
834 struct libusb_transfer *transfer) in libusb_control_transfer_get_data() argument
836 return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in libusb_control_transfer_get_data()
852 struct libusb_transfer *transfer) in libusb_control_transfer_get_setup() argument
854 return (struct libusb_control_setup *) transfer->buffer; in libusb_control_transfer_get_setup()
892 int libusb_submit_transfer(struct libusb_transfer *transfer);
893 int libusb_cancel_transfer(struct libusb_transfer *transfer);
894 void libusb_free_transfer(struct libusb_transfer *transfer);
924 struct libusb_transfer *transfer, libusb_device_handle *dev_handle, in libusb_fill_control_transfer() argument
929 transfer->dev_handle = dev_handle; in libusb_fill_control_transfer()
[all …]
Dio.c1058 static int calculate_timeout(struct usbi_transfer *transfer) in calculate_timeout() argument
1063 __USBI_TRANSFER_TO_LIBUSB_TRANSFER(transfer)->timeout; in calculate_timeout()
1070 usbi_err(ITRANSFER_CTX(transfer), in calculate_timeout()
1083 TIMESPEC_TO_TIMEVAL(&transfer->timeout, &current_time); in calculate_timeout()
1090 static int add_to_flying_list(struct usbi_transfer *transfer) in add_to_flying_list() argument
1093 struct timeval *timeout = &transfer->timeout; in add_to_flying_list()
1094 struct libusb_context *ctx = ITRANSFER_CTX(transfer); in add_to_flying_list()
1102 list_add(&transfer->list, &ctx->flying_transfers); in add_to_flying_list()
1110 list_add_tail(&transfer->list, &ctx->flying_transfers); in add_to_flying_list()
1122 list_add_tail(&transfer->list, &cur->list); in add_to_flying_list()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer.c47 struct r600_transfer *transfer = util_slab_alloc(&rctx->pool_transfers); in r600_get_transfer() local
51 transfer->transfer.resource = resource; in r600_get_transfer()
52 transfer->transfer.level = level; in r600_get_transfer()
53 transfer->transfer.usage = usage; in r600_get_transfer()
54 transfer->transfer.box = *box; in r600_get_transfer()
55 transfer->transfer.stride = 0; in r600_get_transfer()
56 transfer->transfer.layer_stride = 0; in r600_get_transfer()
57 transfer->transfer.data = NULL; in r600_get_transfer()
58 transfer->staging = NULL; in r600_get_transfer()
59 transfer->offset = 0; in r600_get_transfer()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_transfer.c34 struct pipe_transfer transfer; member
45 r300_transfer(struct pipe_transfer* transfer) in r300_transfer() argument
47 return (struct r300_transfer*)transfer; in r300_transfer()
54 struct pipe_transfer *transfer = (struct pipe_transfer*)r300transfer; in r300_copy_from_tiled_texture() local
55 struct pipe_resource *tex = transfer->resource; in r300_copy_from_tiled_texture()
59 tex, transfer->level, &transfer->box); in r300_copy_from_tiled_texture()
66 struct pipe_transfer *transfer = (struct pipe_transfer*)r300transfer; in r300_copy_into_tiled_texture() local
67 struct pipe_resource *tex = transfer->resource; in r300_copy_into_tiled_texture()
69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box); in r300_copy_into_tiled_texture()
71 ctx->resource_copy_region(ctx, tex, transfer->level, in r300_copy_into_tiled_texture()
[all …]
Dr300_screen_buffer.c75 struct pipe_transfer *transfer = in r300_buffer_get_transfer() local
78 transfer->resource = resource; in r300_buffer_get_transfer()
79 transfer->level = level; in r300_buffer_get_transfer()
80 transfer->usage = usage; in r300_buffer_get_transfer()
81 transfer->box = *box; in r300_buffer_get_transfer()
82 transfer->stride = 0; in r300_buffer_get_transfer()
83 transfer->layer_stride = 0; in r300_buffer_get_transfer()
84 transfer->data = NULL; in r300_buffer_get_transfer()
89 return transfer; in r300_buffer_get_transfer()
93 struct pipe_transfer *transfer) in r300_buffer_transfer_destroy() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_transfer.c19 struct pipe_transfer *transfer = NULL; in u_default_transfer_inline_write() local
34 transfer = pipe->get_transfer(pipe, in u_default_transfer_inline_write()
39 if (transfer == NULL) in u_default_transfer_inline_write()
42 map = pipe_transfer_map(pipe, transfer); in u_default_transfer_inline_write()
59 transfer->stride, /* bytes */ in u_default_transfer_inline_write()
66 map += transfer->layer_stride; in u_default_transfer_inline_write()
73 pipe_transfer_unmap(pipe, transfer); in u_default_transfer_inline_write()
75 if (transfer) in u_default_transfer_inline_write()
76 pipe_transfer_destroy(pipe, transfer); in u_default_transfer_inline_write()
90 struct pipe_transfer *transfer, in u_default_transfer_flush_region() argument
[all …]
Du_resource.c38 struct pipe_transfer *transfer) in u_transfer_destroy_vtbl() argument
40 struct u_resource *ur = u_resource(transfer->resource); in u_transfer_destroy_vtbl()
41 ur->vtbl->transfer_destroy(pipe, transfer); in u_transfer_destroy_vtbl()
45 struct pipe_transfer *transfer ) in u_transfer_map_vtbl() argument
47 struct u_resource *ur = u_resource(transfer->resource); in u_transfer_map_vtbl()
48 return ur->vtbl->transfer_map(pipe, transfer); in u_transfer_map_vtbl()
52 struct pipe_transfer *transfer, in u_transfer_flush_region_vtbl() argument
55 struct u_resource *ur = u_resource(transfer->resource); in u_transfer_flush_region_vtbl()
56 ur->vtbl->transfer_flush_region(pipe, transfer, box); in u_transfer_flush_region_vtbl()
60 struct pipe_transfer *transfer ) in u_transfer_unmap_vtbl() argument
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c75 struct pipe_transfer *transfer; in svga_buffer_get_transfer() local
77 transfer = CALLOC_STRUCT(pipe_transfer); in svga_buffer_get_transfer()
78 if (transfer == NULL) { in svga_buffer_get_transfer()
82 transfer->resource = resource; in svga_buffer_get_transfer()
83 transfer->level = level; in svga_buffer_get_transfer()
84 transfer->usage = usage; in svga_buffer_get_transfer()
85 transfer->box = *box; in svga_buffer_get_transfer()
156 FREE(transfer); in svga_buffer_get_transfer()
183 FREE(transfer); in svga_buffer_get_transfer()
189 return transfer; in svga_buffer_get_transfer()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_buffer.c56 struct pipe_transfer *transfer = util_slab_alloc(&rctx->pool_transfers); in r600_get_transfer() local
58 transfer->resource = resource; in r600_get_transfer()
59 transfer->level = level; in r600_get_transfer()
60 transfer->usage = usage; in r600_get_transfer()
61 transfer->box = *box; in r600_get_transfer()
62 transfer->stride = 0; in r600_get_transfer()
63 transfer->layer_stride = 0; in r600_get_transfer()
64 transfer->data = NULL; in r600_get_transfer()
69 return transfer; in r600_get_transfer()
73 struct pipe_transfer *transfer) in r600_buffer_transfer_map() argument
[all …]
Dr600_texture.c42 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_to_staging_texture() local
43 struct pipe_resource *texture = transfer->resource; in r600_copy_to_staging_texture()
46 0, 0, 0, 0, texture, transfer->level, in r600_copy_to_staging_texture()
47 &transfer->box); in r600_copy_to_staging_texture()
54 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_from_staging_texture() local
55 struct pipe_resource *texture = transfer->resource; in r600_copy_from_staging_texture()
59 sbox.width = transfer->box.width; in r600_copy_from_staging_texture()
60 sbox.height = transfer->box.height; in r600_copy_from_staging_texture()
63 ctx->resource_copy_region(ctx, texture, transfer->level, in r600_copy_from_staging_texture()
64 transfer->box.x, transfer->box.y, transfer->box.z, in r600_copy_from_staging_texture()
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_mem_test.cc131 M::transfer(dest, src, size); in MemTransferOOBTestTemplate()
132 M::transfer(dest + 1, src, size - sizeof(T)); in MemTransferOOBTestTemplate()
133 M::transfer(dest, src + length - 1, sizeof(T)); in MemTransferOOBTestTemplate()
134 M::transfer(dest, src, 1); in MemTransferOOBTestTemplate()
137 M::transfer(dest - 1, src, 0); in MemTransferOOBTestTemplate()
138 M::transfer(dest + length, src, zero); in MemTransferOOBTestTemplate()
139 M::transfer(dest, src - 1, zero); in MemTransferOOBTestTemplate()
140 M::transfer(dest, src, zero); in MemTransferOOBTestTemplate()
143 EXPECT_DEATH(M::transfer(dest + 1, src, size), in MemTransferOOBTestTemplate()
145 EXPECT_DEATH(M::transfer((char*)(dest + length) - 1, src, 5), in MemTransferOOBTestTemplate()
[all …]
/external/libusb/libusb/os/
Ddarwin_usb.c1073 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_bulk_transfer() local
1074 …struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)transfer->dev_handle-… in submit_bulk_transfer()
1086 is_read = transfer->endpoint & LIBUSB_ENDPOINT_IN; in submit_bulk_transfer()
1088 if (ep_to_pipeRef (transfer->dev_handle, transfer->endpoint, &pipeRef, &iface) != 0) { in submit_bulk_transfer()
1089 usbi_err (TRANSFER_CTX (transfer), "endpoint not found on any open interface"); in submit_bulk_transfer()
1103 … ret = (*(cInterface->interface))->ReadPipeAsync(cInterface->interface, pipeRef, transfer->buffer, in submit_bulk_transfer()
1104 transfer->length, darwin_async_io_callback, itransfer); in submit_bulk_transfer()
1106 … ret = (*(cInterface->interface))->WritePipeAsync(cInterface->interface, pipeRef, transfer->buffer, in submit_bulk_transfer()
1107 transfer->length, darwin_async_io_callback, itransfer); in submit_bulk_transfer()
1110 …ret = (*(cInterface->interface))->ReadPipeAsyncTO(cInterface->interface, pipeRef, transfer->buffer, in submit_bulk_transfer()
[all …]
/external/libusb/examples/
Ddpfp.c152 static void cb_mode_changed(struct libusb_transfer *transfer) in cb_mode_changed() argument
154 if (transfer->status != LIBUSB_TRANSFER_COMPLETED) { in cb_mode_changed()
160 transfer->length, transfer->actual_length); in cb_mode_changed()
168 struct libusb_transfer *transfer; in set_mode_async() local
173 transfer = libusb_alloc_transfer(0); in set_mode_async()
174 if (!transfer) { in set_mode_async()
182 libusb_fill_control_transfer(transfer, devh, buf, cb_mode_changed, NULL, in set_mode_async()
185 transfer->flags = LIBUSB_TRANSFER_SHORT_NOT_OK in set_mode_async()
187 return libusb_submit_transfer(transfer); in set_mode_async()
279 static void cb_irq(struct libusb_transfer *transfer) in cb_irq() argument
[all …]

12345678910>>...32