/linux-6.12.1/drivers/mfd/ |
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 …]
|
D | wm831x-irq.c | 26 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/ |
D | sd.c | 21 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 …]
|
D | sd.h | 11 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/sound/soc/sof/ |
D | ipc4.c | 190 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 …]
|
D | sof-client-probes-ipc4.c | 122 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 …]
|
D | ipc4-pcm.c | 63 u32 primary, ipc_size; in sof_ipc4_set_multi_pipeline_state() local 70 primary = state; in sof_ipc4_set_multi_pipeline_state() 71 primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_GLB_SET_PIPELINE_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() 96 primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_GLB_SET_PIPELINE_STATE); in sof_ipc4_set_pipeline_state() [all …]
|
/linux-6.12.1/drivers/gpu/drm/v3d/ |
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-6.12.1/drivers/gpu/drm/ |
D | drm_modeset_helper.c | 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() 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()
|
D | drm_crtc.c | 236 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-6.12.1/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_plane.c | 208 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()
|
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-6.12.1/Documentation/virt/ |
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 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/mtd/chips/ |
D | gen_probe.c | 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/drivers/gpu/drm/loongson/ |
D | lsdc_plane.c | 71 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-6.12.1/sound/soc/sof/intel/ |
D | hda-ipc.c | 77 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 …]
|
D | cnl.c | 61 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-6.12.1/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 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-6.12.1/Documentation/userspace-api/media/v4l/ |
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-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | coex.c | 213 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-6.12.1/drivers/gpu/drm/vc4/ |
D | vc4_trace.h | 28 __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-6.12.1/drivers/gpu/drm/vkms/ |
D | vkms_output.c | 56 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-6.12.1/arch/powerpc/platforms/85xx/ |
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-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6-isys-dwc-phy.c | 454 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-6.12.1/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()
|