Home
last modified time | relevance | path

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

123

/drivers/mfd/
Dwm8350-irq.c41 int primary; member
49 .primary = WM8350_OC_INT,
55 .primary = WM8350_UV_INT,
60 .primary = WM8350_UV_INT,
65 .primary = WM8350_UV_INT,
70 .primary = WM8350_UV_INT,
75 .primary = WM8350_UV_INT,
80 .primary = WM8350_UV_INT,
85 .primary = WM8350_UV_INT,
90 .primary = WM8350_UV_INT,
[all …]
Dwm831x-irq.c30 int primary; member
37 .primary = WM831X_TEMP_INT,
42 .primary = WM831X_GP_INT,
47 .primary = WM831X_GP_INT,
52 .primary = WM831X_GP_INT,
57 .primary = WM831X_GP_INT,
62 .primary = WM831X_GP_INT,
67 .primary = WM831X_GP_INT,
72 .primary = WM831X_GP_INT,
77 .primary = WM831X_GP_INT,
[all …]
/drivers/gpu/drm/mga/
Dmga_dma.c80 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() local
86 primary->tail = 0; in mga_do_dma_reset()
87 primary->space = primary->size; in mga_do_dma_reset()
88 primary->last_flush = 0; in mga_do_dma_reset()
107 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush() local
122 if (primary->tail == primary->last_flush) { in mga_do_dma_flush()
127 tail = primary->tail + dev_priv->primary->offset; in mga_do_dma_flush()
141 primary->last_flush = primary->tail; in mga_do_dma_flush()
146 primary->space = primary->size - primary->tail; in mga_do_dma_flush()
148 primary->space = head - tail; in mga_do_dma_flush()
[all …]
Dmga_drv.h145 drm_local_map_t *primary; member
299 dev_priv->primary->offset)); \
350 dev_priv->primary->offset); \
/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()
/drivers/mtd/chips/
Dgen_probe.c202 int primary) in cfi_cmdset_unknown() argument
205 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in cfi_cmdset_unknown()
221 mtd = (*probe_function)(map, primary); in cfi_cmdset_unknown()
232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set() argument
235 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; in check_cmd_set()
247 return cfi_cmdset_0001(map, primary); in check_cmd_set()
253 return cfi_cmdset_0002(map, primary); in check_cmd_set()
257 return cfi_cmdset_0020(map, primary); in check_cmd_set()
260 return cfi_cmdset_unknown(map, primary); in check_cmd_set()
/drivers/sh/intc/
Dcore.c79 unsigned int data[2], primary; in intc_register_irq() local
103 primary = 0; in intc_register_irq()
105 primary = 1; in intc_register_irq()
114 if (!data[primary]) in intc_register_irq()
115 primary ^= 1; in intc_register_irq()
117 BUG_ON(!data[primary]); /* must have primary masking method */ in intc_register_irq()
124 irq_set_chip_data(irq, (void *)data[primary]); in intc_register_irq()
132 if (data[!primary]) in intc_register_irq()
133 _intc_enable(irq_data, data[!primary]); in intc_register_irq()
141 if (primary) { in intc_register_irq()
/drivers/gpu/drm/
Ddrm_usb.c36 ret = drm_get_minor(dev, &dev->primary, DRM_MINOR_LEGACY); in drm_get_usb_dev()
48 &dev->primary->mode_group); in drm_get_usb_dev()
58 driver->date, dev->primary->index); in drm_get_usb_dev()
63 drm_put_minor(&dev->primary); in drm_get_usb_dev()
Ddrm_platform.c73 ret = drm_get_minor(dev, &dev->primary, DRM_MINOR_LEGACY); in drm_get_platform_dev()
86 &dev->primary->mode_group); in drm_get_platform_dev()
97 driver->date, dev->primary->index); in drm_get_platform_dev()
102 drm_put_minor(&dev->primary); in drm_get_platform_dev()
Ddrm_pci.c351 if ((ret = drm_get_minor(dev, &dev->primary, DRM_MINOR_LEGACY))) in drm_get_pci_dev()
363 &dev->primary->mode_group); in drm_get_pci_dev()
372 driver->date, pci_name(pdev), dev->primary->index); in drm_get_pci_dev()
378 drm_put_minor(&dev->primary); in drm_get_pci_dev()
Ddrm_sysfs.c374 connector->kdev.parent = &dev->primary->kdev; in drm_sysfs_connector_add()
382 dev->primary->index, drm_get_connector_name(connector)); in drm_sysfs_connector_add()
485 kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, envp); in drm_sysfs_hotplug_event()
/drivers/gpu/drm/i915/
Di915_trace.h205 __entry->dev = dev->primary->index;
226 __entry->dev = dev->primary->index;
246 __entry->dev = ring->dev->primary->index;
268 __entry->dev = ring->dev->primary->index;
290 __entry->dev = ring->dev->primary->index;
334 __entry->dev = ring->dev->primary->index;
Di915_irq.c516 if (dev->primary->master) { in ivybridge_irq_handler()
517 master_priv = dev->primary->master->driver_priv; in ivybridge_irq_handler()
608 if (dev->primary->master) { in ironlake_irq_handler()
609 master_priv = dev->primary->master->driver_priv; in ironlake_irq_handler()
685 kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, error_event); in i915_error_work_func()
689 kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_event); in i915_error_work_func()
692 kobject_uevent_env(&dev->primary->kdev.kobj, KOBJ_CHANGE, reset_done_event); in i915_error_work_func()
1010 dev->primary->index); in i915_capture_error_state()
1355 if (dev->primary->master) { in i915_driver_irq_handler()
1356 master_priv = dev->primary->master->driver_priv; in i915_driver_irq_handler()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c79 struct drm_minor *minor = chan->dev->primary; in nouveau_debugfs_channel_init()
97 chan->dev->primary); in nouveau_debugfs_channel_init()
111 drm_debugfs_remove_files(&chan->debugfs.info, 1, chan->dev->primary); in nouveau_debugfs_channel_fini()
/drivers/ata/
Dpata_legacy.c1034 static void __init legacy_check_special_cases(struct pci_dev *p, int *primary, in legacy_check_special_cases() argument
1039 *primary = *secondary = 1; in legacy_check_special_cases()
1044 *primary = *secondary = 1; in legacy_check_special_cases()
1056 *primary = 1; in legacy_check_special_cases()
1185 int primary = 0; in legacy_init() local
1200 primary = 1; in legacy_init()
1205 legacy_check_special_cases(p, &primary, &secondary); in legacy_init()
1215 if (primary == 0 || all) in legacy_init()
/drivers/video/console/
DKconfig54 say Y here if your MDA card is the primary card in your system; the
98 bool "Map the console to the primary display device"
103 automatically select the primary display device (if the architecture
108 You can always override the automatic selection of the primary device
130 The alternative is to use your primary serial port as a console.
/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
/drivers/pci/
Dprobe.c668 child->primary = parent->secondary; in pci_alloc_child_bus()
734 u8 primary, secondary, subordinate; in pci_scan_bridge() local
738 primary = buses & 0xFF; in pci_scan_bridge()
745 if (!primary && (primary != bus->number) && secondary && subordinate) { in pci_scan_bridge()
747 primary = bus->number; in pci_scan_bridge()
752 (primary != bus->number || secondary <= bus->number || in pci_scan_bridge()
787 child->primary = primary; in pci_scan_bridge()
828 | ((unsigned int)(child->primary) << 0) in pci_scan_bridge()
/drivers/target/
Dtarget_core_alua.c44 static int core_alua_check_transition(int state, int *primary);
191 int alua_access_state, primary = 0, rc; in target_emulate_set_target_port_groups() local
240 rc = core_alua_check_transition(alua_access_state, &primary); in target_emulate_set_target_port_groups()
270 if (primary) { in target_emulate_set_target_port_groups()
597 static int core_alua_check_transition(int state, int *primary) in core_alua_check_transition() argument
608 *primary = 1; in core_alua_check_transition()
615 *primary = 0; in core_alua_check_transition()
883 int primary; in core_alua_do_port_transition() local
885 if (core_alua_check_transition(new_state, &primary) != 0) in core_alua_do_port_transition()
/drivers/gpu/drm/radeon/
Dradeon_drv.c272 bool primary = false; in radeon_kick_out_firmware_fb() local
279 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in radeon_kick_out_firmware_fb()
281 remove_conflicting_framebuffers(ap, "radeondrmfb", primary); in radeon_kick_out_firmware_fb()
Dradeon_trace.h42 __entry->dev = dev->primary->index;
/drivers/block/drbd/
DKconfig23 Each minor device has a role, which can be 'primary' or 'secondary'.
24 On the node with the primary device the application is supposed to
/drivers/scsi/dpt/
Ddpti_ioctl.h98 uCHAR primary; /* 1 For Primary, 0 For Secondary */ member
/drivers/net/bonding/
Dbond_main.c98 static char *primary; variable
137 module_param(primary, charp, 0);
138 MODULE_PARM_DESC(primary, "Primary network device to use");
1785 if (USES_PRIMARY(bond->params.mode) && bond->params.primary[0]) { in bond_enslave()
1787 if (strcmp(bond->params.primary, new_slave->dev->name) == 0) { in bond_enslave()
4684 if (primary && !USES_PRIMARY(bond_mode)) { in bond_check_params()
4689 primary, bond_mode_name(bond_mode)); in bond_check_params()
4690 primary = NULL; in bond_check_params()
4693 if (primary && primary_reselect) { in bond_check_params()
4732 params->primary[0] = 0; in bond_check_params()
[all …]

123