Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 200 of 375) sorted by relevance

12

/linux-4.4.14/drivers/mfd/
Dwm8350-irq.c40 int primary; member
48 .primary = WM8350_OC_INT,
54 .primary = WM8350_UV_INT,
59 .primary = WM8350_UV_INT,
64 .primary = WM8350_UV_INT,
69 .primary = WM8350_UV_INT,
74 .primary = WM8350_UV_INT,
79 .primary = WM8350_UV_INT,
84 .primary = WM8350_UV_INT,
89 .primary = WM8350_UV_INT,
[all …]
Dwm831x-irq.c31 int primary; member
38 .primary = WM831X_TEMP_INT,
43 .primary = WM831X_GP_INT,
48 .primary = WM831X_GP_INT,
53 .primary = WM831X_GP_INT,
58 .primary = WM831X_GP_INT,
63 .primary = WM831X_GP_INT,
68 .primary = WM831X_GP_INT,
73 .primary = WM831X_GP_INT,
78 .primary = WM831X_GP_INT,
[all …]
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-sst-ipc.c276 header->primary | SKL_ADSP_REG_HIPCI_BUSY); in skl_ipc_tx_msg()
287 header->primary); in skl_ipc_reply_get_msg()
303 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
304 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
307 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
312 header.primary); in skl_ipc_process_notification()
322 header.primary); in skl_ipc_process_notification()
334 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply()
346 dev_info(ipc->dev, "ipc FW reply %x: success\n", header.primary); in skl_ipc_process_reply()
350 dev_err(ipc->dev, "ipc fw reply: %x: no memory\n", header.primary); in skl_ipc_process_reply()
[all …]
Dskl-sst-ipc.h44 u32 primary; member
/linux-4.4.14/drivers/gpu/drm/mga/
Dmga_dma.c78 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() local
84 primary->tail = 0; in mga_do_dma_reset()
85 primary->space = primary->size; in mga_do_dma_reset()
86 primary->last_flush = 0; in mga_do_dma_reset()
105 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush() local
120 if (primary->tail == primary->last_flush) { in mga_do_dma_flush()
125 tail = primary->tail + dev_priv->primary->offset; in mga_do_dma_flush()
139 primary->last_flush = primary->tail; in mga_do_dma_flush()
144 primary->space = primary->size - primary->tail; in mga_do_dma_flush()
146 primary->space = head - tail; in mga_do_dma_flush()
[all …]
Dmga_drv.h147 drm_local_map_t *primary; member
301 dev_priv->primary->offset)); \
352 dev_priv->primary->offset); \
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_dp_mst.c25 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl() argument
29 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_be_cntl()
35 reg = RREG32(NI_DIG_BE_CNTL + primary->offset); in radeon_dp_mst_set_be_cntl()
47 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
48 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl()
57 DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); in radeon_dp_mst_set_be_cntl()
62 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib() argument
67 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib()
76 temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); in radeon_dp_mst_set_stream_attrib()
86 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DP_MSE_SAT0 + satreg + primary->offset, temp); in radeon_dp_mst_set_stream_attrib()
[all …]
Dradeon_legacy_crtc.c388 if (!atomic && !crtc->primary->fb) { in radeon_crtc_do_set_base()
398 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in radeon_crtc_do_set_base()
399 target_fb = crtc->primary->fb; in radeon_crtc_do_set_base()
447 if (!atomic && fb && fb != crtc->primary->fb) { in radeon_crtc_do_set_base()
558 if (!atomic && fb && fb != crtc->primary->fb) { in radeon_crtc_do_set_base()
602 switch (crtc->primary->fb->bits_per_pixel) { in radeon_set_crtc_timing()
1091 if (crtc->primary->fb) { in radeon_crtc_disable()
1096 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in radeon_crtc_disable()
Dradeon_drv.c381 bool primary = false; in radeon_kick_out_firmware_fb() local
391 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in radeon_kick_out_firmware_fb()
393 remove_conflicting_framebuffers(ap, "radeondrmfb", primary); in radeon_kick_out_firmware_fb()
Datombios_crtc.c1155 if (!atomic && !crtc->primary->fb) { in dce4_crtc_do_set_base()
1165 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in dce4_crtc_do_set_base()
1166 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base()
1436 if (!atomic && fb && fb != crtc->primary->fb) { in dce4_crtc_do_set_base()
1471 if (!atomic && !crtc->primary->fb) { in avivo_crtc_do_set_base()
1481 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in avivo_crtc_do_set_base()
1482 target_fb = crtc->primary->fb; in avivo_crtc_do_set_base()
1636 if (!atomic && fb && fb != crtc->primary->fb) { in avivo_crtc_do_set_base()
2143 if (crtc->primary->fb) { in atombios_crtc_disable()
2148 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in atombios_crtc_disable()
Dradeon_trace.h137 __entry->dev = dev->primary->index;
Dradeon_device.c1586 struct radeon_framebuffer *rfb = to_radeon_framebuffer(crtc->primary->fb); in radeon_suspend_kms()
1909 rdev->ddev->primary->debugfs_root, in radeon_debugfs_add_files()
1910 rdev->ddev->primary); in radeon_debugfs_add_files()
1926 rdev->ddev->primary); in radeon_debugfs_remove_files()
/linux-4.4.14/drivers/ide/
Dide-generic.c53 static void ide_generic_check_pci_legacy_iobases(int *primary, int *secondary) in ide_generic_check_pci_legacy_iobases() argument
61 *primary = 1; in ide_generic_check_pci_legacy_iobases()
69 *primary = *secondary = 1; in ide_generic_check_pci_legacy_iobases()
80 *primary = 1; in ide_generic_check_pci_legacy_iobases()
91 int i, rc = 0, primary = 0, secondary = 0; in ide_generic_init() local
93 ide_generic_check_pci_legacy_iobases(&primary, &secondary); in ide_generic_init()
99 if (primary == 0) in ide_generic_init()
Dcy82c693.c150 static ide_hwif_t *primary; in init_iops_cy82c693() local
154 primary = hwif; in init_iops_cy82c693()
156 hwif->mate = primary; in init_iops_cy82c693()
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c238 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane() local
241 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in fsl_dcu_drm_primary_create_plane()
242 if (!primary) { in fsl_dcu_drm_primary_create_plane()
248 ret = drm_universal_plane_init(dev, primary, 0, in fsl_dcu_drm_primary_create_plane()
254 kfree(primary); in fsl_dcu_drm_primary_create_plane()
255 primary = NULL; in fsl_dcu_drm_primary_create_plane()
257 drm_plane_helper_add(primary, &fsl_dcu_drm_plane_helper_funcs); in fsl_dcu_drm_primary_create_plane()
259 return primary; in fsl_dcu_drm_primary_create_plane()
Dfsl_dcu_drm_crtc.c171 struct drm_plane *primary; in fsl_dcu_drm_crtc_create() local
176 primary = fsl_dcu_drm_primary_create_plane(fsl_dev->drm); in fsl_dcu_drm_crtc_create()
177 ret = drm_crtc_init_with_planes(fsl_dev->drm, crtc, primary, NULL, in fsl_dcu_drm_crtc_create()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_plane_helper.c350 struct drm_plane *primary; in create_primary_plane() local
353 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in create_primary_plane()
354 if (primary == NULL) { in create_primary_plane()
363 primary->format_default = true; in create_primary_plane()
366 ret = drm_universal_plane_init(dev, primary, 0, in create_primary_plane()
372 kfree(primary); in create_primary_plane()
373 primary = NULL; in create_primary_plane()
376 return primary; in create_primary_plane()
394 struct drm_plane *primary; in drm_crtc_init() local
396 primary = create_primary_plane(dev); in drm_crtc_init()
[all …]
Ddrm_crtc_helper.c199 crtc->primary->fb = NULL; in __drm_helper_disable_unused_functions()
535 save_set.fb = set->crtc->primary->fb; in drm_crtc_helper_set_config()
539 if (set->crtc->primary->fb != set->fb) { in drm_crtc_helper_set_config()
541 if (set->crtc->primary->fb == NULL) { in drm_crtc_helper_set_config()
547 set->crtc->primary->fb->pixel_format) { in drm_crtc_helper_set_config()
649 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config()
655 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config()
670 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config()
676 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config()
874 crtc->x, crtc->y, crtc->primary->fb); in drm_helper_resume_force_mode()
[all …]
Ddrm_crtc.c628 if (crtc->primary->fb == fb) { in drm_framebuffer_remove()
667 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
674 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes()
690 crtc->primary = primary; in drm_crtc_init_with_planes()
692 if (primary) in drm_crtc_init_with_planes()
693 primary->possible_crtcs = 1 << drm_crtc_index(crtc); in drm_crtc_init_with_planes()
1883 drm_modeset_lock_crtc(crtc, crtc->primary); in drm_mode_getcrtc()
1885 if (crtc->primary->fb) in drm_mode_getcrtc()
1886 crtc_resp->fb_id = crtc->primary->fb->base.id; in drm_mode_getcrtc()
1891 crtc_resp->x = crtc->primary->state->src_x >> 16; in drm_mode_getcrtc()
[all …]
Ddrm_platform.c62 driver->date, dev->primary->index); in drm_get_platform_dev()
Ddrm_atomic_helper.c718 struct drm_plane *primary = crtc->primary; in drm_atomic_helper_update_legacy_modeset_state() local
723 if (drm_atomic_get_existing_plane_state(old_state, primary) && in drm_atomic_helper_update_legacy_modeset_state()
724 primary->state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
725 crtc->x = primary->state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state()
726 crtc->y = primary->state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1739 crtc->primary->old_fb = crtc->primary->fb; in drm_atomic_helper_set_config()
1759 primary_state = drm_atomic_get_plane_state(state, crtc->primary); in __drm_atomic_helper_set_config()
2021 struct drm_plane *plane = crtc->primary; in drm_atomic_helper_page_flip()
Ddrm_sysfs.c502 device_create_with_groups(drm_class, dev->primary->kdev, 0, in drm_sysfs_connector_add()
504 "card%d-%s", dev->primary->index, in drm_sysfs_connector_add()
559 kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp); in drm_sysfs_hotplug_event()
Ddrm_bufs.c54 entry->master != dev->primary->master) in drm_find_matching_map()
248 if (dev->primary->master->lock.hw_lock != NULL) { in drm_addmap_core()
253 dev->sigdata.lock = dev->primary->master->lock.hw_lock = map->handle; /* Pointer to lock */ in drm_addmap_core()
359 list->master = dev->primary->master; in drm_addmap_core()
Ddrm_fb_helper.c298 return c->primary->fb; in drm_mode_config_fb()
492 if (dev->primary->master) in drm_fb_helper_is_bound()
496 if (crtc->primary->fb) in drm_fb_helper_is_bound()
498 if (crtc->primary->fb == fb_helper->fb) in drm_fb_helper_is_bound()
1253 plane = mode_set->crtc->primary; in pan_display_atomic()
/linux-4.4.14/drivers/mtd/chips/
Dgen_probe.c200 int primary) in cfi_cmdset_unknown() argument
203 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in cfi_cmdset_unknown()
219 mtd = (*probe_function)(map, primary); in cfi_cmdset_unknown()
230 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set() argument
233 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in check_cmd_set()
245 return cfi_cmdset_0001(map, primary); in check_cmd_set()
251 return cfi_cmdset_0002(map, primary); in check_cmd_set()
255 return cfi_cmdset_0020(map, primary); in check_cmd_set()
258 return cfi_cmdset_unknown(map, primary); in check_cmd_set()
/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c402 struct vmbus_channel *primary = channel->primary_channel; in init_vp_index() local
435 if (!primary) { in init_vp_index()
445 primary = channel; in init_vp_index()
447 alloced_mask = &hv_context.hv_numa_map[primary->numa_node]; in init_vp_index()
450 cpumask_weight(cpumask_of_node(primary->numa_node))) { in init_vp_index()
459 cpumask_of_node(primary->numa_node)); in init_vp_index()
467 cpumask_of_node(primary->numa_node)); in init_vp_index()
479 &primary->alloced_cpus_in_node)) { in init_vp_index()
481 &primary->alloced_cpus_in_node); in init_vp_index()
883 struct vmbus_channel *vmbus_get_outgoing_channel(struct vmbus_channel *primary) in vmbus_get_outgoing_channel() argument
[all …]
/linux-4.4.14/arch/um/drivers/
Dchan_kern.c22 static int not_configged_open(int input, int output, int primary, void *data, in not_configged_open() argument
93 else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary, in open_one_chan()
119 if (chan->primary) in open_chan()
127 if (chan && chan->primary && chan->ops->winch) in chan_enable_winch()
151 if (chan->primary) in enable_chan()
266 if (chan->primary) { in write_chan()
282 if (chan->primary) in console_write_chan()
306 if (chan && chan->primary) { in chan_window_size()
313 if (chan && chan->primary) { in chan_window_size()
331 if (chan->primary && chan->output) in free_one_chan()
[all …]
Dpty.c40 static int pts_open(int input, int output, int primary, void *d, in pts_open() argument
113 static int pty_open(int input, int output, int primary, void *d, in pty_open() argument
Dnull.c20 static int null_open(int input, int output, int primary, void *d, in null_open() argument
Dchan.h20 unsigned int primary:1; member
Dtty.c39 static int tty_open(int input, int output, int primary, void *d, in tty_open() argument
Dfd.c50 static int fd_open(int input, int output, int primary, void *d, char **dev_out) in fd_open() argument
Dxterm.c84 static int xterm_open(int input, int output, int primary, void *d, in xterm_open() argument
Dport_user.c70 static int port_open(int input, int output, int primary, void *d, in port_open() argument
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_drm_bus.c43 bool primary; in virtio_pci_kick_out_firmware_fb() local
52 primary = pci_dev->resource[PCI_ROM_RESOURCE].flags in virtio_pci_kick_out_firmware_fb()
55 remove_conflicting_framebuffers(ap, "virtiodrmfb", primary); in virtio_pci_kick_out_firmware_fb()
88 driver->date, dev->primary->index); in drm_virtio_init()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_crtc.c245 struct armada_plane *plane = drm_to_armada_plane(dcrtc->crtc.primary); in armada_drm_crtc_queue_frame_work()
310 struct armada_plane *plane = drm_to_armada_plane(dcrtc->crtc.primary); in armada_drm_vblank_off()
451 struct armada_plane *plane = drm_to_armada_plane(dcrtc->crtc.primary); in armada_drm_crtc_irq()
544 drm_framebuffer_reference(crtc->primary->fb); in armada_drm_crtc_mode_set()
548 i = armada_drm_crtc_calc_fb(dcrtc->crtc.primary->fb, in armada_drm_crtc_mode_set()
568 armada_drm_plane_work_wait(drm_to_armada_plane(dcrtc->crtc.primary), in armada_drm_crtc_mode_set()
640 val |= CFG_GRA_FMT(drm_fb_to_armada_fb(dcrtc->crtc.primary->fb)->fmt); in armada_drm_crtc_mode_set()
641 val |= CFG_GRA_MOD(drm_fb_to_armada_fb(dcrtc->crtc.primary->fb)->mod); in armada_drm_crtc_mode_set()
643 if (drm_fb_to_armada_fb(dcrtc->crtc.primary->fb)->fmt > CFG_420) in armada_drm_crtc_mode_set()
681 i = armada_drm_crtc_calc_fb(crtc->primary->fb, crtc->x, crtc->y, regs, in armada_drm_crtc_mode_set_base()
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_sysfs.c589 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
595 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
601 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
608 ret = device_create_bin_file(dev->primary->kdev, &dpf_attrs); in i915_setup_sysfs()
613 ret = device_create_bin_file(dev->primary->kdev, in i915_setup_sysfs()
622 ret = sysfs_create_files(&dev->primary->kdev->kobj, vlv_attrs); in i915_setup_sysfs()
624 ret = sysfs_create_files(&dev->primary->kdev->kobj, gen6_attrs); in i915_setup_sysfs()
628 ret = sysfs_create_bin_file(&dev->primary->kdev->kobj, in i915_setup_sysfs()
636 sysfs_remove_bin_file(&dev->primary->kdev->kobj, &error_state_attr); in i915_teardown_sysfs()
638 sysfs_remove_files(&dev->primary->kdev->kobj, vlv_attrs); in i915_teardown_sysfs()
[all …]
Dintel_fbc.c88 struct drm_framebuffer *fb = crtc->base.primary->fb; in i8xx_fbc_enable()
143 struct drm_framebuffer *fb = crtc->base.primary->fb; in g4x_fbc_enable()
194 struct drm_framebuffer *fb = crtc->base.primary->fb; in ilk_fbc_enable()
263 struct drm_framebuffer *fb = crtc->base.primary->fb; in gen7_fbc_enable()
349 struct drm_framebuffer *crtc_fb = work->crtc->base.primary->fb; in intel_fbc_work_fn()
403 intel_fbc_enable(crtc, crtc->base.primary->fb); in intel_fbc_schedule_enable()
408 work->fb = crtc->base.primary->fb; in intel_fbc_schedule_enable()
538 to_intel_plane_state(tmp_crtc->primary->state)->visible) in intel_fbc_find_crtc()
545 if (!crtc || crtc->primary->fb == NULL) in intel_fbc_find_crtc()
564 to_intel_plane_state(crtc->primary->state)->visible) in multiple_pipes_ok()
[all …]
Di915_trace.h121 __entry->dev = i915->dev->primary->index;
419 __entry->dev = dev->primary->index;
439 __entry->dev = dev->primary->index;
455 __entry->dev = vm->dev->primary->index;
476 __entry->dev = from->dev->primary->index;
502 __entry->dev = ring->dev->primary->index;
525 __entry->dev = req->ring->dev->primary->index;
549 __entry->dev = ring->dev->primary->index;
574 __entry->dev = ring->dev->primary->index;
613 __entry->dev = ring->dev->primary->index;
[all …]
Dintel_dp_mst.c38 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_dp_mst_compute_config()
103 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_disable_dp()
120 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_post_disable_dp()
143 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_pre_enable_dp()
213 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_enable_dp()
245 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_dp_mst_enc_get_config()
534 intel_mst->primary = intel_dig_port; in intel_dp_create_fake_mst_encoder()
Dintel_display.c1083 return intel_crtc->active && crtc->primary->state->fb && in intel_crtc_active()
2609 struct drm_plane *primary = intel_crtc->base.primary; in intel_find_initial_plane_obj() local
2610 struct drm_plane_state *plane_state = primary->state; in intel_find_initial_plane_obj()
2612 struct intel_plane *intel_plane = to_intel_plane(primary); in intel_find_initial_plane_obj()
2638 fb = c->primary->fb; in intel_find_initial_plane_obj()
2657 crtc_state->plane_mask &= ~(1 << drm_plane_index(primary)); in intel_find_initial_plane_obj()
2659 intel_plane->disable_plane(primary, &intel_crtc->base); in intel_find_initial_plane_obj()
2679 primary->fb = primary->state->fb = fb; in intel_find_initial_plane_obj()
2680 primary->crtc = primary->state->crtc = &intel_crtc->base; in intel_find_initial_plane_obj()
2681 intel_crtc->base.state->plane_mask |= (1 << drm_plane_index(primary)); in intel_find_initial_plane_obj()
[all …]
Dintel_pm.c633 int pixel_size = crtc->primary->state->fb->bits_per_pixel / 8; in pineview_update_wm()
706 pixel_size = crtc->primary->state->fb->bits_per_pixel / 8; in g4x_compute_wm0()
793 pixel_size = crtc->primary->state->fb->bits_per_pixel / 8; in g4x_compute_srwm()
829 (wm->ddl[pipe].primary << DDL_PLANE_SHIFT)); in vlv_write_wm_values()
834 FW_WM_VLV(wm->pipe[PIPE_B].primary, PLANEB) | in vlv_write_wm_values()
835 FW_WM_VLV(wm->pipe[PIPE_A].primary, PLANEA)); in vlv_write_wm_values()
851 FW_WM_VLV(wm->pipe[PIPE_C].primary, PLANEC) | in vlv_write_wm_values()
857 FW_WM(wm->pipe[PIPE_C].primary >> 8, PLANEC_HI) | in vlv_write_wm_values()
860 FW_WM(wm->pipe[PIPE_B].primary >> 8, PLANEB_HI) | in vlv_write_wm_values()
863 FW_WM(wm->pipe[PIPE_A].primary >> 8, PLANEA_HI)); in vlv_write_wm_values()
[all …]
Dintel_fbdev.c553 intel_fb_obj(crtc->primary->state->fb); in intel_fbdev_init_bios()
565 fb = to_intel_framebuffer(crtc->primary->state->fb); in intel_fbdev_init_bios()
647 WARN(!crtc->primary->fb, in intel_fbdev_init_bios()
Di915_dma.c472 bool primary; in i915_kick_out_firmware_fb() local
482 primary = in i915_kick_out_firmware_fb()
485 ret = remove_conflicting_framebuffers(ap, "inteldrmfb", primary); in i915_kick_out_firmware_fb()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_compositor.c67 struct drm_plane *primary = NULL; in sti_compositor_bind() local
121 primary = sti_gdp_create(drm_dev, compo->dev, in sti_compositor_bind()
126 if (!primary) { in sti_compositor_bind()
137 if (crtc_id < mixer_id && primary) { in sti_compositor_bind()
139 primary, cursor); in sti_compositor_bind()
142 primary = NULL; in sti_compositor_bind()
Dsti_crtc.h15 struct drm_plane *primary, struct drm_plane *cursor);
Dsti_crtc.c364 struct drm_plane *primary, struct drm_plane *cursor) in sti_crtc_init() argument
369 res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, in sti_crtc_init()
/linux-4.4.14/drivers/sh/intc/
Dcore.c80 unsigned int data[2], primary; in intc_register_irq() local
98 primary = 0; in intc_register_irq()
100 primary = 1; in intc_register_irq()
109 if (!data[primary]) in intc_register_irq()
110 primary ^= 1; in intc_register_irq()
112 BUG_ON(!data[primary]); /* must have primary masking method */ in intc_register_irq()
119 irq_set_chip_data(irq, (void *)data[primary]); in intc_register_irq()
127 if (data[!primary]) in intc_register_irq()
128 _intc_enable(irq_data, data[!primary]); in intc_register_irq()
136 if (primary) { in intc_register_irq()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c119 bool primary) in kvmppc_mmu_get_pteg() argument
127 if (!primary) in kvmppc_mmu_get_pteg()
153 bool primary = false; in kvmppc_mmu_map_page() local
183 primary = !primary; in kvmppc_mmu_map_page()
188 pteg = kvmppc_mmu_get_pteg(vcpu, vsid, eaddr, primary); in kvmppc_mmu_map_page()
207 (primary ? 0 : PTE_SEC); in kvmppc_mmu_map_page()
Dbook3s_32_mmu.c112 bool primary) in kvmppc_mmu_book3s_32_get_pteg() argument
122 if (!primary) in kvmppc_mmu_book3s_32_get_pteg()
138 static u32 kvmppc_mmu_book3s_32_get_ptem(u32 sre, gva_t eaddr, bool primary) in kvmppc_mmu_book3s_32_get_ptem() argument
141 (primary ? 0 : 0x40) | 0x80000000; in kvmppc_mmu_book3s_32_get_ptem()
201 bool iswrite, bool primary) in kvmppc_mmu_book3s_32_xlate_pte() argument
218 ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu, sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
224 ptem = kvmppc_mmu_book3s_32_get_ptem(sre, eaddr, primary); in kvmppc_mmu_book3s_32_xlate_pte()
/linux-4.4.14/net/sctp/
Doutqueue.c109 static inline int sctp_cacc_skip_3_1_d(struct sctp_transport *primary, in sctp_cacc_skip_3_1_d() argument
113 if (count_of_newacks >= 2 && transport != primary) in sctp_cacc_skip_3_1_d()
141 static inline int sctp_cacc_skip_3_1(struct sctp_transport *primary, in sctp_cacc_skip_3_1() argument
145 if (!primary->cacc.cycling_changeover) { in sctp_cacc_skip_3_1()
146 if (sctp_cacc_skip_3_1_d(primary, transport, count_of_newacks)) in sctp_cacc_skip_3_1()
162 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn) in sctp_cacc_skip_3_2() argument
164 if (primary->cacc.cycling_changeover && in sctp_cacc_skip_3_2()
165 TSN_lt(tsn, primary->cacc.next_tsn_at_change)) in sctp_cacc_skip_3_2()
184 static inline int sctp_cacc_skip(struct sctp_transport *primary, in sctp_cacc_skip() argument
189 if (primary->cacc.changeover_active && in sctp_cacc_skip()
[all …]
Dproc.c126 union sctp_addr *addr, *primary = NULL; in sctp_seq_dump_local_addrs() local
138 primary = &peer->saddr; in sctp_seq_dump_local_addrs()
148 if (primary && af->cmp_addr(addr, primary)) { in sctp_seq_dump_local_addrs()
160 union sctp_addr *addr, *primary; in sctp_seq_dump_remote_addrs() local
163 primary = &assoc->peer.primary_addr; in sctp_seq_dump_remote_addrs()
172 if (af->cmp_addr(addr, primary)) { in sctp_seq_dump_remote_addrs()
/linux-4.4.14/drivers/s390/net/
Dqeth_l2_sys.c188 int enable, primary; in qeth_bridgeport_reflect_store() local
196 primary = 0; in qeth_bridgeport_reflect_store()
199 primary = 1; in qeth_bridgeport_reflect_store()
202 primary = 0; in qeth_bridgeport_reflect_store()
212 card->options.sbp.reflect_promisc_primary = primary; in qeth_bridgeport_reflect_store()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_drv.c47 bool primary = false; in mgag200_kick_out_firmware_fb() local
57 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in mgag200_kick_out_firmware_fb()
59 remove_conflicting_framebuffers(ap, "mgag200drmfb", primary); in mgag200_kick_out_firmware_fb()
Dmgag200_mode.c33 struct drm_framebuffer *fb = crtc->primary->fb; in mga_crtc_load_lut()
846 mga_fb = to_mga_framebuffer(crtc->primary->fb); in mga_crtc_do_set_base()
909 bppshift = mdev->bpp_shifts[(crtc->primary->fb->bits_per_pixel >> 3) - 1]; in mga_crtc_mode_set()
948 switch (crtc->primary->fb->bits_per_pixel) { in mga_crtc_mode_set()
953 if (crtc->primary->fb->depth == 15) in mga_crtc_mode_set()
1004 pitch = crtc->primary->fb->pitches[0] / (crtc->primary->fb->bits_per_pixel / 8); in mga_crtc_mode_set()
1005 if (crtc->primary->fb->bits_per_pixel == 24) in mga_crtc_mode_set()
1082 if (crtc->primary->fb->bits_per_pixel == 24) in mga_crtc_mode_set()
1145 if (crtc->primary->fb->bits_per_pixel > 16) in mga_crtc_mode_set()
1147 else if (crtc->primary->fb->bits_per_pixel > 8) in mga_crtc_mode_set()
[all …]
/linux-4.4.14/scripts/coccinelle/misc/
Dirqf_oneshot.cocci2 /// threaded IRQs without a primary handler need to be requested with
85 msg = "ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT"
91 msg = "ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT"
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dpamu.txt59 - fsl,primary-cache-geometry
61 Two cells that specify the geometry of the primary PAMU
109 fsl,primary-cache-geometry = <32 1>;
115 fsl,primary-cache-geometry = <32 1>;
121 fsl,primary-cache-geometry = <32 1>;
127 fsl,primary-cache-geometry = <32 1>;
133 fsl,primary-cache-geometry = <32 1>;
Dmsi-pic.txt99 In the PAMU, each PCI controller is given only one primary window. The
101 Because PCI devices must be able to DMA to memory, the primary window must
104 PAMU primary windows can be divided into 256 subwindows, and each
112 primary window used for memory, but mapped to the MSIR block (where MSIIR
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dcoex.c497 struct ieee80211_chanctx_conf *primary; member
585 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
586 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
593 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
601 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
602 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
614 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
615 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
671 if (data.primary) { in iwl_mvm_bt_coex_notif_handle()
672 struct ieee80211_chanctx_conf *chan = data.primary; in iwl_mvm_bt_coex_notif_handle()
[all …]
Dcoex_legacy.c820 struct ieee80211_chanctx_conf *primary; member
911 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
912 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
919 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
927 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
928 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
940 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
941 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
997 if (data.primary) { in iwl_mvm_bt_coex_notif_handle()
998 struct ieee80211_chanctx_conf *chan = data.primary; in iwl_mvm_bt_coex_notif_handle()
[all …]
/linux-4.4.14/arch/powerpc/sysdev/
Dmv64x60_pci.c126 int primary; in mv64x60_add_bridge() local
159 primary = (hose->first_busno == 0); in mv64x60_add_bridge()
160 pci_process_bridge_OF_ranges(hose, dev, primary); in mv64x60_add_bridge()
Dtsi108_pci.c198 int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary) in tsi108_setup_pci() argument
240 pci_process_bridge_OF_ranges(hose, dev, primary); in tsi108_setup_pci()
Dppc4xx_pci.c332 int primary = 0; in ppc4xx_probe_pci_bridge() local
356 primary = 1; in ppc4xx_probe_pci_bridge()
387 pci_process_bridge_OF_ranges(hose, np, primary); in ppc4xx_probe_pci_bridge()
538 int big_pim = 0, msi = 0, primary = 0; in ppc4xx_probe_pcix_bridge() local
563 primary = 1; in ppc4xx_probe_pcix_bridge()
600 pci_process_bridge_OF_ranges(hose, np, primary); in ppc4xx_probe_pcix_bridge()
1928 int primary = 0, busses; in ppc4xx_pciex_port_setup_hose() local
1935 primary = 1; in ppc4xx_pciex_port_setup_hose()
2016 pci_process_bridge_OF_ranges(hose, port->node, primary); in ppc4xx_pciex_port_setup_hose()
Dfsl_pci.c657 bus->primary == hose->first_busno) { in mpc83xx_pcie_exclude_device()
770 int primary; in mpc83xx_add_bridge() local
807 primary = 1; in mpc83xx_add_bridge()
809 primary = 0; in mpc83xx_add_bridge()
845 pci_process_bridge_OF_ranges(hose, dev, primary); in mpc83xx_add_bridge()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_debugfs.c129 qdev->ddev->primary->debugfs_root, in qxl_debugfs_add_files()
130 qdev->ddev->primary); in qxl_debugfs_add_files()
146 qdev->ddev->primary); in qxl_debugfs_remove_files()
Dqxl_display.c226 struct qxl_framebuffer *qfb_old = to_qxl_framebuffer(crtc->primary->fb); in qxl_crtc_page_flip()
240 crtc->primary->fb = fb; in qxl_crtc_page_flip()
617 if (!crtc->primary->fb) { in qxl_crtc_mode_set()
626 qfb = to_qxl_framebuffer(crtc->primary->fb); in qxl_crtc_mode_set()
698 if (crtc->primary->fb) { in qxl_crtc_disable()
699 struct qxl_framebuffer *qfb = to_qxl_framebuffer(crtc->primary->fb); in qxl_crtc_disable()
705 crtc->primary->fb = NULL; in qxl_crtc_disable()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_drv.c47 bool primary = false; in cirrus_kick_out_firmware_fb() local
57 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in cirrus_kick_out_firmware_fb()
59 remove_conflicting_framebuffers(ap, "cirrusdrmfb", primary); in cirrus_kick_out_firmware_fb()
Dcirrus_mode.c153 cirrus_fb = to_cirrus_framebuffer(crtc->primary->fb); in cirrus_crtc_do_set_base()
272 switch (crtc->primary->fb->bits_per_pixel) { in cirrus_crtc_mode_set()
295 tmp = crtc->primary->fb->pitches[0] / 8; in cirrus_crtc_mode_set()
300 tmp |= (crtc->primary->fb->pitches[0] >> 7) & 0x10; in cirrus_crtc_mode_set()
301 tmp |= (crtc->primary->fb->pitches[0] >> 6) & 0x40; in cirrus_crtc_mode_set()
/linux-4.4.14/drivers/net/bonding/
Dbond_procfs.c60 struct slave *curr, *primary; in bond_info_show_master() local
85 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
87 primary ? primary->dev->name : "None"); in bond_info_show_master()
88 if (primary) { in bond_info_show_master()
Dbond_netlink.c290 char *primary = ""; in bond_changelink() local
294 primary = dev->name; in bond_changelink()
296 bond_opt_initstr(&newval, primary); in bond_changelink()
510 struct slave *primary; in bond_fill_info() local
560 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
561 if (primary && in bond_fill_info()
562 nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) in bond_fill_info()
Dbond_options.c1094 char *p, *primary = newval->string; in bond_option_primary_set() local
1100 p = strchr(primary, '\n'); in bond_option_primary_set()
1104 if (!strlen(primary)) { in bond_option_primary_set()
1107 memset(bond->params.primary, 0, sizeof(bond->params.primary)); in bond_option_primary_set()
1113 if (strncmp(slave->dev->name, primary, IFNAMSIZ) == 0) { in bond_option_primary_set()
1117 strcpy(bond->params.primary, slave->dev->name); in bond_option_primary_set()
1128 strncpy(bond->params.primary, primary, IFNAMSIZ); in bond_option_primary_set()
1129 bond->params.primary[IFNAMSIZ - 1] = 0; in bond_option_primary_set()
1132 primary, bond->dev->name); in bond_option_primary_set()
Dbond_main.c99 static char *primary; variable
141 module_param(primary, charp, 0);
142 MODULE_PARM_DESC(primary, "Primary network device to use");
1593 if (bond_uses_primary(bond) && bond->params.primary[0]) { in bond_enslave()
1595 if (strcmp(bond->params.primary, new_slave->dev->name) == 0) { in bond_enslave()
2085 struct slave *slave, *primary; in bond_miimon_commit() local
2096 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
2103 } else if (slave != primary) { in bond_miimon_commit()
2124 if (!bond->curr_active_slave || slave == primary) in bond_miimon_commit()
2964 struct slave *slave = bond_slave_get_rtnl(slave_dev), *primary; in bond_slave_netdev_event() local
[all …]
Dbond_sysfs.c414 struct slave *primary; in bonding_show_primary() local
418 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
419 if (primary) in bonding_show_primary()
420 count = sprintf(buf, "%s\n", primary->dev->name); in bonding_show_primary()
425 static DEVICE_ATTR(primary, S_IRUGO | S_IWUSR,
/linux-4.4.14/arch/powerpc/include/asm/
Dppc-pci.h20 extern void pci_setup_phb_io(struct pci_controller *hose, int primary);
21 extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary);
Dtsi108_pci.h40 extern int tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary);
Dpci-bridge.h293 struct device_node *dev, int primary);
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_kms.c62 if (WARN_ON(crtc->primary->fb == NULL)) in bochs_crtc_mode_set_base()
65 bochs_fb = to_bochs_framebuffer(crtc->primary->fb); in bochs_crtc_mode_set_base()
115 struct drm_framebuffer *old_fb = crtc->primary->fb; in bochs_crtc_page_flip()
118 crtc->primary->fb = fb; in bochs_crtc_page_flip()
/linux-4.4.14/drivers/video/console/
DKconfig57 say Y here if your MDA card is the primary card in your system; the
108 bool "Map the console to the primary display device"
113 automatically select the primary display device (if the architecture
118 You can always override the automatic selection of the primary device
141 The alternative is to use your primary serial port as a console.
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-bus-vmbus5 Description: The VMBus child_relid of the device's primary channel
26 Description: The mapping of which primary/sub channels are bound to which
/linux-4.4.14/drivers/misc/cxl/
Dfault.c38 struct cxl_sste *primary, *sste, *ret = NULL; in find_free_sste() local
48 primary = ctx->sstp + (hash << 3); in find_free_sste()
50 for (entry = 0, sste = primary; entry < 8; entry++, sste++) { in find_free_sste()
60 ret = primary + ctx->sst_lru; in find_free_sste()
/linux-4.4.14/arch/s390/kernel/
Dhead64.S47 lpswe .Lentry-.LPG1(13) # jump to _stext in primary-space,
53 .quad 0 # cr1: primary space segment table
57 .quad .Lduct # cr5: primary-aste origin
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dsnps,dw-apb-ictl.txt13 - interrupts: interrupt reference to primary interrupt controller
14 - interrupt-parent: (optional) reference specific primary interrupt controller
Dti,omap-intc-irq.txt17 - interrupts: interrupt reference to primary interrupt controller
Dti,keystone-irq.txt17 - interrupts: interrupt reference to primary interrupt controller
Darm,gic.txt55 secondary GICs, or VGIC maintenance interrupt on primary GIC (see
93 primary interrupt controller).
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dsimple-framebuffer.txt12 contains a phandle pointing to the primary display hw node, so that the OS
15 considered the primary node.
25 primary display hw node, as with display# aliases. If display aliases are
54 - display : phandle pointing to the primary display hardware node
/linux-4.4.14/drivers/gpu/drm/gma500/
Doaktrail_crtc.c602 struct psb_framebuffer *psbfb = to_psb_fb(crtc->primary->fb); in oaktrail_pipe_set_base()
611 if (!crtc->primary->fb) { in oaktrail_pipe_set_base()
620 offset = y * crtc->primary->fb->pitches[0] + x * (crtc->primary->fb->bits_per_pixel / 8); in oaktrail_pipe_set_base()
622 REG_WRITE(map->stride, crtc->primary->fb->pitches[0]); in oaktrail_pipe_set_base()
627 switch (crtc->primary->fb->bits_per_pixel) { in oaktrail_pipe_set_base()
632 if (crtc->primary->fb->depth == 15) in oaktrail_pipe_set_base()
Dmdfld_intel_display.c169 struct psb_framebuffer *psbfb = to_psb_fb(crtc->primary->fb); in mdfld__intel_pipe_set_base()
181 if (!crtc->primary->fb) { in mdfld__intel_pipe_set_base()
186 ret = check_fb(crtc->primary->fb); in mdfld__intel_pipe_set_base()
199 offset = y * crtc->primary->fb->pitches[0] + x * (crtc->primary->fb->bits_per_pixel / 8); in mdfld__intel_pipe_set_base()
201 REG_WRITE(map->stride, crtc->primary->fb->pitches[0]); in mdfld__intel_pipe_set_base()
205 switch (crtc->primary->fb->bits_per_pixel) { in mdfld__intel_pipe_set_base()
210 if (crtc->primary->fb->depth == 15) in mdfld__intel_pipe_set_base()
703 ret = check_fb(crtc->primary->fb); in mdfld_crtc_mode_set()
Dgma_display.c62 struct psb_framebuffer *psbfb = to_psb_fb(crtc->primary->fb); in gma_pipe_set_base()
73 if (!crtc->primary->fb) { in gma_pipe_set_base()
84 offset = y * crtc->primary->fb->pitches[0] + x * (crtc->primary->fb->bits_per_pixel / 8); in gma_pipe_set_base()
86 REG_WRITE(map->stride, crtc->primary->fb->pitches[0]); in gma_pipe_set_base()
91 switch (crtc->primary->fb->bits_per_pixel) { in gma_pipe_set_base()
96 if (crtc->primary->fb->depth == 15) in gma_pipe_set_base()
521 if (crtc->primary->fb) { in gma_crtc_disable()
522 gt = to_psb_fb(crtc->primary->fb)->gtt; in gma_crtc_disable()
/linux-4.4.14/net/ceph/
Dosdmap.c1533 int *osds, int len, int *primary) in raw_to_up_osds() argument
1562 *primary = up_primary; in raw_to_up_osds()
1568 int *osds, int len, int *primary) in apply_primary_affinity() argument
1623 *primary = osds[pos]; in apply_primary_affinity()
1629 osds[0] = *primary; in apply_primary_affinity()
1641 int *osds, int len, int *primary) in apply_temps() argument
1678 temp_primary = *primary; in apply_temps()
1686 *primary = temp_primary; in apply_temps()
1697 int *osds, int *primary) in ceph_calc_pg_acting() argument
1705 *primary = -1; in ceph_calc_pg_acting()
[all …]
/linux-4.4.14/arch/alpha/boot/tools/
Dobjstrip.c55 int fd, ofd, i, j, verbose = 0, primary = 0; in main() local
79 primary = 1; /* make primary bootblock */ in main()
105 if (primary) { in main()
/linux-4.4.14/fs/ext4/
Dresize.c711 struct buffer_head *primary) in verify_reserved_gdb() argument
713 const ext4_fsblk_t blk = primary->b_blocknr; in verify_reserved_gdb()
718 __le32 *p = (__le32 *)primary->b_data; in verify_reserved_gdb()
937 struct buffer_head **primary; in reserve_backup_gdb() local
946 primary = kmalloc(reserved_gdb * sizeof(*primary), GFP_NOFS); in reserve_backup_gdb()
947 if (!primary) in reserve_backup_gdb()
972 primary[res] = sb_bread(sb, blk); in reserve_backup_gdb()
973 if (!primary[res]) { in reserve_backup_gdb()
977 gdbackups = verify_reserved_gdb(sb, group, primary[res]); in reserve_backup_gdb()
979 brelse(primary[res]); in reserve_backup_gdb()
[all …]
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dsmp.c215 int primary = cpu_first_thread_sibling(nr); in smp_85xx_kick_cpu() local
226 if (!cpu_online(primary)) { in smp_85xx_kick_cpu()
228 __func__, nr, primary); in smp_85xx_kick_cpu()
232 smp_call_function_single(primary, wake_hw_thread, &nr, 0); in smp_85xx_kick_cpu()
/linux-4.4.14/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c177 format = shmob_drm_format_info(crtc->primary->fb->pixel_format); in shmob_drm_crtc_start()
307 struct drm_framebuffer *fb = crtc->primary->fb; in shmob_drm_crtc_compute_base()
386 format = shmob_drm_format_info(crtc->primary->fb->pixel_format); in shmob_drm_crtc_mode_set()
389 crtc->primary->fb->pixel_format); in shmob_drm_crtc_mode_set()
394 scrtc->line_size = crtc->primary->fb->pitches[0]; in shmob_drm_crtc_mode_set()
406 crtc->primary->fb->pitches[0], in shmob_drm_crtc_mode_set()
493 crtc->primary->fb = fb; in shmob_drm_crtc_page_flip()
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dusb3503.txt20 rate is specified by REF_SEL pins and a value from the primary
24 REFCLK signal and assume that a value from the primary reference
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dst,stm32-rcc.txt30 The primary index must be set to 0.
53 The primary index must be set to 1.
/linux-4.4.14/arch/arm/kernel/
Dhyp-stub.S58 cmp \mode, \reg1 @ matches primary CPU boot mode?
85 @ Call this from the primary CPU
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-p5ioc2.c129 static int primary = 1; in pnv_pci_init_p5ioc2_phb() local
188 pci_process_bridge_OF_ranges(phb->hose, np, primary); in pnv_pci_init_p5ioc2_phb()
189 primary = 0; in pnv_pci_init_p5ioc2_phb()
/linux-4.4.14/arch/powerpc/platforms/maple/
Dpci.c498 int primary = 1; in maple_add_bridge() local
519 primary = 0; in maple_add_bridge()
523 primary = 1; in maple_add_bridge()
527 primary = 0; in maple_add_bridge()
534 pci_process_bridge_OF_ranges(hose, dev, primary); in maple_add_bridge()
/linux-4.4.14/arch/mn10300/boot/compressed/
Dhead.S28 # Must save primary CPU's D0-D2 registers as they hold boot parameters
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c445 struct atmel_hlcdc_plane *primary; in atmel_hlcdc_plane_prepare_disc_area() local
448 primary = drm_plane_to_atmel_hlcdc_plane(c_state->crtc->primary); in atmel_hlcdc_plane_prepare_disc_area()
449 layout = &primary->layer.desc->layout; in atmel_hlcdc_plane_prepare_disc_area()
454 &primary->base); in atmel_hlcdc_plane_prepare_disc_area()
464 if (ovl == c_state->crtc->primary) in atmel_hlcdc_plane_prepare_disc_area()
1029 if (planes->primary) in atmel_hlcdc_create_planes()
1031 planes->primary = plane; in atmel_hlcdc_create_planes()
Datmel_hlcdc_dc.h115 struct atmel_hlcdc_plane *primary; member
Datmel_hlcdc_dc.c455 dc->layers[planes->primary->layer.desc->id] = in atmel_hlcdc_dc_modeset_init()
456 &planes->primary->layer; in atmel_hlcdc_dc_modeset_init()
/linux-4.4.14/Documentation/usb/
Ddwc3.txt22 - primary handler of the device
30 - primary handler of the EP-interrupt
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c243 struct drm_framebuffer *fb = crtc->primary->fb; in nv_crtc_mode_set_vga()
578 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] = (crtc->primary->fb->depth + 1) / 8; in nv_crtc_mode_set_regs()
592 if (crtc->primary->fb->depth == 16) in nv_crtc_mode_set_regs()
613 struct nouveau_framebuffer *nvfb = nouveau_framebuffer(crtc->primary->fb); in nv_crtc_swap_fbs()
812 if (!nv_crtc->base.primary->fb) { in nv_crtc_gamma_set()
836 if (!atomic && !crtc->primary->fb) { in nv04_crtc_do_mode_set_base()
848 drm_fb = crtc->primary->fb; in nv04_crtc_do_mode_set_base()
849 fb = nouveau_framebuffer(crtc->primary->fb); in nv04_crtc_do_mode_set_base()
861 regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (crtc->primary->fb->depth + 1) / 8; in nv04_crtc_do_mode_set_base()
863 if (crtc->primary->fb->depth == 16) in nv04_crtc_do_mode_set_base()
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c167 unsigned short primary, secondary; in inv_mpu_acpi_create_mux_client() local
169 ret = inv_mpu_process_acpi_config(st->client, &primary, in inv_mpu_acpi_create_mux_client()
/linux-4.4.14/drivers/target/
Dtarget_core_alua.c43 int *primary);
289 int alua_access_state, primary = 0, valid_states; in target_emulate_set_target_port_groups() local
336 valid_states, &primary); in target_emulate_set_target_port_groups()
364 if (primary) { in target_emulate_set_target_port_groups()
762 core_alua_check_transition(int state, int valid, int *primary) in core_alua_check_transition() argument
772 *primary = 1; in core_alua_check_transition()
777 *primary = 1; in core_alua_check_transition()
782 *primary = 1; in core_alua_check_transition()
787 *primary = 1; in core_alua_check_transition()
792 *primary = 1; in core_alua_check_transition()
[all …]
/linux-4.4.14/drivers/net/wireless/orinoco/
Dfw.c84 orinoco_cached_fw_get(struct orinoco_private *priv, bool primary) in orinoco_cached_fw_get() argument
86 if (primary) in orinoco_cached_fw_get()
92 #define orinoco_cached_fw_get(priv, primary) (NULL) argument
/linux-4.4.14/drivers/ata/
Dpata_legacy.c1033 static void __init legacy_check_special_cases(struct pci_dev *p, int *primary, in legacy_check_special_cases() argument
1038 *primary = *secondary = 1; in legacy_check_special_cases()
1043 *primary = *secondary = 1; in legacy_check_special_cases()
1055 *primary = 1; in legacy_check_special_cases()
1184 int primary = 0; in legacy_init() local
1199 primary = 1; in legacy_init()
1204 legacy_check_special_cases(p, &primary, &secondary); in legacy_init()
1214 if (primary == 0 || all) in legacy_init()
/linux-4.4.14/Documentation/s390/
Dqeth.txt8 a primary or a secondary Bridge Port. For more information, see
19 ROLE={primary|secondary|none} - the role assigned to the port.
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c.txt41 interrupt if not using interrupt names) as primary interrupt for the slave.
45 binding, then primary interrupt will be used as wakeup interrupt.
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c97 fb = entry->base.crtc.primary->fb; in vmw_ldu_commit_list()
105 fb = entry->base.crtc.primary->fb; in vmw_ldu_commit_list()
263 crtc->primary->fb = NULL; in vmw_ldu_crtc_set_config()
284 crtc->primary->fb = fb; in vmw_ldu_crtc_set_config()
Dvmwgfx_scrn.c349 crtc->primary->fb = NULL; in vmw_sou_crtc_set_config()
410 crtc->primary->fb = NULL; in vmw_sou_crtc_set_config()
423 crtc->primary->fb = fb; in vmw_sou_crtc_set_config()
461 vmw_framebuffer_to_vfb(sou->base.crtc.primary->fb); in vmw_sou_update_implicit_fb()
470 struct drm_framebuffer *old_fb = crtc->primary->fb; in vmw_sou_crtc_page_flip()
483 crtc->primary->fb = fb; in vmw_sou_crtc_page_flip()
529 crtc->primary->fb = old_fb; in vmw_sou_crtc_page_flip()
DKconfig10 # again once vmwgfx sets up the primary plane itself.
Dvmwgfx_stdu.c464 if (crtc->primary->fb) { in vmw_stdu_crtc_set_config()
470 crtc->primary->fb = NULL; in vmw_stdu_crtc_set_config()
608 crtc->primary->fb = new_fb; in vmw_stdu_crtc_set_config()
658 crtc->primary->fb = new_fb; in vmw_stdu_crtc_page_flip()
729 crtc->primary->fb = NULL; in vmw_stdu_crtc_page_flip()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpci.c784 int primary = 1, has_address = 0; in pmac_add_bridge() local
812 primary = 0; in pmac_add_bridge()
816 primary = 1; in pmac_add_bridge()
820 primary = 0; in pmac_add_bridge()
829 primary = setup_uninorth(hose, &rsrc); in pmac_add_bridge()
841 primary = 0; in pmac_add_bridge()
854 pci_process_bridge_OF_ranges(hose, dev, primary); in pmac_add_bridge()
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_modeset.c314 struct udl_framebuffer *ufb = to_udl_fb(crtc->primary->fb); in udl_crtc_mode_set()
376 struct drm_framebuffer *old_fb = crtc->primary->fb; in udl_crtc_page_flip()
389 crtc->primary->fb = fb; in udl_crtc_page_flip()
Dudl_drv.c83 DRM_INFO("Initialized udl on minor %d\n", dev->primary->index); in udl_usb_probe()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dnrs.c434 struct ptlrpc_nrs_policy *primary = NULL; in nrs_resource_get_safe() local
447 primary = nrs->nrs_policy_primary; in nrs_resource_get_safe()
448 if (primary != NULL) in nrs_resource_get_safe()
449 nrs_policy_get_locked(primary); in nrs_resource_get_safe()
459 if (primary != NULL) { in nrs_resource_get_safe()
460 resp[NRS_RES_PRIMARY] = nrs_resource_get(primary, nrq, in nrs_resource_get_safe()
469 nrs_policy_put(primary); in nrs_resource_get_safe()
/linux-4.4.14/drivers/block/drbd/
DKconfig24 Each minor device has a role, which can be 'primary' or 'secondary'.
25 On the node with the primary device the application is supposed to
/linux-4.4.14/Documentation/devicetree/bindings/extcon/
Dextcon-arizona.txt6 This document lists Extcon specific bindings, see the primary binding document:
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Darizona-regulator.txt6 This document lists regulator specific bindings, see the primary binding
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_crtc.c423 struct drm_plane *plane = crtc->primary; in omap_crtc_atomic_set_property()
448 return drm_object_property_get_value(&crtc->primary->base, property, in omap_crtc_atomic_get_property()
535 omap_plane_install_properties(crtc->primary, &crtc->base); in omap_crtc_init()
Domap_fbdev.c142 DBG("allocating %d bytes for fb %d", gsize.bytes, dev->primary->index); in omap_fbdev_create()
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dp5040si-post.dtsi274 fsl,primary-cache-geometry = <32 1>;
280 fsl,primary-cache-geometry = <32 1>;
286 fsl,primary-cache-geometry = <32 1>;
292 fsl,primary-cache-geometry = <32 1>;
298 fsl,primary-cache-geometry = <32 1>;
Dp5020si-post.dtsi320 fsl,primary-cache-geometry = <32 1>;
326 fsl,primary-cache-geometry = <32 1>;
332 fsl,primary-cache-geometry = <32 1>;
338 fsl,primary-cache-geometry = <32 1>;
Dp2041si-post.dtsi288 fsl,primary-cache-geometry = <32 1>;
294 fsl,primary-cache-geometry = <32 1>;
300 fsl,primary-cache-geometry = <32 1>;
306 fsl,primary-cache-geometry = <32 1>;
Dp4080si-post.dtsi323 fsl,primary-cache-geometry = <32 1>;
329 fsl,primary-cache-geometry = <32 1>;
335 fsl,primary-cache-geometry = <32 1>;
341 fsl,primary-cache-geometry = <32 1>;
347 fsl,primary-cache-geometry = <32 1>;
Dp3041si-post.dtsi315 fsl,primary-cache-geometry = <32 1>;
321 fsl,primary-cache-geometry = <32 1>;
327 fsl,primary-cache-geometry = <32 1>;
333 fsl,primary-cache-geometry = <32 1>;
Db4si-post.dtsi365 fsl,primary-cache-geometry = <8 1>;
372 fsl,primary-cache-geometry = <32 1>;
379 fsl,primary-cache-geometry = <32 1>;
386 fsl,primary-cache-geometry = <32 1>;
Dt2081si-post.dtsi509 fsl,primary-cache-geometry = <32 1>;
515 fsl,primary-cache-geometry = <32 1>;
521 fsl,primary-cache-geometry = <32 1>;
/linux-4.4.14/include/linux/mfd/wm831x/
Dpdata.h97 enum wm831x_watchdog_action primary, secondary; member
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1005 crtc_w = crtc->primary->fb->width - crtc->x; in vop_update_primary_plane()
1006 crtc_h = crtc->primary->fb->height - crtc->y; in vop_update_primary_plane()
1008 return vop_update_plane_event(crtc->primary, crtc, crtc->primary->fb, in vop_update_primary_plane()
1265 struct drm_framebuffer *old_fb = crtc->primary->fb; in vop_crtc_page_flip()
1274 crtc->primary->fb = fb; in vop_crtc_page_flip()
1278 crtc->primary->fb = old_fb; in vop_crtc_page_flip()
1458 struct drm_plane *primary = NULL, *cursor = NULL, *plane; in vop_create_crtc() local
1489 primary = plane; in vop_create_crtc()
1494 ret = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, in vop_create_crtc()
/linux-4.4.14/drivers/gpu/drm/imx/
Dipuv3-crtc.c126 crtc->primary->fb = fb; in ipu_page_flip()
202 crtc->primary->fb, in ipu_crtc_mode_set()
232 ipu_plane_set_base(plane, ipu_crtc->base.primary->fb, in ipu_irq_handler()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c81 tilcdc_crtc->scanout[n] = crtc->primary->fb; in set_scanout()
91 struct drm_framebuffer *fb = crtc->primary->fb; in update_scanout()
167 crtc->primary->fb = fb; in tilcdc_crtc_page_flip()
369 drm_fb_get_bpp_depth(crtc->primary->fb->pixel_format, &depth, &bpp); in tilcdc_crtc_mode_set()
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-palmas.txt33 Selection primary or secondary function associated to I2C2_SCL_SCE,
36 Selection primary or secondary function associated to GPADC_START
/linux-4.4.14/net/ipx/
DKconfig50 to 0 when binding a socket on the primary network. In this case the
54 'special' sockets to sockets listening on the primary network is
/linux-4.4.14/drivers/clk/
Dclk-stm32f4.c257 static int stm32f4_rcc_lookup_clk_idx(u8 primary, u8 secondary) in stm32f4_rcc_lookup_clk_idx() argument
261 if (primary == 1) { in stm32f4_rcc_lookup_clk_idx()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddc.c967 bo = tegra_fb_get_plane(crtc->primary->fb, 0); in tegra_dc_finish_page_flip()
979 if (base == bo->paddr + crtc->primary->fb->offsets[0]) { in tegra_dc_finish_page_flip()
1700 struct drm_plane *primary = NULL; in tegra_dc_init() local
1720 primary = tegra_dc_primary_plane_create(drm, dc); in tegra_dc_init()
1721 if (IS_ERR(primary)) { in tegra_dc_init()
1722 err = PTR_ERR(primary); in tegra_dc_init()
1734 err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor, in tegra_dc_init()
1760 err = tegra_dc_debugfs_init(dc, drm->primary); in tegra_dc_init()
1820 if (primary) in tegra_dc_init()
1821 drm_plane_cleanup(primary); in tegra_dc_init()
/linux-4.4.14/kernel/
Dprofile.c283 unsigned long primary, secondary, flags, pc = (unsigned long)__pc; in do_profile_hits() local
288 i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; in do_profile_hits()
314 } while (i != primary); in do_profile_hits()
/linux-4.4.14/arch/microblaze/include/asm/
Dpci-bridge.h137 struct device_node *dev, int primary);
/linux-4.4.14/drivers/scsi/dpt/
Ddpti_ioctl.h98 uCHAR primary; /* 1 For Primary, 0 For Secondary */ member
/linux-4.4.14/net/irda/
DKconfig64 when acting as a primary station.
74 If the transmit queue of the secondary is also empty, the primary will
/linux-4.4.14/arch/powerpc/boot/dts/
Dcurrituck.dts131 primary;
169 primary;
206 primary;
Dakebono.dts257 primary;
297 primary;
337 primary;
377 primary;
Dkatmai.dts282 primary;
328 primary;
369 primary;
410 primary;
Dredwood.dts244 primary;
285 primary;
326 primary;
Dicon.dts292 primary;
324 primary;
365 primary;
Dmakalu.dts277 primary;
318 primary;
Dcanyonlands.dts428 primary;
461 primary;
503 primary;
Dglacier.dts465 primary;
498 primary;
540 primary;
/linux-4.4.14/drivers/pci/
Dprobe.c734 child->primary = parent->busn_res.start; in pci_alloc_child_bus()
810 u8 primary, secondary, subordinate; in pci_scan_bridge() local
814 primary = buses & 0xFF; in pci_scan_bridge()
821 if (!primary && (primary != bus->number) && secondary && subordinate) { in pci_scan_bridge()
823 primary = bus->number; in pci_scan_bridge()
828 (primary != bus->number || secondary <= bus->number || in pci_scan_bridge()
864 child->primary = primary; in pci_scan_bridge()
909 | ((unsigned int)(child->primary) << 0) in pci_scan_bridge()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_mode.c87 switch (crtc->primary->fb->bits_per_pixel) { in ast_get_vbios_mode_info()
210 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x92, crtc->primary->fb->bits_per_pixel); in ast_get_vbios_mode_info()
375 offset = crtc->primary->fb->pitches[0] >> 3; in ast_set_offset_reg()
400 switch (crtc->primary->fb->bits_per_pixel) { in ast_set_ext_reg()
455 switch (crtc->primary->fb->bits_per_pixel) { in ast_set_dac_reg()
531 ast_fb = to_ast_framebuffer(crtc->primary->fb); in ast_crtc_do_set_base()
/linux-4.4.14/arch/sh/boards/mach-microdev/
Dirq.c64 # error Inconsistancy in defining the IRQ# for primary IDE!
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_drv.c289 bool primary = false; in amdgpu_kick_out_firmware_fb() local
299 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in amdgpu_kick_out_firmware_fb()
301 remove_conflicting_framebuffers(ap, "amdgpudrmfb", primary); in amdgpu_kick_out_firmware_fb()
Damdgpu_device.c1664 struct amdgpu_framebuffer *rfb = to_amdgpu_framebuffer(crtc->primary->fb); in amdgpu_suspend_kms()
1922 adev->ddev->primary->debugfs_root, in amdgpu_debugfs_add_files()
1923 adev->ddev->primary); in amdgpu_debugfs_add_files()
1939 adev->ddev->primary); in amdgpu_debugfs_remove_files()
2016 struct drm_minor *minor = adev->ddev->primary; in amdgpu_debugfs_regs_init()
/linux-4.4.14/drivers/staging/olpc_dcon/
DKconfig10 is present in the video pipeline between the primary display
/linux-4.4.14/mm/
Dmemcontrol.c3280 t = rcu_dereference(memcg->thresholds.primary); in __mem_cgroup_threshold()
3282 t = rcu_dereference(memcg->memsw_thresholds.primary); in __mem_cgroup_threshold()
3394 if (thresholds->primary) in __mem_cgroup_usage_register_event()
3397 size = thresholds->primary ? thresholds->primary->size + 1 : 1; in __mem_cgroup_usage_register_event()
3409 if (thresholds->primary) { in __mem_cgroup_usage_register_event()
3410 memcpy(new->entries, thresholds->primary->entries, (size - 1) * in __mem_cgroup_usage_register_event()
3438 thresholds->spare = thresholds->primary; in __mem_cgroup_usage_register_event()
3440 rcu_assign_pointer(thresholds->primary, new); in __mem_cgroup_usage_register_event()
3482 if (!thresholds->primary) in __mem_cgroup_usage_unregister_event()
3490 for (i = 0; i < thresholds->primary->size; i++) { in __mem_cgroup_usage_unregister_event()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_display.c577 nouveau_fb = nouveau_framebuffer(crtc->primary->fb); in nouveau_display_suspend()
607 nouveau_fb = nouveau_framebuffer(crtc->primary->fb); in nouveau_display_resume()
717 struct nouveau_bo *old_bo = nouveau_framebuffer(crtc->primary->fb)->nvbo; in nouveau_crtc_page_flip()
802 crtc->primary->fb = fb; in nouveau_crtc_page_flip()
Dnv50_display.c571 if (crtc->primary->fb->width != fb->width || in nv50_display_flip_next()
572 crtc->primary->fb->height != fb->height) in nv50_display_flip_next()
703 if (nv_crtc->base.primary->fb->depth > connector->display_info.bpc * 3) in nv50_crtc_set_dither()
840 nv50_display_flip_next(crtc, crtc->primary->fb, in nv50_crtc_set_scale()
1102 nv50_display_flip_next(crtc, crtc->primary->fb, NULL, 1); in nv50_crtc_commit()
1116 struct nouveau_framebuffer *nvfb = nouveau_framebuffer(crtc->primary->fb); in nv50_crtc_swap_fbs()
1223 nv50_crtc_set_image(nv_crtc, crtc->primary->fb, x, y, false); in nv50_crtc_mode_set()
1235 if (!crtc->primary->fb) { in nv50_crtc_mode_set_base()
1245 nv50_crtc_set_image(nv_crtc, crtc->primary->fb, x, y, true); in nv50_crtc_mode_set_base()
1246 nv50_display_flip_next(crtc, crtc->primary->fb, NULL, 1); in nv50_crtc_mode_set_base()
/linux-4.4.14/Documentation/fb/
Dviafb.txt109 viafb_active_dev is primary device, and the following is
124 If CRT is primary and DVI is secondary, we should use:
126 If DVI is primary and CRT is secondary, we should use:
Daty128fb.txt34 unless you have primary display on non-Rage128 VBE2.0 device (see
Dmatroxfb.txt33 unless you have primary display on non-Matrox VBE2.0 device (see
215 inactive and vice versa. DFP always uses same timing as primary
226 to primary analog output, second letter to the secondary analog output
378 + secondary head shares videomemory with primary head. It is not problem
399 + secondary head shares videomemory with primary head. It is not problem
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Djz4780-dma.txt17 requested by a client. The primary use for this is channels 0 and 1, which
/linux-4.4.14/arch/arm/mm/
Dproc-v7.S430 ubfx r0, r9, #4, #12 @ primary part number
433 ldr r10, =0x00000c08 @ Cortex-A8 primary part number
438 ldr r10, =0x00000c09 @ Cortex-A9 primary part number
443 ldr r10, =0x00000c0f @ Cortex-A15 primary part number
/linux-4.4.14/Documentation/devicetree/bindings/display/panel/
Dsharp,lq101r1sx01.txt8 driven by the first link (DSI-LINK1), left or even, is considered the primary
/linux-4.4.14/Documentation/devicetree/bindings/power/
Dwakeup-source.txt9 Also, if device is marked as a wakeup source, then all the primary
/linux-4.4.14/Documentation/security/
DLSM.txt12 The primary users of the LSM interface are Mandatory Access Control
/linux-4.4.14/arch/ia64/sn/kernel/
Dsetup.c268 u8 primary; member
338 if (! (device.primary & PCDP_PRIMARY_CONSOLE)) in sn_scan_pcdp()
/linux-4.4.14/Documentation/sound/alsa/
DHD-Audio-Controls.txt68 the primary stream. In the case the headphone DAC is shared with a
116 the primary stream.
/linux-4.4.14/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,bcm63138.txt20 Optional properties for the primary CPU node:
/linux-4.4.14/include/linux/ceph/
Dosdmap.h214 int *osds, int *primary);
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp.h175 bool primary; member
/linux-4.4.14/drivers/staging/iio/Documentation/
Dring.txt35 The primary buffer reading function. Note that it may well not return
/linux-4.4.14/arch/x86/mm/
Dpageattr.c1118 int primary) in __cpa_process_fault() argument
1126 if (!primary) in __cpa_process_fault()
1150 static int __change_page_attr(struct cpa_data *cpa, int primary) in __change_page_attr() argument
1169 return __cpa_process_fault(cpa, address, primary); in __change_page_attr()
1173 return __cpa_process_fault(cpa, address, primary); in __change_page_attr()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dptp.c1543 struct efx_nic *primary = efx->primary; in efx_ptp_get_ts_info() local
1553 if (primary && primary->ptp_data && primary->ptp_data->phc_clock) in efx_ptp_get_ts_info()
1555 ptp_clock_index(primary->ptp_data->phc_clock); in efx_ptp_get_ts_info()
/linux-4.4.14/drivers/md/
Draid1.c1922 int primary; in process_checks() local
1959 for (primary = 0; primary < conf->raid_disks * 2; primary++) in process_checks()
1960 if (r1_bio->bios[primary]->bi_end_io == end_sync_read && in process_checks()
1961 !r1_bio->bios[primary]->bi_error) { in process_checks()
1962 r1_bio->bios[primary]->bi_end_io = NULL; in process_checks()
1963 rdev_dec_pending(conf->mirrors[primary].rdev, mddev); in process_checks()
1966 r1_bio->read_disk = primary; in process_checks()
1969 struct bio *pbio = r1_bio->bios[primary]; in process_checks()
/linux-4.4.14/arch/microblaze/pci/
Dpci-common.c554 struct device_node *dev, int primary) in pci_process_bridge_OF_ranges() argument
563 dev->full_name, primary ? "(primary)" : ""); in pci_process_bridge_OF_ranges()
607 if (primary) in pci_process_bridge_OF_ranges()
637 if (primary || isa_mem_base == 0) in pci_process_bridge_OF_ranges()
/linux-4.4.14/drivers/irqchip/
DKconfig158 The primary irqchip invokes the crossbar's callback which inturn allocates
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dbrcm,brcmstb-gpio.txt41 primary interrupt line, making this property necessary.
/linux-4.4.14/security/selinux/ss/
Dpolicydb.h116 unsigned char primary; /* primary name? */ member
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c172 int primary, int secondary) in tvaudio_setcarrier() argument
175 secondary = primary; in tvaudio_setcarrier()
176 saa_writel(SAA7134_CARRIER1_FREQ0 >> 2, tvaudio_carr2reg(primary)); in tvaudio_setcarrier()
/linux-4.4.14/drivers/media/radio/
Dradio-si476x.c405 .primary = false, in si476x_radio_g_tuner()
681 .primary = false, in si476x_radio_g_frequency()
1304 .primary = false, in si476x_radio_read_rsq_blob()
1339 .primary = true, in si476x_radio_read_rsq_primary_blob()
/linux-4.4.14/arch/powerpc/kernel/
Dpci-common.c673 struct device_node *dev, int primary) in pci_process_bridge_OF_ranges() argument
681 dev->full_name, primary ? "(primary)" : ""); in pci_process_bridge_OF_ranges()
722 if (primary) in pci_process_bridge_OF_ranges()
752 if (primary || isa_mem_base == 0) in pci_process_bridge_OF_ranges()
/linux-4.4.14/tools/testing/selftests/futex/
DREADME54 based on the primary futex operation they test. Eventually this will become a
/linux-4.4.14/include/linux/mfd/
Dsi476x-core.h348 bool primary; member
/linux-4.4.14/drivers/scsi/
Deata_generic.h338 __u8 primary; /* true if primary */ member
Deata_pio.c776 hd->primary = 0; in register_pio_HBA()
778 hd->primary = 1; in register_pio_HBA()
941 SD(HBA_ptr)->primary ? 'Y' : 'N', HBA_ptr->can_queue, in eata_pio_detect()
/linux-4.4.14/Documentation/filesystems/
Djfs.txt20 nointegrity Do not write to the journal. The primary use of this option
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dcore.c693 u32 primary = in rtl_op_config() local
700 if (center > primary) { in rtl_op_config()
703 if (center - primary == 10) { in rtl_op_config()
708 } else if (center - primary == 30) { in rtl_op_config()
717 if (primary - center == 10) { in rtl_op_config()
722 } else if (primary - center == 30) { in rtl_op_config()
/linux-4.4.14/drivers/watchdog/
Dwm831x_wdt.c243 reg |= pdata->primary << WM831X_WDOG_PRIMACT_SHIFT; in wm831x_wdt_probe()
/linux-4.4.14/Documentation/block/
Ddeadline-iosched.txt42 throughput. When low latency is the primary concern, smaller is better (where
/linux-4.4.14/Documentation/cdrom/
Dide-cd63 Use old disk-only driver on primary interface
77 0x1f0 and 14 for the primary interface and 0x170 and 15 for the
84 on the primary IDE interface are called `hda' and `hdb',
91 primary or secondary addresses mentioned above. In addition, if
235 (The usual assignments are 14 for the primary (0x1f0) interface
/linux-4.4.14/Documentation/vm/
Duserfaultfd.txt17 memory ranges) provides two primary functionalities:
76 The primary ioctl to resolve userfaults is UFFDIO_COPY. That
/linux-4.4.14/include/linux/
Dhyperv.h812 struct vmbus_channel *vmbus_get_outgoing_channel(struct vmbus_channel *primary);
825 bool vmbus_are_subchannels_present(struct vmbus_channel *primary);
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_fbdev.c106 DBG("allocating %d bytes for fb %d", size, dev->primary->index); in msm_fbdev_create()
/linux-4.4.14/arch/arm/boot/dts/
Dintegratorap.dts14 arm,timer-primary = &timer2;
/linux-4.4.14/Documentation/device-mapper/
Dera.txt65 snapshot was the primary use case when developing this target:
/linux-4.4.14/Documentation/
DSM501.txt42 The primary issue with memory allocation is that of moving the video
/linux-4.4.14/Documentation/thermal/
Dcpu-cooling-api.txt85 For a given processor implementation the primary factors are:
127 given circuit implementation the primary factors are:

12