Home
last modified time | relevance | path

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

12345678910>>...27

/linux/drivers/mfd/
A 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 …]
A Dwm831x-irq.c26 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/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dsd.c21 bool primary; member
60 return primary; in mlx5_sd_primary_get_peer()
65 sd = mlx5_get_sd(primary); in mlx5_sd_primary_get_peer()
237 primary = dev; in sd_register()
240 primary = peer; in sd_register()
243 primary_sd->primary = true; in sd_register()
250 peer_sd->primary = false; in sd_register()
469 sd_print_group(primary); in mlx5_sd_init()
477 sd_cmd_unset_primary(primary); in mlx5_sd_init()
501 sd_cmd_unset_primary(primary); in mlx5_sd_cleanup()
[all …]
A Dsd.h11 struct mlx5_core_dev *mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx);
22 #define mlx5_sd_for_each_dev_from_to(i, primary, ix_from, to, pos) \ argument
24 (pos = mlx5_sd_primary_get_peer(primary, i)) && pos != (to); i++)
26 #define mlx5_sd_for_each_dev(i, primary, pos) \ argument
27 mlx5_sd_for_each_dev_from_to(i, primary, 0, NULL, pos)
29 #define mlx5_sd_for_each_dev_to(i, primary, to, pos) \ argument
30 mlx5_sd_for_each_dev_from_to(i, primary, 0, to, pos)
32 #define mlx5_sd_for_each_secondary(i, primary, pos) \ argument
33 mlx5_sd_for_each_dev_from_to(i, primary, 1, NULL, pos)
35 #define mlx5_sd_for_each_secondary_to(i, primary, to, pos) \ argument
[all …]
/linux/sound/soc/sof/
A Dipc4.c190 val = msg->primary & SOF_IPC4_MSG_TARGET_MASK; in sof_ipc4_log_header()
191 type = SOF_IPC4_MSG_TYPE_GET(msg->primary); in sof_ipc4_log_header()
233 text, msg->primary, msg->extension, str, in sof_ipc4_log_header()
246 !SOF_IPC4_MSG_IS_MODULE_MSG(msg->primary) && in sof_ipc4_log_header()
253 msg->primary, msg->extension, msg->data_size); in sof_ipc4_log_header()
306 ipc4_msg->primary, ipc4_msg->extension); in ipc4_wait_tx_done()
313 ipc4_msg->primary, ipc4_msg->extension); in ipc4_wait_tx_done()
433 ipc4_msg->primary &= ~SOF_IPC4_MSG_TYPE_MASK; in sof_ipc4_set_get_data()
434 tx.primary = ipc4_msg->primary; in sof_ipc4_set_get_data()
479 rx.primary = 0; in sof_ipc4_set_get_data()
[all …]
A Dsof-client-probes-ipc4.c122 msg.primary = mentry->id; in ipc4_probes_init()
124 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_init()
125 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_init()
153 msg.primary = mentry->id; in ipc4_probes_deinit()
155 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_deinit()
156 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_deinit()
223 msg.primary = mentry->id; in ipc4_probes_points_add()
224 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_points_add()
225 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_points_add()
268 msg.primary = mentry->id; in ipc4_probes_points_remove()
[all …]
A Dipc4-pcm.c63 u32 primary, ipc_size; in sof_ipc4_set_multi_pipeline_state() local
70 primary = state; in sof_ipc4_set_multi_pipeline_state()
72 primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in sof_ipc4_set_multi_pipeline_state()
73 primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_FW_GEN_MSG); in sof_ipc4_set_multi_pipeline_state()
74 msg.primary = primary; in sof_ipc4_set_multi_pipeline_state()
90 u32 primary; in sof_ipc4_set_pipeline_state() local
94 primary = state; in sof_ipc4_set_pipeline_state()
95 primary |= SOF_IPC4_GLB_PIPE_STATE_ID(instance_id); in sof_ipc4_set_pipeline_state()
97 primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in sof_ipc4_set_pipeline_state()
100 msg.primary = primary; in sof_ipc4_set_pipeline_state()
[all …]
/linux/drivers/gpu/drm/v3d/
A 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/drivers/gpu/drm/
A Ddrm_modeset_helper.c144 struct drm_plane *primary; in drm_crtc_init() local
148 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0, in drm_crtc_init()
153 if (IS_ERR(primary)) in drm_crtc_init()
154 return PTR_ERR(primary); in drm_crtc_init()
160 primary->format_default = true; in drm_crtc_init()
162 ret = drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs, NULL); in drm_crtc_init()
169 drm_plane_cleanup(primary); in drm_crtc_init()
170 kfree(primary); in drm_crtc_init()
A Ddrm_crtc.c236 struct drm_plane *primary, in __drm_crtc_init_with_planes() argument
244 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in __drm_crtc_init_with_planes()
286 crtc->primary = primary; in __drm_crtc_init_with_planes()
288 if (primary && !primary->possible_crtcs) in __drm_crtc_init_with_planes()
342 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
372 struct drm_plane *primary, in __drmm_crtc_init_with_planes() argument
424 struct drm_plane *primary, in drmm_crtc_init_with_planes() argument
445 struct drm_plane *primary, in __drmm_crtc_alloc_with_planes() argument
540 plane = crtc->primary; in drm_mode_getcrtc()
601 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
[all …]
/linux/drivers/gpu/drm/fsl-dcu/
A Dfsl_dcu_drm_plane.c208 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane() local
211 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in fsl_dcu_drm_primary_create_plane()
212 if (!primary) { in fsl_dcu_drm_primary_create_plane()
218 ret = drm_universal_plane_init(dev, primary, 0, in fsl_dcu_drm_primary_create_plane()
224 kfree(primary); in fsl_dcu_drm_primary_create_plane()
225 primary = NULL; in fsl_dcu_drm_primary_create_plane()
227 drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs); in fsl_dcu_drm_primary_create_plane()
229 return primary; in fsl_dcu_drm_primary_create_plane()
A 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/drivers/mtd/chips/
A Dgen_probe.c199 int primary) in cfi_cmdset_unknown() argument
202 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in cfi_cmdset_unknown()
221 mtd = (*probe_function)(map, primary); in cfi_cmdset_unknown()
232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set() argument
235 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in check_cmd_set()
247 return cfi_cmdset_0001(map, primary); in check_cmd_set()
253 return cfi_cmdset_0002(map, primary); in check_cmd_set()
257 return cfi_cmdset_0020(map, primary); in check_cmd_set()
260 return cfi_cmdset_unknown(map, primary); in check_cmd_set()
/linux/Documentation/virt/
A Dne_overview.rst16 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/gpu/drm/loongson/
A Dlsdc_plane.c71 struct lsdc_primary *primary = to_lsdc_primary(plane); in lsdc_primary_atomic_update() local
81 ops->update_fb_addr(primary, fb_addr); in lsdc_primary_atomic_update()
82 ops->update_fb_stride(primary, new_fb->pitches[0]); in lsdc_primary_atomic_update()
85 ops->update_fb_format(primary, new_fb->format); in lsdc_primary_atomic_update()
463 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_addr()
483 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_stride()
491 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_format()
509 struct lsdc_device *ldev = primary->ldev; in lsdc_primary1_update_fb_addr()
529 struct lsdc_device *ldev = primary->ldev; in lsdc_primary1_update_fb_stride()
537 struct lsdc_device *ldev = primary->ldev; in lsdc_primary1_update_fb_format()
[all …]
/linux/sound/soc/sof/intel/
A Dhda-ipc.c77 static inline bool hda_dsp_ipc4_pm_msg(u32 primary) in hda_dsp_ipc4_pm_msg() argument
83 if (SOF_IPC4_MSG_TYPE_GET(primary) == SOF_IPC4_MOD_SET_DX || in hda_dsp_ipc4_pm_msg()
84 SOF_IPC4_MSG_TYPE_GET(primary) == SOF_IPC4_MOD_SET_D0IX) in hda_dsp_ipc4_pm_msg()
96 if (hda_dsp_ipc4_pm_msg(msg_data->primary)) in hda_dsp_ipc4_schedule_d0i3_work()
123 msg_data->primary | HDA_DSP_REG_HIPCI_BUSY); in hda_dsp_ipc4_send_msg()
192 u32 primary = hipct & HDA_DSP_REG_HIPCT_MSG_MASK; in hda_dsp_ipc4_irq_thread() local
199 if (primary & SOF_IPC4_MSG_DIR_MASK) { in hda_dsp_ipc4_irq_thread()
204 data->primary = primary; in hda_dsp_ipc4_irq_thread()
211 snd_sof_ipc_reply(sdev, data->primary); in hda_dsp_ipc4_irq_thread()
217 primary, extension); in hda_dsp_ipc4_irq_thread()
[all …]
A Dcnl.c61 u32 primary = hipctdr & CNL_DSP_REG_HIPCTDR_MSG_MASK; in cnl_ipc4_irq_thread() local
64 if (primary & SOF_IPC4_MSG_DIR_MASK) { in cnl_ipc4_irq_thread()
69 data->primary = primary; in cnl_ipc4_irq_thread()
76 snd_sof_ipc_reply(sdev, data->primary); in cnl_ipc4_irq_thread()
82 primary, extension); in cnl_ipc4_irq_thread()
86 notification_data.primary = primary; in cnl_ipc4_irq_thread()
283 msg_data->primary | CNL_DSP_REG_HIPCIDR_BUSY); in cnl_ipc4_send_msg()
/linux/arch/um/drivers/
A Dchan_kern.c153 if (chan->primary) in open_chan()
185 if (chan->primary) in enable_chan()
298 if (chan->primary) { in write_chan()
312 if (chan->primary) in console_write_chan()
336 if (chan && chan->primary) { in chan_window_size()
343 if (chan && chan->primary) { in chan_window_size()
428 if (in && !in->primary) in chan_config_string()
430 if (out && !out->primary) in chan_config_string()
516 .primary = 1, in parse_chan()
599 if (chan->primary) { in chan_interrupt()
[all …]
/linux/Documentation/userspace-api/media/v4l/
A 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/drivers/gpu/drm/vc4/
A Dvc4_trace.h28 __entry->dev = dev->primary->index;
47 __entry->dev = dev->primary->index;
67 __entry->dev = dev->primary->index;
95 __entry->dev = dev->primary->index;
121 __entry->dev = dev->primary->index;
141 __entry->dev = dev->primary->index;
/linux/drivers/gpu/drm/vkms/
A Dvkms_output.c56 struct vkms_plane *primary, *cursor = NULL; in vkms_output_init() local
61 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); in vkms_output_init()
62 if (IS_ERR(primary)) in vkms_output_init()
63 return PTR_ERR(primary); in vkms_output_init()
79 ret = vkms_crtc_init(dev, crtc, &primary->base, &cursor->base); in vkms_output_init()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dcoex.c264 bool primary) in iwl_mvm_bt_coex_calculate_esr_mode() argument
291 if (primary) in iwl_mvm_bt_coex_calculate_esr_mode()
422 data->secondary = data->primary; in iwl_mvm_bt_notif_per_link()
423 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
430 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_per_link()
438 data->secondary = data->primary; in iwl_mvm_bt_notif_per_link()
439 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
457 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_per_link()
458 data->primary = chanctx_conf; in iwl_mvm_bt_notif_per_link()
464 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_per_link()
[all …]
/linux/arch/powerpc/platforms/85xx/
A 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/drivers/media/pci/intel/ipu6/
A Dipu6-isys-dwc-phy.c454 u32 phy_id, primary, secondary; in ipu6_isys_dwc_phy_set_power() local
483 primary = port & ~1; in ipu6_isys_dwc_phy_set_power()
484 secondary = primary + 1; in ipu6_isys_dwc_phy_set_power()
488 primary, secondary); in ipu6_isys_dwc_phy_set_power()
490 ipu6_isys_dwc_phy_reset(isys, primary); in ipu6_isys_dwc_phy_set_power()
492 ipu6_isys_dwc_phy_aggr_setup(isys, primary, in ipu6_isys_dwc_phy_set_power()
495 ret = ipu6_isys_dwc_phy_config(isys, primary, mbps); in ipu6_isys_dwc_phy_set_power()
502 ret = ipu6_isys_dwc_phy_powerup_ack(isys, primary); in ipu6_isys_dwc_phy_set_power()
524 primary, secondary, port); in ipu6_isys_dwc_phy_set_power()
526 ipu6_isys_dwc_phy_reset(isys, primary); in ipu6_isys_dwc_phy_set_power()
/linux/drivers/sh/intc/
A 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()

Completed in 49 milliseconds

12345678910>>...27