/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 63 struct mlx5_fc_bulk *bulk; member 222 if (counter->bulk) in mlx5_fc_release() 476 static void mlx5_fc_init(struct mlx5_fc *counter, struct mlx5_fc_bulk *bulk, in mlx5_fc_init() argument 479 counter->bulk = bulk; in mlx5_fc_init() 483 static int mlx5_fc_bulk_get_free_fcs_amount(struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_get_free_fcs_amount() argument 485 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount() 491 struct mlx5_fc_bulk *bulk; in mlx5_fc_bulk_create() local 500 bulk = kvzalloc(sizeof(*bulk) + bulk_len * sizeof(struct mlx5_fc), in mlx5_fc_bulk_create() 502 if (!bulk) in mlx5_fc_bulk_create() 505 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create() [all …]
|
/drivers/staging/vc04_services/vchiq-mmal/ |
D | mmal-vchiq.c | 149 } bulk; /* bulk data */ member 256 container_of(work, struct mmal_msg_context, u.bulk.work); in buffer_work_cb() 257 struct mmal_buffer *buffer = msg_context->u.bulk.buffer; in buffer_work_cb() 265 buffer->length = msg_context->u.bulk.buffer_used; in buffer_work_cb() 266 buffer->mmal_flags = msg_context->u.bulk.mmal_flags; in buffer_work_cb() 267 buffer->dts = msg_context->u.bulk.dts; in buffer_work_cb() 268 buffer->pts = msg_context->u.bulk.pts; in buffer_work_cb() 270 atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu); in buffer_work_cb() 272 msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance, in buffer_work_cb() 273 msg_context->u.bulk.port, in buffer_work_cb() [all …]
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.c | 1320 get_bulk_reason(struct vchiq_bulk *bulk) in get_bulk_reason() argument 1322 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in get_bulk_reason() 1323 if (bulk->actual == VCHIQ_BULK_ACTUAL_ABORTED) in get_bulk_reason() 1329 if (bulk->actual == VCHIQ_BULK_ACTUAL_ABORTED) in get_bulk_reason() 1351 struct vchiq_bulk *bulk = in notify_bulks() local 1358 if (bulk->data && service->instance) { in notify_bulks() 1359 if (bulk->actual != VCHIQ_BULK_ACTUAL_ABORTED) { in notify_bulks() 1360 if (bulk->dir == VCHIQ_BULK_TRANSMIT) { in notify_bulks() 1365 bulk->actual); in notify_bulks() 1371 bulk->actual); in notify_bulks() [all …]
|
D | vchiq_arm.c | 559 vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset, in vchiq_prepare_bulk_data() argument 572 bulk->data = pagelistinfo->dma_addr; in vchiq_prepare_bulk_data() 578 bulk->remote_data = pagelistinfo; in vchiq_prepare_bulk_data() 584 vchiq_complete_bulk(struct vchiq_bulk *bulk) in vchiq_complete_bulk() argument 586 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk() 587 free_pagelist((struct vchiq_pagelist_info *)bulk->remote_data, in vchiq_complete_bulk() 588 bulk->actual); in vchiq_complete_bulk() 900 struct vchiq_bulk *bulk = waiter->bulk_waiter.bulk; in vchiq_blocking_bulk_transfer() local 902 if (bulk) { in vchiq_blocking_bulk_transfer() 905 if ((bulk->data != (dma_addr_t)(uintptr_t)data) || in vchiq_blocking_bulk_transfer() [all …]
|
D | vchiq_core.h | 437 struct vchiq_bulk *bulk; member 575 vchiq_prepare_bulk_data(struct vchiq_bulk *bulk, void *offset, 579 vchiq_complete_bulk(struct vchiq_bulk *bulk);
|
/drivers/media/usb/uvc/ |
D | uvc_video.c | 1261 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data() 1450 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk() 1455 stream->bulk.payload_size += len; in uvc_video_decode_bulk() 1460 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk() 1469 stream->bulk.skip_payload = 1; in uvc_video_decode_bulk() 1471 memcpy(stream->bulk.header, mem, ret); in uvc_video_decode_bulk() 1472 stream->bulk.header_size = ret; in uvc_video_decode_bulk() 1487 if (!stream->bulk.skip_payload && buf != NULL) in uvc_video_decode_bulk() 1494 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk() 1495 if (!stream->bulk.skip_payload && buf != NULL) { in uvc_video_decode_bulk() [all …]
|
/drivers/remoteproc/ |
D | qcom_wcnss.c | 421 struct regulator_bulk_data *bulk; in wcnss_init_regulators() local 435 bulk = devm_kcalloc(wcnss->dev, in wcnss_init_regulators() 438 if (!bulk) in wcnss_init_regulators() 442 bulk[i].supply = info[i].name; in wcnss_init_regulators() 444 ret = devm_regulator_bulk_get(wcnss->dev, num_vregs, bulk); in wcnss_init_regulators() 450 regulator_set_voltage(bulk[i].consumer, in wcnss_init_regulators() 455 regulator_set_load(bulk[i].consumer, info[i].load_uA); in wcnss_init_regulators() 458 wcnss->vregs = bulk; in wcnss_init_regulators()
|
/drivers/media/usb/dvb-usb-v2/ |
D | usb_urb.c | 155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs() 260 buf_size = stream->props.u.bulk.buffersize; in usb_urb_reconfig() 281 props->u.bulk.buffersize == in usb_urb_reconfig() 282 stream->props.u.bulk.buffersize) in usb_urb_reconfig() 326 stream->props.u.bulk.buffersize); in usb_urb_initv2()
|
D | dvb_usb.h | 70 .bulk = { \ 155 } bulk; member
|
/drivers/media/usb/dvb-usb/ |
D | dtt200u.c | 199 .bulk = { 251 .bulk = { 303 .bulk = { 355 .bulk = {
|
D | dibusb-mb.c | 203 .bulk = { 293 .bulk = { 362 .bulk = { 424 .bulk = {
|
D | cxusb.c | 482 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video() 1786 .bulk = { 1838 .bulk = { 1897 .bulk = { 1965 .bulk = { 2024 .bulk = { 2076 .bulk = { 2130 .bulk = { 2187 .bulk = { 2241 .bulk = { [all …]
|
D | m920x.c | 954 .bulk = { 1002 .bulk = { 1065 .bulk = { 1089 .bulk = { 1131 .bulk = { 1242 .bulk = {
|
D | dw2102.c | 2006 .bulk = { 2061 .bulk = { 2113 .bulk = { 2160 .bulk = { 2207 .bulk = { 2254 .bulk = { 2309 .bulk = { 2358 .bulk = { 2439 .bulk = { 2492 .bulk = { [all …]
|
D | usb-urb.c | 143 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init() 158 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
|
D | dibusb-mc.c | 73 .bulk = {
|
D | a800.c | 108 .bulk = {
|
D | dib0700_core.c | 568 dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 188*nb_packet_buffer_size; in dib0700_download_firmware() 572 …dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = ((188*nb_packet_buffer_size+… in dib0700_download_firmware() 573 if (dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize < 512) in dib0700_download_firmware() 574 dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 512; in dib0700_download_firmware()
|
/drivers/usb/core/ |
D | devio.c | 1270 struct usbdevfs_bulktransfer *bulk) in do_proc_bulk() argument 1279 ret = findintfep(ps->dev, bulk->ep); in do_proc_bulk() 1286 len1 = bulk->len; in do_proc_bulk() 1290 if (bulk->ep & USB_DIR_IN) in do_proc_bulk() 1291 pipe = usb_rcvbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk() 1293 pipe = usb_sndbulkpipe(dev, bulk->ep & 0x7f); in do_proc_bulk() 1322 tmo = bulk->timeout; in do_proc_bulk() 1323 if (bulk->ep & 0x80) { in do_proc_bulk() 1332 if (copy_to_user(bulk->data, tbuf, len2)) { in do_proc_bulk() 1339 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk() [all …]
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 92 struct ttm_lru_bulk_move *bulk) in ttm_bo_move_to_lru_tail() argument 114 if (bulk && !bo->pin_count) { in ttm_bo_move_to_lru_tail() 117 ttm_bo_bulk_move_set_pos(&bulk->tt[bo->priority], bo); in ttm_bo_move_to_lru_tail() 121 ttm_bo_bulk_move_set_pos(&bulk->vram[bo->priority], bo); in ttm_bo_move_to_lru_tail() 128 void ttm_bo_bulk_move_lru_tail(struct ttm_lru_bulk_move *bulk) in ttm_bo_bulk_move_lru_tail() argument 133 struct ttm_lru_bulk_move_pos *pos = &bulk->tt[i]; in ttm_bo_bulk_move_lru_tail() 148 struct ttm_lru_bulk_move_pos *pos = &bulk->vram[i]; in ttm_bo_bulk_move_lru_tail()
|
/drivers/interconnect/ |
D | Makefile | 4 icc-core-objs := core.o bulk.o
|
/drivers/iio/magnetometer/ |
D | ak8974.c | 210 __le16 bulk; in ak8974_get_u16_val() local 212 ret = regmap_bulk_read(ak8974->map, reg, &bulk, 2); in ak8974_get_u16_val() 215 *val = le16_to_cpu(bulk); in ak8974_get_u16_val() 222 __le16 bulk = cpu_to_le16(val); in ak8974_set_u16_val() local 224 return regmap_bulk_write(ak8974->map, reg, &bulk, 2); in ak8974_set_u16_val()
|
/drivers/bluetooth/ |
D | hci_qca.c | 1996 struct regulator_bulk_data *bulk; in qca_init_regulators() local 2000 bulk = devm_kcalloc(qca->dev, num_vregs, sizeof(*bulk), GFP_KERNEL); in qca_init_regulators() 2001 if (!bulk) in qca_init_regulators() 2005 bulk[i].supply = vregs[i].name; in qca_init_regulators() 2007 ret = devm_regulator_bulk_get(qca->dev, num_vregs, bulk); in qca_init_regulators() 2012 ret = regulator_set_load(bulk[i].consumer, vregs[i].load_uA); in qca_init_regulators() 2017 qca->vreg_bulk = bulk; in qca_init_regulators()
|
/drivers/scsi/ |
D | imm.c | 633 int fast, bulk, status; in imm_completion() local 636 bulk = ((v == READ_6) || in imm_completion() 669 fast = (bulk in imm_completion() 674 fast = (bulk in imm_completion()
|
/drivers/gpu/drm/msm/ |
D | msm_drv.c | 91 struct clk *msm_clk_bulk_get_clock(struct clk_bulk_data *bulk, int count, in msm_clk_bulk_get_clock() argument 99 for (i = 0; bulk && i < count; i++) { in msm_clk_bulk_get_clock() 100 if (!strcmp(bulk[i].id, name) || !strcmp(bulk[i].id, n)) in msm_clk_bulk_get_clock() 101 return bulk[i].clk; in msm_clk_bulk_get_clock()
|