Home
last modified time | relevance | path

Searched refs:primary (Results 1 - 25 of 639) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/drivers/mfd/
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
453 int primary, status_addr, ret; wm831x_irq_thread() local
[all...]
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
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
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
453 int primary, status_addr, ret; wm831x_irq_thread() local
[all...]
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
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/mga/
H A Dmga_dma.c78 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() local
82 /* The primary DMA stream should look like new right about now. in mga_do_dma_reset()
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 in mga_do_dma_flush()
160 drm_mga_primary_buffer_t *primary = &dev_priv->prim; mga_do_dma_wrap_start() local
200 drm_mga_primary_buffer_t *primary = &dev_priv->prim; mga_do_dma_wrap_end() local
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-sst-ipc.c92 /* Module operations primary register */
305 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg()
333 header->primary); in skl_ipc_reply_get_msg()
350 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
351 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
354 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
359 header.primary); in skl_ipc_process_notification()
382 header.primary); in skl_ipc_process_notification()
437 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply()
453 dev_dbg(ipc->dev, "ipc FW reply %x: success\n", header.primary); in skl_ipc_process_reply()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-sst-ipc.c92 /* Module operations primary register */
305 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg()
333 header->primary); in skl_ipc_reply_get_msg()
350 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
351 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
354 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
359 header.primary); in skl_ipc_process_notification()
382 header.primary); in skl_ipc_process_notification()
437 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply()
453 dev_dbg(ipc->dev, "ipc FW reply %x: success\n", header.primary); in skl_ipc_process_reply()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_modeset_helper.c102 * creating the primary plane. However drivers that still call
112 struct drm_plane *primary; in create_primary_plane() local
115 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in create_primary_plane()
116 if (primary == NULL) { in create_primary_plane()
117 DRM_DEBUG_KMS("Failed to allocate primary plane\n"); in create_primary_plane()
125 primary->format_default = true; in create_primary_plane()
128 ret = drm_universal_plane_init(dev, primary, 0, in create_primary_plane()
135 kfree(primary); in create_primary_plane()
136 primary in create_primary_plane()
172 struct drm_plane *primary; drm_crtc_init() local
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc4.c181 val = msg->primary & SOF_IPC4_MSG_TARGET_MASK; in sof_ipc4_log_header()
182 type = SOF_IPC4_MSG_TYPE_GET(msg->primary); in sof_ipc4_log_header()
199 u32 notif = SOF_IPC4_NOTIFICATION_TYPE_GET(msg->primary); in sof_ipc4_log_header()
216 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header()
219 dev_dbg(dev, "%s: %#x|%#x: %s|%s\n", text, msg->primary, in sof_ipc4_log_header()
224 text, msg->primary, msg->extension, str, in sof_ipc4_log_header()
227 dev_dbg(dev, "%s: %#x|%#x: %s\n", text, msg->primary, in sof_ipc4_log_header()
237 !SOF_IPC4_MSG_IS_MODULE_MSG(msg->primary) && in sof_ipc4_log_header()
238 SOF_IPC4_MSG_TYPE_GET(msg->primary) == SOF_IPC4_GLB_NOTIFICATION && in sof_ipc4_log_header()
239 SOF_IPC4_NOTIFICATION_TYPE_GET(msg->primary) 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()
152 msg.primary = mentry->id; in ipc4_probes_deinit()
153 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_DELETE_INSTANCE); in ipc4_probes_deinit()
154 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_deinit()
155 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_deinit()
222 msg.primary = mentry->id; in ipc4_probes_points_add()
223 msg.primary | in ipc4_probes_points_add()
[all...]
H A Dipc4-pcm.c22 u32 primary, ipc_size; in sof_ipc4_set_multi_pipeline_state() local
29 primary = state; in sof_ipc4_set_multi_pipeline_state()
30 primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_GLB_SET_PIPELINE_STATE); in sof_ipc4_set_multi_pipeline_state()
31 primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in sof_ipc4_set_multi_pipeline_state()
32 primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_FW_GEN_MSG); in sof_ipc4_set_multi_pipeline_state()
33 msg.primary = primary; in sof_ipc4_set_multi_pipeline_state()
49 u32 primary; in sof_ipc4_set_pipeline_state() local
53 primary = state; in sof_ipc4_set_pipeline_state()
54 primary | in sof_ipc4_set_pipeline_state()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_dp_mst.c28 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl() argument
32 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_be_cntl()
38 reg = RREG32(NI_DIG_BE_CNTL + primary->offset); in radeon_dp_mst_set_be_cntl()
50 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
51 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
60 DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); in radeon_dp_mst_set_be_cntl()
65 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib() argument
70 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib()
79 temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); in radeon_dp_mst_set_stream_attrib()
89 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DP_MSE_SAT0 + satreg + primary in radeon_dp_mst_set_stream_attrib()
113 radeon_dp_mst_update_stream_attribs(struct radeon_connector *mst_conn, struct radeon_encoder *primary) radeon_dp_mst_update_stream_attribs() argument
363 struct radeon_encoder *radeon_encoder, *primary; radeon_mst_encoder_dpms() local
517 struct radeon_encoder *radeon_encoder, *primary; radeon_mst_encoder_prepare() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_modeset_helper.c103 * creating the primary plane.
120 * Initialize a CRTC object with a default helper-provided primary plane and no
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()
154 return PTR_ERR(primary); in drm_crtc_init()
160 primary in drm_crtc_init()
[all...]
H A Ddrm_crtc.c248 struct drm_plane *primary, in __drm_crtc_init_with_planes()
256 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in __drm_crtc_init_with_planes()
299 crtc->primary = primary; in __drm_crtc_init_with_planes()
301 if (primary && !primary->possible_crtcs) in __drm_crtc_init_with_planes()
302 primary->possible_crtcs = drm_crtc_mask(crtc); in __drm_crtc_init_with_planes()
326 * specified primary and cursor planes.
329 * @primary
247 __drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, struct drm_plane *primary, struct drm_plane *cursor, const struct drm_crtc_funcs *funcs, const char *name, va_list ap) __drm_crtc_init_with_planes() argument
354 drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, struct drm_plane *primary, struct drm_plane *cursor, const struct drm_crtc_funcs *funcs, const char *name, ...) drm_crtc_init_with_planes() argument
383 __drmm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, struct drm_plane *primary, struct drm_plane *cursor, const struct drm_crtc_funcs *funcs, const char *name, va_list args) __drmm_crtc_init_with_planes() argument
436 drmm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, struct drm_plane *primary, struct drm_plane *cursor, const struct drm_crtc_funcs *funcs, const char *name, ...) drmm_crtc_init_with_planes() argument
456 __drmm_crtc_alloc_with_planes(struct drm_device *dev, size_t size, size_t offset, struct drm_plane *primary, struct drm_plane *cursor, const struct drm_crtc_funcs *funcs, const char *name, ...) __drmm_crtc_alloc_with_planes() argument
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dfscache.c29 struct erofs_fscache_request *primary; member
56 static struct erofs_fscache_request *erofs_fscache_req_chain(struct erofs_fscache_request *primary, in erofs_fscache_req_chain() argument
61 /* use primary request for the first submission */ in erofs_fscache_req_chain()
62 if (!primary->submitted) { in erofs_fscache_req_chain()
63 refcount_inc(&primary->ref); in erofs_fscache_req_chain()
64 return primary; in erofs_fscache_req_chain()
67 req = erofs_fscache_req_alloc(primary->mapping, in erofs_fscache_req_chain()
68 primary->start + primary->submitted, len); in erofs_fscache_req_chain()
70 req->primary in erofs_fscache_req_chain()
200 erofs_fscache_data_read_slice(struct erofs_fscache_request *primary) erofs_fscache_data_read_slice() argument
[all...]
/kernel/linux/linux-5.10/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
[all...]
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-ipc.c70 static inline bool hda_dsp_ipc4_pm_msg(u32 primary) in hda_dsp_ipc4_pm_msg() argument
73 if (SOF_IPC4_MSG_IS_MODULE_MSG(primary) != SOF_IPC4_MODULE_MSG) in hda_dsp_ipc4_pm_msg()
76 if (SOF_IPC4_MSG_TYPE_GET(primary) == SOF_IPC4_MOD_SET_DX || in hda_dsp_ipc4_pm_msg()
77 SOF_IPC4_MSG_TYPE_GET(primary) == SOF_IPC4_MOD_SET_D0IX) in hda_dsp_ipc4_pm_msg()
89 if (hda_dsp_ipc4_pm_msg(msg_data->primary)) in hda_dsp_ipc4_schedule_d0i3_work()
115 msg_data->primary | HDA_DSP_REG_HIPCI_BUSY); in hda_dsp_ipc4_send_msg()
182 u32 primary = hipct & HDA_DSP_REG_HIPCT_MSG_MASK; in hda_dsp_ipc4_irq_thread() local
189 if (primary & SOF_IPC4_MSG_DIR_MASK) { in hda_dsp_ipc4_irq_thread()
194 data->primary = primary; in hda_dsp_ipc4_irq_thread()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
H A Dvkms_output.c42 struct drm_plane *primary, *cursor = NULL; in vkms_output_init() local
45 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); in vkms_output_init()
46 if (IS_ERR(primary)) in vkms_output_init()
47 return PTR_ERR(primary); in vkms_output_init()
57 ret = vkms_crtc_init(dev, crtc, primary, cursor); in vkms_output_init()
105 drm_plane_cleanup(primary); in vkms_output_init()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-generic.c43 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_plane.c209 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane() local
212 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in fsl_dcu_drm_primary_create_plane()
213 if (!primary) { in fsl_dcu_drm_primary_create_plane()
214 DRM_DEBUG_KMS("Failed to allocate primary plane\n"); in fsl_dcu_drm_primary_create_plane()
219 ret = drm_universal_plane_init(dev, primary, 0, in fsl_dcu_drm_primary_create_plane()
225 kfree(primary); in fsl_dcu_drm_primary_create_plane()
226 primary = NULL; in fsl_dcu_drm_primary_create_plane()
228 drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs); in fsl_dcu_drm_primary_create_plane()
230 return primary; in fsl_dcu_drm_primary_create_plane()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/chips/
H A Dgen_probe.c35 mtd = check_cmd_set(map, 1); /* First the primary cmdset */ in mtd_do_chip_probe()
200 int primary) in cfi_cmdset_unknown()
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()
199 cfi_cmdset_unknown(struct map_info *map, int primary) cfi_cmdset_unknown() argument
[all...]
/kernel/linux/linux-6.6/drivers/mtd/chips/
H A 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()
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()
198 cfi_cmdset_unknown(struct map_info *map, int primary) cfi_cmdset_unknown() argument
[all...]
/kernel/linux/linux-6.6/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()
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()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c72 struct lsdc_primary *primary = to_lsdc_primary(plane); in lsdc_primary_atomic_update() local
73 const struct lsdc_primary_plane_ops *ops = primary->ops; in lsdc_primary_atomic_update()
82 ops->update_fb_addr(primary, fb_addr); in lsdc_primary_atomic_update()
83 ops->update_fb_stride(primary, new_fb->pitches[0]); in lsdc_primary_atomic_update()
86 ops->update_fb_format(primary, new_fb->format); in lsdc_primary_atomic_update()
94 * Writing the format as LSDC_PF_NONE can disable the primary, in lsdc_primary_atomic_disable()
462 static void lsdc_primary0_update_fb_addr(struct lsdc_primary *primary, u64 addr) in lsdc_primary0_update_fb_addr() argument
464 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_addr()
482 static void lsdc_primary0_update_fb_stride(struct lsdc_primary *primary, u32 stride) in lsdc_primary0_update_fb_stride() argument
484 struct lsdc_device *ldev = primary in lsdc_primary0_update_fb_stride()
489 lsdc_primary0_update_fb_format(struct lsdc_primary *primary, const struct drm_format_info *format) lsdc_primary0_update_fb_format() argument
508 lsdc_primary1_update_fb_addr(struct lsdc_primary *primary, u64 addr) lsdc_primary1_update_fb_addr() argument
528 lsdc_primary1_update_fb_stride(struct lsdc_primary *primary, u32 stride) lsdc_primary1_update_fb_stride() argument
535 lsdc_primary1_update_fb_format(struct lsdc_primary *primary, const struct drm_format_info *format) lsdc_primary1_update_fb_format() argument
724 struct lsdc_primary *primary = to_lsdc_primary(plane); lsdc_primary_plane_init() local
[all...]

Completed in 14 milliseconds

12345678910>>...26