Home
last modified time | relevance | path

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

12345678910>>...22

/linux/drivers/mfd/
H 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 …]
H A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.c21 bool primary; member
51 return sd->primary ? dev : sd->primary_dev; in mlx5_sd_get_primary()
55 mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx) in mlx5_sd_primary_get_peer() argument
60 return primary; in mlx5_sd_primary_get_peer()
62 if (idx >= mlx5_sd_get_host_buses(primary)) in mlx5_sd_primary_get_peer()
65 sd = mlx5_get_sd(primary); in mlx5_sd_primary_get_peer()
79 struct mlx5_core_dev *mlx5_sd_ch_ix_get_dev(struct mlx5_core_dev *primary, int ch_ix) in mlx5_sd_ch_ix_get_dev() argument
81 int mdev_idx = mlx5_sd_ch_ix_get_dev_ix(primary, ch_ix); in mlx5_sd_ch_ix_get_dev()
83 return mlx5_sd_primary_get_peer(primary, mdev_idx); in mlx5_sd_ch_ix_get_dev()
213 struct mlx5_core_dev *peer, *primary; in sd_register() local
[all …]
H A Dsd.h11 struct mlx5_core_dev *mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx);
14 struct mlx5_core_dev *mlx5_sd_ch_ix_get_dev(struct mlx5_core_dev *primary, int ch_ix);
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)
[all …]
/linux/sound/soc/sof/
H 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()
208 u32 notif = SOF_IPC4_NOTIFICATION_TYPE_GET(msg->primary); in sof_ipc4_log_header()
225 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header()
228 dev_dbg(dev, "%s: %#x|%#x: %s|%s\n", text, msg->primary, in sof_ipc4_log_header()
233 text, msg->primary, msg->extension, str, in sof_ipc4_log_header()
236 dev_dbg(dev, "%s: %#x|%#x: %s\n", text, msg->primary, in sof_ipc4_log_header()
246 !SOF_IPC4_MSG_IS_MODULE_MSG(msg->primary) && in sof_ipc4_log_header()
247 SOF_IPC4_MSG_TYPE_GET(msg->primary) == SOF_IPC4_GLB_NOTIFICATION && in sof_ipc4_log_header()
248 SOF_IPC4_NOTIFICATION_TYPE_GET(msg->primary) == SOF_IPC4_NOTIFY_LOG_BUFFER_STATUS) in sof_ipc4_log_header()
[all …]
H A Dsof-client-probes-ipc4.c122 msg.primary = mentry->id; in ipc4_probes_init()
123 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_INIT_INSTANCE); 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()
154 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_DELETE_INSTANCE); 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()
[all …]
/linux/drivers/gpu/drm/v3d/
H 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/fsl-dcu/
H 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()
H 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/gpu/drm/
H 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()
289 primary->possible_crtcs = drm_crtc_mask(crtc); in __drm_crtc_init_with_planes()
342 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
353 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in drm_crtc_init_with_planes()
372 struct drm_plane *primary, in __drmm_crtc_init_with_planes() argument
382 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in __drmm_crtc_init_with_planes()
424 struct drm_plane *primary, in drmm_crtc_init_with_planes() argument
[all …]
/linux/Documentation/virt/
H 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
33 There is a NE emulated PCI device exposed to the primary VM. The driver for this
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
46 The memory regions carved out of the primary VM and given to an enclave need to
53 available for the primary VM. A CPU pool has to be set for NE purposes by an
[all …]
/linux/drivers/mtd/chips/
H 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/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c71 struct lsdc_primary *primary = to_lsdc_primary(plane); in lsdc_primary_atomic_update() local
72 const struct lsdc_primary_plane_ops *ops = primary->ops; in lsdc_primary_atomic_update()
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()
461 static void lsdc_primary0_update_fb_addr(struct lsdc_primary *primary, u64 addr) in lsdc_primary0_update_fb_addr() argument
463 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_addr()
481 static void lsdc_primary0_update_fb_stride(struct lsdc_primary *primary, u32 stride) in lsdc_primary0_update_fb_stride() argument
483 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_stride()
488 static void lsdc_primary0_update_fb_format(struct lsdc_primary *primary, in lsdc_primary0_update_fb_format() argument
[all …]
/linux/sound/soc/sof/intel/
H A Dhda-ipc.c77 static inline bool hda_dsp_ipc4_pm_msg(u32 primary) in hda_dsp_ipc4_pm_msg() argument
80 if (SOF_IPC4_MSG_IS_MODULE_MSG(primary) != SOF_IPC4_MODULE_MSG) in hda_dsp_ipc4_pm_msg()
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()
[all …]
H 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/
H A Dchan_kern.c22 static int not_configged_open(int input, int output, int primary, void *data, in not_configged_open() argument
99 else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary, in open_one_chan()
153 if (chan->primary) in open_chan()
161 if (chan && chan->primary && chan->ops->winch) in chan_enable_winch()
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()
361 if (chan->primary && chan->output) in free_one_chan()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H 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/net/wireless/intel/iwlwifi/mvm/
H A Dcoex.c213 struct ieee80211_chanctx_conf *primary; member
253 swap(data->primary, data->secondary); in iwl_mvm_bt_coex_tcm_based_ci()
264 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()
446 if (data->primary == chanctx_conf) in iwl_mvm_bt_notif_per_link()
[all …]
/linux/drivers/gpu/drm/vc4/
H 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/sh/intc/
H 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()
/linux/Documentation/security/tpm/
H A Dtpm-security.rst88 The mechanism chosen for the Linux Kernel is to derive the primary
102 certifying the null seed primary with that key) which is too complex
103 to run within the kernel, so we keep a copy of the null primary key
106 that if the null primary key certifies correctly, you know all your
114 In the current null primary scenario, the TPM must be completely
137 kernel must be created using the null primary key as the salt key
139 derivation. Thus, the kernel creates the null primary key once (as a
150 For every in-kernel operation we use null primary salted HMAC to
159 primary endorsement key. This document assumes that the Elliptic
163 The first step in the certification is primary creation using the
[all …]
/linux/drivers/gpu/drm/stm/
H A Dlvds.c263 struct lvds_phy_info *primary; member
583 if (lvds->primary) { in lvds_pixel_clk_enable()
584 phy = lvds->primary; in lvds_pixel_clk_enable()
611 if (lvds->primary) { in lvds_pixel_clk_disable()
612 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.GCR, in lvds_pixel_clk_disable()
614 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.PLLCR1, in lvds_pixel_clk_disable()
616 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.GCR, in lvds_pixel_clk_disable()
653 val = lvds_read(lvds, lvds->primary->base + lvds->primary->ofs.PLLCR2); in lvds_pixel_clk_recalc_rate()
659 lvds->primary->base + lvds->primary->ofs.PLLSDCR1); in lvds_pixel_clk_recalc_rate()
843 if (lvds->primary) in lvds_config_mode()
[all …]
/linux/include/drm/
H A Ddrm_crtc.h971 struct drm_plane *primary; member
1210 struct drm_plane *primary,
1218 struct drm_plane *primary,
1228 struct drm_plane *primary,
1252 #define drmm_crtc_alloc_with_planes(dev, type, member, primary, cursor, funcs, name, ...) \ argument
1255 primary, cursor, funcs, \
/linux/drivers/gpu/drm/sti/
H A Dsti_compositor.c69 struct drm_plane *primary = NULL; in sti_compositor_bind() local
123 primary = sti_gdp_create(drm_dev, compo->dev, in sti_compositor_bind()
128 if (!primary) { in sti_compositor_bind()
139 if (crtc_id < mixer_id && primary) { in sti_compositor_bind()
141 primary, cursor); in sti_compositor_bind()
144 primary = NULL; in sti_compositor_bind()
/linux/drivers/gpu/drm/kmb/
H A Dkmb_crtc.c232 struct kmb_plane *primary; in kmb_setup_crtc() local
235 primary = kmb_plane_init(drm); in kmb_setup_crtc()
236 if (IS_ERR(primary)) in kmb_setup_crtc()
237 return PTR_ERR(primary); in kmb_setup_crtc()
239 ret = drm_crtc_init_with_planes(drm, &kmb->crtc, &primary->base_plane, in kmb_setup_crtc()
242 kmb_plane_destroy(&primary->base_plane); in kmb_setup_crtc()

12345678910>>...22