Home
last modified time | relevance | path

Searched refs:bulk (Results 1 – 25 of 71) sorted by relevance

123

/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_kern_lib.c409 VCHIQ_BULK_T *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
410 if (bulk) { in vchiq_blocking_bulk_transfer()
412 if ((bulk->data != data) || in vchiq_blocking_bulk_transfer()
413 (bulk->size != size)) { in vchiq_blocking_bulk_transfer()
418 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
437 !waiter->bulk_waiter.bulk) { in vchiq_blocking_bulk_transfer()
438 VCHIQ_BULK_T *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local
439 if (bulk) { in vchiq_blocking_bulk_transfer()
443 bulk->userdata = NULL; in vchiq_blocking_bulk_transfer()
Dvchiq_core.c1172 VCHIQ_BULK_T *bulk = in notify_bulks() local
1174 int msgtype = (bulk->dir == VCHIQ_BULK_TRANSMIT) ? in notify_bulks()
1178 VCHIQ_ELEMENT_T element = { &bulk->actual, 4 }; in notify_bulks()
1180 if (bulk->remote_data) { in notify_bulks()
1194 VCHIQ_BULK_T *bulk = in notify_bulks() local
1199 if (bulk->data && service->instance) { in notify_bulks()
1200 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks()
1201 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in notify_bulks()
1206 bulk->actual); in notify_bulks()
1212 bulk->actual); in notify_bulks()
[all …]
Dvchiq_2835_arm.c240 vchiq_prepare_bulk_data(VCHIQ_BULK_T *bulk, VCHI_MEM_HANDLE_T memhandle, in vchiq_prepare_bulk_data() argument
257 bulk->handle = memhandle; in vchiq_prepare_bulk_data()
258 bulk->data = VCHIQ_ARM_ADDRESS(pagelist); in vchiq_prepare_bulk_data()
262 bulk->remote_data = pagelist; in vchiq_prepare_bulk_data()
268 vchiq_complete_bulk(VCHIQ_BULK_T *bulk) in vchiq_complete_bulk() argument
270 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
271 free_pagelist((PAGELIST_T *)bulk->remote_data, bulk->actual); in vchiq_complete_bulk()
275 vchiq_transfer_bulk(VCHIQ_BULK_T *bulk) in vchiq_transfer_bulk() argument
Dvchiq_core.h513 VCHIQ_BULK_T *bulk; member
627 vchiq_prepare_bulk_data(VCHIQ_BULK_T *bulk,
631 vchiq_transfer_bulk(VCHIQ_BULK_T *bulk);
634 vchiq_complete_bulk(VCHIQ_BULK_T *bulk);
/drivers/staging/lustre/lnet/selftest/
Dbrw_test.c50 struct srpc_bulk *bulk; in brw_client_fini() local
56 bulk = tsu->tsu_private; in brw_client_fini()
57 if (!bulk) in brw_client_fini()
60 srpc_free_bulk(bulk); in brw_client_fini()
73 struct srpc_bulk *bulk; in brw_client_init() local
116 bulk = srpc_alloc_bulk(lnet_cpt_of_nid(tsu->tsu_dest.nid), in brw_client_init()
118 if (!bulk) { in brw_client_init()
123 tsu->tsu_private = bulk; in brw_client_init()
256 struct srpc_bulk *bulk = tsu->tsu_private; in brw_client_prep_rpc() local
268 LASSERT(bulk); in brw_client_prep_rpc()
[all …]
Dconrpc.c149 struct srpc_bulk *bulk = &crpc->crp_rpc->crpc_bulk; in lstcon_rpc_put() local
154 for (i = 0; i < bulk->bk_niov; i++) { in lstcon_rpc_put()
155 if (!bulk->bk_iovs[i].bv_page) in lstcon_rpc_put()
158 __free_page(bulk->bk_iovs[i].bv_page); in lstcon_rpc_put()
811 struct srpc_bulk *bulk; in lstcon_testrpc_prep() local
840 bulk = &(*crpc)->crp_rpc->crpc_bulk; in lstcon_testrpc_prep()
852 bulk->bk_iovs[i].bv_offset = 0; in lstcon_testrpc_prep()
853 bulk->bk_iovs[i].bv_len = len; in lstcon_testrpc_prep()
854 bulk->bk_iovs[i].bv_page = alloc_page(GFP_KERNEL); in lstcon_testrpc_prep()
856 if (!bulk->bk_iovs[i].bv_page) { in lstcon_testrpc_prep()
[all …]
Dframework.c698 struct test_bulk_req *bulk = &req->tsr_u.bulk_v0; in sfw_unpack_addtest_req() local
700 __swab32s(&bulk->blk_opc); in sfw_unpack_addtest_req()
701 __swab32s(&bulk->blk_npg); in sfw_unpack_addtest_req()
702 __swab32s(&bulk->blk_flags); in sfw_unpack_addtest_req()
705 struct test_bulk_req_v1 *bulk = &req->tsr_u.bulk_v1; in sfw_unpack_addtest_req() local
707 __swab16s(&bulk->blk_opc); in sfw_unpack_addtest_req()
708 __swab16s(&bulk->blk_flags); in sfw_unpack_addtest_req()
709 __swab32s(&bulk->blk_offset); in sfw_unpack_addtest_req()
710 __swab32s(&bulk->blk_len); in sfw_unpack_addtest_req()
/drivers/media/usb/uvc/
Duvc_video.c1134 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data()
1217 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk()
1222 stream->bulk.payload_size += len; in uvc_video_decode_bulk()
1227 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk()
1237 stream->bulk.skip_payload = 1; in uvc_video_decode_bulk()
1239 memcpy(stream->bulk.header, mem, ret); in uvc_video_decode_bulk()
1240 stream->bulk.header_size = ret; in uvc_video_decode_bulk()
1253 if (!stream->bulk.skip_payload && buf != NULL) in uvc_video_decode_bulk()
1260 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk()
1261 if (!stream->bulk.skip_payload && buf != NULL) { in uvc_video_decode_bulk()
[all …]
/drivers/remoteproc/
Dqcom_wcnss.c402 struct regulator_bulk_data *bulk; in wcnss_init_regulators() local
406 bulk = devm_kcalloc(wcnss->dev, in wcnss_init_regulators()
409 if (!bulk) in wcnss_init_regulators()
413 bulk[i].supply = info[i].name; in wcnss_init_regulators()
415 ret = devm_regulator_bulk_get(wcnss->dev, num_vregs, bulk); in wcnss_init_regulators()
421 regulator_set_voltage(bulk[i].consumer, in wcnss_init_regulators()
426 regulator_set_load(bulk[i].consumer, info[i].load_uA); in wcnss_init_regulators()
429 wcnss->vregs = bulk; in wcnss_init_regulators()
/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c72 char *bulk, *alg; in sptlrpc_parse_flavor() local
83 bulk = strchr(buf, '-'); in sptlrpc_parse_flavor()
84 if (bulk) in sptlrpc_parse_flavor()
85 *bulk++ = '\0'; in sptlrpc_parse_flavor()
96 if (bulk) { in sptlrpc_parse_flavor()
100 alg = strchr(bulk, ':'); in sptlrpc_parse_flavor()
105 if (strcmp(bulk, "hash")) in sptlrpc_parse_flavor()
118 if (bulk) in sptlrpc_parse_flavor()
/drivers/media/usb/dvb-usb/
Ddtt200u.c202 .bulk = {
254 .bulk = {
306 .bulk = {
358 .bulk = {
Ddibusb-mb.c206 .bulk = {
296 .bulk = {
365 .bulk = {
427 .bulk = {
Dcxusb.c400 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video()
1638 .bulk = {
1687 .bulk = {
1743 .bulk = {
1808 .bulk = {
1863 .bulk = {
1914 .bulk = {
1967 .bulk = {
2022 .bulk = {
2074 .bulk = {
[all …]
Dm920x.c953 .bulk = {
1001 .bulk = {
1064 .bulk = {
1088 .bulk = {
1130 .bulk = {
1241 .bulk = {
Dusb-urb.c142 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init()
157 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
Ddibusb-mc.c76 .bulk = {
Ddib0700_core.c560 dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 188*nb_packet_buffer_size; in dib0700_download_firmware()
564 …dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = ((188*nb_packet_buffer_size+… in dib0700_download_firmware()
565 if (dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize < 512) in dib0700_download_firmware()
566 dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 512; in dib0700_download_firmware()
Dumt-010.c115 .bulk = {
Da800.c147 .bulk = {
/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c154 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
269 buf_size = stream->props.u.bulk.buffersize; in usb_urb_reconfig()
290 props->u.bulk.buffersize == in usb_urb_reconfig()
291 stream->props.u.bulk.buffersize) in usb_urb_reconfig()
335 stream->props.u.bulk.buffersize); in usb_urb_initv2()
Ddvb_usb.h83 .bulk = { \
164 } bulk; member
/drivers/usb/core/
Ddevio.c1169 struct usbdevfs_bulktransfer bulk; in proc_bulk() local
1175 if (copy_from_user(&bulk, arg, sizeof(bulk))) in proc_bulk()
1177 ret = findintfep(ps->dev, bulk.ep); in proc_bulk()
1183 if (bulk.ep & USB_DIR_IN) in proc_bulk()
1184 pipe = usb_rcvbulkpipe(dev, bulk.ep & 0x7f); in proc_bulk()
1186 pipe = usb_sndbulkpipe(dev, bulk.ep & 0x7f); in proc_bulk()
1187 if (!usb_maxpacket(dev, pipe, !(bulk.ep & USB_DIR_IN))) in proc_bulk()
1189 len1 = bulk.len; in proc_bulk()
1200 tmo = bulk.timeout; in proc_bulk()
1201 if (bulk.ep & 0x80) { in proc_bulk()
[all …]
/drivers/iio/magnetometer/
Dak8974.c398 u16 bulk; in ak8974_get_u16_val() local
400 ret = regmap_bulk_read(ak8974->map, reg, &bulk, 2); in ak8974_get_u16_val()
403 *val = le16_to_cpu(bulk); in ak8974_get_u16_val()
/drivers/scsi/
Dimm.c632 int fast, bulk, status; in imm_completion() local
635 bulk = ((v == READ_6) || in imm_completion()
668 fast = (bulk in imm_completion()
673 fast = (bulk in imm_completion()
/drivers/usb/gadget/udc/
DKconfig143 # if there's only one gadget driver, using only two bulk endpoints,
270 it provides 4 IN and 4 OUT endpoints (bulk or interrupt type).
346 The device controller has three configurable (bulk or interrupt)
365 This driver supports both control transfer and bulk transfer modes.
385 endpoints(bulk or interrupt or isochronous), as well as

123