Home
last modified time | relevance | path

Searched full:primary (Results 1 – 25 of 1813) sorted by relevance

12345678910>>...73

/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dsd.c21 bool primary; member
23 struct { /* primary */
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()
[all …]
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-6.12.1/Documentation/virt/
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-6.12.1/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 …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_modeset_helper.c103 * creating the primary plane.
120 * Initialize a CRTC object with a default helper-provided primary plane and no
126 * 1. Primary plane cannot be repositioned.
127 * 2. Primary plane cannot be scaled.
128 * 3. Primary plane must cover the entire CRTC.
130 * 5. The primary plane must always be on if the CRTC is enabled.
133 * should instead implement their own primary plane. Atomic drivers must do so.
144 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()
[all …]
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()
313 * specified primary and cursor planes.
316 * @primary: Primary plane for CRTC
330 * The @primary and @cursor planes are only relevant for legacy uAPI, see
331 * &drm_crtc.primary and &drm_crtc.cursor.
342 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
[all …]
Ddrm_plane_helper.c43 * This helper library contains helpers to implement primary plane support on
45 * Since the legacy &drm_mode_config_funcs.set_config interface ties the primary
47 * the primary plane itself. The default primary plane only expose XRBG8888 and
50 * Drivers are highly recommended to implement proper support for primary
142 * drm_plane_helper_update_primary - Helper for updating primary planes
156 * This helper validates the given parameters and updates the primary plane.
210 * Primary plane isn't visible. Note that unless a driver in drm_plane_helper_update_primary()
244 * drm_plane_helper_disable_primary - Helper for disabling primary planes
248 * This helper returns an error when trying to disable the primary
269 * drm_plane_helper_destroy() - Helper for primary plane destruction
[all …]
/linux-6.12.1/Documentation/security/tpm/
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
155 Null Primary Key Certification in Userspace
159 primary endorsement key. This document assumes that the Elliptic
[all …]
/linux-6.12.1/sound/soc/sof/
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 …]
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-6.12.1/Documentation/arch/sparc/oradax/
Ddax-hv-api.txt162 0b'11 Primary context virtual address
167 0b'011 Primary context virtual address
183 0b'011 Primary context virtual address
188 [4:2] Primary source address type
192 0b'011 Primary context virtual address
201 0b'11 Primary context virtual address
247 …require multiple data streams for processing, requiring the specification of both primary data for…
250 36.2.1.1.1. Primary Input Format
252 …The primary input format code is a 4-bit field when it is used. There are 10 primary input formats…
301 36.2.1.1.2. Primary Input Element Size
[all …]
/linux-6.12.1/arch/sparc/include/uapi/asm/
Dasi.h129 #define ASI_AIUP 0x10 /* Primary, user */
131 #define ASI_AIUPL 0x18 /* Primary, user, little endian */
133 #define ASI_P 0x80 /* Primary, implicit */
135 #define ASI_PNF 0x82 /* Primary, no fault */
137 #define ASI_PL 0x88 /* Primary, implicit, l-endian */
139 #define ASI_PNFL 0x8a /* Primary, no fault, l-endian */
230 #define ASI_BLK_AIUP 0x70 /* Primary, user, block load/store */
241 #define ASI_BLK_AIUPL 0x78 /* Primary, user, little, blk ld/st*/
252 0x92 /* (NG7) MCD store BLKINIT primary */
254 #define ASI_PST8_P 0xc0 /* Primary, 8 8-bit, partial */
[all …]
/linux-6.12.1/drivers/gpu/drm/loongson/
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()
93 * Writing the format as LSDC_PF_NONE can disable the primary, in lsdc_primary_atomic_disable()
459 /* Primary plane 0 hardware related ops */
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
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
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-6.12.1/Documentation/gpu/amdgpu/display/
Dmpo-overview.rst31 * ``DRM_PLANE_TYPE_PRIMARY``: Primary planes represent a "main" plane for a
32 CRTC, primary planes are the planes operated upon by CRTC modesetting and
36 * ``DRM_PLANE_TYPE_OVERLAY``: Overlay planes represent all non-primary,
43 * 4 Primary planes (1 per CRTC).
55 A typical MPO configuration from userspace - 1 primary + 1 overlay on a single
58 At least 1 pipe must be used per plane (primary and overlay), so for this
80 * Only primary planes have color-space and non-RGB format support
111 Video playback should be done using the "primary plane as underlay" MPO
114 * 1 YUV DRM Primary Plane (e.g. NV12 Video)
118 - Primary plane contains one or more videos
[all …]
/linux-6.12.1/drivers/gpu/drm/fsl-dcu/
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()
213 DRM_DEBUG_KMS("Failed to allocate primary plane\n"); 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()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_lag.c29 * ice_lag_set_primary - set PF LAG state as Primary
40 dev_warn(ice_pf_to_dev(pf), "%s: Attempt to be Primary, but incompatible state.\n", in ice_lag_set_primary()
176 * ice_lag_find_primary - returns pointer to primary interfaces lag struct
190 if (tmp_lag && tmp_lag->primary) { in ice_lag_find_primary()
362 const char *name, *upper, *role, *bonded, *primary; in ice_display_lag_info() local
367 primary = lag->primary ? "TRUE" : "FALSE"; in ice_display_lag_info()
375 role = "PRIMARY"; in ice_display_lag_info()
387 dev_dbg(dev, "%s %s, upper:%s, role:%s, primary:%s\n", name, bonded, in ice_display_lag_info()
388 upper, role, primary); in ice_display_lag_info()
664 * @lag: primary interface LAG struct
[all …]
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6dsp-lpass-ports.c332 .stream_name = "Primary MI2S Playback",
346 .stream_name = "Primary MI2S Capture",
467 Q6AFE_TDM_PB_DAI("Primary", 0, PRIMARY_TDM_RX_0),
468 Q6AFE_TDM_PB_DAI("Primary", 1, PRIMARY_TDM_RX_1),
469 Q6AFE_TDM_PB_DAI("Primary", 2, PRIMARY_TDM_RX_2),
470 Q6AFE_TDM_PB_DAI("Primary", 3, PRIMARY_TDM_RX_3),
471 Q6AFE_TDM_PB_DAI("Primary", 4, PRIMARY_TDM_RX_4),
472 Q6AFE_TDM_PB_DAI("Primary", 5, PRIMARY_TDM_RX_5),
473 Q6AFE_TDM_PB_DAI("Primary", 6, PRIMARY_TDM_RX_6),
474 Q6AFE_TDM_PB_DAI("Primary", 7, PRIMARY_TDM_RX_7),
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c213 struct ieee80211_chanctx_conf *primary; member
246 /* if the primary is low latency, it will stay primary */ in iwl_mvm_bt_coex_tcm_based_ci()
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()
338 /* In case we decided to exit eSR - stay with the primary */ in iwl_mvm_bt_coex_update_link_esr()
418 /* low latency is always primary */ in iwl_mvm_bt_notif_per_link()
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()
[all …]
/linux-6.12.1/drivers/mtd/chips/
Dgen_probe.c35 mtd = check_cmd_set(map, 1); /* First the primary cmdset */ in mtd_do_chip_probe()
199 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-6.12.1/Documentation/admin-guide/blockdev/drbd/
Dpeer-states-8.dot2 Secondary -> Primary [ label = "recv state packet" ]
3 Primary -> Secondary [ label = "recv state packet" ]
4 Primary -> Unknown [ label = "connection lost" ]
6 Unknown -> Primary [ label = "connected" ]
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_ras.c126 * be handled by the primary thread in virtual mode. We can't in kvmppc_realmode_machine_check()
241 * kvmppc_realmode_hmi_handler() is called only by primary thread during
272 * subcore status. Only primary threads from each subcore is responsible
279 * primary threads to decide who takes up the responsibility.
282 * - Primary thread from each subcore tries to set resync required bit[63]
284 * - The first primary thread that is able to set the flag takes the
289 * - All the primary thread will clear its subcore status from subcore
291 * - Once all primary threads clear in_guest[0-3], all of them will invoke
299 * - On return of this function, primary thread will signal all
317 * By now primary thread has already completed guest->host in kvmppc_realmode_hmi_handler()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/powerpc/fsl/
Dpamu.txt57 - fsl,primary-cache-geometry
59 Two cells that specify the geometry of the primary PAMU
107 fsl,primary-cache-geometry = <32 1>;
113 fsl,primary-cache-geometry = <32 1>;
119 fsl,primary-cache-geometry = <32 1>;
125 fsl,primary-cache-geometry = <32 1>;
131 fsl,primary-cache-geometry = <32 1>;

12345678910>>...73