Home
last modified time | relevance | path

Searched refs:dev_ctx (Results 1 – 25 of 36) sorted by relevance

12

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c56 dev_ctx = kmalloc(sizeof(*dev_ctx), GFP_KERNEL); in mlx4_add_device()
57 if (!dev_ctx) in mlx4_add_device()
60 dev_ctx->intf = intf; in mlx4_add_device()
63 if (dev_ctx->context) { in mlx4_add_device()
70 kfree(dev_ctx); in mlx4_add_device()
85 kfree(dev_ctx); in mlx4_remove_device()
168 dev_ctx->intf->remove(dev, dev_ctx->context); in mlx4_do_bond()
169 dev_ctx->context = dev_ctx->intf->add(dev); in mlx4_do_bond()
193 dev_ctx->intf->event(dev, dev_ctx->context, type, param); in mlx4_dispatch_event()
258 if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) { in mlx4_get_protocol_dev()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c56 dev_ctx = kmalloc(sizeof(*dev_ctx), GFP_KERNEL); in mlx4_add_device()
57 if (!dev_ctx) in mlx4_add_device()
60 dev_ctx->intf = intf; in mlx4_add_device()
63 if (dev_ctx->context) { in mlx4_add_device()
70 kfree(dev_ctx); in mlx4_add_device()
85 kfree(dev_ctx); in mlx4_remove_device()
168 dev_ctx->intf->remove(dev, dev_ctx->context); in mlx4_do_bond()
169 dev_ctx->context = dev_ctx->intf->add(dev); in mlx4_do_bond()
193 dev_ctx->intf->event(dev, dev_ctx->context, type, param); in mlx4_dispatch_event()
258 if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) { in mlx4_get_protocol_dev()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c56 dev_ctx = kmalloc(sizeof(*dev_ctx), GFP_KERNEL); in mlx4_add_device()
57 if (!dev_ctx) in mlx4_add_device()
60 dev_ctx->intf = intf; in mlx4_add_device()
63 if (dev_ctx->context) { in mlx4_add_device()
70 kfree(dev_ctx); in mlx4_add_device()
85 kfree(dev_ctx); in mlx4_remove_device()
168 dev_ctx->intf->remove(dev, dev_ctx->context); in mlx4_do_bond()
169 dev_ctx->context = dev_ctx->intf->add(dev); in mlx4_do_bond()
193 dev_ctx->intf->event(dev, dev_ctx->context, type, param); in mlx4_dispatch_event()
258 if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) { in mlx4_get_protocol_dev()
[all …]
/dports/audio/gtk-mixer/gtk-mixer-1.0.0/src/
H A Dplugin_oss3.c203 oss_dev_ctx_p dev_ctx; in oss_list_devs() local
216 if (NULL == dev_ctx) in oss_list_devs()
219 dev.priv = dev_ctx; in oss_list_devs()
285 oss_dev_ctx_p dev_ctx; in oss_dev_init() local
291 dev_ctx = dev->priv; in oss_dev_init()
333 free(dev_ctx); in oss_dev_init()
352 oss_dev_ctx_p dev_ctx; in oss_dev_is_default() local
357 dev_ctx = dev->priv; in oss_dev_is_default()
368 dev_ctx = dev->priv; in oss_dev_set_default()
384 dev_ctx = dev->priv; in oss_dev_line_read()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/cpp-package/example/
H A Dlenet_with_mxdataiter.cpp88 auto dev_ctx = Context::cpu(); in main() local
93 dev_ctx = Context::gpu(); in main()
103 args_map["data"] = NDArray(data_shape, dev_ctx); in main()
104 args_map["data_label"] = NDArray(label_shape, dev_ctx); in main()
105 lenet.InferArgsMap(dev_ctx, &args_map, args_map); in main()
107 args_map["fc1_w"] = NDArray(Shape(500, 4 * 4 * 50), dev_ctx); in main()
109 args_map["fc2_b"] = NDArray(Shape(10), dev_ctx); in main()
136 auto *exec = lenet.SimpleBind(dev_ctx, args_map); in main()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/cpp-package/example/
H A Dlenet_with_mxdataiter.cpp88 auto dev_ctx = Context::cpu(); in main() local
93 dev_ctx = Context::gpu(); in main()
103 args_map["data"] = NDArray(data_shape, dev_ctx); in main()
104 args_map["data_label"] = NDArray(label_shape, dev_ctx); in main()
105 lenet.InferArgsMap(dev_ctx, &args_map, args_map); in main()
107 args_map["fc1_w"] = NDArray(Shape(500, 4 * 4 * 50), dev_ctx); in main()
109 args_map["fc2_b"] = NDArray(Shape(10), dev_ctx); in main()
136 auto *exec = lenet.SimpleBind(dev_ctx, args_map); in main()
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/relay/
H A Dtest_pass_annotation.py371 dev_ctx = tvm.context(device)
376 _sqrt = relay.annotation.on_device(sqrt, dev_ctx)
380 _exp = relay.annotation.on_device(exp, dev_ctx)
414 dev_ctx = tvm.context(device)
418 _add = relay.annotation.on_device(add, dev_ctx)
422 _log = relay.annotation.on_device(log, dev_ctx)
426 _exp = relay.annotation.on_device(exp, dev_ctx)
442 dev_ctx = tvm.context(device)
514 dev_ctx = tvm.context(dev)
518 _add = relay.annotation.on_device(add, dev_ctx)
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/relay/
H A Dtest_pass_annotation.py371 dev_ctx = tvm.context(device)
376 _sqrt = relay.annotation.on_device(sqrt, dev_ctx)
380 _exp = relay.annotation.on_device(exp, dev_ctx)
414 dev_ctx = tvm.context(device)
418 _add = relay.annotation.on_device(add, dev_ctx)
422 _log = relay.annotation.on_device(log, dev_ctx)
426 _exp = relay.annotation.on_device(exp, dev_ctx)
442 dev_ctx = tvm.context(device)
514 dev_ctx = tvm.context(dev)
518 _add = relay.annotation.on_device(add, dev_ctx)
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/relay/
H A Dtest_pass_annotation.py396 dev_ctx = tvm.context(device)
401 _sqrt = relay.annotation.on_device(sqrt, dev_ctx)
405 _exp = relay.annotation.on_device(exp, dev_ctx)
445 dev_ctx = tvm.context(device)
449 _add = relay.annotation.on_device(add, dev_ctx)
453 _log = relay.annotation.on_device(log, dev_ctx)
457 _exp = relay.annotation.on_device(exp, dev_ctx)
476 dev_ctx = tvm.context(device)
556 dev_ctx = tvm.context(dev)
560 _add = relay.annotation.on_device(add, dev_ctx)
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dvdpau.c183 AVVDPAUDeviceContext *dev_ctx; in ff_vdpau_common_init() local
190 dev_ctx = frames_ctx->device_ctx->hwctx; in ff_vdpau_common_init()
192 vdctx->device = dev_ctx->device; in ff_vdpau_common_init()
193 vdctx->get_proc_address = dev_ctx->get_proc_address; in ff_vdpau_common_init()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dvdpau.c179 AVVDPAUDeviceContext *dev_ctx; in ff_vdpau_common_init() local
186 dev_ctx = frames_ctx->device_ctx->hwctx; in ff_vdpau_common_init()
188 vdctx->device = dev_ctx->device; in ff_vdpau_common_init()
189 vdctx->get_proc_address = dev_ctx->get_proc_address; in ff_vdpau_common_init()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dvdpau.c183 AVVDPAUDeviceContext *dev_ctx; in ff_vdpau_common_init() local
190 dev_ctx = frames_ctx->device_ctx->hwctx; in ff_vdpau_common_init()
192 vdctx->device = dev_ctx->device; in ff_vdpau_common_init()
193 vdctx->get_proc_address = dev_ctx->get_proc_address; in ff_vdpau_common_init()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dvdpau.c179 AVVDPAUDeviceContext *dev_ctx; in ff_vdpau_common_init() local
186 dev_ctx = frames_ctx->device_ctx->hwctx; in ff_vdpau_common_init()
188 vdctx->device = dev_ctx->device; in ff_vdpau_common_init()
189 vdctx->get_proc_address = dev_ctx->get_proc_address; in ff_vdpau_common_init()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dvdpau.c183 AVVDPAUDeviceContext *dev_ctx; in ff_vdpau_common_init() local
190 dev_ctx = frames_ctx->device_ctx->hwctx; in ff_vdpau_common_init()
192 vdctx->device = dev_ctx->device; in ff_vdpau_common_init()
193 vdctx->get_proc_address = dev_ctx->get_proc_address; in ff_vdpau_common_init()
/dports/security/opencryptoki/opencryptoki-3.11.0/usr/lib/ica_s390_stdll/
H A Dica_specific.c704 void *dev_ctx; in token_specific_sha() local
715 dev_ctx = ((CK_BYTE *) sc) + sc->dev_ctx_offs; in token_specific_sha()
725 sha_context_t *ica_sha_ctx = (sha_context_t *) dev_ctx; in token_specific_sha()
802 void *dev_ctx = ((CK_BYTE *) sc) + sc->dev_ctx_offs; in ica_sha_call() local
808 sha_context_t *ica_sha_ctx = (sha_context_t *) dev_ctx; in ica_sha_call()
819 sha256_context_t *ica_sha_ctx = (sha256_context_t *) dev_ctx; in ica_sha_call()
830 sha256_context_t *ica_sha_ctx = (sha256_context_t *) dev_ctx; in ica_sha_call()
841 sha512_context_t *ica_sha_ctx = (sha512_context_t *) dev_ctx; in ica_sha_call()
991 void *dev_ctx; in token_specific_sha_final() local
1002 dev_ctx = ((CK_BYTE *) sc) + sc->dev_ctx_offs; in token_specific_sha_final()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/ux500/cryp/
H A Dcryp_core.c89 struct cryp_device_context dev_ctx; member
403 cryp_restore_device_context(device_data, &ctx->dev_ctx); in cryp_setup_context()
406 control_register = ctx->dev_ctx.cr; in cryp_setup_context()
408 control_register = ctx->dev_ctx.cr; in cryp_setup_context()
682 &device_data->current_ctx->dev_ctx, in cryp_disable_power()
736 &device_data->current_ctx->dev_ctx); in cryp_enable_power()
800 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in hw_crypt_noxts()
861 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in ablk_dma_crypt()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/ux500/cryp/
H A Dcryp_core.c89 struct cryp_device_context dev_ctx; member
403 cryp_restore_device_context(device_data, &ctx->dev_ctx); in cryp_setup_context()
406 control_register = ctx->dev_ctx.cr; in cryp_setup_context()
408 control_register = ctx->dev_ctx.cr; in cryp_setup_context()
682 &device_data->current_ctx->dev_ctx, in cryp_disable_power()
736 &device_data->current_ctx->dev_ctx); in cryp_enable_power()
800 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in hw_crypt_noxts()
861 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in ablk_dma_crypt()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/ux500/cryp/
H A Dcryp_core.c89 struct cryp_device_context dev_ctx; member
403 cryp_restore_device_context(device_data, &ctx->dev_ctx); in cryp_setup_context()
406 control_register = ctx->dev_ctx.cr; in cryp_setup_context()
408 control_register = ctx->dev_ctx.cr; in cryp_setup_context()
682 &device_data->current_ctx->dev_ctx, in cryp_disable_power()
736 &device_data->current_ctx->dev_ctx); in cryp_enable_power()
800 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in hw_crypt_noxts()
861 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in ablk_dma_crypt()
/dports/devel/py-numba/numba-0.51.2/numba/roc/hlc/
H A Dlibhlc.py57 dev_ctx = devices.get_context()
58 target_cpu = dev_ctx.agent.name
H A Dhlc.py54 dev_ctx = devices.get_context()
55 target_cpu = dev_ctx.agent.name.decode('UTF-8')
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavutil/
H A Dhwcontext_vulkan.c2554 AVHWDeviceContext *dev_ctx = hwfc->device_ctx; in vulkan_transfer_data_from_mem() local
2590 err = create_buf(dev_ctx, &buf[i], p_height, in vulkan_transfer_data_from_mem()
2598 if ((err = map_buffers(dev_ctx, buf, tmp.data, planes, 0))) in vulkan_transfer_data_from_mem()
2604 if ((err = unmap_buffers(dev_ctx, buf, planes, 1))) in vulkan_transfer_data_from_mem()
2608 err = transfer_image_buf(dev_ctx, f, buf, tmp.linesize, in vulkan_transfer_data_from_mem()
2613 free_buf(dev_ctx, &buf[i]); in vulkan_transfer_data_from_mem()
2714 AVHWDeviceContext *dev_ctx = hwfc->device_ctx; in vulkan_transfer_data_to_mem() local
2745 err = create_buf(dev_ctx, &buf[i], p_height, in vulkan_transfer_data_to_mem()
2756 if ((err = map_buffers(dev_ctx, buf, tmp.data, planes, 1))) in vulkan_transfer_data_to_mem()
2762 err = unmap_buffers(dev_ctx, buf, planes, 0); in vulkan_transfer_data_to_mem()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v6.c43 mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_sys_init_cmd_v6()
H A Ds5p_mfc.c1535 .dev_ctx = MFC_CTX_BUF_SIZE_V6,
1564 .dev_ctx = MFC_CTX_BUF_SIZE_V7,
1588 .dev_ctx = MFC_CTX_BUF_SIZE_V8,
1622 .dev_ctx = MFC_CTX_BUF_SIZE_V10,
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v6.c43 mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_sys_init_cmd_v6()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v6.c43 mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_sys_init_cmd_v6()

12