primary 56 arch/alpha/boot/tools/objstrip.c int fd, ofd, i, j, verbose = 0, primary = 0; primary 80 arch/alpha/boot/tools/objstrip.c primary = 1; /* make primary bootblock */ primary 106 arch/alpha/boot/tools/objstrip.c if (primary) { primary 134 arch/microblaze/include/asm/pci-bridge.h struct device_node *dev, int primary); primary 418 arch/microblaze/pci/pci-common.c struct device_node *dev, int primary) primary 427 arch/microblaze/pci/pci-common.c dev, primary ? "(primary)" : ""); primary 471 arch/microblaze/pci/pci-common.c if (primary) primary 501 arch/microblaze/pci/pci-common.c if (primary || isa_mem_base == 0) primary 279 arch/powerpc/include/asm/pci-bridge.h struct device_node *dev, int primary); primary 16 arch/powerpc/include/asm/ppc-pci.h extern void pci_setup_phb_io(struct pci_controller *hose, int primary); primary 17 arch/powerpc/include/asm/ppc-pci.h extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary); primary 25 arch/powerpc/include/asm/tsi108_pci.h extern int tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary); primary 669 arch/powerpc/kernel/pci-common.c struct device_node *dev, int primary) primary 677 arch/powerpc/kernel/pci-common.c dev, primary ? "(primary)" : ""); primary 718 arch/powerpc/kernel/pci-common.c if (primary) primary 748 arch/powerpc/kernel/pci-common.c if (primary || isa_mem_base == 0) primary 290 arch/powerpc/kernel/pci_of_scan.c bus->primary = dev->bus->number; primary 100 arch/powerpc/kvm/book3s_32_mmu.c bool primary) primary 110 arch/powerpc/kvm/book3s_32_mmu.c if (!primary) primary 126 arch/powerpc/kvm/book3s_32_mmu.c static u32 kvmppc_mmu_book3s_32_get_ptem(u32 sre, gva_t eaddr, bool primary) primary 129 arch/powerpc/kvm/book3s_32_mmu.c (primary ? 0 : 0x40) | 0x80000000; primary 189 arch/powerpc/kvm/book3s_32_mmu.c bool iswrite, bool primary) primary 206 arch/powerpc/kvm/book3s_32_mmu.c ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu, sre, eaddr, primary); primary 212 arch/powerpc/kvm/book3s_32_mmu.c ptem = kvmppc_mmu_book3s_32_get_ptem(sre, eaddr, primary); primary 107 arch/powerpc/kvm/book3s_32_mmu_host.c bool primary) primary 115 arch/powerpc/kvm/book3s_32_mmu_host.c if (!primary) primary 141 arch/powerpc/kvm/book3s_32_mmu_host.c bool primary = false; primary 171 arch/powerpc/kvm/book3s_32_mmu_host.c primary = !primary; primary 176 arch/powerpc/kvm/book3s_32_mmu_host.c pteg = kvmppc_mmu_get_pteg(vcpu, vsid, eaddr, primary); primary 195 arch/powerpc/kvm/book3s_32_mmu_host.c (primary ? 0 : PTE_SEC); primary 207 arch/powerpc/mm/ptdump/hashpagetable.c static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64 primary 222 arch/powerpc/mm/ptdump/hashpagetable.c if (!primary) primary 240 arch/powerpc/mm/ptdump/hashpagetable.c static int pseries_find(unsigned long ea, int psize, bool primary, u64 *v, u64 *r) primary 255 arch/powerpc/mm/ptdump/hashpagetable.c if (!primary) primary 314 arch/powerpc/mm/ptdump/hashpagetable.c static int base_hpte_find(unsigned long ea, int psize, bool primary, u64 *v, primary 318 arch/powerpc/mm/ptdump/hashpagetable.c return pseries_find(ea, psize, primary, v, r); primary 320 arch/powerpc/mm/ptdump/hashpagetable.c return native_find(ea, psize, primary, v, r); primary 328 arch/powerpc/platforms/4xx/pci.c int primary = 0; primary 351 arch/powerpc/platforms/4xx/pci.c primary = 1; primary 382 arch/powerpc/platforms/4xx/pci.c pci_process_bridge_OF_ranges(hose, np, primary); primary 532 arch/powerpc/platforms/4xx/pci.c int big_pim = 0, msi = 0, primary = 0; primary 557 arch/powerpc/platforms/4xx/pci.c primary = 1; primary 594 arch/powerpc/platforms/4xx/pci.c pci_process_bridge_OF_ranges(hose, np, primary); primary 1919 arch/powerpc/platforms/4xx/pci.c int primary = 0, busses; primary 1926 arch/powerpc/platforms/4xx/pci.c primary = 1; primary 2007 arch/powerpc/platforms/4xx/pci.c pci_process_bridge_OF_ranges(hose, port->node, primary); primary 271 arch/powerpc/platforms/85xx/smp.c int primary = nr; primary 284 arch/powerpc/platforms/85xx/smp.c primary = cpu_first_thread_sibling(nr); primary 293 arch/powerpc/platforms/85xx/smp.c if (cpu_online(primary)) { primary 294 arch/powerpc/platforms/85xx/smp.c smp_call_function_single(primary, primary 297 arch/powerpc/platforms/85xx/smp.c } else if (cpu_online(primary + 1)) { primary 298 arch/powerpc/platforms/85xx/smp.c smp_call_function_single(primary + 1, primary 322 arch/powerpc/platforms/85xx/smp.c ret = smp_85xx_start_cpu(primary); primary 495 arch/powerpc/platforms/maple/pci.c int primary = 1; primary 516 arch/powerpc/platforms/maple/pci.c primary = 0; primary 520 arch/powerpc/platforms/maple/pci.c primary = 1; primary 524 arch/powerpc/platforms/maple/pci.c primary = 0; primary 531 arch/powerpc/platforms/maple/pci.c pci_process_bridge_OF_ranges(hose, dev, primary); primary 778 arch/powerpc/platforms/powermac/pci.c int primary = 1; primary 806 arch/powerpc/platforms/powermac/pci.c primary = 0; primary 810 arch/powerpc/platforms/powermac/pci.c primary = 1; primary 814 arch/powerpc/platforms/powermac/pci.c primary = 0; primary 823 arch/powerpc/platforms/powermac/pci.c primary = setup_uninorth(hose, &rsrc); primary 835 arch/powerpc/platforms/powermac/pci.c primary = 0; primary 848 arch/powerpc/platforms/powermac/pci.c pci_process_bridge_OF_ranges(hose, dev, primary); primary 690 arch/powerpc/sysdev/fsl_pci.c bus->primary == hose->first_busno) { primary 803 arch/powerpc/sysdev/fsl_pci.c int primary; primary 840 arch/powerpc/sysdev/fsl_pci.c primary = 1; primary 842 arch/powerpc/sysdev/fsl_pci.c primary = 0; primary 878 arch/powerpc/sysdev/fsl_pci.c pci_process_bridge_OF_ranges(hose, dev, primary); primary 146 arch/powerpc/sysdev/fsl_rcpm.c int primary; primary 149 arch/powerpc/sysdev/fsl_rcpm.c primary = cpu_first_thread_sibling(cpu); primary 150 arch/powerpc/sysdev/fsl_rcpm.c if (cpu_is_offline(primary) && cpu_is_offline(primary + 1)) { primary 183 arch/powerpc/sysdev/tsi108_pci.c int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary) primary 225 arch/powerpc/sysdev/tsi108_pci.c pci_process_bridge_OF_ranges(hose, dev, primary); primary 458 arch/sparc/kernel/pci.c bus->primary = dev->bus->number; primary 20 arch/um/drivers/chan.h unsigned int primary:1; primary 22 arch/um/drivers/chan_kern.c static int not_configged_open(int input, int output, int primary, void *data, primary 93 arch/um/drivers/chan_kern.c else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary, primary 119 arch/um/drivers/chan_kern.c if (chan->primary) primary 127 arch/um/drivers/chan_kern.c if (chan && chan->primary && chan->ops->winch) primary 151 arch/um/drivers/chan_kern.c if (chan->primary) primary 259 arch/um/drivers/chan_kern.c if (chan->primary) { primary 273 arch/um/drivers/chan_kern.c if (chan->primary) primary 297 arch/um/drivers/chan_kern.c if (chan && chan->primary) { primary 304 arch/um/drivers/chan_kern.c if (chan && chan->primary) { primary 322 arch/um/drivers/chan_kern.c if (chan->primary && chan->output) primary 389 arch/um/drivers/chan_kern.c if (in && !in->primary) primary 391 arch/um/drivers/chan_kern.c if (out && !out->primary) primary 477 arch/um/drivers/chan_kern.c .primary = 1, primary 559 arch/um/drivers/chan_kern.c if (chan->primary) { primary 565 arch/um/drivers/chan_kern.c if (chan->primary) primary 50 arch/um/drivers/fd.c static int fd_open(int input, int output, int primary, void *d, char **dev_out) primary 20 arch/um/drivers/null.c static int null_open(int input, int output, int primary, void *d, primary 70 arch/um/drivers/port_user.c static int port_open(int input, int output, int primary, void *d, primary 40 arch/um/drivers/pty.c static int pts_open(int input, int output, int primary, void *d, primary 113 arch/um/drivers/pty.c static int pty_open(int input, int output, int primary, void *d, primary 39 arch/um/drivers/tty.c static int tty_open(int input, int output, int primary, void *d, primary 84 arch/um/drivers/xterm.c static int xterm_open(int input, int output, int primary, void *d, primary 1446 arch/x86/mm/pageattr.c int primary) primary 1460 arch/x86/mm/pageattr.c if (!primary) { primary 1490 arch/x86/mm/pageattr.c static int __change_page_attr(struct cpa_data *cpa, int primary) primary 1501 arch/x86/mm/pageattr.c return __cpa_process_fault(cpa, address, primary); primary 1505 arch/x86/mm/pageattr.c return __cpa_process_fault(cpa, address, primary); primary 1022 drivers/ata/pata_legacy.c static void __init legacy_check_special_cases(struct pci_dev *p, int *primary, primary 1027 drivers/ata/pata_legacy.c *primary = *secondary = 1; primary 1032 drivers/ata/pata_legacy.c *primary = *secondary = 1; primary 1044 drivers/ata/pata_legacy.c *primary = 1; primary 1173 drivers/ata/pata_legacy.c int primary = 0; primary 1188 drivers/ata/pata_legacy.c primary = 1; primary 1193 drivers/ata/pata_legacy.c legacy_check_special_cases(p, &primary, &secondary); primary 1203 drivers/ata/pata_legacy.c if (primary == 0 || all) primary 851 drivers/clk/clk-stm32f4.c static int stm32f4_rcc_lookup_clk_idx(u8 primary, u8 secondary) primary 855 drivers/clk/clk-stm32f4.c if (primary == 1) { primary 95 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c crtc->x, crtc->y, crtc->primary->fb); primary 67 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c adev->ddev->primary->debugfs_root, primary 68 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c adev->ddev->primary); primary 827 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct drm_minor *minor = adev->ddev->primary; primary 1103 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c adev->ddev->primary->debugfs_root, primary 3046 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c struct drm_framebuffer *fb = crtc->primary->fb; primary 177 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c obj = crtc->primary->fb->obj[0]; primary 240 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c crtc->primary->fb = fb; primary 228 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c pmu_file_prefix, adev->ddev->primary->index); primary 928 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct drm_minor *minor = adev->ddev->primary; primary 492 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c struct drm_minor *minor = adev->ddev->primary; primary 2436 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct drm_minor *minor = adev->ddev->primary; primary 200 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c "amdgpu_bl%d", dev->primary->index); primary 239 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; primary 1849 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (!atomic && !crtc->primary->fb) { primary 1857 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c target_fb = crtc->primary->fb; primary 2061 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (!atomic && fb && fb != crtc->primary->fb) { primary 2543 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (crtc->primary->fb) { primary 2547 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); primary 257 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; primary 1891 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (!atomic && !crtc->primary->fb) { primary 1899 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c target_fb = crtc->primary->fb; primary 2103 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (!atomic && fb && fb != crtc->primary->fb) { primary 2622 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (crtc->primary->fb) { primary 2626 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); primary 194 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; primary 1806 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (!atomic && !crtc->primary->fb) { primary 1814 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c target_fb = crtc->primary->fb; primary 1996 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (!atomic && fb && fb != crtc->primary->fb) { primary 2431 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (crtc->primary->fb) { primary 2435 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); primary 187 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c struct drm_framebuffer *fb = amdgpu_crtc->base.primary->fb; primary 1778 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (!atomic && !crtc->primary->fb) { primary 1786 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c target_fb = crtc->primary->fb; primary 1970 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (!atomic && fb && fb != crtc->primary->fb) { primary 2444 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (crtc->primary->fb) { primary 2448 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c abo = gem_to_amdgpu_bo(crtc->primary->fb->obj[0]); primary 2144 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm->adev->ddev->primary->index); primary 5392 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (crtc->primary->state) { primary 5394 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c x += crtc->primary->state->src_x >> 16; primary 5395 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c y += crtc->primary->state->src_y >> 16; primary 5818 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (plane == pcrtc->primary) primary 6443 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane *plane = disconnected_acrtc->base.primary; primary 1123 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c struct drm_minor *minor = adev->ddev->primary; primary 31 drivers/gpu/drm/arc/arcpgu_crtc.c const struct drm_framebuffer *fb = crtc->primary->state->fb; primary 222 drivers/gpu/drm/arc/arcpgu_crtc.c struct drm_plane *primary; primary 225 drivers/gpu/drm/arc/arcpgu_crtc.c primary = arc_pgu_plane_init(drm); primary 226 drivers/gpu/drm/arc/arcpgu_crtc.c if (IS_ERR(primary)) primary 227 drivers/gpu/drm/arc/arcpgu_crtc.c return PTR_ERR(primary); primary 229 drivers/gpu/drm/arc/arcpgu_crtc.c ret = drm_crtc_init_with_planes(drm, &arcpgu->crtc, primary, NULL, primary 232 drivers/gpu/drm/arc/arcpgu_crtc.c arc_pgu_plane_destroy(primary); primary 86 drivers/gpu/drm/arm/hdlcd_crtc.c const struct drm_framebuffer *fb = crtc->primary->state->fb; primary 323 drivers/gpu/drm/arm/hdlcd_crtc.c struct drm_plane *primary; primary 326 drivers/gpu/drm/arm/hdlcd_crtc.c primary = hdlcd_plane_init(drm); primary 327 drivers/gpu/drm/arm/hdlcd_crtc.c if (IS_ERR(primary)) primary 328 drivers/gpu/drm/arm/hdlcd_crtc.c return PTR_ERR(primary); primary 330 drivers/gpu/drm/arm/hdlcd_crtc.c ret = drm_crtc_init_with_planes(drm, &hdlcd->crtc, primary, NULL, primary 523 drivers/gpu/drm/arm/malidp_crtc.c struct drm_plane *primary = NULL, *plane; primary 534 drivers/gpu/drm/arm/malidp_crtc.c primary = plane; primary 539 drivers/gpu/drm/arm/malidp_crtc.c if (!primary) { primary 544 drivers/gpu/drm/arm/malidp_crtc.c ret = drm_crtc_init_with_planes(drm, &malidp->crtc, primary, NULL, primary 906 drivers/gpu/drm/armada/armada_crtc.c struct drm_plane *primary; primary 963 drivers/gpu/drm/armada/armada_crtc.c primary = kzalloc(sizeof(*primary), GFP_KERNEL); primary 964 drivers/gpu/drm/armada/armada_crtc.c if (!primary) { primary 969 drivers/gpu/drm/armada/armada_crtc.c ret = armada_drm_primary_plane_init(drm, primary); primary 971 drivers/gpu/drm/armada/armada_crtc.c kfree(primary); primary 975 drivers/gpu/drm/armada/armada_crtc.c ret = drm_crtc_init_with_planes(drm, &dcrtc->crtc, primary, NULL, primary 991 drivers/gpu/drm/armada/armada_crtc.c primary->funcs->destroy(primary); primary 162 drivers/gpu/drm/armada/armada_drv.c armada_drm_debugfs_init(priv->drm.primary); primary 316 drivers/gpu/drm/armada/armada_plane.c struct drm_plane *primary) primary 320 drivers/gpu/drm/armada/armada_plane.c drm_plane_helper_add(primary, &armada_primary_plane_helper_funcs); primary 322 drivers/gpu/drm/armada/armada_plane.c ret = drm_universal_plane_init(drm, primary, 0, primary 36 drivers/gpu/drm/armada/armada_plane.h struct drm_plane *primary); primary 30 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c const u32 format = crtc->primary->state->fb->format->format; primary 72 drivers/gpu/drm/ast/ast_drv.c bool primary = false; primary 82 drivers/gpu/drm/ast/ast_drv.c primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; primary 84 drivers/gpu/drm/ast/ast_drv.c drm_fb_helper_remove_conflicting_framebuffers(ap, "astdrmfb", primary); primary 90 drivers/gpu/drm/ast/ast_mode.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 391 drivers/gpu/drm/ast/ast_mode.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 422 drivers/gpu/drm/ast/ast_mode.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 481 drivers/gpu/drm/ast/ast_mode.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 541 drivers/gpu/drm/ast/ast_mode.c gbo = drm_gem_vram_of_gem(crtc->primary->fb->obj[0]); primary 607 drivers/gpu/drm/ast/ast_mode.c if (crtc->primary->fb) { primary 608 drivers/gpu/drm/ast/ast_mode.c struct drm_framebuffer *fb = crtc->primary->fb; primary 614 drivers/gpu/drm/ast/ast_mode.c crtc->primary->fb = NULL; primary 482 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c struct atmel_hlcdc_plane *primary = NULL, *cursor = NULL; primary 500 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c primary = atmel_hlcdc_layer_to_plane(dc->layers[i]); primary 512 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c ret = drm_crtc_init_with_planes(dev, &crtc->base, &primary->base, primary 523 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c struct atmel_hlcdc_plane *primary; primary 526 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c primary = drm_plane_to_atmel_hlcdc_plane(c_state->crtc->primary); primary 527 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c layout = &primary->layer.desc->layout; primary 532 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c &primary->base); primary 542 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c if (ovl == c_state->crtc->primary) primary 1364 drivers/gpu/drm/drm_atomic.c primary_state = drm_atomic_get_plane_state(state, crtc->primary); primary 1151 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane *primary = crtc->primary; primary 1158 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_get_new_plane_state(old_state, primary); primary 3301 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane *plane = crtc->primary; primary 3356 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane *plane = crtc->primary; primary 3400 drivers/gpu/drm/drm_atomic_helper.c struct drm_plane *plane = crtc->primary; primary 39 drivers/gpu/drm/drm_client.c file = drm_file_alloc(dev->primary); primary 827 drivers/gpu/drm/drm_client_modeset.c struct drm_plane *plane = modeset->crtc->primary; primary 938 drivers/gpu/drm/drm_client_modeset.c struct drm_plane *primary = mode_set->crtc->primary; primary 945 drivers/gpu/drm/drm_client_modeset.c plane_state = drm_atomic_get_new_plane_state(state, primary); primary 227 drivers/gpu/drm/drm_crtc.c struct drm_plane *primary, primary 235 drivers/gpu/drm/drm_crtc.c WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); primary 282 drivers/gpu/drm/drm_crtc.c crtc->primary = primary; primary 284 drivers/gpu/drm/drm_crtc.c if (primary && !primary->possible_crtcs) primary 285 drivers/gpu/drm/drm_crtc.c primary->possible_crtcs = drm_crtc_mask(crtc); primary 373 drivers/gpu/drm/drm_crtc.c plane = crtc->primary; primary 434 drivers/gpu/drm/drm_crtc.c struct drm_plane *plane = tmp->primary; primary 443 drivers/gpu/drm/drm_crtc.c struct drm_plane *plane = crtc->primary; primary 450 drivers/gpu/drm/drm_crtc.c struct drm_plane *plane = tmp->primary; primary 503 drivers/gpu/drm/drm_crtc.c drm_rotation_90_or_270(crtc->primary->state->rotation)) primary 558 drivers/gpu/drm/drm_crtc.c plane = crtc->primary; primary 191 drivers/gpu/drm/drm_crtc_helper.c crtc->primary->fb = NULL; primary 584 drivers/gpu/drm/drm_crtc_helper.c save_set.fb = set->crtc->primary->fb; primary 588 drivers/gpu/drm/drm_crtc_helper.c if (set->crtc->primary->fb != set->fb) { primary 590 drivers/gpu/drm/drm_crtc_helper.c if (set->crtc->primary->fb == NULL) { primary 593 drivers/gpu/drm/drm_crtc_helper.c } else if (set->fb->format != set->crtc->primary->fb->format) { primary 709 drivers/gpu/drm/drm_crtc_helper.c set->crtc->primary->fb = set->fb; primary 715 drivers/gpu/drm/drm_crtc_helper.c set->crtc->primary->fb = save_set.fb; primary 730 drivers/gpu/drm/drm_crtc_helper.c set->crtc->primary->fb = set->fb; primary 736 drivers/gpu/drm/drm_crtc_helper.c set->crtc->primary->fb = save_set.fb; primary 935 drivers/gpu/drm/drm_crtc_helper.c crtc->x, crtc->y, crtc->primary->fb); primary 426 drivers/gpu/drm/drm_debugfs.c struct drm_minor *minor = connector->dev->primary; primary 456 drivers/gpu/drm/drm_debugfs.c struct drm_minor *minor = crtc->dev->primary; primary 104 drivers/gpu/drm/drm_drv.c return &dev->primary; primary 996 drivers/gpu/drm/drm_drv.c dev->primary->index); primary 204 drivers/gpu/drm/drm_fb_helper.c fb = crtc->primary->fb; primary 1553 drivers/gpu/drm/drm_fb_helper.c struct drm_plane *plane = crtc->primary; primary 872 drivers/gpu/drm/drm_framebuffer.c if (disable_crtcs && plane_state->crtc->primary == plane) { primary 936 drivers/gpu/drm/drm_framebuffer.c if (crtc->primary->fb == fb) { primary 444 drivers/gpu/drm/drm_lease.c ret = idr_alloc(leases, &drm_lease_idr_object, crtc->primary->base.id, crtc->primary->base.id + 1, GFP_KERNEL); primary 112 drivers/gpu/drm/drm_modeset_helper.c struct drm_plane *primary; primary 115 drivers/gpu/drm/drm_modeset_helper.c primary = kzalloc(sizeof(*primary), GFP_KERNEL); primary 116 drivers/gpu/drm/drm_modeset_helper.c if (primary == NULL) { primary 125 drivers/gpu/drm/drm_modeset_helper.c primary->format_default = true; primary 128 drivers/gpu/drm/drm_modeset_helper.c ret = drm_universal_plane_init(dev, primary, 0, primary 135 drivers/gpu/drm/drm_modeset_helper.c kfree(primary); primary 136 drivers/gpu/drm/drm_modeset_helper.c primary = NULL; primary 139 drivers/gpu/drm/drm_modeset_helper.c return primary; primary 172 drivers/gpu/drm/drm_modeset_helper.c struct drm_plane *primary; primary 174 drivers/gpu/drm/drm_modeset_helper.c primary = create_primary_plane(dev); primary 175 drivers/gpu/drm/drm_modeset_helper.c return drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs, primary 1068 drivers/gpu/drm/drm_plane.c plane = crtc->primary; primary 724 drivers/gpu/drm/drm_prime.c priv->minor = obj->dev->primary; primary 52 drivers/gpu/drm/drm_simple_kms_helper.c drm_plane_mask(crtc->primary); primary 284 drivers/gpu/drm/drm_sysfs.c device_create_with_groups(drm_class, dev->primary->kdev, 0, primary 286 drivers/gpu/drm/drm_sysfs.c "card%d-%s", dev->primary->index, primary 327 drivers/gpu/drm/drm_sysfs.c kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); primary 348 drivers/gpu/drm/drm_sysfs.c kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); primary 379 drivers/gpu/drm/drm_sysfs.c kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); primary 170 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c struct drm_plane *primary; primary 176 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c primary = fsl_dcu_drm_primary_create_plane(fsl_dev->drm); primary 177 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c if (!primary) primary 180 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c ret = drm_crtc_init_with_planes(fsl_dev->drm, crtc, primary, NULL, primary 183 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c primary->funcs->destroy(primary); primary 209 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c struct drm_plane *primary; primary 212 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c primary = kzalloc(sizeof(*primary), GFP_KERNEL); primary 213 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c if (!primary) { primary 219 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c ret = drm_universal_plane_init(dev, primary, 0, primary 225 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c kfree(primary); primary 226 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c primary = NULL; primary 228 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs); primary 230 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c return primary; primary 462 drivers/gpu/drm/gma500/cdv_intel_display.c if (crtc->primary->fb == NULL || !gma_crtc->active) primary 1891 drivers/gpu/drm/gma500/cdv_intel_dp.c crtc->primary->fb); primary 196 drivers/gpu/drm/gma500/cdv_intel_hdmi.c encoder->crtc->x, encoder->crtc->y, encoder->crtc->primary->fb)) primary 461 drivers/gpu/drm/gma500/cdv_intel_lvds.c encoder->crtc->primary->fb)) primary 56 drivers/gpu/drm/gma500/gma_display.c struct drm_framebuffer *fb = crtc->primary->fb; primary 489 drivers/gpu/drm/gma500/gma_display.c if (crtc->primary->fb) { primary 490 drivers/gpu/drm/gma500/gma_display.c gt = to_gtt_range(crtc->primary->fb->obj[0]); primary 292 drivers/gpu/drm/gma500/mdfld_dsi_output.c encoder->crtc->primary->fb)) primary 159 drivers/gpu/drm/gma500/mdfld_intel_display.c struct drm_framebuffer *fb = crtc->primary->fb; primary 694 drivers/gpu/drm/gma500/mdfld_intel_display.c ret = check_fb(crtc->primary->fb); primary 594 drivers/gpu/drm/gma500/oaktrail_crtc.c struct drm_framebuffer *fb = crtc->primary->fb; primary 113 drivers/gpu/drm/gma500/psb_intel_display.c if (crtc->primary->fb == NULL) { primary 580 drivers/gpu/drm/gma500/psb_intel_lvds.c encoder->crtc->primary->fb)) primary 1805 drivers/gpu/drm/gma500/psb_intel_sdvo.c crtc->y, crtc->primary->fb); primary 365 drivers/gpu/drm/i2c/ch7006_drv.c crtc->primary->fb); primary 1017 drivers/gpu/drm/i915/display/intel_display.c return crtc->active && crtc->base.primary->state->fb && primary 2510 drivers/gpu/drm/i915/display/intel_display.c plane = to_intel_plane(crtc->base.primary); primary 3177 drivers/gpu/drm/i915/display/intel_display.c struct drm_plane *primary = intel_crtc->base.primary; primary 3178 drivers/gpu/drm/i915/display/intel_display.c struct drm_plane_state *plane_state = primary->state; primary 3179 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *intel_plane = to_intel_plane(primary); primary 3207 drivers/gpu/drm/i915/display/intel_display.c state = to_intel_plane_state(c->primary->state); primary 3273 drivers/gpu/drm/i915/display/intel_display.c atomic_or(to_intel_plane(primary)->frontbuffer_bit, primary 5908 drivers/gpu/drm/i915/display/intel_display.c struct drm_plane *primary = crtc->base.primary; primary 5910 drivers/gpu/drm/i915/display/intel_display.c drm_atomic_get_old_plane_state(state, primary); primary 5922 drivers/gpu/drm/i915/display/intel_display.c drm_atomic_get_new_plane_state(state, primary); primary 5948 drivers/gpu/drm/i915/display/intel_display.c struct drm_plane *primary = crtc->base.primary; primary 5950 drivers/gpu/drm/i915/display/intel_display.c drm_atomic_get_old_plane_state(state, primary); primary 5961 drivers/gpu/drm/i915/display/intel_display.c to_intel_plane(primary)); primary 6300 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *plane = to_intel_plane(crtc->base.primary); primary 8594 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *plane = to_intel_plane(crtc->base.primary); primary 8751 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *plane = to_intel_plane(crtc->base.primary); primary 9797 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *plane = to_intel_plane(crtc->base.primary); primary 13737 drivers/gpu/drm/i915/display/intel_display.c to_intel_plane(crtc->base.primary)); primary 15107 drivers/gpu/drm/i915/display/intel_display.c struct intel_plane *primary = NULL; primary 15123 drivers/gpu/drm/i915/display/intel_display.c primary = intel_primary_plane_create(dev_priv, pipe); primary 15124 drivers/gpu/drm/i915/display/intel_display.c if (IS_ERR(primary)) { primary 15125 drivers/gpu/drm/i915/display/intel_display.c ret = PTR_ERR(primary); primary 15128 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->plane_ids_mask |= BIT(primary->id); primary 15168 drivers/gpu/drm/i915/display/intel_display.c &primary->base, &cursor->base, primary 15183 drivers/gpu/drm/i915/display/intel_display.c enum i9xx_plane_id i9xx_plane = primary->i9xx_plane; primary 16387 drivers/gpu/drm/i915/display/intel_display.c to_intel_plane(crtc->base.primary); primary 1293 drivers/gpu/drm/i915/display/intel_display_types.h struct intel_digital_port *primary; primary 47 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_mst->primary->dp; primary 96 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_mst->primary->dp; primary 194 drivers/gpu/drm/i915/display/intel_dp_mst.c mgr = &enc_to_mst(old_conn_state->best_encoder)->primary->dp.mst_mgr; primary 206 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 230 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 268 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 281 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 295 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 342 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 374 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 610 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_mst->primary = intel_dig_port; primary 2890 drivers/gpu/drm/i915/display/intel_dpll_mgr.c enc_to_mst(&encoder->base)->primary : primary 843 drivers/gpu/drm/i915/display/intel_fbc.c params->crtc.i9xx_plane = to_intel_plane(crtc->base.primary)->i9xx_plane; primary 958 drivers/gpu/drm/i915/display/intel_fbc.c return to_intel_plane(fbc->crtc->base.primary)->frontbuffer_bit; primary 1264 drivers/gpu/drm/i915/display/intel_fbc.c crtc->base.primary->state->visible) primary 327 drivers/gpu/drm/i915/display/intel_fbdev.c intel_fb_obj(crtc->primary->state->fb); primary 339 drivers/gpu/drm/i915/display/intel_fbdev.c fb = to_intel_framebuffer(crtc->primary->state->fb); primary 419 drivers/gpu/drm/i915/display/intel_fbdev.c WARN(!crtc->primary->state->fb, primary 664 drivers/gpu/drm/i915/display/intel_overlay.c to_intel_plane_state(overlay->crtc->base.primary->state); primary 1958 drivers/gpu/drm/i915/display/intel_sprite.c crtc->base.primary); primary 1583 drivers/gpu/drm/i915/display/vlv_dsi.c plane = to_intel_plane(crtc->base.primary); primary 1084 drivers/gpu/drm/i915/gt/intel_reset.c struct kobject *kobj = >->i915->drm.primary->kdev->kobj; primary 389 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c dev_priv->drm.primary->debugfs_root, primary 359 drivers/gpu/drm/i915/gvt/cfg_space.c bool primary) primary 368 drivers/gpu/drm/i915/gvt/cfg_space.c if (!primary) { primary 410 drivers/gpu/drm/i915/gvt/cfg_space.c bool primary = vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] != primary 423 drivers/gpu/drm/i915/gvt/cfg_space.c intel_vgpu_init_cfg_space(vgpu, primary); primary 223 drivers/gpu/drm/i915/gvt/debugfs.c struct drm_minor *minor = gvt->dev_priv->drm.primary; primary 152 drivers/gpu/drm/i915/gvt/fb_decoder.h struct intel_vgpu_primary_plane_format primary; primary 430 drivers/gpu/drm/i915/gvt/gvt.h __s32 primary; primary 527 drivers/gpu/drm/i915/gvt/gvt.h bool primary); primary 1240 drivers/gpu/drm/i915/gvt/handlers.c struct kobject *kobj = &dev_priv->drm.primary->kdev->kobj; primary 393 drivers/gpu/drm/i915/gvt/vgpu.c intel_vgpu_init_cfg_space(vgpu, param->primary); primary 483 drivers/gpu/drm/i915/gvt/vgpu.c param.primary = 1; primary 2466 drivers/gpu/drm/i915/i915_debugfs.c struct drm_plane_state *plane_state = crtc->primary->state; primary 2531 drivers/gpu/drm/i915/i915_debugfs.c struct intel_digital_port *intel_dig_port = intel_mst->primary; primary 4368 drivers/gpu/drm/i915/i915_debugfs.c struct drm_minor *minor = dev_priv->drm.primary; primary 427 drivers/gpu/drm/i915/i915_drv.c bool primary; primary 437 drivers/gpu/drm/i915/i915_drv.c primary = primary 440 drivers/gpu/drm/i915/i915_drv.c ret = drm_fb_helper_remove_conflicting_framebuffers(ap, "inteldrmfb", primary); primary 1776 drivers/gpu/drm/i915/i915_gpu_error.c i915->drm.primary->index); primary 1327 drivers/gpu/drm/i915/i915_irq.c kobject_uevent_env(&dev_priv->drm.primary->kdev->kobj, primary 3046 drivers/gpu/drm/i915/i915_perf.c &dev_priv->drm.primary->kdev->kobj); primary 576 drivers/gpu/drm/i915/i915_sysfs.c struct device *kdev = dev_priv->drm.primary->kdev; primary 625 drivers/gpu/drm/i915/i915_sysfs.c struct device *kdev = dev_priv->drm.primary->kdev; primary 181 drivers/gpu/drm/i915/i915_trace.h __field(u16, primary) primary 199 drivers/gpu/drm/i915/i915_trace.h __entry->primary = wm->pipe[crtc->pipe].plane[PLANE_PRIMARY]; primary 215 drivers/gpu/drm/i915/i915_trace.h __entry->primary, __entry->sprite, __entry->cursor, primary 231 drivers/gpu/drm/i915/i915_trace.h __field(u32, primary) primary 245 drivers/gpu/drm/i915/i915_trace.h __entry->primary = wm->pipe[crtc->pipe].plane[PLANE_PRIMARY]; primary 256 drivers/gpu/drm/i915/i915_trace.h __entry->primary, __entry->sprite0, __entry->sprite1, __entry->cursor, primary 445 drivers/gpu/drm/i915/i915_trace.h __entry->dev = i915->drm.primary->index; primary 605 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; primary 631 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; primary 655 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; primary 677 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; primary 706 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; primary 751 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; primary 782 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; primary 847 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; primary 931 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; primary 966 drivers/gpu/drm/i915/i915_trace.h __entry->dev = ctx->i915->drm.primary->index; primary 884 drivers/gpu/drm/i915/intel_pm.c crtc->base.primary->state->fb; primary 2224 drivers/gpu/drm/i915/intel_pm.c crtc->base.primary->state->fb; primary 2305 drivers/gpu/drm/i915/intel_pm.c crtc->base.primary->state->fb; primary 2332 drivers/gpu/drm/i915/intel_pm.c crtc->base.primary->state->fb; primary 2358 drivers/gpu/drm/i915/intel_pm.c obj = intel_fb_obj(enabled->base.primary->state->fb); primary 2380 drivers/gpu/drm/i915/intel_pm.c enabled->base.primary->state->fb; primary 40 drivers/gpu/drm/i915/selftests/mock_drm.c inode->i_rdev = i915->drm.primary->index; primary 235 drivers/gpu/drm/imx/ipuv3-crtc.c u32 primary_plane_mask = drm_plane_mask(crtc->primary); primary 159 drivers/gpu/drm/ingenic/ingenic-drm.c struct drm_plane primary; primary 222 drivers/gpu/drm/ingenic/ingenic-drm.c return container_of(plane, struct ingenic_drm, primary); primary 342 drivers/gpu/drm/ingenic/ingenic-drm.c struct drm_framebuffer *drm_fb = crtc->primary->state->fb; primary 699 drivers/gpu/drm/ingenic/ingenic-drm.c drm_plane_helper_add(&priv->primary, &ingenic_drm_plane_helper_funcs); primary 701 drivers/gpu/drm/ingenic/ingenic-drm.c ret = drm_universal_plane_init(drm, &priv->primary, primary 713 drivers/gpu/drm/ingenic/ingenic-drm.c ret = drm_crtc_init_with_planes(drm, &priv->crtc, &priv->primary, primary 501 drivers/gpu/drm/mediatek/mtk_drm_crtc.c struct drm_plane *primary = NULL; primary 507 drivers/gpu/drm/mediatek/mtk_drm_crtc.c primary = &mtk_crtc->planes[i]; primary 512 drivers/gpu/drm/mediatek/mtk_drm_crtc.c ret = drm_crtc_init_with_planes(drm, &mtk_crtc->base, primary, cursor, primary 78 drivers/gpu/drm/mga/mga_dma.c drm_mga_primary_buffer_t *primary = &dev_priv->prim; primary 84 drivers/gpu/drm/mga/mga_dma.c primary->tail = 0; primary 85 drivers/gpu/drm/mga/mga_dma.c primary->space = primary->size; primary 86 drivers/gpu/drm/mga/mga_dma.c primary->last_flush = 0; primary 105 drivers/gpu/drm/mga/mga_dma.c drm_mga_primary_buffer_t *primary = &dev_priv->prim; primary 120 drivers/gpu/drm/mga/mga_dma.c if (primary->tail == primary->last_flush) { primary 125 drivers/gpu/drm/mga/mga_dma.c tail = primary->tail + dev_priv->primary->offset; primary 139 drivers/gpu/drm/mga/mga_dma.c primary->last_flush = primary->tail; primary 144 drivers/gpu/drm/mga/mga_dma.c primary->space = primary->size - primary->tail; primary 146 drivers/gpu/drm/mga/mga_dma.c primary->space = head - tail; primary 148 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" head = 0x%06lx\n", (unsigned long)(head - dev_priv->primary->offset)); primary 149 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" tail = 0x%06lx\n", (unsigned long)(tail - dev_priv->primary->offset)); primary 150 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" space = 0x%06x\n", primary->space); primary 160 drivers/gpu/drm/mga/mga_dma.c drm_mga_primary_buffer_t *primary = &dev_priv->prim; primary 173 drivers/gpu/drm/mga/mga_dma.c tail = primary->tail + dev_priv->primary->offset; primary 175 drivers/gpu/drm/mga/mga_dma.c primary->tail = 0; primary 176 drivers/gpu/drm/mga/mga_dma.c primary->last_flush = 0; primary 177 drivers/gpu/drm/mga/mga_dma.c primary->last_wrap++; primary 181 drivers/gpu/drm/mga/mga_dma.c if (head == dev_priv->primary->offset) primary 182 drivers/gpu/drm/mga/mga_dma.c primary->space = primary->size; primary 184 drivers/gpu/drm/mga/mga_dma.c primary->space = head - dev_priv->primary->offset; primary 186 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" head = 0x%06lx\n", (unsigned long)(head - dev_priv->primary->offset)); primary 187 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" tail = 0x%06x\n", primary->tail); primary 188 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" wrap = %d\n", primary->last_wrap); primary 189 drivers/gpu/drm/mga/mga_dma.c DRM_DEBUG(" space = 0x%06x\n", primary->space); primary 194 drivers/gpu/drm/mga/mga_dma.c set_bit(0, &primary->wrapped); primary 200 drivers/gpu/drm/mga/mga_dma.c drm_mga_primary_buffer_t *primary = &dev_priv->prim; primary 202 drivers/gpu/drm/mga/mga_dma.c u32 head = dev_priv->primary->offset; primary 211 drivers/gpu/drm/mga/mga_dma.c clear_bit(0, &primary->wrapped); primary 232 drivers/gpu/drm/mga/mga_dma.c dev_priv->primary->offset)); primary 238 drivers/gpu/drm/mga/mga_dma.c (unsigned long)(entry->age.head - dev_priv->primary->offset)); primary 336 drivers/gpu/drm/mga/mga_dma.c (unsigned long)(tail->age.head - dev_priv->primary->offset) : 0, primary 339 drivers/gpu/drm/mga/mga_dma.c (unsigned long)(head - dev_priv->primary->offset), wrap); primary 363 drivers/gpu/drm/mga/mga_dma.c dev_priv->primary->offset), primary 539 drivers/gpu/drm/mga/mga_dma.c _DRM_AGP, _DRM_READ_ONLY, &dev_priv->primary); primary 588 drivers/gpu/drm/mga/mga_dma.c drm_legacy_ioremap(dev_priv->primary, dev); primary 592 drivers/gpu/drm/mga/mga_dma.c !dev_priv->primary->handle || !dev->agp_buffer_map->handle) { primary 594 drivers/gpu/drm/mga/mga_dma.c dev_priv->warp->handle, dev_priv->primary->handle, primary 667 drivers/gpu/drm/mga/mga_dma.c _DRM_READ_ONLY, &dev_priv->primary); primary 677 drivers/gpu/drm/mga/mga_dma.c if (dev_priv->primary->size != dma_bs->primary_size) { primary 680 drivers/gpu/drm/mga/mga_dma.c (unsigned)dev_priv->primary->size); primary 681 drivers/gpu/drm/mga/mga_dma.c dma_bs->primary_size = dev_priv->primary->size; primary 857 drivers/gpu/drm/mga/mga_dma.c dev_priv->primary = drm_legacy_findmap(dev, init->primary_offset); primary 858 drivers/gpu/drm/mga/mga_dma.c if (!dev_priv->primary) { primary 871 drivers/gpu/drm/mga/mga_dma.c drm_legacy_ioremap(dev_priv->primary, dev); primary 880 drivers/gpu/drm/mga/mga_dma.c !dev_priv->primary->handle || primary 906 drivers/gpu/drm/mga/mga_dma.c MGA_WRITE(MGA_PRIMADDRESS, dev_priv->primary->offset | MGA_DMA_GENERAL); primary 912 drivers/gpu/drm/mga/mga_dma.c dev_priv->prim.start = (u8 *) dev_priv->primary->handle; primary 913 drivers/gpu/drm/mga/mga_dma.c dev_priv->prim.end = ((u8 *) dev_priv->primary->handle primary 914 drivers/gpu/drm/mga/mga_dma.c + dev_priv->primary->size); primary 915 drivers/gpu/drm/mga/mga_dma.c dev_priv->prim.size = dev_priv->primary->size; primary 926 drivers/gpu/drm/mga/mga_dma.c dev_priv->prim.status[0] = dev_priv->primary->offset; primary 960 drivers/gpu/drm/mga/mga_dma.c if ((dev_priv->primary != NULL) primary 961 drivers/gpu/drm/mga/mga_dma.c && (dev_priv->primary->type != _DRM_CONSISTENT)) primary 962 drivers/gpu/drm/mga/mga_dma.c drm_legacy_ioremapfree(dev_priv->primary, dev); primary 990 drivers/gpu/drm/mga/mga_dma.c dev_priv->primary = NULL; primary 160 drivers/gpu/drm/mga/mga_drv.h drm_local_map_t *primary; primary 320 drivers/gpu/drm/mga/mga_drv.h dev_priv->primary->offset)); \ primary 371 drivers/gpu/drm/mga/mga_drv.h dev_priv->primary->offset); \ primary 31 drivers/gpu/drm/mgag200/mgag200_mode.c struct drm_framebuffer *fb = crtc->primary->fb; primary 872 drivers/gpu/drm/mgag200/mgag200_mode.c gbo = drm_gem_vram_of_gem(crtc->primary->fb->obj[0]); primary 905 drivers/gpu/drm/mgag200/mgag200_mode.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 1405 drivers/gpu/drm/mgag200/mgag200_mode.c if (crtc->primary->fb) { primary 1406 drivers/gpu/drm/mgag200/mgag200_mode.c struct drm_framebuffer *fb = crtc->primary->fb; primary 1411 drivers/gpu/drm/mgag200/mgag200_mode.c crtc->primary->fb = NULL; primary 257 drivers/gpu/drm/msm/adreno/adreno_device.c gpu->funcs->debugfs_init(gpu, dev->primary); primary 1235 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c crtc->dev->primary->debugfs_root); primary 1942 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c drm_enc->dev->primary->debugfs_root); primary 1325 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c plane->dev->primary->debugfs_root); primary 472 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c struct drm_plane *primary[MAX_BASES] = { NULL }; primary 520 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c primary[pi++] = plane; primary 528 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c crtc = mdp5_crtc_init(dev, primary[i], cursor[i], i); primary 210 drivers/gpu/drm/msm/msm_debugfs.c ret = late_init_minor(dev->primary); primary 221 drivers/gpu/drm/msm/msm_fb.c DBG("allocating %d bytes for fb %d", size, dev->primary->index); primary 50 drivers/gpu/drm/mxsfb/mxsfb_crtc.c const u32 format = crtc->primary->state->fb->format->format; primary 237 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct drm_framebuffer *fb = crtc->primary->fb; primary 463 drivers/gpu/drm/nouveau/dispnv04/crtc.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 608 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nouveau_framebuffer *nvfb = nouveau_framebuffer(crtc->primary->fb); primary 806 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (!nv_crtc->base.primary->fb) { primary 832 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (!atomic && !crtc->primary->fb) { primary 844 drivers/gpu/drm/nouveau/dispnv04/crtc.c drm_fb = crtc->primary->fb; primary 845 drivers/gpu/drm/nouveau/dispnv04/crtc.c fb = nouveau_framebuffer(crtc->primary->fb); primary 1146 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nouveau_bo *old_bo = nouveau_framebuffer(crtc->primary->fb)->nvbo; primary 1223 drivers/gpu/drm/nouveau/dispnv04/crtc.c crtc->primary->fb = fb; primary 1272 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct drm_plane *primary; primary 1275 drivers/gpu/drm/nouveau/dispnv04/crtc.c primary = kzalloc(sizeof(*primary), GFP_KERNEL); primary 1276 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (primary == NULL) { primary 1282 drivers/gpu/drm/nouveau/dispnv04/crtc.c ret = drm_universal_plane_init(dev, primary, 0, primary 1288 drivers/gpu/drm/nouveau/dispnv04/crtc.c kfree(primary); primary 1289 drivers/gpu/drm/nouveau/dispnv04/crtc.c primary = NULL; primary 1292 drivers/gpu/drm/nouveau/dispnv04/crtc.c return primary; primary 293 drivers/gpu/drm/nouveau/dispnv04/dfp.c const struct drm_framebuffer *fb = encoder->crtc->primary->fb; primary 57 drivers/gpu/drm/nouveau/dispnv04/disp.c nouveau_fb = nouveau_framebuffer(crtc->primary->fb); primary 109 drivers/gpu/drm/nouveau/dispnv04/disp.c nouveau_fb = nouveau_framebuffer(crtc->primary->fb); primary 755 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c crtc->primary->fb); primary 583 drivers/gpu/drm/omapdrm/omap_crtc.c pri_state = drm_atomic_get_new_plane_state(state->state, crtc->primary); primary 666 drivers/gpu/drm/omapdrm/omap_crtc.c plane_state = drm_atomic_get_plane_state(state->state, crtc->primary); primary 670 drivers/gpu/drm/omapdrm/omap_crtc.c if (property == crtc->primary->rotation_property) primary 688 drivers/gpu/drm/omapdrm/omap_crtc.c if (property == crtc->primary->rotation_property) primary 843 drivers/gpu/drm/omapdrm/omap_crtc.c omap_plane_install_properties(crtc->primary, &crtc->base); primary 129 drivers/gpu/drm/omapdrm/omap_fbdev.c DBG("allocating %d bytes for fb %d", gsize.bytes, dev->primary->index); primary 126 drivers/gpu/drm/qxl/qxl_debugfs.c qdev->ddev.primary->debugfs_root, primary 127 drivers/gpu/drm/qxl/qxl_debugfs.c qdev->ddev.primary); primary 541 drivers/gpu/drm/qxl/qxl_display.c struct qxl_bo *primary; primary 550 drivers/gpu/drm/qxl/qxl_display.c primary = bo->shadow ? bo->shadow : bo; primary 552 drivers/gpu/drm/qxl/qxl_display.c if (!primary->is_primary) { primary 555 drivers/gpu/drm/qxl/qxl_display.c qxl_io_create_primary(qdev, primary); primary 938 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane *primary, *cursor; primary 946 drivers/gpu/drm/qxl/qxl_display.c primary = qxl_create_plane(qdev, 1 << crtc_id, DRM_PLANE_TYPE_PRIMARY); primary 947 drivers/gpu/drm/qxl/qxl_display.c if (IS_ERR(primary)) { primary 958 drivers/gpu/drm/qxl/qxl_display.c r = drm_crtc_init_with_planes(dev, &qxl_crtc->base, primary, cursor, primary 971 drivers/gpu/drm/qxl/qxl_display.c drm_plane_cleanup(primary); primary 972 drivers/gpu/drm/qxl/qxl_display.c kfree(primary); primary 1164 drivers/gpu/drm/radeon/atombios_crtc.c if (!atomic && !crtc->primary->fb) { primary 1172 drivers/gpu/drm/radeon/atombios_crtc.c target_fb = crtc->primary->fb; primary 1451 drivers/gpu/drm/radeon/atombios_crtc.c if (!atomic && fb && fb != crtc->primary->fb) { primary 1485 drivers/gpu/drm/radeon/atombios_crtc.c if (!atomic && !crtc->primary->fb) { primary 1493 drivers/gpu/drm/radeon/atombios_crtc.c target_fb = crtc->primary->fb; primary 1660 drivers/gpu/drm/radeon/atombios_crtc.c if (!atomic && fb && fb != crtc->primary->fb) { primary 2166 drivers/gpu/drm/radeon/atombios_crtc.c if (crtc->primary->fb) { primary 2170 drivers/gpu/drm/radeon/atombios_crtc.c rbo = gem_to_radeon_bo(crtc->primary->fb->obj[0]); primary 222 drivers/gpu/drm/radeon/atombios_encoders.c "radeon_bl%d", dev->primary->index); primary 3229 drivers/gpu/drm/radeon/r100.c rdev->mode_info.crtcs[0]->base.primary->fb; primary 3237 drivers/gpu/drm/radeon/r100.c rdev->mode_info.crtcs[1]->base.primary->fb; primary 116 drivers/gpu/drm/radeon/radeon_connectors.c crtc->x, crtc->y, crtc->primary->fb); primary 1592 drivers/gpu/drm/radeon/radeon_device.c struct drm_framebuffer *fb = crtc->primary->fb; primary 1918 drivers/gpu/drm/radeon/radeon_device.c rdev->ddev->primary->debugfs_root, primary 1919 drivers/gpu/drm/radeon/radeon_device.c rdev->ddev->primary); primary 511 drivers/gpu/drm/radeon/radeon_display.c obj = crtc->primary->fb->obj[0]; primary 594 drivers/gpu/drm/radeon/radeon_display.c crtc->primary->fb = fb; primary 28 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, primary 32 drivers/gpu/drm/radeon/radeon_dp_mst.c struct drm_device *dev = primary->base.dev; primary 38 drivers/gpu/drm/radeon/radeon_dp_mst.c reg = RREG32(NI_DIG_BE_CNTL + primary->offset); primary 50 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); primary 51 drivers/gpu/drm/radeon/radeon_dp_mst.c WREG32(NI_DIG_BE_CNTL + primary->offset, reg); primary 60 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); primary 65 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, primary 70 drivers/gpu/drm/radeon/radeon_dp_mst.c struct drm_device *dev = primary->base.dev; primary 79 drivers/gpu/drm/radeon/radeon_dp_mst.c temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); primary 89 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DP_MSE_SAT0 + satreg + primary->offset, temp); primary 90 drivers/gpu/drm/radeon/radeon_dp_mst.c WREG32(NI_DP_MSE_SAT0 + satreg + primary->offset, temp); primary 92 drivers/gpu/drm/radeon/radeon_dp_mst.c WREG32(NI_DP_MSE_SAT_UPDATE + primary->offset, 1); primary 97 drivers/gpu/drm/radeon/radeon_dp_mst.c temp = RREG32(NI_DP_MSE_SAT_UPDATE + primary->offset); primary 107 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_ERROR("timed out waitin for SAT update %d\n", primary->offset); primary 114 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *primary) primary 149 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_set_stream_attrib(primary, i, new_attribs[i].fe, new_attribs[i].slots); primary 156 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_set_stream_attrib(primary, i, 0, 0); primary 383 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder, *primary; primary 404 drivers/gpu/drm/radeon/radeon_dp_mst.c primary = mst_enc->primary; primary 406 drivers/gpu/drm/radeon/radeon_dp_mst.c dig_enc = primary->enc_priv; primary 422 drivers/gpu/drm/radeon/radeon_dp_mst.c atombios_dig_encoder_setup(&primary->base, ATOM_ENCODER_CMD_SETUP, 0); primary 423 drivers/gpu/drm/radeon/radeon_dp_mst.c atombios_dig_transmitter_setup2(&primary->base, ATOM_TRANSMITTER_ACTION_ENABLE, primary 428 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_link_train(&primary->base, &mst_enc->connector->base); primary 449 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_set_be_cntl(primary, mst_enc, primary 453 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_update_stream_attribs(radeon_connector->mst_port, primary); primary 460 drivers/gpu/drm/radeon/radeon_dp_mst.c atombios_dig_encoder_setup2(&primary->base, ATOM_ENCODER_CMD_DP_VIDEO_ON, 0, primary 485 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_update_stream_attribs(radeon_connector->mst_port, primary); primary 487 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_set_be_cntl(primary, mst_enc, primary 489 drivers/gpu/drm/radeon/radeon_dp_mst.c atombios_dig_encoder_setup2(&primary->base, ATOM_ENCODER_CMD_DP_VIDEO_OFF, 0, primary 519 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->primary->active_device = mst_enc->primary->devices & mst_enc->connector->devices; primary 521 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->primary->active_device, mst_enc->primary->devices, primary 522 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->connector->devices, mst_enc->primary->base.encoder_type); primary 537 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder, *primary; primary 552 drivers/gpu/drm/radeon/radeon_dp_mst.c primary = mst_enc->primary; primary 554 drivers/gpu/drm/radeon/radeon_dp_mst.c dig_enc = primary->enc_priv; primary 559 drivers/gpu/drm/radeon/radeon_dp_mst.c dig_enc->dig_encoder = radeon_atom_pick_dig_encoder(&primary->base, -1); primary 560 drivers/gpu/drm/radeon/radeon_dp_mst.c primary->offset = radeon_atom_set_enc_offset(dig_enc->dig_encoder); primary 565 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_DEBUG_KMS("%d %d\n", dig_enc->dig_encoder, primary->offset); primary 644 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->primary = to_radeon_encoder(enc_master); primary 393 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (!atomic && !crtc->primary->fb) { primary 401 drivers/gpu/drm/radeon/radeon_legacy_crtc.c target_fb = crtc->primary->fb; primary 448 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (!atomic && fb && fb != crtc->primary->fb) { primary 558 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (!atomic && fb && fb != crtc->primary->fb) { primary 578 drivers/gpu/drm/radeon/radeon_legacy_crtc.c const struct drm_framebuffer *fb = crtc->primary->fb; primary 1091 drivers/gpu/drm/radeon/radeon_legacy_crtc.c if (crtc->primary->fb) { primary 1095 drivers/gpu/drm/radeon/radeon_legacy_crtc.c rbo = gem_to_radeon_bo(crtc->primary->fb->obj[0]); primary 401 drivers/gpu/drm/radeon/radeon_legacy_encoders.c "radeon_bl%d", dev->primary->index); primary 453 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_encoder *primary; primary 138 drivers/gpu/drm/radeon/radeon_trace.h __entry->dev = dev->primary->index; primary 1066 drivers/gpu/drm/radeon/radeon_ttm.c struct drm_minor *minor = rdev->ddev->primary; primary 1137 drivers/gpu/drm/rcar-du/rcar_du_crtc.c struct drm_plane *primary; primary 1186 drivers/gpu/drm/rcar-du/rcar_du_crtc.c primary = &rcrtc->vsp->planes[rcrtc->vsp_pipe].plane; primary 1188 drivers/gpu/drm/rcar-du/rcar_du_crtc.c primary = &rgrp->planes[swindex % 2].plane; primary 1190 drivers/gpu/drm/rcar-du/rcar_du_crtc.c ret = drm_crtc_init_with_planes(rcdu->ddev, crtc, primary, NULL, primary 1507 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane *primary = NULL, *cursor = NULL, *plane, *tmp; primary 1541 drivers/gpu/drm/rockchip/rockchip_drm_vop.c primary = plane; primary 1546 drivers/gpu/drm/rockchip/rockchip_drm_vop.c ret = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, primary 165 drivers/gpu/drm/shmobile/shmob_drm_crtc.c format = shmob_drm_format_info(crtc->primary->fb->format->format); primary 289 drivers/gpu/drm/shmobile/shmob_drm_crtc.c struct drm_framebuffer *fb = crtc->primary->fb; primary 353 drivers/gpu/drm/shmobile/shmob_drm_crtc.c format = shmob_drm_format_info(crtc->primary->fb->format->format); primary 356 drivers/gpu/drm/shmobile/shmob_drm_crtc.c crtc->primary->fb->format->format); primary 361 drivers/gpu/drm/shmobile/shmob_drm_crtc.c scrtc->line_size = crtc->primary->fb->pitches[0]; primary 422 drivers/gpu/drm/shmobile/shmob_drm_crtc.c crtc->primary->fb = fb; primary 70 drivers/gpu/drm/sti/sti_compositor.c struct drm_plane *primary = NULL; primary 124 drivers/gpu/drm/sti/sti_compositor.c primary = sti_gdp_create(drm_dev, compo->dev, primary 129 drivers/gpu/drm/sti/sti_compositor.c if (!primary) { primary 140 drivers/gpu/drm/sti/sti_compositor.c if (crtc_id < mixer_id && primary) { primary 142 drivers/gpu/drm/sti/sti_compositor.c primary, cursor); primary 145 drivers/gpu/drm/sti/sti_compositor.c primary = NULL; primary 319 drivers/gpu/drm/sti/sti_crtc.c return sti_compositor_debugfs_init(compo, crtc->dev->primary); primary 346 drivers/gpu/drm/sti/sti_crtc.c struct drm_plane *primary, struct drm_plane *cursor) primary 351 drivers/gpu/drm/sti/sti_crtc.c res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, primary 17 drivers/gpu/drm/sti/sti_crtc.h struct drm_plane *primary, struct drm_plane *cursor); primary 345 drivers/gpu/drm/sti/sti_cursor.c return cursor_debugfs_init(cursor, drm_plane->dev->primary); primary 407 drivers/gpu/drm/sti/sti_dvo.c if (dvo_debugfs_init(dvo, dvo->drm_dev->primary)) { primary 898 drivers/gpu/drm/sti/sti_gdp.c return gdp_debugfs_init(gdp, drm_plane->dev->primary); primary 645 drivers/gpu/drm/sti/sti_hda.c if (hda_debugfs_init(hda, hda->drm_dev->primary)) { primary 1115 drivers/gpu/drm/sti/sti_hdmi.c if (hdmi_debugfs_init(hdmi, hdmi->drm_dev->primary)) { primary 1277 drivers/gpu/drm/sti/sti_hqvdp.c return hqvdp_debugfs_init(hqvdp, drm_plane->dev->primary); primary 611 drivers/gpu/drm/sti/sti_tvout.c ret = tvout_debugfs_init(tvout, encoder->dev->primary); primary 994 drivers/gpu/drm/stm/ltdc.c struct drm_plane *primary, *overlay; primary 998 drivers/gpu/drm/stm/ltdc.c primary = ltdc_plane_create(ddev, DRM_PLANE_TYPE_PRIMARY); primary 999 drivers/gpu/drm/stm/ltdc.c if (!primary) { primary 1004 drivers/gpu/drm/stm/ltdc.c ret = drm_crtc_init_with_planes(ddev, crtc, primary, NULL, primary 192 drivers/gpu/drm/sun4i/sun4i_crtc.c struct drm_plane *primary = NULL, *cursor = NULL; primary 214 drivers/gpu/drm/sun4i/sun4i_crtc.c primary = plane; primary 225 drivers/gpu/drm/sun4i/sun4i_crtc.c primary, primary 1091 drivers/gpu/drm/tegra/dc.c struct drm_plane *plane, *primary = NULL; primary 1111 drivers/gpu/drm/tegra/dc.c if (!primary) { primary 1113 drivers/gpu/drm/tegra/dc.c primary = plane; primary 1119 drivers/gpu/drm/tegra/dc.c return primary; primary 1125 drivers/gpu/drm/tegra/dc.c struct drm_plane *planes[2], *primary; primary 1130 drivers/gpu/drm/tegra/dc.c primary = tegra_primary_plane_create(drm, dc); primary 1131 drivers/gpu/drm/tegra/dc.c if (IS_ERR(primary)) primary 1132 drivers/gpu/drm/tegra/dc.c return primary; primary 1148 drivers/gpu/drm/tegra/dc.c tegra_plane_funcs.destroy(primary); primary 1153 drivers/gpu/drm/tegra/dc.c return primary; primary 1494 drivers/gpu/drm/tegra/dc.c struct drm_minor *minor = crtc->dev->primary; primary 1529 drivers/gpu/drm/tegra/dc.c struct drm_minor *minor = crtc->dev->primary; primary 2001 drivers/gpu/drm/tegra/dc.c struct drm_plane *primary = NULL; primary 2025 drivers/gpu/drm/tegra/dc.c primary = tegra_dc_add_shared_planes(drm, dc); primary 2027 drivers/gpu/drm/tegra/dc.c primary = tegra_dc_add_planes(drm, dc); primary 2029 drivers/gpu/drm/tegra/dc.c if (IS_ERR(primary)) { primary 2030 drivers/gpu/drm/tegra/dc.c err = PTR_ERR(primary); primary 2049 drivers/gpu/drm/tegra/dc.c err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor, primary 2083 drivers/gpu/drm/tegra/dc.c if (!IS_ERR(primary)) primary 2084 drivers/gpu/drm/tegra/dc.c drm_plane_cleanup(primary); primary 234 drivers/gpu/drm/tegra/dsi.c struct drm_minor *minor = connector->dev->primary; primary 267 drivers/gpu/drm/tegra/dsi.c connector->dev->primary); primary 1064 drivers/gpu/drm/tegra/hdmi.c struct drm_minor *minor = connector->dev->primary; primary 1093 drivers/gpu/drm/tegra/hdmi.c struct drm_minor *minor = connector->dev->primary; primary 1462 drivers/gpu/drm/tegra/sor.c struct drm_minor *minor = connector->dev->primary; primary 1495 drivers/gpu/drm/tegra/sor.c connector->dev->primary); primary 32 drivers/gpu/drm/tilcdc/tilcdc_crtc.c struct drm_plane primary; primary 282 drivers/gpu/drm/tilcdc/tilcdc_crtc.c struct drm_framebuffer *fb = crtc->primary->state->fb; primary 657 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (state->state->planes[0].ptr != crtc->primary || primary 998 drivers/gpu/drm/tilcdc/tilcdc_crtc.c ret = tilcdc_plane_init(dev, &tilcdc_crtc->primary); primary 1010 drivers/gpu/drm/tilcdc/tilcdc_crtc.c &tilcdc_crtc->primary, primary 130 drivers/gpu/drm/udl/udl_drv.c DRM_INFO("Initialized udl on minor %d\n", udl->drm.primary->index); primary 304 drivers/gpu/drm/udl/udl_modeset.c struct udl_framebuffer *ufb = to_udl_fb(crtc->primary->fb); primary 368 drivers/gpu/drm/udl/udl_modeset.c struct drm_framebuffer *old_fb = crtc->primary->fb; primary 381 drivers/gpu/drm/udl/udl_modeset.c crtc->primary->fb = fb; primary 458 drivers/gpu/drm/udl/udl_modeset.c if (!udl->crtc || !udl->crtc->primary->fb) primary 461 drivers/gpu/drm/udl/udl_modeset.c ufb = to_udl_fb(udl->crtc->primary->fb); primary 26 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 52 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 78 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 98 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 118 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 138 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 157 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 177 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 197 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 219 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 237 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 253 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 269 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 285 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; primary 54 drivers/gpu/drm/vboxvideo/vbox_main.c if (crtc->primary->state->fb != fb) primary 58 drivers/gpu/drm/vboxvideo/vbox_main.c crtc_x = crtc->primary->state->src_x >> 16; primary 59 drivers/gpu/drm/vboxvideo/vbox_main.c crtc_y = crtc->primary->state->src_y >> 16; primary 31 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_framebuffer *fb = crtc->primary->state->fb; primary 130 drivers/gpu/drm/vboxvideo/vbox_mode.c fb = crtci->primary->state->fb; primary 579 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane *primary; primary 592 drivers/gpu/drm/vboxvideo/vbox_mode.c primary = vbox_create_plane(vbox, 1 << i, DRM_PLANE_TYPE_PRIMARY); primary 593 drivers/gpu/drm/vboxvideo/vbox_mode.c if (IS_ERR(primary)) { primary 594 drivers/gpu/drm/vboxvideo/vbox_mode.c ret = PTR_ERR(primary); primary 610 drivers/gpu/drm/vboxvideo/vbox_mode.c ret = drm_crtc_init_with_planes(dev, &vbox_crtc->base, primary, cursor, primary 626 drivers/gpu/drm/vboxvideo/vbox_mode.c drm_plane_cleanup(primary); primary 627 drivers/gpu/drm/vboxvideo/vbox_mode.c kfree(primary); primary 851 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_plane *plane = crtc->primary; primary 899 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_plane *plane = crtc->primary; primary 28 drivers/gpu/drm/vc4/vc4_trace.h __entry->dev = dev->primary->index; primary 47 drivers/gpu/drm/vc4/vc4_trace.h __entry->dev = dev->primary->index; primary 257 drivers/gpu/drm/virtio/virtgpu_display.c struct drm_plane *primary, *cursor; primary 266 drivers/gpu/drm/virtio/virtgpu_display.c primary = virtio_gpu_plane_init(vgdev, DRM_PLANE_TYPE_PRIMARY, index); primary 267 drivers/gpu/drm/virtio/virtgpu_display.c if (IS_ERR(primary)) primary 268 drivers/gpu/drm/virtio/virtgpu_display.c return PTR_ERR(primary); primary 272 drivers/gpu/drm/virtio/virtgpu_display.c drm_crtc_init_with_planes(dev, crtc, primary, cursor, primary 264 drivers/gpu/drm/vkms/vkms_crtc.c struct drm_plane *primary, struct drm_plane *cursor) primary 269 drivers/gpu/drm/vkms/vkms_crtc.c ret = drm_crtc_init_with_planes(dev, crtc, primary, cursor, primary 112 drivers/gpu/drm/vkms/vkms_drv.h struct drm_plane *primary, struct drm_plane *cursor); primary 45 drivers/gpu/drm/vkms/vkms_output.c struct drm_plane *primary, *cursor = NULL; primary 48 drivers/gpu/drm/vkms/vkms_output.c primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); primary 49 drivers/gpu/drm/vkms/vkms_output.c if (IS_ERR(primary)) primary 50 drivers/gpu/drm/vkms/vkms_output.c return PTR_ERR(primary); primary 60 drivers/gpu/drm/vkms/vkms_output.c ret = vkms_crtc_init(dev, crtc, primary, cursor); primary 105 drivers/gpu/drm/vkms/vkms_output.c drm_plane_cleanup(primary); primary 404 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h uint32_t primary; primary 44 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_plane_cleanup(&du->primary); primary 530 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_plane_mask(crtc->primary); primary 1580 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c plane_state = du->primary.state; primary 1927 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c save->primary = vmw_read(vmw_priv, SVGA_REG_DISPLAY_IS_PRIMARY); primary 1970 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_write(vmw_priv, SVGA_REG_DISPLAY_IS_PRIMARY, save->primary); primary 2460 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_plane *plane = crtc->primary; primary 340 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_plane primary; primary 100 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb = entry->base.crtc.primary->state->fb; primary 109 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb = entry->base.crtc.primary->state->fb; primary 359 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct drm_plane *primary, *cursor; primary 371 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c primary = &ldu->base.primary; primary 388 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c vmw_du_plane_reset(primary); primary 390 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ret = drm_universal_plane_init(dev, &ldu->base.primary, primary 400 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c drm_plane_helper_add(primary, &vmw_ldu_primary_plane_helper_funcs); primary 412 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c drm_plane_cleanup(&ldu->base.primary); primary 447 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c ret = drm_crtc_init_with_planes(dev, crtc, &ldu->base.primary, primary 224 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c ps = crtc->primary->state; primary 832 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_plane *primary, *cursor; primary 844 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c primary = &sou->base.primary; primary 859 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_du_plane_reset(primary); primary 861 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c ret = drm_universal_plane_init(dev, &sou->base.primary, primary 871 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drm_plane_helper_add(primary, &vmw_sou_primary_plane_helper_funcs); primary 872 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drm_plane_enable_fb_damage_clips(primary); primary 884 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drm_plane_cleanup(&sou->base.primary); primary 920 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c ret = drm_crtc_init_with_planes(dev, crtc, &sou->base.primary, primary 1731 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane *primary, *cursor; primary 1744 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c primary = &stdu->base.primary; primary 1753 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_du_plane_reset(primary); primary 1755 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ret = drm_universal_plane_init(dev, primary, primary 1765 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drm_plane_helper_add(primary, &vmw_stdu_primary_plane_helper_funcs); primary 1766 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drm_plane_enable_fb_damage_clips(primary); primary 1778 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drm_plane_cleanup(&stdu->base.primary); primary 1814 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ret = drm_crtc_init_with_planes(dev, crtc, &stdu->base.primary, primary 555 drivers/gpu/drm/xen/xen_drm_front.c xen_drm_driver.date, drm_dev->primary->index); primary 122 drivers/gpu/drm/zte/zx_vou.c struct drm_plane *primary; primary 590 drivers/gpu/drm/zte/zx_vou.c zcrtc->primary = &zplane->plane; primary 592 drivers/gpu/drm/zte/zx_vou.c ret = drm_crtc_init_with_planes(drm, &zcrtc->crtc, zcrtc->primary, NULL, primary 656 drivers/hv/channel_mgmt.c struct vmbus_channel *primary = channel->primary_channel; primary 684 drivers/hv/channel_mgmt.c if ((channel->affinity_policy == HV_BALANCED) || (!primary)) { primary 696 drivers/hv/channel_mgmt.c primary = channel; primary 698 drivers/hv/channel_mgmt.c alloced_mask = &hv_context.hv_numa_map[primary->numa_node]; primary 701 drivers/hv/channel_mgmt.c cpumask_weight(cpumask_of_node(primary->numa_node))) { primary 710 drivers/hv/channel_mgmt.c cpumask_of_node(primary->numa_node)); primary 714 drivers/hv/channel_mgmt.c if (primary->affinity_policy == HV_LOCALIZED) { primary 721 drivers/hv/channel_mgmt.c if (cpumask_equal(&primary->alloced_cpus_in_node, primary 722 drivers/hv/channel_mgmt.c cpumask_of_node(primary->numa_node))) primary 723 drivers/hv/channel_mgmt.c cpumask_clear(&primary->alloced_cpus_in_node); primary 731 drivers/hv/channel_mgmt.c cpumask_of_node(primary->numa_node)); primary 735 drivers/hv/channel_mgmt.c if (primary->affinity_policy == HV_LOCALIZED) { primary 746 drivers/hv/channel_mgmt.c &primary->alloced_cpus_in_node)) { primary 748 drivers/hv/channel_mgmt.c &primary->alloced_cpus_in_node); primary 1447 drivers/hv/channel_mgmt.c bool vmbus_are_subchannels_present(struct vmbus_channel *primary) primary 1451 drivers/hv/channel_mgmt.c ret = !list_empty(&primary->sc_list); primary 1459 drivers/hv/channel_mgmt.c invoke_sc_cb(primary); primary 151 drivers/ide/cy82c693.c static ide_hwif_t *primary; primary 155 drivers/ide/cy82c693.c primary = hwif; primary 157 drivers/ide/cy82c693.c hwif->mate = primary; primary 43 drivers/ide/ide-generic.c static void ide_generic_check_pci_legacy_iobases(int *primary, int *secondary) primary 51 drivers/ide/ide-generic.c *primary = 1; primary 59 drivers/ide/ide-generic.c *primary = *secondary = 1; primary 70 drivers/ide/ide-generic.c *primary = 1; primary 81 drivers/ide/ide-generic.c int i, rc = 0, primary = 0, secondary = 0; primary 83 drivers/ide/ide-generic.c ide_generic_check_pci_legacy_iobases(&primary, &secondary); primary 89 drivers/ide/ide-generic.c if (primary == 0) primary 157 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c unsigned short primary, secondary; primary 159 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c ret = inv_mpu_process_acpi_config(client, &primary, primary 2115 drivers/md/raid1.c int primary; primary 2141 drivers/md/raid1.c for (primary = 0; primary < conf->raid_disks * 2; primary++) primary 2142 drivers/md/raid1.c if (r1_bio->bios[primary]->bi_end_io == end_sync_read && primary 2143 drivers/md/raid1.c !r1_bio->bios[primary]->bi_status) { primary 2144 drivers/md/raid1.c r1_bio->bios[primary]->bi_end_io = NULL; primary 2145 drivers/md/raid1.c rdev_dec_pending(conf->mirrors[primary].rdev, mddev); primary 2148 drivers/md/raid1.c r1_bio->read_disk = primary; primary 2151 drivers/md/raid1.c struct bio *pbio = r1_bio->bios[primary]; primary 86 drivers/media/cec/cec-adap.c conn_info->drm.card_no = connector->dev->primary->index; primary 5393 drivers/media/dvb-frontends/drx39xyj/drxj.c static int power_down_vsb(struct drx_demod_instance *demod, bool primary) primary 5433 drivers/media/dvb-frontends/drx39xyj/drxj.c if (primary) { primary 6353 drivers/media/dvb-frontends/drx39xyj/drxj.c static int power_down_qam(struct drx_demod_instance *demod, bool primary) primary 6395 drivers/media/dvb-frontends/drx39xyj/drxj.c if (primary) { primary 9739 drivers/media/dvb-frontends/drx39xyj/drxj.c power_down_atv(struct drx_demod_instance *demod, enum drx_standard standard, bool primary) primary 9777 drivers/media/dvb-frontends/drx39xyj/drxj.c if (primary) { primary 183 drivers/media/dvb-frontends/mn88443x.c bool primary; primary 217 drivers/media/dvb-frontends/mn88443x.c if (chip->spec->primary) { primary 765 drivers/media/dvb-frontends/mn88443x.c .primary = true, primary 769 drivers/media/dvb-frontends/mn88443x.c .primary = false, primary 159 drivers/media/pci/saa7134/saa7134-tvaudio.c int primary, int secondary) primary 162 drivers/media/pci/saa7134/saa7134-tvaudio.c secondary = primary; primary 163 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_writel(SAA7134_CARRIER1_FREQ0 >> 2, tvaudio_carr2reg(primary)); primary 387 drivers/media/radio/radio-si476x.c .primary = false, primary 663 drivers/media/radio/radio-si476x.c .primary = false, primary 1284 drivers/media/radio/radio-si476x.c .primary = false, primary 1319 drivers/media/radio/radio-si476x.c .primary = true, primary 351 drivers/mfd/si476x-cmd.c .primary = false, primary 1228 drivers/mfd/si476x-cmd.c rsqargs->primary << 4 | rsqargs->rsqack << 3 | primary 1283 drivers/mfd/si476x-cmd.c rsqargs->primary << 4 | rsqargs->rsqack << 3 | primary 26 drivers/mfd/wm831x-irq.c int primary; primary 33 drivers/mfd/wm831x-irq.c .primary = WM831X_TEMP_INT, primary 38 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 43 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 48 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 53 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 58 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 63 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 68 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 73 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 78 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 83 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 88 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 93 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 98 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 103 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 108 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 113 drivers/mfd/wm831x-irq.c .primary = WM831X_GP_INT, primary 118 drivers/mfd/wm831x-irq.c .primary = WM831X_ON_PIN_INT, primary 123 drivers/mfd/wm831x-irq.c .primary = WM831X_PPM_INT, primary 128 drivers/mfd/wm831x-irq.c .primary = WM831X_PPM_INT, primary 133 drivers/mfd/wm831x-irq.c .primary = WM831X_PPM_INT, primary 138 drivers/mfd/wm831x-irq.c .primary = WM831X_WDOG_INT, primary 143 drivers/mfd/wm831x-irq.c .primary = WM831X_RTC_INT, primary 148 drivers/mfd/wm831x-irq.c .primary = WM831X_RTC_INT, primary 153 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 158 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 163 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 168 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 173 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 178 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 183 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 188 drivers/mfd/wm831x-irq.c .primary = WM831X_CHG_INT, primary 193 drivers/mfd/wm831x-irq.c .primary = WM831X_TCHDATA_INT, primary 198 drivers/mfd/wm831x-irq.c .primary = WM831X_TCHPD_INT, primary 203 drivers/mfd/wm831x-irq.c .primary = WM831X_AUXADC_INT, primary 208 drivers/mfd/wm831x-irq.c .primary = WM831X_AUXADC_INT, primary 213 drivers/mfd/wm831x-irq.c .primary = WM831X_AUXADC_INT, primary 218 drivers/mfd/wm831x-irq.c .primary = WM831X_AUXADC_INT, primary 223 drivers/mfd/wm831x-irq.c .primary = WM831X_AUXADC_INT, primary 228 drivers/mfd/wm831x-irq.c .primary = WM831X_CS_INT, primary 233 drivers/mfd/wm831x-irq.c .primary = WM831X_CS_INT, primary 238 drivers/mfd/wm831x-irq.c .primary = WM831X_HC_INT, primary 243 drivers/mfd/wm831x-irq.c .primary = WM831X_HC_INT, primary 248 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 253 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 258 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 263 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 268 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 273 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 278 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 283 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 288 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 293 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 298 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 303 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 308 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 313 drivers/mfd/wm831x-irq.c .primary = WM831X_UV_INT, primary 453 drivers/mfd/wm831x-irq.c int primary, status_addr, ret; primary 458 drivers/mfd/wm831x-irq.c primary = wm831x_reg_read(wm831x, WM831X_SYSTEM_INTERRUPTS); primary 459 drivers/mfd/wm831x-irq.c if (primary < 0) { primary 461 drivers/mfd/wm831x-irq.c primary); primary 470 drivers/mfd/wm831x-irq.c if (primary & WM831X_TCHPD_INT) primary 473 drivers/mfd/wm831x-irq.c if (primary & WM831X_TCHDATA_INT) primary 476 drivers/mfd/wm831x-irq.c primary &= ~(WM831X_TCHDATA_EINT | WM831X_TCHPD_EINT); primary 481 drivers/mfd/wm831x-irq.c if (!(primary & wm831x_irqs[i].primary)) primary 517 drivers/mfd/wm831x-irq.c if (primary == WM831X_GP_INT && primary 528 drivers/mfd/wm831x-irq.c if (primary == WM831X_GP_INT && primary 35 drivers/mfd/wm8350-irq.c int primary; primary 43 drivers/mfd/wm8350-irq.c .primary = WM8350_OC_INT, primary 49 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 54 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 59 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 64 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 69 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 74 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 79 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 84 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 89 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 94 drivers/mfd/wm8350-irq.c .primary = WM8350_UV_INT, primary 99 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 104 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 109 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 114 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 119 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 124 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 129 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 134 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 139 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 144 drivers/mfd/wm8350-irq.c .primary = WM8350_CHG_INT, primary 149 drivers/mfd/wm8350-irq.c .primary = WM8350_RTC_INT, primary 154 drivers/mfd/wm8350-irq.c .primary = WM8350_RTC_INT, primary 159 drivers/mfd/wm8350-irq.c .primary = WM8350_RTC_INT, primary 164 drivers/mfd/wm8350-irq.c .primary = WM8350_CS_INT, primary 169 drivers/mfd/wm8350-irq.c .primary = WM8350_CS_INT, primary 174 drivers/mfd/wm8350-irq.c .primary = WM8350_SYS_INT, primary 179 drivers/mfd/wm8350-irq.c .primary = WM8350_SYS_INT, primary 184 drivers/mfd/wm8350-irq.c .primary = WM8350_SYS_INT, primary 189 drivers/mfd/wm8350-irq.c .primary = WM8350_SYS_INT, primary 194 drivers/mfd/wm8350-irq.c .primary = WM8350_AUXADC_INT, primary 199 drivers/mfd/wm8350-irq.c .primary = WM8350_AUXADC_INT, primary 204 drivers/mfd/wm8350-irq.c .primary = WM8350_AUXADC_INT, primary 209 drivers/mfd/wm8350-irq.c .primary = WM8350_AUXADC_INT, primary 214 drivers/mfd/wm8350-irq.c .primary = WM8350_AUXADC_INT, primary 219 drivers/mfd/wm8350-irq.c .primary = WM8350_USB_INT, primary 225 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 230 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 235 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 240 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 245 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 250 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 255 drivers/mfd/wm8350-irq.c .primary = WM8350_WKUP_INT, primary 260 drivers/mfd/wm8350-irq.c .primary = WM8350_CODEC_INT, primary 265 drivers/mfd/wm8350-irq.c .primary = WM8350_CODEC_INT, primary 270 drivers/mfd/wm8350-irq.c .primary = WM8350_CODEC_INT, primary 275 drivers/mfd/wm8350-irq.c .primary = WM8350_CODEC_INT, primary 280 drivers/mfd/wm8350-irq.c .primary = WM8350_EXT_INT, primary 285 drivers/mfd/wm8350-irq.c .primary = WM8350_EXT_INT, primary 290 drivers/mfd/wm8350-irq.c .primary = WM8350_EXT_INT, primary 295 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 300 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 305 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 310 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 315 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 320 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 325 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 330 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 335 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 340 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 345 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 350 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 355 drivers/mfd/wm8350-irq.c .primary = WM8350_GP_INT, primary 396 drivers/mfd/wm8350-irq.c if (!(level_one & data->primary)) primary 35 drivers/misc/cxl/fault.c struct cxl_sste *primary, *sste, *ret = NULL; primary 45 drivers/misc/cxl/fault.c primary = ctx->sstp + (hash << 3); primary 47 drivers/misc/cxl/fault.c for (entry = 0, sste = primary; entry < 8; entry++, sste++) { primary 57 drivers/misc/cxl/fault.c ret = primary + ctx->sst_lru; primary 479 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0001(struct map_info *map, int primary) primary 514 drivers/mtd/chips/cfi_cmdset_0001.c __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; primary 592 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0003(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001"))); primary 593 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_info *cfi_cmdset_0200(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001"))); primary 583 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary) primary 622 drivers/mtd/chips/cfi_cmdset_0002.c __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; primary 742 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0006(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002"))); primary 743 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_info *cfi_cmdset_0701(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002"))); primary 113 drivers/mtd/chips/cfi_cmdset_0020.c struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) primary 124 drivers/mtd/chips/cfi_cmdset_0020.c __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; primary 200 drivers/mtd/chips/gen_probe.c int primary) primary 203 drivers/mtd/chips/gen_probe.c __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; primary 222 drivers/mtd/chips/gen_probe.c mtd = (*probe_function)(map, primary); primary 233 drivers/mtd/chips/gen_probe.c static struct mtd_info *check_cmd_set(struct map_info *map, int primary) primary 236 drivers/mtd/chips/gen_probe.c __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; primary 248 drivers/mtd/chips/gen_probe.c return cfi_cmdset_0001(map, primary); primary 254 drivers/mtd/chips/gen_probe.c return cfi_cmdset_0002(map, primary); primary 258 drivers/mtd/chips/gen_probe.c return cfi_cmdset_0020(map, primary); primary 261 drivers/mtd/chips/gen_probe.c return cfi_cmdset_unknown(map, primary); primary 98 drivers/net/bonding/bond_main.c static char *primary; primary 140 drivers/net/bonding/bond_main.c module_param(primary, charp, 0); primary 141 drivers/net/bonding/bond_main.c MODULE_PARM_DESC(primary, "Primary network device to use"); primary 1649 drivers/net/bonding/bond_main.c if (bond_uses_primary(bond) && bond->params.primary[0]) { primary 1651 drivers/net/bonding/bond_main.c if (strcmp(bond->params.primary, new_slave->dev->name) == 0) { primary 2192 drivers/net/bonding/bond_main.c struct slave *slave, *primary; primary 2221 drivers/net/bonding/bond_main.c primary = rtnl_dereference(bond->primary_slave); primary 2236 drivers/net/bonding/bond_main.c if (!bond->curr_active_slave || slave == primary) primary 3095 drivers/net/bonding/bond_main.c struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; primary 3110 drivers/net/bonding/bond_main.c primary = rtnl_dereference(bond->primary_slave); primary 3169 drivers/net/bonding/bond_main.c !bond->params.primary[0]) primary 3172 drivers/net/bonding/bond_main.c if (slave == primary) { primary 3175 drivers/net/bonding/bond_main.c } else if (!strcmp(slave_dev->name, bond->params.primary)) { primary 3183 drivers/net/bonding/bond_main.c primary ? slave_dev->name : "none"); primary 4679 drivers/net/bonding/bond_main.c if (primary && !bond_mode_uses_primary(bond_mode)) { primary 4684 drivers/net/bonding/bond_main.c primary, bond_mode_name(bond_mode)); primary 4685 drivers/net/bonding/bond_main.c primary = NULL; primary 4688 drivers/net/bonding/bond_main.c if (primary && primary_reselect) { primary 4763 drivers/net/bonding/bond_main.c params->primary[0] = 0; primary 4787 drivers/net/bonding/bond_main.c if (primary) { primary 4788 drivers/net/bonding/bond_main.c strncpy(params->primary, primary, IFNAMSIZ); primary 4789 drivers/net/bonding/bond_main.c params->primary[IFNAMSIZ - 1] = 0; primary 298 drivers/net/bonding/bond_netlink.c char *primary = ""; primary 302 drivers/net/bonding/bond_netlink.c primary = dev->name; primary 304 drivers/net/bonding/bond_netlink.c bond_opt_initstr(&newval, primary); primary 529 drivers/net/bonding/bond_netlink.c struct slave *primary; primary 584 drivers/net/bonding/bond_netlink.c primary = rtnl_dereference(bond->primary_slave); primary 585 drivers/net/bonding/bond_netlink.c if (primary && primary 586 drivers/net/bonding/bond_netlink.c nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) primary 1129 drivers/net/bonding/bond_options.c char *p, *primary = newval->string; primary 1135 drivers/net/bonding/bond_options.c p = strchr(primary, '\n'); primary 1139 drivers/net/bonding/bond_options.c if (!strlen(primary)) { primary 1142 drivers/net/bonding/bond_options.c memset(bond->params.primary, 0, sizeof(bond->params.primary)); primary 1148 drivers/net/bonding/bond_options.c if (strncmp(slave->dev->name, primary, IFNAMSIZ) == 0) { primary 1151 drivers/net/bonding/bond_options.c strcpy(bond->params.primary, slave->dev->name); primary 1163 drivers/net/bonding/bond_options.c strncpy(bond->params.primary, primary, IFNAMSIZ); primary 1164 drivers/net/bonding/bond_options.c bond->params.primary[IFNAMSIZ - 1] = 0; primary 1167 drivers/net/bonding/bond_options.c primary); primary 61 drivers/net/bonding/bond_procfs.c struct slave *curr, *primary; primary 86 drivers/net/bonding/bond_procfs.c primary = rcu_dereference(bond->primary_slave); primary 88 drivers/net/bonding/bond_procfs.c primary ? primary->dev->name : "None"); primary 89 drivers/net/bonding/bond_procfs.c if (primary) { primary 413 drivers/net/bonding/bond_sysfs.c struct slave *primary; primary 417 drivers/net/bonding/bond_sysfs.c primary = rcu_dereference(bond->primary_slave); primary 418 drivers/net/bonding/bond_sysfs.c if (primary) primary 419 drivers/net/bonding/bond_sysfs.c count = sprintf(buf, "%s\n", primary->dev->name); primary 424 drivers/net/bonding/bond_sysfs.c static DEVICE_ATTR(primary, 0644, primary 236 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h u16 primary; primary 16 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c __le16 primary; primary 53 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c nspi->primary = le16_to_cpu(ni->primary); primary 1224 drivers/net/ethernet/sfc/efx.c if (efx->primary == efx) { primary 1240 drivers/net/ethernet/sfc/efx.c other->primary = efx; primary 1254 drivers/net/ethernet/sfc/efx.c efx->primary = other; primary 1270 drivers/net/ethernet/sfc/efx.c efx->primary = NULL; primary 1277 drivers/net/ethernet/sfc/efx.c other->primary = NULL; primary 1164 drivers/net/ethernet/sfc/falcon/efx.c if (efx->primary == efx) { primary 1180 drivers/net/ethernet/sfc/falcon/efx.c other->primary = efx; primary 1194 drivers/net/ethernet/sfc/falcon/efx.c efx->primary = other; primary 1210 drivers/net/ethernet/sfc/falcon/efx.c efx->primary = NULL; primary 1217 drivers/net/ethernet/sfc/falcon/efx.c other->primary = NULL; primary 2289 drivers/net/ethernet/sfc/falcon/falcon.c efx->primary = efx; /* only one usable function per controller */ primary 768 drivers/net/ethernet/sfc/falcon/net_driver.h struct ef4_nic *primary; primary 113 drivers/net/ethernet/sfc/mcdi.c efx->primary = efx; primary 938 drivers/net/ethernet/sfc/net_driver.h struct efx_nic *primary; primary 1788 drivers/net/ethernet/sfc/ptp.c struct efx_nic *primary = efx->primary; primary 1809 drivers/net/ethernet/sfc/ptp.c if (primary && primary->ptp_data && primary->ptp_data->phc_clock) primary 1811 drivers/net/ethernet/sfc/ptp.c ptp_clock_index(primary->ptp_data->phc_clock); primary 190 drivers/net/ethernet/ti/netcp.h bool primary; primary 292 drivers/net/ethernet/ti/netcp_core.c if (tmp->primary) primary 3828 drivers/net/ethernet/ti/netcp_ethss.c .primary = true, primary 3845 drivers/net/ethernet/ti/netcp_ethss.c .primary = true, primary 1286 drivers/net/hyperv/netvsc.c struct vmbus_channel *primary = channel->primary_channel; primary 1288 drivers/net/hyperv/netvsc.c return primary ? primary->device_obj : channel->device_obj; primary 271 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct ieee80211_chanctx_conf *primary; primary 313 drivers/net/wireless/intel/iwlwifi/mvm/coex.c swap(data->primary, data->secondary); primary 389 drivers/net/wireless/intel/iwlwifi/mvm/coex.c data->secondary = data->primary; primary 390 drivers/net/wireless/intel/iwlwifi/mvm/coex.c data->primary = chanctx_conf; primary 397 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (chanctx_conf == data->primary) primary 405 drivers/net/wireless/intel/iwlwifi/mvm/coex.c data->secondary = data->primary; primary 406 drivers/net/wireless/intel/iwlwifi/mvm/coex.c data->primary = chanctx_conf; primary 412 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (data->primary == chanctx_conf) primary 423 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (!data->primary || data->primary == chanctx_conf) primary 424 drivers/net/wireless/intel/iwlwifi/mvm/coex.c data->primary = chanctx_conf; primary 429 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (data->primary == chanctx_conf) primary 486 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (data.primary) { primary 487 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct ieee80211_chanctx_conf *chan = data.primary; primary 506 drivers/net/wireless/intel/iwlwifi/mvm/coex.c cpu_to_le32(*((u16 *)data.primary->drv_priv)); primary 84 drivers/net/wireless/intersil/orinoco/fw.c orinoco_cached_fw_get(struct orinoco_private *priv, bool primary) primary 86 drivers/net/wireless/intersil/orinoco/fw.c if (primary) primary 92 drivers/net/wireless/intersil/orinoco/fw.c #define orinoco_cached_fw_get(priv, primary) (NULL) primary 683 drivers/net/wireless/realtek/rtlwifi/core.c u32 primary = primary 690 drivers/net/wireless/realtek/rtlwifi/core.c if (center > primary) { primary 693 drivers/net/wireless/realtek/rtlwifi/core.c if (center - primary == 10) { primary 698 drivers/net/wireless/realtek/rtlwifi/core.c } else if (center - primary == 30) { primary 707 drivers/net/wireless/realtek/rtlwifi/core.c if (primary - center == 10) { primary 712 drivers/net/wireless/realtek/rtlwifi/core.c } else if (primary - center == 30) { primary 493 drivers/parisc/pdc_stable.c static PDCSPATH_ENTRY(PDCS_ADDR_PPRI, primary); primary 570 drivers/pci/controller/pci-aardvark.c if (bus->primary == pcie->root_bus_nr) primary 629 drivers/pci/controller/pci-aardvark.c if (bus->primary == pcie->root_bus_nr) primary 109 drivers/pci/controller/pci-xgene.c if (bus->number >= (bus->primary + 1)) primary 294 drivers/pci/controller/pcie-mobiveil.c if ((bus->primary == pcie->root_bus_nr) && (PCI_SLOT(devfn) > 0)) primary 82 drivers/pci/controller/pcie-rockchip-host.c if (bus->primary == rockchip->root_bus_nr && dev > 0) primary 201 drivers/pci/hotplug/acpiphp_glue.c | ((unsigned int)(bus->primary) << 0) primary 1008 drivers/pci/probe.c child->primary = parent->busn_res.start; primary 1154 drivers/pci/probe.c u8 primary, secondary, subordinate; primary 1167 drivers/pci/probe.c primary = buses & 0xFF; primary 1174 drivers/pci/probe.c if (!primary && (primary != bus->number) && secondary && subordinate) { primary 1176 drivers/pci/probe.c primary = bus->number; primary 1181 drivers/pci/probe.c (primary != bus->number || secondary <= bus->number || primary 1220 drivers/pci/probe.c child->primary = primary; primary 1283 drivers/pci/probe.c | ((unsigned int)(child->primary) << 0) primary 1053 drivers/pcmcia/yenta_socket.c dev->subordinate->primary); /* primary bus */ primary 213 drivers/s390/net/qeth_l2_sys.c int enable, primary; primary 221 drivers/s390/net/qeth_l2_sys.c primary = 0; primary 224 drivers/s390/net/qeth_l2_sys.c primary = 1; primary 227 drivers/s390/net/qeth_l2_sys.c primary = 0; primary 240 drivers/s390/net/qeth_l2_sys.c card->options.sbp.reflect_promisc_primary = primary; primary 95 drivers/scsi/dpt/dpti_ioctl.h uCHAR primary; /* 1 For Primary, 0 For Secondary */ primary 165 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(eth_primary_dns, primary-dns, ISCSI_BOOT_ETH_PRIMARY_DNS); primary 80 drivers/sh/intc/core.c unsigned int data[2], primary; primary 98 drivers/sh/intc/core.c primary = 0; primary 100 drivers/sh/intc/core.c primary = 1; primary 109 drivers/sh/intc/core.c if (!data[primary]) primary 110 drivers/sh/intc/core.c primary ^= 1; primary 112 drivers/sh/intc/core.c BUG_ON(!data[primary]); /* must have primary masking method */ primary 119 drivers/sh/intc/core.c irq_set_chip_data(irq, (void *)data[primary]); primary 127 drivers/sh/intc/core.c if (data[!primary]) primary 128 drivers/sh/intc/core.c _intc_enable(irq_data, data[!primary]); primary 136 drivers/sh/intc/core.c if (primary) { primary 1058 drivers/staging/sm750fb/sm750.c bool primary = false; primary 1067 drivers/staging/sm750fb/sm750.c primary = pdev->resource[PCI_ROM_RESOURCE].flags & primary 1070 drivers/staging/sm750fb/sm750.c remove_conflicting_framebuffers(ap, "sm750_fb1", primary); primary 33 drivers/target/target_core_alua.c int *primary, int explicit); primary 278 drivers/target/target_core_alua.c int alua_access_state, primary = 0, valid_states; primary 325 drivers/target/target_core_alua.c &primary, 1); primary 353 drivers/target/target_core_alua.c if (primary) { primary 751 drivers/target/target_core_alua.c core_alua_check_transition(int state, int valid, int *primary, int explicit) primary 761 drivers/target/target_core_alua.c *primary = 1; primary 766 drivers/target/target_core_alua.c *primary = 1; primary 771 drivers/target/target_core_alua.c *primary = 1; primary 776 drivers/target/target_core_alua.c *primary = 1; primary 781 drivers/target/target_core_alua.c *primary = 1; primary 790 drivers/target/target_core_alua.c *primary = 0; primary 799 drivers/target/target_core_alua.c *primary = 0; primary 1091 drivers/target/target_core_alua.c int primary, valid_states, rc = 0; primary 1097 drivers/target/target_core_alua.c if (core_alua_check_transition(new_state, valid_states, &primary, primary 1548 drivers/video/fbdev/core/fbmem.c const char *name, bool primary) primary 1561 drivers/video/fbdev/core/fbmem.c (primary && gen_aper && gen_aper->count && primary 1733 drivers/video/fbdev/core/fbmem.c const char *name, bool primary) primary 1748 drivers/video/fbdev/core/fbmem.c do_remove_conflicting_framebuffers(a, name, primary); primary 1773 drivers/video/fbdev/core/fbmem.c bool primary = false; primary 1804 drivers/video/fbdev/core/fbmem.c primary = pdev->resource[PCI_ROM_RESOURCE].flags & primary 1807 drivers/video/fbdev/core/fbmem.c err = remove_conflicting_framebuffers(ap, name, primary); primary 238 drivers/watchdog/wm831x_wdt.c reg |= pdata->primary << WM831X_WDOG_PRIMACT_SHIFT; primary 765 fs/ext4/resize.c struct buffer_head *primary) primary 767 fs/ext4/resize.c const ext4_fsblk_t blk = primary->b_blocknr; primary 772 fs/ext4/resize.c __le32 *p = (__le32 *)primary->b_data; primary 1001 fs/ext4/resize.c struct buffer_head **primary; primary 1010 fs/ext4/resize.c primary = kmalloc_array(reserved_gdb, sizeof(*primary), GFP_NOFS); primary 1011 fs/ext4/resize.c if (!primary) primary 1037 fs/ext4/resize.c primary[res] = ext4_sb_bread(sb, blk, 0); primary 1038 fs/ext4/resize.c if (IS_ERR(primary[res])) { primary 1039 fs/ext4/resize.c err = PTR_ERR(primary[res]); primary 1040 fs/ext4/resize.c primary[res] = NULL; primary 1043 fs/ext4/resize.c gdbackups = verify_reserved_gdb(sb, group, primary[res]); primary 1045 fs/ext4/resize.c brelse(primary[res]); primary 1054 fs/ext4/resize.c BUFFER_TRACE(primary[i], "get_write_access"); primary 1055 fs/ext4/resize.c if ((err = ext4_journal_get_write_access(handle, primary[i]))) primary 1069 fs/ext4/resize.c data = (__le32 *)primary[i]->b_data; primary 1073 fs/ext4/resize.c data[gdbackups] = cpu_to_le32(blk + primary[i]->b_blocknr); primary 1074 fs/ext4/resize.c err2 = ext4_handle_dirty_metadata(handle, NULL, primary[i]); primary 1084 fs/ext4/resize.c brelse(primary[res]); primary 1088 fs/ext4/resize.c kfree(primary); primary 918 include/drm/drm_crtc.h struct drm_plane *primary; primary 1146 include/drm/drm_crtc.h struct drm_plane *primary, primary 83 include/drm/drm_device.h struct drm_minor *primary; primary 530 include/drm/drm_fb_helper.h const char *name, bool primary) primary 533 include/drm/drm_fb_helper.h return remove_conflicting_framebuffers(a, name, primary); primary 252 include/linux/ceph/osdmap.h int primary; /* id, NOT index */ primary 258 include/linux/ceph/osdmap.h set->primary = -1; primary 141 include/linux/cpu.h int __freeze_secondary_cpus(int primary, bool suspend); primary 142 include/linux/cpu.h static inline int freeze_secondary_cpus(int primary) primary 144 include/linux/cpu.h return __freeze_secondary_cpus(primary, true); primary 613 include/linux/fb.h const char *name, bool primary); primary 1026 include/linux/hyperv.h bool vmbus_are_subchannels_present(struct vmbus_channel *primary); primary 161 include/linux/memcontrol.h struct mem_cgroup_threshold_ary *primary; primary 339 include/linux/mfd/si476x-core.h bool primary; primary 91 include/linux/mfd/wm831x/pdata.h enum wm831x_watchdog_action primary, secondary; primary 588 include/linux/pci.h unsigned char primary; /* Number of primary bridge */ primary 130 include/net/bonding.h char primary[IFNAMSIZ]; primary 20 include/trace/events/sctp.h __field(__u32, primary) primary 32 include/trace/events/sctp.h __entry->primary = (sp == asoc->peer.primary_path); primary 44 include/trace/events/sctp.h __entry->asoc, __entry->primary ? "(*)" : "", primary 1215 kernel/cpu.c int __freeze_secondary_cpus(int primary, bool suspend) primary 1220 kernel/cpu.c if (primary == -1) { primary 1221 kernel/cpu.c primary = cpumask_first(cpu_online_mask); primary 1222 kernel/cpu.c if (!housekeeping_cpu(primary, HK_FLAG_TIMER)) primary 1223 kernel/cpu.c primary = housekeeping_any_cpu(HK_FLAG_TIMER); primary 1225 kernel/cpu.c if (!cpu_online(primary)) primary 1226 kernel/cpu.c primary = cpumask_first(cpu_online_mask); primary 1237 kernel/cpu.c if (cpu == primary) primary 287 kernel/profile.c unsigned long primary, secondary, flags, pc = (unsigned long)__pc; primary 292 kernel/profile.c i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; primary 318 kernel/profile.c } while (i != primary); primary 4030 mm/memcontrol.c t = rcu_dereference(memcg->thresholds.primary); primary 4032 mm/memcontrol.c t = rcu_dereference(memcg->memsw_thresholds.primary); primary 4144 mm/memcontrol.c if (thresholds->primary) primary 4147 mm/memcontrol.c size = thresholds->primary ? thresholds->primary->size + 1 : 1; primary 4158 mm/memcontrol.c if (thresholds->primary) { primary 4159 mm/memcontrol.c memcpy(new->entries, thresholds->primary->entries, (size - 1) * primary 4187 mm/memcontrol.c thresholds->spare = thresholds->primary; primary 4189 mm/memcontrol.c rcu_assign_pointer(thresholds->primary, new); primary 4231 mm/memcontrol.c if (!thresholds->primary) primary 4239 mm/memcontrol.c for (i = 0; i < thresholds->primary->size; i++) { primary 4240 mm/memcontrol.c if (thresholds->primary->entries[i].eventfd != eventfd) primary 4263 mm/memcontrol.c for (i = 0, j = 0; i < thresholds->primary->size; i++) { primary 4264 mm/memcontrol.c if (thresholds->primary->entries[i].eventfd == eventfd) primary 4267 mm/memcontrol.c new->entries[j] = thresholds->primary->entries[i]; primary 4281 mm/memcontrol.c thresholds->spare = thresholds->primary; primary 4283 mm/memcontrol.c rcu_assign_pointer(thresholds->primary, new); primary 190 net/ceph/debugfs.c seq_printf(s, "]/%d\t[", t->up.primary); primary 193 net/ceph/debugfs.c seq_printf(s, "]/%d\te%u\t", t->acting.primary, t->epoch); primary 1600 net/ceph/osd_client.c t->osd = acting.primary; primary 2038 net/ceph/osdmap.c lhs->primary == rhs->primary) primary 2047 net/ceph/osdmap.c if (set->size > 0 && set->primary >= 0) primary 2051 net/ceph/osdmap.c if (!set->size && set->primary == -1) primary 2055 net/ceph/osdmap.c if (set->size > 0 && set->primary == -1) { primary 2073 net/ceph/osdmap.c dest->primary = src->primary; primary 2150 net/ceph/osdmap.c if (old_acting->primary != new_acting->primary) primary 2153 net/ceph/osdmap.c if (calc_pg_rank(old_acting->primary, old_acting) != primary 2154 net/ceph/osdmap.c calc_pg_rank(new_acting->primary, new_acting)) primary 2452 net/ceph/osdmap.c BUG_ON(set->primary != -1); primary 2468 net/ceph/osdmap.c set->primary = set->osds[0]; primary 2475 net/ceph/osdmap.c set->primary = set->osds[i]; primary 2538 net/ceph/osdmap.c up->primary = up->osds[pos]; primary 2544 net/ceph/osdmap.c up->osds[0] = up->primary; primary 2583 net/ceph/osdmap.c temp->primary = temp->osds[i]; primary 2592 net/ceph/osdmap.c temp->primary = pg->primary_temp.osd; primary 2622 net/ceph/osdmap.c if (acting->primary == -1) primary 2623 net/ceph/osdmap.c acting->primary = up->primary; primary 2648 net/ceph/osdmap.c if (acting.osds[i] == acting.primary) { primary 2672 net/ceph/osdmap.c return acting.primary; primary 836 net/mac80211/rc80211_minstrel_ht.c minstrel_downgrade_rate(struct minstrel_ht_sta *mi, u16 *idx, bool primary) primary 851 net/mac80211/rc80211_minstrel_ht.c if (primary) primary 763 net/sctp/associola.c struct sctp_transport *primary) primary 771 net/sctp/associola.c if (t != primary) primary 99 net/sctp/outqueue.c static inline int sctp_cacc_skip_3_1_d(struct sctp_transport *primary, primary 103 net/sctp/outqueue.c if (count_of_newacks >= 2 && transport != primary) primary 131 net/sctp/outqueue.c static inline int sctp_cacc_skip_3_1(struct sctp_transport *primary, primary 135 net/sctp/outqueue.c if (!primary->cacc.cycling_changeover) { primary 136 net/sctp/outqueue.c if (sctp_cacc_skip_3_1_d(primary, transport, count_of_newacks)) primary 152 net/sctp/outqueue.c static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) primary 154 net/sctp/outqueue.c if (primary->cacc.cycling_changeover && primary 155 net/sctp/outqueue.c TSN_lt(tsn, primary->cacc.next_tsn_at_change)) primary 174 net/sctp/outqueue.c static inline int sctp_cacc_skip(struct sctp_transport *primary, primary 179 net/sctp/outqueue.c if (primary->cacc.changeover_active && primary 180 net/sctp/outqueue.c (sctp_cacc_skip_3_1(primary, transport, count_of_newacks) || primary 181 net/sctp/outqueue.c sctp_cacc_skip_3_2(primary, tsn))) primary 1233 net/sctp/outqueue.c struct sctp_transport *primary = asoc->peer.primary_path; primary 1262 net/sctp/outqueue.c if (primary->cacc.changeover_active) { primary 1265 net/sctp/outqueue.c if (TSN_lte(primary->cacc.next_tsn_at_change, sack_ctsn)) { primary 1266 net/sctp/outqueue.c primary->cacc.changeover_active = 0; primary 1683 net/sctp/outqueue.c struct sctp_transport *primary = asoc->peer.primary_path; primary 1703 net/sctp/outqueue.c if (!transport || !sctp_cacc_skip(primary, primary 82 net/sctp/proc.c union sctp_addr *addr, *primary = NULL; primary 94 net/sctp/proc.c primary = &peer->saddr; primary 104 net/sctp/proc.c if (primary && af->cmp_addr(addr, primary)) { primary 116 net/sctp/proc.c union sctp_addr *addr, *primary; primary 119 net/sctp/proc.c primary = &assoc->peer.primary_addr; primary 125 net/sctp/proc.c if (af->cmp_addr(addr, primary)) { primary 585 security/selinux/ss/policydb.c if (typdatum->primary) { primary 1455 security/selinux/ss/policydb.c typdatum->primary = 1; primary 1461 security/selinux/ss/policydb.c typdatum->primary = le32_to_cpu(buf[2]); primary 2998 security/selinux/ss/policydb.c if (typdatum->primary) primary 3007 security/selinux/ss/policydb.c buf[items++] = cpu_to_le32(typdatum->primary); primary 112 security/selinux/ss/policydb.h unsigned char primary; /* primary name? */ primary 327 sound/soc/intel/skylake/cnl-sst.c header.primary = hipctdr; primary 330 sound/soc/intel/skylake/cnl-sst.c header.primary); primary 334 sound/soc/intel/skylake/cnl-sst.c if (CNL_IPC_GLB_NOTIFY_RSP_TYPE(header.primary)) { primary 376 sound/soc/intel/skylake/cnl-sst.c header->primary | CNL_ADSP_REG_HIPCIDR_BUSY); primary 305 sound/soc/intel/skylake/skl-sst-ipc.c header->primary | SKL_ADSP_REG_HIPCI_BUSY); primary 333 sound/soc/intel/skylake/skl-sst-ipc.c header->primary); primary 350 sound/soc/intel/skylake/skl-sst-ipc.c if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { primary 351 sound/soc/intel/skylake/skl-sst-ipc.c switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { primary 354 sound/soc/intel/skylake/skl-sst-ipc.c dev_err(ipc->dev, "FW Underrun %x\n", header.primary); primary 359 sound/soc/intel/skylake/skl-sst-ipc.c header.primary); primary 382 sound/soc/intel/skylake/skl-sst-ipc.c header.primary); primary 437 sound/soc/intel/skylake/skl-sst-ipc.c u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; primary 453 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "ipc FW reply %x: success\n", header.primary); primary 456 sound/soc/intel/skylake/skl-sst-ipc.c switch (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { primary 470 sound/soc/intel/skylake/skl-sst-ipc.c switch (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { primary 527 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = hipct; primary 530 sound/soc/intel/skylake/skl-sst-ipc.c header.primary); primary 534 sound/soc/intel/skylake/skl-sst-ipc.c if (IPC_GLB_NOTIFY_RSP_TYPE(header.primary)) { primary 642 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 643 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 644 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_CREATE_PPL); primary 645 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_INSTANCE_ID(instance_id); primary 646 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_PPL_TYPE(ppl_type); primary 647 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_PPL_MEM_SIZE(ppl_mem_size); primary 652 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); primary 669 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 670 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 671 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_DELETE_PPL); primary 672 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_INSTANCE_ID(instance_id); primary 675 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); primary 693 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 694 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 695 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_SET_PPL_STATE); primary 696 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_INSTANCE_ID(instance_id); primary 697 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_PPL_STATE(state); primary 700 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); primary 717 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 718 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 719 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_SAVE_PPL); primary 720 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_INSTANCE_ID(instance_id); primary 725 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); primary 742 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 743 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 744 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_RESTORE_PPL); primary 745 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_INSTANCE_ID(instance_id); primary 748 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); primary 766 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); primary 767 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 768 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_MOD_SET_DX); primary 769 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(instance_id); primary 770 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(module_id); primary 777 sound/soc/intel/skylake/skl-sst-ipc.c header.primary, header.extension); primary 801 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); primary 802 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 803 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_MOD_INIT_INSTANCE); primary 804 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); primary 805 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(msg->module_id); primary 817 sound/soc/intel/skylake/skl-sst-ipc.c header.primary, header.extension); primary 837 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); primary 838 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 839 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(bind_unbind); primary 840 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); primary 841 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(msg->module_id); primary 849 sound/soc/intel/skylake/skl-sst-ipc.c dev_dbg(ipc->dev, "In %s hdr=%x ext=%x\n", __func__, header.primary, primary 874 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 875 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 876 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_LOAD_MULTIPLE_MODS); primary 877 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_LOAD_MODULE_CNT(module_cnt); primary 898 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 899 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 900 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_UNLOAD_MULTIPLE_MODS); primary 901 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_LOAD_MODULE_CNT(module_cnt); primary 923 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); primary 924 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 925 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_MOD_LARGE_CONFIG_SET); primary 926 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); primary 927 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(msg->module_id); primary 943 sound/soc/intel/skylake/skl-sst-ipc.c header.primary, header.extension); primary 984 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); primary 985 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 986 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_MOD_LARGE_CONFIG_GET); primary 987 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); primary 988 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(msg->module_id); primary 1022 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); primary 1023 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 1024 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_GLB_LOAD_LIBRARY); primary 1025 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(table_id); primary 1026 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(dma_id); primary 1047 sound/soc/intel/skylake/skl-sst-ipc.c header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); primary 1048 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); primary 1049 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_GLB_TYPE(IPC_MOD_SET_D0IX); primary 1050 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); primary 1051 sound/soc/intel/skylake/skl-sst-ipc.c header.primary |= IPC_MOD_ID(msg->module_id); primary 1058 sound/soc/intel/skylake/skl-sst-ipc.c header.primary, header.extension); primary 35 sound/soc/intel/skylake/skl-sst-ipc.h u32 primary; primary 154 sound/soc/samsung/odroid.c SND_SOC_DAILINK_DEFS(primary, primary 177 sound/soc/samsung/odroid.c SND_SOC_DAILINK_REG(primary),