Searched refs:primary (Results 101 - 125 of 373) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c37 struct drm_framebuffer *fb = crtc->primary->state->fb;
136 fb = crtci->primary->state->fb;
555 struct drm_plane *primary; local
568 primary = vbox_create_plane(vbox, 1 << i, DRM_PLANE_TYPE_PRIMARY);
569 if (IS_ERR(primary)) {
570 ret = PTR_ERR(primary);
586 ret = drm_crtc_init_with_planes(dev, &vbox_crtc->base, primary, cursor,
602 drm_plane_cleanup(primary);
603 kfree(primary);
/linux-master/drivers/gpu/drm/armada/
H A Darmada_crtc.c915 struct drm_plane *primary; local
972 primary = kzalloc(sizeof(*primary), GFP_KERNEL);
973 if (!primary) {
978 ret = armada_drm_primary_plane_init(drm, primary);
980 kfree(primary);
984 ret = drm_crtc_init_with_planes(drm, &dcrtc->crtc, primary, NULL,
1000 primary->funcs->destroy(primary);
/linux-master/drivers/gpu/drm/arm/
H A Dmalidp_crtc.c529 struct drm_plane *primary = NULL, *plane; local
540 primary = plane;
545 if (!primary) {
546 DRM_ERROR("no primary plane found\n");
550 ret = drmm_crtc_init_with_planes(drm, &malidp->crtc, primary, NULL,
/linux-master/sound/soc/sof/
H A Dipc4-loader.c347 msg.primary = SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG);
348 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
349 msg.primary |= SOF_IPC4_MOD_ID(SOF_IPC4_MOD_INIT_BASEFW_MOD_ID);
350 msg.primary |= SOF_IPC4_MOD_INSTANCE(SOF_IPC4_MOD_INIT_BASEFW_INSTANCE_ID);
/linux-master/drivers/gpu/drm/tegra/
H A Ddc.c818 /* Always use window A as primary window */
1314 struct drm_plane *plane, *primary = NULL; local
1332 * head as the primary plane.
1334 if (!primary) {
1336 primary = plane;
1342 return primary;
1348 struct drm_plane *planes[2], *primary; local
1353 primary = tegra_primary_plane_create(drm, dc);
1354 if (IS_ERR(primary))
1355 return primary;
2609 struct drm_plane *primary = NULL; local
[all...]
/linux-master/include/linux/ceph/
H A Dosdmap.h262 int primary; /* id, NOT index */ member in struct:ceph_osds
268 set->primary = -1;
/linux-master/sound/soc/samsung/
H A Dodroid.c153 SND_SOC_DAILINK_DEFS(primary,
175 SND_SOC_DAILINK_REG(primary),
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c239 qdev->ddev.primary->debugfs_root, "qxl_mem_mm");
242 qdev->ddev.primary->debugfs_root, "qxl_surf_mm");
H A Dqxl_display.c325 DRM_DEBUG_KMS("no primary surface, skip (%s)\n", reason);
420 /* if we aren't primary surface ignore this */
643 struct qxl_bo *primary; local
652 primary = bo->shadow ? bo->shadow : bo;
654 if (!primary->is_primary) {
657 qxl_io_create_primary(qdev, primary);
978 struct drm_plane *primary, *cursor; local
986 primary = qxl_create_plane(qdev, 1 << crtc_id, DRM_PLANE_TYPE_PRIMARY);
987 if (IS_ERR(primary)) {
998 r = drm_crtc_init_with_planes(dev, &qxl_crtc->base, primary, curso
[all...]
/linux-master/drivers/ata/
H A Dpata_legacy.c92 MODULE_PARM_DESC(ht6560a, "HT 6560A on primary 1, second 2, both 3");
96 MODULE_PARM_DESC(ht6560b, "HT 6560B on primary 1, secondary 2, both 3");
101 "Opti 82c611A on primary 1, secondary 2, both 3");
106 "Opti 82c465MV on primary 1, secondary 2, both 3");
1050 * @primary: set this if we find an ATA master
1060 static void __init legacy_check_special_cases(struct pci_dev *p, int *primary, argument
1065 *primary = *secondary = 1;
1070 *primary = *secondary = 1;
1082 *primary = 1;
1211 int primary local
[all...]
/linux-master/drivers/gpu/drm/xe/display/
H A Dxe_plane_initial.c32 to_intel_plane(crtc->base.primary);
189 to_intel_plane(crtc->base.primary);
252 * indicates that the primary plane is visible, but has a NULL FB,
254 * simplest solution is to just disable the primary plane now and
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_crtc.c276 struct drm_plane *primary, struct drm_plane *cursor)
281 ret = drmm_crtc_init_with_planes(dev, crtc, primary, cursor,
275 vkms_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, struct drm_plane *primary, struct drm_plane *cursor) argument
/linux-master/drivers/target/
H A Dtarget_core_alua.c33 int *primary, int explicit);
281 int alua_access_state, primary = 0, valid_states; local
324 * the state is a primary or secondary target port asymmetric
328 &primary, 1);
345 * specifies a primary target port asymmetric access state,
347 * a primary target port group for which the primary target
356 if (primary) {
442 * temporarily delayed for the Active/NonOptimized primary access state.
728 core_alua_check_transition(int state, int valid, int *primary, in argument
1064 int primary, valid_states, rc = 0; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c242 struct drm_framebuffer *fb = crtc->primary->fb;
468 const struct drm_framebuffer *fb = crtc->primary->fb;
497 /* Except for rare conditions I2C is enabled on the primary crtc */
613 struct drm_framebuffer *fb = crtc->primary->fb;
814 if (!nv_crtc->base.primary->fb) {
840 if (!atomic && !crtc->primary->fb) {
851 drm_fb = crtc->primary->fb;
1145 struct drm_framebuffer *old_fb = crtc->primary->fb;
1221 crtc->primary->fb = fb;
1289 struct drm_plane *primary; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dp_mst.c166 struct intel_dp *intel_dp = &intel_mst->primary->dp;
386 struct intel_dp *intel_dp = &intel_mst->primary->dp;
554 struct intel_dp *intel_dp = &intel_mst->primary->dp;
826 struct intel_dp *intel_dp = &intel_mst->primary->dp;
941 struct intel_dp *intel_dp = &intel_mst->primary->dp;
956 struct intel_digital_port *dig_port = intel_mst->primary;
976 struct intel_digital_port *dig_port = intel_mst->primary;
1074 struct intel_digital_port *dig_port = intel_mst->primary;
1088 struct intel_digital_port *dig_port = intel_mst->primary;
1097 * streams as for the primary strea
[all...]
/linux-master/fs/ext4/
H A Dresize.c65 * If we are not using the primary superblock/GDT copy don't resize,
771 * Check that all of the backup GDT blocks are held in the primary GDT block.
777 struct buffer_head *primary)
779 const ext4_fsblk_t blk = primary->b_blocknr;
784 __le32 *p = (__le32 *)primary->b_data;
807 * use from the resize inode. The primary copy of the new GDT block currently
903 * reserved inode, and will become GDT blocks (primary and backup).
1011 * The indirect blocks are actually the primary reserved GDT blocks,
1013 * double-indirect block to verify it is pointing to the primary reserved
1015 * backup GDT blocks are stored in their reserved primary GD
775 verify_reserved_gdb(struct super_block *sb, ext4_group_t end, struct buffer_head *primary) argument
1023 struct buffer_head **primary; local
[all...]
/linux-master/arch/powerpc/platforms/maple/
H A Dpci.c495 int primary = 1; local
516 primary = 0;
520 primary = 1;
524 primary = 0;
531 pci_process_bridge_OF_ranges(hose, dev, primary);
/linux-master/drivers/net/bonding/
H A Dbond_options.c395 .name = "primary",
406 .desc = "Reselect primary slave once it comes up",
1345 "prio updated, but will not affect failover re-selection as primary slave have been set\n");
1355 char *p, *primary = newval->string; local
1361 p = strchr(primary, '\n');
1364 /* check to see if we are clearing primary */
1365 if (!strlen(primary)) {
1366 netdev_dbg(bond->dev, "Setting primary slave to None\n");
1368 memset(bond->params.primary, 0, sizeof(bond->params.primary));
[all...]
H A Dbond_netlink.c370 char *primary = ""; local
374 primary = dev->name;
376 bond_opt_initstr(&newval, primary);
653 struct slave *primary; local
728 primary = rtnl_dereference(bond->primary_slave);
729 if (primary &&
730 nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex))
/linux-master/drivers/s390/block/
H A Ddasd_devmap.c622 * depending on the primary/secondary state of the device it has to be
627 bool primary)
632 if (primary) {
634 data->dev_info[i].primary == uid.real_unit_addr)
669 i = dasd_devmap_entry_from_pprc_data(data, uid, entry->primary);
676 if (entry->primary) {
678 dev_warn(&device->cdev->dev, "Copy pair secondary is setup as primary\n");
682 data->dev_info[i].primary != uid.real_unit_addr) {
684 "Primary device %s does not match copy pair status primary device %04x\n",
687 data->dev_info[i].primary);
625 dasd_devmap_entry_from_pprc_data(struct dasd_pprc_data_sc4 *data, struct dasd_uid uid, bool primary) argument
2081 dasd_devmap_set_copy_relation(struct dasd_devmap *devmap, struct dasd_copy_relation *copy, char *busid, bool primary) argument
2190 char *primary, *secondary, *tmp, *pt; local
[all...]
/linux-master/arch/powerpc/platforms/powermac/
H A Dpci.c779 int primary = 1; local
807 primary = 0;
811 primary = 1;
815 primary = 0;
824 primary = setup_uninorth(hose, &rsrc);
836 primary = 0;
849 pci_process_bridge_OF_ranges(hose, dev, primary);
/linux-master/drivers/gpu/drm/gma500/
H A Dgma_display.c64 struct drm_framebuffer *fb = crtc->primary->fb;
493 if (crtc->primary->fb) {
494 pobj = to_psb_gem_object(crtc->primary->fb->obj[0]);
518 struct drm_framebuffer *current_fb = crtc->primary->fb;
519 struct drm_framebuffer *old_fb = crtc->primary->old_fb;
529 crtc->primary->fb = fb;
555 crtc->primary->fb = current_fb;
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c316 * On all dual CRTC GPUs this bit controls the CRTC of the primary DAC.
318 * This is different for GPU's with a single CRTC but a primary and a
393 if (!atomic && !crtc->primary->fb) {
401 target_fb = crtc->primary->fb;
448 if (!atomic && fb && fb != crtc->primary->fb) {
558 if (!atomic && fb && fb != crtc->primary->fb) {
578 const struct drm_framebuffer *fb = crtc->primary->fb;
1091 if (crtc->primary->fb) {
1095 rbo = gem_to_radeon_bo(crtc->primary->fb->obj[0]);
/linux-master/drivers/gpu/drm/mxsfb/
H A Dlcdif_kms.c341 CTRLDESCL0_3_PITCH(lcdif->crtc.primary->state->fb->pitches[0]);
432 drm_plane_mask(crtc->primary);
442 /* The primary plane has to be enabled when the CRTC is active. */
536 crtc->primary);
757 drm_plane_helper_add(&lcdif->planes.primary,
759 ret = drm_universal_plane_init(lcdif->drm, &lcdif->planes.primary, 1,
768 ret = drm_plane_create_color_properties(&lcdif->planes.primary,
778 &lcdif->planes.primary, NULL,
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c224 ps = crtc->primary->state;
804 struct drm_plane *primary; local
817 primary = &sou->base.primary;
830 /* Initialize primary plane */
831 ret = drm_universal_plane_init(dev, primary,
837 DRM_ERROR("Failed to initialize primary plane");
841 drm_plane_helper_add(primary, &vmw_sou_primary_plane_helper_funcs);
842 drm_plane_enable_fb_damage_clips(primary);
852 drm_plane_cleanup(&sou->base.primary);
[all...]

Completed in 221 milliseconds

1234567891011>>