/linux/drivers/mfd/ |
A D | wm8350-irq.c | 35 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 …]
|
A D | wm831x-irq.c | 26 int primary; member 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, 459 if (primary < 0) { in wm831x_irq_thread() 461 primary); in wm831x_irq_thread() [all …]
|
/linux/sound/soc/intel/skylake/ |
A D | skl-sst-ipc.c | 333 header->primary); in skl_ipc_reply_get_msg() 359 header.primary); in skl_ipc_process_notification() 382 header.primary); in skl_ipc_process_notification() 527 header.primary = hipct; in skl_dsp_irq_thread_handler() 530 header.primary); in skl_dsp_irq_thread_handler() 697 header.primary |= IPC_PPL_STATE(state); in skl_ipc_set_pipeline_state() 777 header.primary, header.extension); in skl_ipc_set_dx() 817 header.primary, header.extension); in skl_ipc_init_instance() 943 header.primary, header.extension); in skl_ipc_set_large_config() 1026 header.primary |= IPC_MOD_ID(dma_id); in skl_sst_ipc_load_library() [all …]
|
/linux/drivers/gpu/drm/mga/ |
A D | mga_dma.c | 84 primary->tail = 0; in mga_do_dma_reset() 85 primary->space = primary->size; in mga_do_dma_reset() 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() 173 tail = primary->tail + dev_priv->primary->offset; in mga_do_dma_wrap_start() 175 primary->tail = 0; in mga_do_dma_wrap_start() 177 primary->last_wrap++; in mga_do_dma_wrap_start() 182 primary->space = primary->size; in mga_do_dma_wrap_start() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_dp_mst.c | 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() 50 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl() 69 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib() 113 struct radeon_encoder *primary) in radeon_dp_mst_update_stream_attribs() argument 383 primary = mst_enc->primary; in radeon_mst_encoder_dpms() 385 dig_enc = primary->enc_priv; in radeon_mst_encoder_dpms() 498 mst_enc->primary->active_device = mst_enc->primary->devices & mst_enc->connector->devices; in radeon_mst_mode_fixup() 500 mst_enc->primary->active_device, mst_enc->primary->devices, in radeon_mst_mode_fixup() 531 primary = mst_enc->primary; in radeon_mst_encoder_prepare() [all …]
|
/linux/drivers/gpu/drm/ |
A D | drm_modeset_helper.c | 112 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 …]
|
A D | drm_crtc.c | 246 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() 352 struct drm_plane *primary, in drm_crtc_init_with_planes() argument 381 struct drm_plane *primary, in __drmm_crtc_alloc_with_planes() argument 481 plane = crtc->primary; in drm_mode_getcrtc() 542 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal() 551 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal() 558 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal() [all …]
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_trace.h | 26 __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/drivers/gpu/drm/fsl-dcu/ |
A D | fsl_dcu_drm_plane.c | 213 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()
|
A D | fsl_dcu_drm_crtc.c | 172 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/Documentation/virt/ |
A D | ne_overview.rst | 16 application then runs in a separate VM than the primary VM, namely an enclave. 24 carved out of the primary VM. Each enclave is mapped to a process running in the 25 primary VM, that communicates with the NE kernel driver via an ioctl interface. 29 1. An enclave abstraction process - a user space process running in the primary 39 hypervisor running on the host where the primary VM is running. The Nitro 42 2. The enclave itself - a VM running on the same host as the primary VM that 43 spawned it. Memory and CPUs are carved out of the primary VM and are dedicated 53 available for the primary VM. A CPU pool has to be set for NE purposes by an 58 using virtio-vsock [5]. The primary VM has virtio-pci vsock emulated device, 85 used to check in the primary VM that the enclave has booted. The CID of the [all …]
|
/linux/drivers/mtd/chips/ |
A D | gen_probe.c | 200 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/arch/um/drivers/ |
A D | chan_kern.c | 119 if (chan->primary) in open_chan() 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() 389 if (in && !in->primary) in chan_config_string() 391 if (out && !out->primary) in chan_config_string() 477 .primary = 1, in parse_chan() 559 if (chan->primary) { in chan_interrupt() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | coex.c | 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() 373 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | ext-ctrls-colorimetry.rst | 65 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/drivers/gpu/drm/vkms/ |
A D | vkms_output.c | 42 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/include/drm/ |
A D | drm_aperture.h | 16 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/drivers/sh/intc/ |
A D | core.c | 80 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/arch/powerpc/platforms/85xx/ |
A D | smp.c | 280 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/drivers/gpu/drm/sti/ |
A D | sti_compositor.c | 68 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/drivers/gpu/drm/kmb/ |
A D | kmb_crtc.c | 233 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/net/sctp/ |
A D | proc.c | 82 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/arch/powerpc/kvm/ |
A D | book3s_32_mmu_host.c | 107 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()
|
A D | book3s_32_mmu.c | 95 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()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ldu.c | 99 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()
|