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

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
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) \
24 (pos = mlx5_sd_primary_get_peer(primary, i)) && pos != (to); i++)
26 #define mlx5_sd_for_each_dev(i, primary, pos) \
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) \
30 mlx5_sd_for_each_dev_from_to(i, primary, 0, to, pos)
32 #define mlx5_sd_for_each_secondary(i, primary, pos) \
33 mlx5_sd_for_each_dev_from_to(i, primary,
[all...]
H A Dsd.c21 bool primary; member in struct:mlx5_sd
23 struct { /* primary */
51 return sd->primary ? dev : sd->primary_dev;
55 mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx) argument
60 return primary;
62 if (idx >= mlx5_sd_get_host_buses(primary))
65 sd = mlx5_get_sd(primary);
79 struct mlx5_core_dev *mlx5_sd_ch_ix_get_dev(struct mlx5_core_dev *primary, int ch_ix) argument
81 int mdev_idx = mlx5_sd_ch_ix_get_dev_ix(primary, ch_ix);
83 return mlx5_sd_primary_get_peer(primary, mdev_id
209 struct mlx5_core_dev *peer, *primary; local
271 sd_cmd_set_primary(struct mlx5_core_dev *primary, u8 *alias_key) argument
305 sd_cmd_unset_primary(struct mlx5_core_dev *primary) argument
312 sd_secondary_create_alias_ft(struct mlx5_core_dev *secondary, struct mlx5_core_dev *primary, struct mlx5_flow_table *ft, u32 *obj_id, u8 *alias_key) argument
344 sd_cmd_set_secondary(struct mlx5_core_dev *secondary, struct mlx5_core_dev *primary, u8 *alias_key) argument
381 sd_print_group(struct mlx5_core_dev *primary) argument
418 struct mlx5_core_dev *primary, *pos, *to; local
485 struct mlx5_core_dev *primary, *pos; local
511 struct mlx5_core_dev *primary; local
[all...]
/linux-master/drivers/mfd/
H A Dwm831x-irq.c26 int primary; member in struct:wm831x_irq_data
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; local
[all...]
H A Dwm8350-irq.c35 int primary; member in struct:wm8350_irq_data
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...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-ipc.c92 /* Module operations primary register */
305 header->primary | SKL_ADSP_REG_HIPCI_BUSY);
333 header->primary);
350 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) {
351 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) {
354 dev_err(ipc->dev, "FW Underrun %x\n", header.primary);
359 header.primary);
382 header.primary);
437 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK;
453 dev_dbg(ipc->dev, "ipc FW reply %x: success\n", header.primary);
[all...]
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dmock_drm.h37 return mock_drm_getfile(i915->drm.primary, O_RDWR);
H A Digt_mmap.c35 file = mock_drm_getfile(i915->drm.primary, O_RDWR);
/linux-master/drivers/gpu/drm/sti/
H A Dsti_crtc.h17 struct drm_plane *primary, struct drm_plane *cursor);
/linux-master/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; local
148 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0,
153 if (IS_ERR(primary))
154 return PTR_ERR(primary);
160 primary
[all...]
H A Ddrm_crtc.c236 struct drm_plane *primary,
244 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY);
286 crtc->primary = primary;
288 if (primary && !primary->possible_crtcs)
289 primary->possible_crtcs = drm_crtc_mask(crtc);
313 * specified primary and cursor planes.
316 * @primary
235 __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) argument
341 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, ...) argument
370 __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) argument
423 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, ...) argument
443 __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, ...) argument
[all...]
/linux-master/sound/soc/sof/
H A Dsof-client-probes-ipc4.c122 msg.primary = mentry->id;
123 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_INIT_INSTANCE);
124 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
125 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG);
152 msg.primary = mentry->id;
153 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_DELETE_INSTANCE);
154 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
155 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG);
222 msg.primary = mentry->id;
223 msg.primary |
[all...]
H A Dipc4.c190 val = msg->primary & SOF_IPC4_MSG_TARGET_MASK;
191 type = SOF_IPC4_MSG_TYPE_GET(msg->primary);
208 u32 notif = SOF_IPC4_NOTIFICATION_TYPE_GET(msg->primary);
225 text, msg->primary, msg->extension, str, str2,
228 dev_dbg(dev, "%s: %#x|%#x: %s|%s\n", text, msg->primary,
233 text, msg->primary, msg->extension, str,
236 dev_dbg(dev, "%s: %#x|%#x: %s\n", text, msg->primary,
246 !SOF_IPC4_MSG_IS_MODULE_MSG(msg->primary) &&
247 SOF_IPC4_MSG_TYPE_GET(msg->primary) == SOF_IPC4_GLB_NOTIFICATION &&
248 SOF_IPC4_NOTIFICATION_TYPE_GET(msg->primary)
[all...]
/linux-master/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...]
/linux-master/drivers/gpu/drm/mxsfb/
H A Dlcdif_drv.h28 struct drm_plane primary; member in struct:lcdif_drm_private::__anon1288
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_output.c56 struct vkms_plane *primary, *cursor = NULL; local
61 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index);
62 if (IS_ERR(primary))
63 return PTR_ERR(primary);
79 ret = vkms_crtc_init(dev, crtc, &primary->base, &cursor->base);
/linux-master/sound/soc/sof/intel/
H A Dhda-ipc.c70 static inline bool hda_dsp_ipc4_pm_msg(u32 primary) argument
73 if (SOF_IPC4_MSG_IS_MODULE_MSG(primary) != SOF_IPC4_MODULE_MSG)
76 if (SOF_IPC4_MSG_TYPE_GET(primary) == SOF_IPC4_MOD_SET_DX ||
77 SOF_IPC4_MSG_TYPE_GET(primary) == SOF_IPC4_MOD_SET_D0IX)
89 if (hda_dsp_ipc4_pm_msg(msg_data->primary))
115 msg_data->primary | HDA_DSP_REG_HIPCI_BUSY);
182 u32 primary = hipct & HDA_DSP_REG_HIPCT_MSG_MASK; local
189 if (primary & SOF_IPC4_MSG_DIR_MASK) {
194 data->primary = primary;
[all...]
/linux-master/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-master/arch/powerpc/include/asm/
H A Dtsi108_pci.h25 extern int tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary);
/linux-master/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_plane.c208 struct drm_plane *primary; local
211 primary = kzalloc(sizeof(*primary), GFP_KERNEL);
212 if (!primary) {
213 DRM_DEBUG_KMS("Failed to allocate primary plane\n");
218 ret = drm_universal_plane_init(dev, primary, 0,
224 kfree(primary);
225 primary = NULL;
227 drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs);
229 return primary;
[all...]
/linux-master/drivers/mtd/chips/
H A Dgen_probe.c35 mtd = check_cmd_set(map, 1); /* First the primary cmdset */
199 int primary)
202 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID;
221 mtd = (*probe_function)(map, primary);
232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) argument
235 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID;
247 return cfi_cmdset_0001(map, primary);
253 return cfi_cmdset_0002(map, primary);
257 return cfi_cmdset_0020(map, primary);
260 return cfi_cmdset_unknown(map, primary);
198 cfi_cmdset_unknown(struct map_info *map, int primary) argument
[all...]
/linux-master/arch/um/drivers/
H A Dchan_kern.c22 static int not_configged_open(int input, int output, int primary, void *data, argument
93 else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary,
119 if (chan->primary)
127 if (chan && chan->primary && chan->ops->winch)
151 if (chan->primary)
258 if (chan->primary) {
272 if (chan->primary)
296 if (chan && chan->primary) {
303 if (chan && chan->primary) {
321 if (chan->primary
[all...]
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c71 struct lsdc_primary *primary = to_lsdc_primary(plane); local
72 const struct lsdc_primary_plane_ops *ops = primary->ops;
81 ops->update_fb_addr(primary, fb_addr);
82 ops->update_fb_stride(primary, new_fb->pitches[0]);
85 ops->update_fb_format(primary, new_fb->format);
93 * Writing the format as LSDC_PF_NONE can disable the primary,
461 static void lsdc_primary0_update_fb_addr(struct lsdc_primary *primary, u64 addr) argument
463 struct lsdc_device *ldev = primary->ldev;
481 static void lsdc_primary0_update_fb_stride(struct lsdc_primary *primary, u32 stride) argument
483 struct lsdc_device *ldev = primary
488 lsdc_primary0_update_fb_format(struct lsdc_primary *primary, const struct drm_format_info *format) argument
507 lsdc_primary1_update_fb_addr(struct lsdc_primary *primary, u64 addr) argument
527 lsdc_primary1_update_fb_stride(struct lsdc_primary *primary, u32 stride) argument
534 lsdc_primary1_update_fb_format(struct lsdc_primary *primary, const struct drm_format_info *format) argument
723 struct lsdc_primary *primary = to_lsdc_primary(plane); local
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_cmds.c16 __le16 primary; member in struct:nsp_identify
53 nspi->primary = le16_to_cpu(ni->primary);
/linux-master/include/trace/events/
H A Dsctp.h20 __field(__u32, primary)
32 __entry->primary = (sp == asoc->peer.primary_path);
44 __entry->asoc, __entry->primary ? "(*)" : "",
/linux-master/drivers/gpu/drm/tidss/
H A Dtidss_crtc.h47 struct drm_plane *primary);

Completed in 314 milliseconds

1234567891011>>