Home
last modified time | relevance | path

Searched refs:contexts (Results 1 – 25 of 100) sorted by relevance

1234

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dmock_context.c53 ret = ida_simple_get(&i915->contexts.hw_ida, in mock_context()
88 INIT_LIST_HEAD(&i915->contexts.list); in mock_init_contexts()
89 ida_init(&i915->contexts.hw_ida); in mock_init_contexts()
91 INIT_WORK(&i915->contexts.free_work, contexts_free_worker); in mock_init_contexts()
92 init_llist_head(&i915->contexts.free_list); in mock_init_contexts()
Di915_vma.c104 struct list_head *contexts) in create_vmas() argument
112 list_for_each_entry(ctx, contexts, link) { in create_vmas()
150 LIST_HEAD(contexts); in igt_vma_create()
175 list_move(&ctx->link, &contexts); in igt_vma_create()
178 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
188 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
196 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
198 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
Di915_live_selftests.h22 selftest(contexts, i915_gem_context_live_selftests)
Di915_mock_selftests.h27 selftest(contexts, i915_gem_context_mock_selftests)
/Linux-v4.19/scripts/selinux/
Dinstall_policy.sh26 mkdir -p /etc/selinux/dummy/contexts/files
28 cp file_contexts /etc/selinux/dummy/contexts/files
29 cp dbus_contexts /etc/selinux/dummy/contexts
31 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts
57 cd /etc/selinux/dummy/contexts/files
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c629 priv->contexts[i].ctxid = i; in iwl_init_context()
631 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context()
632 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context()
633 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context()
634 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context()
635 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context()
636 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context()
637 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context()
638 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context()
639 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context()
[all …]
Drxon.c321 priv->contexts[IWL_RXON_CTX_BSS].vif && in iwl_send_rxon_timing()
322 priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { in iwl_send_rxon_timing()
324 priv->contexts[IWL_RXON_CTX_BSS].timing.beacon_interval; in iwl_send_rxon_timing()
328 priv->contexts[IWL_RXON_CTX_PAN].vif && in iwl_send_rxon_timing()
329 priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && in iwl_send_rxon_timing()
333 priv->contexts[IWL_RXON_CTX_PAN].timing.beacon_interval; in iwl_send_rxon_timing()
407 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_set_tx_power()
543 ctx_bss = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_set_pan_params()
544 ctx_pan = &priv->contexts[IWL_RXON_CTX_PAN]; in iwlagn_set_pan_params()
911 struct iwl_rxon_context *ctx = &priv->contexts[ctxid]; in iwl_print_rx_config_cmd()
Ddev.h742 struct iwl_rxon_context contexts[NUM_IWL_RXON_CTX]; member
925 for (ctx = &priv->contexts[IWL_RXON_CTX_BSS]; \
926 ctx < &priv->contexts[NUM_IWL_RXON_CTX]; ctx++) \
937 return iwl_is_associated_ctx(&priv->contexts[ctxid]); in iwl_is_associated()
Dmac80211.c357 if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif) in iwlagn_mac_set_rekey_data()
377 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_suspend()
441 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_resume()
540 if (resume_data.valid && priv->contexts[IWL_RXON_CTX_BSS].vif) { in iwlagn_mac_resume()
980 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_channel_switch()
1054 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_chswitch_done()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-ocxl8 What: /sys/class/ocxl/<afu name>/contexts
12 Number of contexts for the AFU, in the format <n>/<max>
14 n: number of currently active contexts, for debug
15 max: maximum number of contexts supported by the AFU
Dsysfs-class-cxl7 Slave contexts (eg. /sys/class/cxl/afu0.0s):
63 provided that no user contexts are attached.
87 contexts active on the AFU.
147 Master contexts (eg. /sys/class/cxl/afu0.0m)
154 by userspace. This includes all slave contexts space also.
226 contexts active on any one of the card AFUs. This may cause
229 contexts on the card AFUs.
Dgpio-cdev23 Stops and free up the I/O contexts that was associated
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dgang.c50 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang()
70 gang->contexts++; in spu_gang_add_ctx()
83 gang->contexts--; in spu_gang_remove_ctx()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_context.c139 ida_simple_remove(&ctx->i915->contexts.hw_ida, ctx->hw_id); in i915_gem_context_free()
145 struct llist_node *freed = llist_del_all(&i915->contexts.free_list); in contexts_free()
161 freed = llist_del_first(&i915->contexts.free_list); in contexts_free_first()
172 container_of(work, typeof(*i915), contexts.free_work); in contexts_free_worker()
185 if (llist_add(&ctx->free_link, &i915->contexts.free_list)) in i915_gem_context_release()
186 queue_work(i915->wq, &i915->contexts.free_work); in i915_gem_context_release()
225 ret = ida_simple_get(&dev_priv->contexts.hw_ida, in assign_hw_id()
233 ret = ida_simple_get(&dev_priv->contexts.hw_ida, in assign_hw_id()
286 list_add_tail(&ctx->link, &dev_priv->contexts.list); in __create_hw_context()
483 INIT_LIST_HEAD(&dev_priv->contexts.list); in i915_gem_contexts_init()
[all …]
/Linux-v4.19/net/6lowpan/
Ddebugfs.c286 struct dentry *contexts, *dentry; in lowpan_dev_debugfs_init() local
294 contexts = debugfs_create_dir("contexts", ldev->iface_debugfs); in lowpan_dev_debugfs_init()
295 if (!contexts) in lowpan_dev_debugfs_init()
298 dentry = debugfs_create_file("show", 0644, contexts, in lowpan_dev_debugfs_init()
305 ret = lowpan_dev_debugfs_ctx_init(dev, contexts, i); in lowpan_dev_debugfs_init()
/Linux-v4.19/Documentation/powerpc/
Dcxl.txt84 When using AFU directed mode, up to 16K simultaneous contexts can
135 context. Master contexts have access to the full MMIO space an
136 AFU provides. Slave contexts have access to only the per process
142 that the AFU provides (like master contexts in AFU directed).
162 An AFU directed mode AFU can have many contexts, the device can be
165 When all available contexts are allocated the open call will fail
169 the number of contexts that can be created, and therefore
173 contexts can be allocated. If 4 IRQs are needed per context,
174 then only 2037/4 = 509 contexts can be allocated.
245 In AFU directed mode, master contexts are allowed to map all of
[all …]
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_csi2.c258 struct iss_csi2_ctx_cfg *ctx = &csi2->contexts[0]; in csi2_set_outaddr()
287 struct iss_csi2_ctx_cfg *ctx = &csi2->contexts[ctxnum]; in csi2_ctx_enable()
542 if (csi2->contexts[0].enabled || csi2->ctrl.if_enable) in csi2_configure()
572 csi2->contexts[0].format_id = csi2_ctx_map_format(csi2); in csi2_configure()
575 csi2->contexts[0].data_offset = 0; in csi2_configure()
577 csi2->contexts[0].data_offset = csi2->video_out.bpl_value; in csi2_configure()
586 csi2->contexts[0].eof_enabled = 1; in csi2_configure()
587 csi2->contexts[0].eol_enabled = 1; in csi2_configure()
596 csi2_ctx_config(csi2, &csi2->contexts[0]); in csi2_configure()
784 csi2_isr_ctx(csi2, &csi2->contexts[0]); in omap4iss_csi2_isr()
Diss_csi2.h143 struct iss_csi2_ctx_cfg contexts[ISS_CSI2_MAX_CTX_NUM + 1]; member
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispcsi2.c223 struct isp_csi2_ctx_cfg *ctx = &csi2->contexts[0]; in csi2_set_outaddr()
253 struct isp_csi2_ctx_cfg *ctx = &csi2->contexts[ctxnum]; in csi2_ctx_enable()
564 if (csi2->contexts[0].enabled || csi2->ctrl.if_enable) in csi2_configure()
600 csi2->contexts[0].format_id = csi2_ctx_map_format(csi2); in csi2_configure()
603 csi2->contexts[0].data_offset = 0; in csi2_configure()
605 csi2->contexts[0].data_offset = csi2->video_out.bpl_value; in csi2_configure()
614 csi2->contexts[0].eof_enabled = 1; in csi2_configure()
615 csi2->contexts[0].eol_enabled = 1; in csi2_configure()
624 csi2_ctx_config(isp, csi2, &csi2->contexts[0]); in csi2_configure()
786 csi2_isr_ctx(csi2, &csi2->contexts[0]); in omap3isp_csi2_isr()
Dispcsi2.h140 struct isp_csi2_ctx_cfg contexts[ISP_CSI2_MAX_CTX_NUM + 1]; member
/Linux-v4.19/drivers/gpu/drm/tegra/
Ddrm.c32 struct idr contexts; member
245 idr_init(&fpriv->contexts); in tegra_drm_open()
581 err = idr_alloc(&fpriv->contexts, context, 1, 0, GFP_KERNEL); in tegra_client_open()
636 context = idr_find(&fpriv->contexts, args->context); in tegra_close_channel()
642 idr_remove(&fpriv->contexts, context->id); in tegra_close_channel()
661 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt()
690 context = idr_find(&fpriv->contexts, args->context); in tegra_submit()
715 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt_base()
941 idr_for_each(&fpriv->contexts, tegra_drm_context_cleanup, NULL); in tegra_drm_postclose()
944 idr_destroy(&fpriv->contexts); in tegra_drm_postclose()
/Linux-v4.19/Documentation/devicetree/bindings/interrupt-controller/
Dsifive,plic-1.0.0.txt7 hart contexts in the system, via the external interrupt source in each hart.
37 - interrupts-extended : Specifies which contexts are connected to the PLIC,
/Linux-v4.19/Documentation/leds/
Dleds-lp3944.txt34 The chip is used mainly in embedded contexts, so this driver expects it is
/Linux-v4.19/drivers/misc/ocxl/
Dsysfs.c51 __ATTR_RO(contexts),
/Linux-v4.19/Documentation/driver-api/firmware/
Drequest_firmware.rst45 in atomic contexts.

1234