Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 517) sorted by relevance

12345678910>>...21

/Linux-v5.15/drivers/mfd/
Dwm8350-irq.c35 int primary; member
43 .primary = WM8350_OC_INT,
49 .primary = WM8350_UV_INT,
54 .primary = WM8350_UV_INT,
59 .primary = WM8350_UV_INT,
64 .primary = WM8350_UV_INT,
69 .primary = WM8350_UV_INT,
74 .primary = WM8350_UV_INT,
79 .primary = WM8350_UV_INT,
84 .primary = WM8350_UV_INT,
[all …]
Dwm831x-irq.c26 int primary; member
33 .primary = WM831X_TEMP_INT,
38 .primary = WM831X_GP_INT,
43 .primary = WM831X_GP_INT,
48 .primary = WM831X_GP_INT,
53 .primary = WM831X_GP_INT,
58 .primary = WM831X_GP_INT,
63 .primary = WM831X_GP_INT,
68 .primary = WM831X_GP_INT,
73 .primary = WM831X_GP_INT,
[all …]
/Linux-v5.15/sound/soc/intel/skylake/
Dskl-sst-ipc.c305 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg()
333 header->primary); in skl_ipc_reply_get_msg()
350 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
351 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
354 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
359 header.primary); in skl_ipc_process_notification()
382 header.primary); in skl_ipc_process_notification()
437 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply()
453 dev_dbg(ipc->dev, "ipc FW reply %x: success\n", header.primary); in skl_ipc_process_reply()
456 switch (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_reply()
[all …]
/Linux-v5.15/drivers/gpu/drm/mga/
Dmga_dma.c78 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() local
84 primary->tail = 0; in mga_do_dma_reset()
85 primary->space = primary->size; in mga_do_dma_reset()
86 primary->last_flush = 0; in mga_do_dma_reset()
105 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush() local
120 if (primary->tail == primary->last_flush) { in mga_do_dma_flush()
125 tail = primary->tail + dev_priv->primary->offset; in mga_do_dma_flush()
139 primary->last_flush = primary->tail; in mga_do_dma_flush()
144 primary->space = primary->size - primary->tail; in mga_do_dma_flush()
146 primary->space = head - tail; in mga_do_dma_flush()
[all …]
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_dp_mst.c27 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl() argument
31 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_be_cntl()
37 reg = RREG32(NI_DIG_BE_CNTL + primary->offset); in radeon_dp_mst_set_be_cntl()
49 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
50 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
59 DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); in radeon_dp_mst_set_be_cntl()
64 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib() argument
69 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib()
78 temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); in radeon_dp_mst_set_stream_attrib()
88 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DP_MSE_SAT0 + satreg + primary->offset, temp); in radeon_dp_mst_set_stream_attrib()
[all …]
/Linux-v5.15/drivers/gpu/drm/
Ddrm_modeset_helper.c112 struct drm_plane *primary; in create_primary_plane() local
115 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in create_primary_plane()
116 if (primary == NULL) { in create_primary_plane()
125 primary->format_default = true; in create_primary_plane()
128 ret = drm_universal_plane_init(dev, primary, 0, in create_primary_plane()
135 kfree(primary); in create_primary_plane()
136 primary = NULL; in create_primary_plane()
139 return primary; in create_primary_plane()
172 struct drm_plane *primary; in drm_crtc_init() local
174 primary = create_primary_plane(dev); in drm_crtc_init()
[all …]
Ddrm_crtc.c246 struct drm_plane *primary, in __drm_crtc_init_with_planes() argument
254 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in __drm_crtc_init_with_planes()
297 crtc->primary = primary; in __drm_crtc_init_with_planes()
299 if (primary && !primary->possible_crtcs) in __drm_crtc_init_with_planes()
300 primary->possible_crtcs = drm_crtc_mask(crtc); in __drm_crtc_init_with_planes()
352 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
363 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in drm_crtc_init_with_planes()
381 struct drm_plane *primary, in __drmm_crtc_alloc_with_planes() argument
401 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in __drmm_crtc_alloc_with_planes()
481 plane = crtc->primary; in drm_mode_getcrtc()
[all …]
/Linux-v5.15/drivers/gpu/drm/v3d/
Dv3d_trace.h26 __entry->dev = dev->primary->index;
52 __entry->dev = dev->primary->index;
78 __entry->dev = dev->primary->index;
98 __entry->dev = dev->primary->index;
118 __entry->dev = dev->primary->index;
138 __entry->dev = dev->primary->index;
157 __entry->dev = dev->primary->index;
177 __entry->dev = dev->primary->index;
197 __entry->dev = dev->primary->index;
219 __entry->dev = dev->primary->index;
[all …]
/Linux-v5.15/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c213 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane() local
216 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in fsl_dcu_drm_primary_create_plane()
217 if (!primary) { in fsl_dcu_drm_primary_create_plane()
223 ret = drm_universal_plane_init(dev, primary, 0, in fsl_dcu_drm_primary_create_plane()
229 kfree(primary); in fsl_dcu_drm_primary_create_plane()
230 primary = NULL; in fsl_dcu_drm_primary_create_plane()
232 drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs); in fsl_dcu_drm_primary_create_plane()
234 return primary; in fsl_dcu_drm_primary_create_plane()
Dfsl_dcu_drm_crtc.c172 struct drm_plane *primary; in fsl_dcu_drm_crtc_create() local
178 primary = fsl_dcu_drm_primary_create_plane(fsl_dev->drm); in fsl_dcu_drm_crtc_create()
179 if (!primary) in fsl_dcu_drm_crtc_create()
182 ret = drm_crtc_init_with_planes(fsl_dev->drm, crtc, primary, NULL, in fsl_dcu_drm_crtc_create()
185 primary->funcs->destroy(primary); in fsl_dcu_drm_crtc_create()
/Linux-v5.15/drivers/mtd/chips/
Dgen_probe.c200 int primary) in cfi_cmdset_unknown() argument
203 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in cfi_cmdset_unknown()
222 mtd = (*probe_function)(map, primary); in cfi_cmdset_unknown()
233 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set() argument
236 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in check_cmd_set()
248 return cfi_cmdset_0001(map, primary); in check_cmd_set()
254 return cfi_cmdset_0002(map, primary); in check_cmd_set()
258 return cfi_cmdset_0020(map, primary); in check_cmd_set()
261 return cfi_cmdset_unknown(map, primary); in check_cmd_set()
/Linux-v5.15/Documentation/virt/
Dne_overview.rst16 application then runs in a separate VM than the primary VM, namely an enclave.
20 memory and CPUs, are carved out of the primary VM. Each enclave is mapped to a
21 process running in the primary VM, that communicates with the NE driver via an
26 1. An enclave abstraction process - a user space process running in the primary
30 There is a NE emulated PCI device exposed to the primary VM. The driver for this
36 hypervisor running on the host where the primary VM is running. The Nitro
39 2. The enclave itself - a VM running on the same host as the primary VM that
40 spawned it. Memory and CPUs are carved out of the primary VM and are dedicated
43 The memory regions carved out of the primary VM and given to an enclave need to
50 available for the primary VM. A CPU pool has to be set for NE purposes by an
[all …]
/Linux-v5.15/arch/um/drivers/
Dchan_kern.c22 static int not_configged_open(int input, int output, int primary, void *data, in not_configged_open() argument
93 else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary, in open_one_chan()
119 if (chan->primary) in open_chan()
127 if (chan && chan->primary && chan->ops->winch) in chan_enable_winch()
151 if (chan->primary) in enable_chan()
259 if (chan->primary) { in write_chan()
273 if (chan->primary) in console_write_chan()
297 if (chan && chan->primary) { in chan_window_size()
304 if (chan && chan->primary) { in chan_window_size()
322 if (chan->primary && chan->output) in free_one_chan()
[all …]
/Linux-v5.15/drivers/gpu/drm/vkms/
Dvkms_output.c42 struct vkms_plane *primary, *cursor = NULL, *overlay = NULL; in vkms_output_init() local
46 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); in vkms_output_init()
47 if (IS_ERR(primary)) in vkms_output_init()
48 return PTR_ERR(primary); in vkms_output_init()
65 ret = vkms_crtc_init(dev, crtc, &primary->base, &cursor->base); in vkms_output_init()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c215 struct ieee80211_chanctx_conf *primary; member
257 swap(data->primary, data->secondary); in iwl_mvm_bt_coex_tcm_based_ci()
333 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
334 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
341 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
349 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
350 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
356 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
367 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
368 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dext-ctrls-colorimetry.rst65 primary component c of the mastering display in increments of 0.00002.
68 primary, c equal to 1 corresponds to Blue primary and c equal to 2
69 corresponds to the Red color primary.
73 primary component c of the mastering display in increments of 0.00002.
76 primary, c equal to 1 corresponds to Blue primary and c equal to 2
77 corresponds to Red color primary.
/Linux-v5.15/include/drm/
Ddrm_aperture.h16 bool primary, const struct drm_driver *req_driver);
33 drm_aperture_remove_framebuffers(bool primary, const struct drm_driver *req_driver) in drm_aperture_remove_framebuffers() argument
35 return drm_aperture_remove_conflicting_framebuffers(0, (resource_size_t)-1, primary, in drm_aperture_remove_framebuffers()
/Linux-v5.15/arch/powerpc/platforms/85xx/
Dsmp.c280 int primary = nr; in smp_85xx_kick_cpu() local
293 primary = cpu_first_thread_sibling(nr); in smp_85xx_kick_cpu()
302 if (cpu_online(primary)) { in smp_85xx_kick_cpu()
303 smp_call_function_single(primary, in smp_85xx_kick_cpu()
306 } else if (cpu_online(primary + 1)) { in smp_85xx_kick_cpu()
307 smp_call_function_single(primary + 1, in smp_85xx_kick_cpu()
331 ret = smp_85xx_start_cpu(primary); in smp_85xx_kick_cpu()
/Linux-v5.15/drivers/sh/intc/
Dcore.c80 unsigned int data[2], primary; in intc_register_irq() local
98 primary = 0; in intc_register_irq()
100 primary = 1; in intc_register_irq()
109 if (!data[primary]) in intc_register_irq()
110 primary ^= 1; in intc_register_irq()
112 BUG_ON(!data[primary]); /* must have primary masking method */ in intc_register_irq()
119 irq_set_chip_data(irq, (void *)data[primary]); in intc_register_irq()
127 if (data[!primary]) in intc_register_irq()
128 _intc_enable(irq_data, data[!primary]); in intc_register_irq()
136 if (primary) { in intc_register_irq()
/Linux-v5.15/drivers/gpu/drm/sti/
Dsti_compositor.c68 struct drm_plane *primary = NULL; in sti_compositor_bind() local
122 primary = sti_gdp_create(drm_dev, compo->dev, in sti_compositor_bind()
127 if (!primary) { in sti_compositor_bind()
138 if (crtc_id < mixer_id && primary) { in sti_compositor_bind()
140 primary, cursor); in sti_compositor_bind()
143 primary = NULL; in sti_compositor_bind()
/Linux-v5.15/drivers/gpu/drm/kmb/
Dkmb_crtc.c233 struct kmb_plane *primary; in kmb_setup_crtc() local
236 primary = kmb_plane_init(drm); in kmb_setup_crtc()
237 if (IS_ERR(primary)) in kmb_setup_crtc()
238 return PTR_ERR(primary); in kmb_setup_crtc()
240 ret = drm_crtc_init_with_planes(drm, &kmb->crtc, &primary->base_plane, in kmb_setup_crtc()
243 kmb_plane_destroy(&primary->base_plane); in kmb_setup_crtc()
/Linux-v5.15/net/sctp/
Dproc.c82 union sctp_addr *addr, *primary = NULL; in sctp_seq_dump_local_addrs() local
94 primary = &peer->saddr; in sctp_seq_dump_local_addrs()
104 if (primary && af->cmp_addr(addr, primary)) { in sctp_seq_dump_local_addrs()
116 union sctp_addr *addr, *primary; in sctp_seq_dump_remote_addrs() local
119 primary = &assoc->peer.primary_addr; in sctp_seq_dump_remote_addrs()
125 if (af->cmp_addr(addr, primary)) { in sctp_seq_dump_remote_addrs()
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_32_mmu.c95 bool primary) in kvmppc_mmu_book3s_32_get_pteg() argument
105 if (!primary) in kvmppc_mmu_book3s_32_get_pteg()
121 static u32 kvmppc_mmu_book3s_32_get_ptem(u32 sre, gva_t eaddr, bool primary) in kvmppc_mmu_book3s_32_get_ptem() argument
124 (primary ? 0 : 0x40) | 0x80000000; in kvmppc_mmu_book3s_32_get_ptem()
184 bool iswrite, bool primary) in kvmppc_mmu_book3s_32_xlate_pte() argument
201 ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu, sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
207 ptem = kvmppc_mmu_book3s_32_get_ptem(sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_32_mmu_host.c107 bool primary) in kvmppc_mmu_get_pteg() argument
115 if (!primary) in kvmppc_mmu_get_pteg()
141 bool primary = false; in kvmppc_mmu_map_page() local
171 primary = !primary; in kvmppc_mmu_map_page()
176 pteg = kvmppc_mmu_get_pteg(vcpu, vsid, eaddr, primary); in kvmppc_mmu_map_page()
195 (primary ? 0 : PTE_SEC); in kvmppc_mmu_map_page()
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c99 fb = crtc->primary->state->fb; in vmw_ldu_commit_list()
108 fb = entry->base.crtc.primary->state->fb; in vmw_ldu_commit_list()
366 struct drm_plane *primary, *cursor; in vmw_ldu_init() local
378 primary = &ldu->base.primary; in vmw_ldu_init()
395 ret = drm_universal_plane_init(dev, &ldu->base.primary, in vmw_ldu_init()
405 drm_plane_helper_add(primary, &vmw_ldu_primary_plane_helper_funcs); in vmw_ldu_init()
419 drm_plane_cleanup(&ldu->base.primary); in vmw_ldu_init()
454 dev, crtc, &ldu->base.primary, in vmw_ldu_init()

12345678910>>...21