Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 149) sorted by relevance

123456

/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 …]
/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 …]
/drivers/gpu/drm/
Ddrm_plane_helper.c323 struct drm_plane *primary; in drm_primary_helper_create_plane() local
326 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in drm_primary_helper_create_plane()
327 if (primary == NULL) { in drm_primary_helper_create_plane()
338 ret = drm_universal_plane_init(dev, primary, 0, in drm_primary_helper_create_plane()
343 kfree(primary); in drm_primary_helper_create_plane()
344 primary = NULL; in drm_primary_helper_create_plane()
347 return primary; in drm_primary_helper_create_plane()
366 struct drm_plane *primary; in drm_crtc_init() local
368 primary = drm_primary_helper_create_plane(dev, NULL, 0); in drm_crtc_init()
369 return drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs); in drm_crtc_init()
Ddrm_crtc_helper.c178 crtc->primary->fb = NULL; in __drm_helper_disable_unused_functions()
521 save_set.fb = set->crtc->primary->fb; in drm_crtc_helper_set_config()
525 if (set->crtc->primary->fb != set->fb) { in drm_crtc_helper_set_config()
527 if (set->crtc->primary->fb == NULL) { in drm_crtc_helper_set_config()
533 set->crtc->primary->fb->pixel_format) { in drm_crtc_helper_set_config()
635 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config()
641 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config()
656 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config()
662 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config()
860 crtc->x, crtc->y, crtc->primary->fb); in drm_helper_resume_force_mode()
/drivers/gpu/drm/sti/
Dsti_drm_crtc.c55 layer = to_sti_layer(crtc->primary); in sti_drm_crtc_commit()
90 crtc->primary->fb->base.id, mode->base.id, mode->name); in sti_drm_crtc_mode_set()
121 layer = to_sti_layer(crtc->primary); in sti_drm_crtc_mode_set()
143 w = crtc->primary->fb->width - x; in sti_drm_crtc_mode_set()
144 h = crtc->primary->fb->height - y; in sti_drm_crtc_mode_set()
146 return sti_layer_prepare(layer, crtc->primary->fb, &crtc->mode, in sti_drm_crtc_mode_set()
160 crtc->primary->fb->base.id, x, y); in sti_drm_crtc_mode_set_base()
163 layer = to_sti_layer(crtc->primary); in sti_drm_crtc_mode_set_base()
170 w = crtc->primary->fb->width - crtc->x; in sti_drm_crtc_mode_set_base()
171 h = crtc->primary->fb->height - crtc->y; in sti_drm_crtc_mode_set_base()
[all …]
/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()
/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()
/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()
/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c98 exynos_plane_commit(crtc->primary); in exynos_drm_crtc_commit()
103 exynos_plane_dpms(crtc->primary, DRM_MODE_DPMS_ON); in exynos_drm_crtc_commit()
127 struct drm_framebuffer *fb = crtc->primary->fb; in exynos_drm_crtc_mode_set()
143 return exynos_plane_mode_set(crtc->primary, crtc, fb, 0, 0, in exynos_drm_crtc_mode_set()
151 struct drm_framebuffer *fb = crtc->primary->fb; in exynos_drm_crtc_mode_set_commit()
165 ret = exynos_plane_mode_set(crtc->primary, crtc, fb, 0, 0, in exynos_drm_crtc_mode_set_commit()
216 struct drm_framebuffer *old_fb = crtc->primary->fb; in exynos_drm_crtc_page_flip()
247 crtc->primary->fb = fb; in exynos_drm_crtc_page_flip()
251 crtc->primary->fb = old_fb; in exynos_drm_crtc_page_flip()
299 exynos_plane_dpms(crtc->primary, DRM_MODE_DPMS_OFF); in exynos_drm_crtc_set_property()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_crtc.c105 mdp5_crtc->base.primary->fb = new_fb; in update_fb()
290 drm_framebuffer_reference(crtc->primary->fb); in mdp5_crtc_mode_set()
292 ret = mdp5_plane_mode_set(mdp5_crtc->plane, crtc, crtc->primary->fb, in mdp5_crtc_mode_set()
297 drm_framebuffer_unreference(crtc->primary->fb); in mdp5_crtc_mode_set()
307 update_fb(crtc, crtc->primary->fb); in mdp5_crtc_mode_set()
308 update_scanout(crtc, crtc->primary->fb); in mdp5_crtc_mode_set()
339 drm_framebuffer_reference(crtc->primary->fb); in mdp5_crtc_mode_set_base()
341 ret = mdp5_plane_mode_set(plane, crtc, crtc->primary->fb, in mdp5_crtc_mode_set_base()
346 drm_framebuffer_unreference(crtc->primary->fb); in mdp5_crtc_mode_set_base()
350 update_fb(crtc, crtc->primary->fb); in mdp5_crtc_mode_set_base()
[all …]
/drivers/gpu/drm/i915/
Di915_sysfs.c599 ret = sysfs_merge_group(&dev->primary->kdev->kobj, in i915_setup_sysfs()
606 ret = device_create_bin_file(dev->primary->kdev, &dpf_attrs); in i915_setup_sysfs()
611 ret = device_create_bin_file(dev->primary->kdev, in i915_setup_sysfs()
620 ret = sysfs_create_files(&dev->primary->kdev->kobj, vlv_attrs); in i915_setup_sysfs()
622 ret = sysfs_create_files(&dev->primary->kdev->kobj, gen6_attrs); in i915_setup_sysfs()
626 ret = sysfs_create_bin_file(&dev->primary->kdev->kobj, in i915_setup_sysfs()
634 sysfs_remove_bin_file(&dev->primary->kdev->kobj, &error_state_attr); in i915_teardown_sysfs()
636 sysfs_remove_files(&dev->primary->kdev->kobj, vlv_attrs); in i915_teardown_sysfs()
638 sysfs_remove_files(&dev->primary->kdev->kobj, gen6_attrs); in i915_teardown_sysfs()
639 device_remove_bin_file(dev->primary->kdev, &dpf_attrs_1); in i915_teardown_sysfs()
[all …]
Di915_trace.h285 __entry->dev = dev->primary->index;
305 __entry->dev = dev->primary->index;
321 __entry->dev = vm->dev->primary->index;
342 __entry->dev = from->dev->primary->index;
366 __entry->dev = ring->dev->primary->index;
389 __entry->dev = ring->dev->primary->index;
411 __entry->dev = ring->dev->primary->index;
436 __entry->dev = ring->dev->primary->index;
468 __entry->dev = ring->dev->primary->index;
494 __entry->dev = ring->dev->primary->index;
Dintel_dp_mst.c36 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_dp_mst_compute_config()
90 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_disable_dp()
107 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_post_disable_dp()
130 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_pre_enable_dp()
190 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_enable_dp()
222 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_dp_mst_enc_get_config()
486 intel_mst->primary = intel_dig_port; in intel_dp_create_fake_mst_encoder()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_crtc.c123 mdp4_crtc->base.primary->fb = new_fb; in update_fb()
185 struct drm_framebuffer *fb = crtc->primary->fb; in pageflip_cb()
354 drm_framebuffer_reference(crtc->primary->fb); in mdp4_crtc_mode_set()
356 ret = mdp4_plane_mode_set(mdp4_crtc->plane, crtc, crtc->primary->fb, in mdp4_crtc_mode_set()
361 drm_framebuffer_unreference(crtc->primary->fb); in mdp4_crtc_mode_set()
374 crtc->primary->fb->pitches[0]); in mdp4_crtc_mode_set()
384 crtc->primary->fb->pitches[0]); in mdp4_crtc_mode_set()
394 update_fb(crtc, crtc->primary->fb); in mdp4_crtc_mode_set()
395 update_scanout(crtc, crtc->primary->fb); in mdp4_crtc_mode_set()
428 drm_framebuffer_reference(crtc->primary->fb); in mdp4_crtc_mode_set_base()
[all …]
/drivers/gpu/drm/omapdrm/
Domap_crtc.c260 return omap_plane_mode_set(omap_crtc->plane, crtc, crtc->primary->fb, in omap_crtc_mode_set()
288 return omap_plane_mode_set(plane, crtc, crtc->primary->fb, in omap_crtc_mode_set_base()
323 omap_plane_mode_set(omap_crtc->plane, crtc, crtc->primary->fb, in page_flip_worker()
330 bo = omap_framebuffer_bo(crtc->primary->fb, 0); in page_flip_worker()
351 struct drm_plane *primary = crtc->primary; in omap_crtc_page_flip_locked() local
355 DBG("%d -> %d (event=%p)", primary->fb ? primary->fb->base.id : -1, in omap_crtc_page_flip_locked()
367 omap_crtc->old_fb = primary->fb = fb; in omap_crtc_page_flip_locked()
/drivers/net/bonding/
Dbond_procfs.c59 struct slave *curr, *primary; in bond_info_show_master() local
84 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
86 primary ? primary->dev->name : "None"); in bond_info_show_master()
87 if (primary) { in bond_info_show_master()
/drivers/gpu/drm/mgag200/
Dmgag200_drv.c46 bool primary = false; in mgag200_kick_out_firmware_fb() local
56 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in mgag200_kick_out_firmware_fb()
58 remove_conflicting_framebuffers(ap, "mgag200drmfb", primary); in mgag200_kick_out_firmware_fb()
Dmgag200_mode.c32 struct drm_framebuffer *fb = crtc->primary->fb; in mga_crtc_load_lut()
745 mga_fb = to_mga_framebuffer(crtc->primary->fb); in mga_crtc_do_set_base()
808 bppshift = mdev->bpp_shifts[(crtc->primary->fb->bits_per_pixel >> 3) - 1]; in mga_crtc_mode_set()
846 switch (crtc->primary->fb->bits_per_pixel) { in mga_crtc_mode_set()
851 if (crtc->primary->fb->depth == 15) in mga_crtc_mode_set()
899 pitch = crtc->primary->fb->pitches[0] / (crtc->primary->fb->bits_per_pixel / 8); in mga_crtc_mode_set()
900 if (crtc->primary->fb->bits_per_pixel == 24) in mga_crtc_mode_set()
977 if (crtc->primary->fb->bits_per_pixel == 24) in mga_crtc_mode_set()
1037 if (crtc->primary->fb->bits_per_pixel > 16) in mga_crtc_mode_set()
1039 else if (crtc->primary->fb->bits_per_pixel > 8) in mga_crtc_mode_set()
[all …]
/drivers/net/wireless/iwlwifi/mvm/
Dcoex_legacy.c759 struct ieee80211_chanctx_conf *primary; member
846 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
847 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
854 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
862 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
863 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
875 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
876 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
932 if (data.primary) { in iwl_mvm_bt_coex_notif_handle()
933 struct ieee80211_chanctx_conf *chan = data.primary; in iwl_mvm_bt_coex_notif_handle()
[all …]
Dcoex.c732 struct ieee80211_chanctx_conf *primary; member
819 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
820 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
827 if (chanctx_conf == data->primary) in iwl_mvm_bt_notif_iterator()
835 data->secondary = data->primary; in iwl_mvm_bt_notif_iterator()
836 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
848 if (!data->primary || data->primary == chanctx_conf) in iwl_mvm_bt_notif_iterator()
849 data->primary = chanctx_conf; in iwl_mvm_bt_notif_iterator()
905 if (data.primary) { in iwl_mvm_bt_coex_notif_handle()
906 struct ieee80211_chanctx_conf *chan = data.primary; in iwl_mvm_bt_coex_notif_handle()
[all …]
/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()
/drivers/gpu/drm/cirrus/
Dcirrus_drv.c44 bool primary = false; in cirrus_kick_out_firmware_fb() local
54 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in cirrus_kick_out_firmware_fb()
56 remove_conflicting_framebuffers(ap, "cirrusdrmfb", primary); in cirrus_kick_out_firmware_fb()
/drivers/video/console/
DKconfig57 say Y here if your MDA card is the primary card in your system; the
104 bool "Map the console to the primary display device"
109 automatically select the primary display device (if the architecture
114 You can always override the automatic selection of the primary device
137 The alternative is to use your primary serial port as a console.
/drivers/misc/cxl/
Dfault.c37 struct cxl_sste *primary, *sste, *ret = NULL; in find_free_sste() local
47 primary = ctx->sstp + (hash << 3); in find_free_sste()
49 for (entry = 0, sste = primary; entry < 8; entry++, sste++) { in find_free_sste()
59 ret = primary + ctx->sst_lru; in find_free_sste()

123456