Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c254 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
262 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes()
309 crtc->primary = primary; in drm_crtc_init_with_planes()
311 if (primary && !primary->possible_crtcs) in drm_crtc_init_with_planes()
312 primary->possible_crtcs = drm_crtc_mask(crtc); in drm_crtc_init_with_planes()
400 plane = crtc->primary; in drm_mode_getcrtc()
461 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
470 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal()
477 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
530 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_dp_mst.c28 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl() argument
32 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_be_cntl()
38 reg = RREG32(NI_DIG_BE_CNTL + primary->offset); in radeon_dp_mst_set_be_cntl()
50 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
51 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
60 DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); in radeon_dp_mst_set_be_cntl()
65 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib() argument
70 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib()
79 temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); in radeon_dp_mst_set_stream_attrib()
89 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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-generic.c43 static void ide_generic_check_pci_legacy_iobases(int *primary, int *secondary) in ide_generic_check_pci_legacy_iobases() argument
51 *primary = 1; in ide_generic_check_pci_legacy_iobases()
59 *primary = *secondary = 1; in ide_generic_check_pci_legacy_iobases()
70 *primary = 1; in ide_generic_check_pci_legacy_iobases()
81 int i, rc = 0, primary = 0, secondary = 0; in ide_generic_init() local
83 ide_generic_check_pci_legacy_iobases(&primary, &secondary); in ide_generic_init()
89 if (primary == 0) in ide_generic_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c209 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane() local
212 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in fsl_dcu_drm_primary_create_plane()
213 if (!primary) { in fsl_dcu_drm_primary_create_plane()
219 ret = drm_universal_plane_init(dev, primary, 0, in fsl_dcu_drm_primary_create_plane()
225 kfree(primary); in fsl_dcu_drm_primary_create_plane()
226 primary = NULL; in fsl_dcu_drm_primary_create_plane()
228 drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs); in fsl_dcu_drm_primary_create_plane()
230 return primary; in fsl_dcu_drm_primary_create_plane()
Dfsl_dcu_drm_crtc.c170 struct drm_plane *primary; in fsl_dcu_drm_crtc_create() local
176 primary = fsl_dcu_drm_primary_create_plane(fsl_dev->drm); in fsl_dcu_drm_crtc_create()
177 if (!primary) in fsl_dcu_drm_crtc_create()
180 ret = drm_crtc_init_with_planes(fsl_dev->drm, crtc, primary, NULL, in fsl_dcu_drm_crtc_create()
183 primary->funcs->destroy(primary); in fsl_dcu_drm_crtc_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_output.c42 struct drm_plane *primary, *cursor = NULL; in vkms_output_init() local
45 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); in vkms_output_init()
46 if (IS_ERR(primary)) in vkms_output_init()
47 return PTR_ERR(primary); in vkms_output_init()
57 ret = vkms_crtc_init(dev, crtc, primary, cursor); in vkms_output_init()
105 drm_plane_cleanup(primary); in vkms_output_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c270 struct ieee80211_chanctx_conf *primary; member
312 swap(data->primary, data->secondary); in iwl_mvm_bt_coex_tcm_based_ci()
388 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
389 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
396 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
404 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
405 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
411 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
422 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
423 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/arc/
Darcpgu_crtc.c31 const struct drm_framebuffer *fb = crtc->primary->state->fb; in arc_pgu_set_pxl_fmt()
206 struct drm_plane *primary; in arc_pgu_setup_crtc() local
209 primary = arc_pgu_plane_init(drm); in arc_pgu_setup_crtc()
210 if (IS_ERR(primary)) in arc_pgu_setup_crtc()
211 return PTR_ERR(primary); in arc_pgu_setup_crtc()
213 ret = drm_crtc_init_with_planes(drm, &arcpgu->crtc, primary, NULL, in arc_pgu_setup_crtc()
216 arc_pgu_plane_destroy(primary); in arc_pgu_setup_crtc()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
361 struct drm_plane *primary, *cursor; in vmw_ldu_init() local
373 primary = &ldu->base.primary; in vmw_ldu_init()
390 ret = drm_universal_plane_init(dev, &ldu->base.primary, in vmw_ldu_init()
400 drm_plane_helper_add(primary, &vmw_ldu_primary_plane_helper_funcs); in vmw_ldu_init()
410 drm_plane_cleanup(&ldu->base.primary); in vmw_ldu_init()
443 ret = drm_crtc_init_with_planes(dev, crtc, &ldu->base.primary, in vmw_ldu_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Drenesas,drif.txt28 two, one of them needs to act as a primary device that accepts common
30 property called "renesas,primary-bond".
34 the zeroth channel is selected as primary-bond. This channels accepts
37 "renesas,bonding" or "renesas,primary-bond" will have no effect. That
64 - If it acts as primary among enabled bonds
68 - renesas,primary-bond: empty property indicating the channel acts as primary
108 renesas,primary-bond;

12345678910>>...20