/Linux-v4.19/drivers/mfd/ |
D | wm8350-irq.c | 40 int primary; member 48 .primary = WM8350_OC_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, 89 .primary = WM8350_UV_INT, [all …]
|
D | wm831x-irq.c | 31 int primary; member 38 .primary = WM831X_TEMP_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, 78 .primary = WM831X_GP_INT, [all …]
|
/Linux-v4.19/sound/soc/intel/skylake/ |
D | skl-sst-ipc.c | 311 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg() 339 header->primary); in skl_ipc_reply_get_msg() 355 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification() 356 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification() 359 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification() 364 header.primary); in skl_ipc_process_notification() 387 header.primary); in skl_ipc_process_notification() 413 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply() 428 dev_dbg(ipc->dev, "ipc FW reply %x: success\n", header.primary); in skl_ipc_process_reply() 431 switch (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_reply() [all …]
|
/Linux-v4.19/drivers/gpu/drm/mga/ |
D | mga_dma.c | 78 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-v4.19/drivers/gpu/drm/ |
D | drm_modeset_helper.c | 110 struct drm_plane *primary; in create_primary_plane() local 113 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in create_primary_plane() 114 if (primary == NULL) { in create_primary_plane() 123 primary->format_default = true; in create_primary_plane() 126 ret = drm_universal_plane_init(dev, primary, 0, in create_primary_plane() 133 kfree(primary); in create_primary_plane() 134 primary = NULL; in create_primary_plane() 137 return primary; in create_primary_plane() 155 struct drm_plane *primary; in drm_crtc_init() local 157 primary = create_primary_plane(dev); in drm_crtc_init() [all …]
|
D | drm_crtc.c | 267 struct drm_plane *primary, in drm_crtc_init_with_planes() argument 275 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes() 322 crtc->primary = primary; in drm_crtc_init_with_planes() 324 if (primary && !primary->possible_crtcs) in drm_crtc_init_with_planes() 325 primary->possible_crtcs = drm_crtc_mask(crtc); in drm_crtc_init_with_planes() 411 plane = crtc->primary; in drm_mode_getcrtc() 472 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal() 481 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal() 488 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal() 541 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport() [all …]
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_dp_mst.c | 26 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl() argument 30 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_be_cntl() 36 reg = RREG32(NI_DIG_BE_CNTL + primary->offset); in radeon_dp_mst_set_be_cntl() 48 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl() 49 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl() 58 DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); in radeon_dp_mst_set_be_cntl() 63 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib() argument 68 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib() 77 temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); in radeon_dp_mst_set_stream_attrib() 87 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-v4.19/drivers/ide/ |
D | ide-generic.c | 43 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()
|
/Linux-v4.19/drivers/gpu/drm/vkms/ |
D | vkms_output.c | 52 struct drm_plane *primary; in vkms_output_init() local 55 primary = vkms_plane_init(vkmsdev); in vkms_output_init() 56 if (IS_ERR(primary)) in vkms_output_init() 57 return PTR_ERR(primary); in vkms_output_init() 59 ret = vkms_crtc_init(dev, crtc, primary, NULL); in vkms_output_init() 109 drm_plane_cleanup(primary); in vkms_output_init()
|
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/ |
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()
|
D | fsl_dcu_drm_crtc.c | 178 struct drm_plane *primary; in fsl_dcu_drm_crtc_create() local 184 primary = fsl_dcu_drm_primary_create_plane(fsl_dev->drm); in fsl_dcu_drm_crtc_create() 185 if (!primary) in fsl_dcu_drm_crtc_create() 188 ret = drm_crtc_init_with_planes(fsl_dev->drm, crtc, primary, NULL, in fsl_dcu_drm_crtc_create() 191 primary->funcs->destroy(primary); in fsl_dcu_drm_crtc_create()
|
/Linux-v4.19/drivers/mtd/chips/ |
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-v4.19/drivers/hv/ |
D | channel_mgmt.c | 607 struct vmbus_channel *primary = channel->primary_channel; in init_vp_index() local 631 if ((channel->affinity_policy == HV_BALANCED) || (!primary)) { in init_vp_index() 643 primary = channel; in init_vp_index() 645 alloced_mask = &hv_context.hv_numa_map[primary->numa_node]; in init_vp_index() 648 cpumask_weight(cpumask_of_node(primary->numa_node))) { in init_vp_index() 657 cpumask_of_node(primary->numa_node)); in init_vp_index() 661 if (primary->affinity_policy == HV_LOCALIZED) { in init_vp_index() 668 if (cpumask_equal(&primary->alloced_cpus_in_node, in init_vp_index() 669 cpumask_of_node(primary->numa_node))) in init_vp_index() 670 cpumask_clear(&primary->alloced_cpus_in_node); in init_vp_index() [all …]
|
/Linux-v4.19/arch/um/drivers/ |
D | chan_kern.c | 22 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() 229 if (chan->primary) { in write_chan() 245 if (chan->primary) in console_write_chan() 269 if (chan && chan->primary) { in chan_window_size() 276 if (chan && chan->primary) { in chan_window_size() 294 if (chan->primary && chan->output) in free_one_chan() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | coex.c | 279 struct ieee80211_chanctx_conf *primary; member 321 swap(data->primary, data->secondary); in iwl_mvm_bt_coex_tcm_based_ci() 392 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator() 393 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() 400 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator() 408 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator() 409 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() 415 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator() 426 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator() 427 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator() [all …]
|
/Linux-v4.19/drivers/gpu/drm/arc/ |
D | arcpgu_crtc.c | 38 const struct drm_framebuffer *fb = crtc->primary->state->fb; in arc_pgu_set_pxl_fmt() 232 struct drm_plane *primary; in arc_pgu_setup_crtc() local 235 primary = arc_pgu_plane_init(drm); in arc_pgu_setup_crtc() 236 if (IS_ERR(primary)) in arc_pgu_setup_crtc() 237 return PTR_ERR(primary); in arc_pgu_setup_crtc() 239 ret = drm_crtc_init_with_planes(drm, &arcpgu->crtc, primary, NULL, in arc_pgu_setup_crtc() 242 arc_pgu_plane_destroy(primary); in arc_pgu_setup_crtc()
|
/Linux-v4.19/arch/powerpc/platforms/85xx/ |
D | smp.c | 275 int primary = nr; in smp_85xx_kick_cpu() local 288 primary = cpu_first_thread_sibling(nr); in smp_85xx_kick_cpu() 297 if (cpu_online(primary)) { in smp_85xx_kick_cpu() 298 smp_call_function_single(primary, in smp_85xx_kick_cpu() 301 } else if (cpu_online(primary + 1)) { in smp_85xx_kick_cpu() 302 smp_call_function_single(primary + 1, in smp_85xx_kick_cpu() 326 ret = smp_85xx_start_cpu(primary); in smp_85xx_kick_cpu()
|
/Linux-v4.19/drivers/sh/intc/ |
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-v4.19/drivers/gpu/drm/virtio/ |
D | virtgpu_drm_bus.c | 34 bool primary; in virtio_pci_kick_out_firmware_fb() local 43 primary = pci_dev->resource[PCI_ROM_RESOURCE].flags in virtio_pci_kick_out_firmware_fb() 46 drm_fb_helper_remove_conflicting_framebuffers(ap, "virtiodrmfb", primary); in virtio_pci_kick_out_firmware_fb()
|
/Linux-v4.19/drivers/gpu/drm/sti/ |
D | sti_compositor.c | 67 struct drm_plane *primary = NULL; in sti_compositor_bind() local 121 primary = sti_gdp_create(drm_dev, compo->dev, in sti_compositor_bind() 126 if (!primary) { in sti_compositor_bind() 137 if (crtc_id < mixer_id && primary) { in sti_compositor_bind() 139 primary, cursor); in sti_compositor_bind() 142 primary = NULL; in sti_compositor_bind()
|
/Linux-v4.19/net/sctp/ |
D | proc.c | 97 union sctp_addr *addr, *primary = NULL; in sctp_seq_dump_local_addrs() local 109 primary = &peer->saddr; in sctp_seq_dump_local_addrs() 119 if (primary && af->cmp_addr(addr, primary)) { in sctp_seq_dump_local_addrs() 131 union sctp_addr *addr, *primary; in sctp_seq_dump_remote_addrs() local 134 primary = &assoc->peer.primary_addr; in sctp_seq_dump_remote_addrs() 140 if (af->cmp_addr(addr, primary)) { in sctp_seq_dump_remote_addrs()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ldu.c | 98 fb = entry->base.crtc.primary->state->fb; in vmw_ldu_commit_list() 107 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 vmw_du_plane_reset(primary); in vmw_ldu_init() 392 ret = drm_universal_plane_init(dev, &ldu->base.primary, in vmw_ldu_init() 402 drm_plane_helper_add(primary, &vmw_ldu_primary_plane_helper_funcs); in vmw_ldu_init() 414 drm_plane_cleanup(&ldu->base.primary); in vmw_ldu_init() 453 ret = drm_crtc_init_with_planes(dev, crtc, &ldu->base.primary, in vmw_ldu_init()
|
/Linux-v4.19/drivers/gpu/drm/v3d/ |
D | v3d_trace.h | 30 __entry->dev = dev->primary->index; 54 __entry->dev = dev->primary->index; 70 __entry->dev = dev->primary->index;
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_32_mmu.c | 111 bool primary) in kvmppc_mmu_book3s_32_get_pteg() argument 121 if (!primary) in kvmppc_mmu_book3s_32_get_pteg() 137 static u32 kvmppc_mmu_book3s_32_get_ptem(u32 sre, gva_t eaddr, bool primary) in kvmppc_mmu_book3s_32_get_ptem() argument 140 (primary ? 0 : 0x40) | 0x80000000; in kvmppc_mmu_book3s_32_get_ptem() 200 bool iswrite, bool primary) in kvmppc_mmu_book3s_32_xlate_pte() argument 217 ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu, sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte() 223 ptem = kvmppc_mmu_book3s_32_get_ptem(sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
|
D | book3s_32_mmu_host.c | 119 bool primary) in kvmppc_mmu_get_pteg() argument 127 if (!primary) in kvmppc_mmu_get_pteg() 153 bool primary = false; in kvmppc_mmu_map_page() local 183 primary = !primary; in kvmppc_mmu_map_page() 188 pteg = kvmppc_mmu_get_pteg(vcpu, vsid, eaddr, primary); in kvmppc_mmu_map_page() 207 (primary ? 0 : PTE_SEC); in kvmppc_mmu_map_page()
|