/drivers/ide/ |
H A D | ide-generic.c | 53 static void ide_generic_check_pci_legacy_iobases(int *primary, int *secondary) argument 61 *primary = 1; 69 *primary = *secondary = 1; 80 *primary = 1; 91 int i, rc = 0, primary = 0, secondary = 0; local 93 ide_generic_check_pci_legacy_iobases(&primary, &secondary); 99 if (primary == 0)
|
H A D | cy82c693.c | 92 /* select primary or secondary channel */ 150 static ide_hwif_t *primary; local 154 primary = hwif; 156 hwif->mate = primary; 182 Function 1 is primary IDE channel, function 2 - secondary. */
|
/drivers/mtd/chips/ |
H A D | gen_probe.c | 35 mtd = check_cmd_set(map, 1); /* First the primary cmdset */ 202 int primary) 205 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; 221 mtd = (*probe_function)(map, primary); 232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) argument 235 __u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID; 247 return cfi_cmdset_0001(map, primary); 253 return cfi_cmdset_0002(map, primary); 257 return cfi_cmdset_0020(map, primary); 260 return cfi_cmdset_unknown(map, primary); 201 cfi_cmdset_unknown(struct map_info *map, int primary) argument [all...] |
H A D | cfi_cmdset_0020.c | 114 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) argument 125 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR;
|
H A D | cfi_cmdset_0002.c | 417 struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary) argument 450 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; 462 * Valid primary extension versions are: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 544 struct mtd_info *cfi_cmdset_0006(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002"))); 545 struct mtd_info *cfi_cmdset_0701(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0002")));
|
H A D | cfi_cmdset_0001.c | 431 struct mtd_info *cfi_cmdset_0001(struct map_info *map, int primary) argument 468 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; 546 struct mtd_info *cfi_cmdset_0003(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001"))); 547 struct mtd_info *cfi_cmdset_0200(struct map_info *map, int primary) __attribute__((alias("cfi_cmdset_0001")));
|
/drivers/mfd/ |
H A D | wm831x-irq.c | 30 int primary; member in struct:wm831x_irq_data 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 454 int primary, status_addr, ret; local [all...] |
H A D | wm8350-irq.c | 41 int primary; member in struct:wm8350_irq_data 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 [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_state.c | 977 bool primary = false; local 983 primary = dev->pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; 986 remove_conflicting_framebuffers(dev_priv->apertures, "nouveaufb", primary);
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_drv.c | 269 bool primary = false; local 276 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; 278 remove_conflicting_framebuffers(ap, "radeondrmfb", primary);
|
/drivers/net/wireless/orinoco/ |
H A D | fw.c | 50 __le32 pri_offset; /* Offset to primary plug data */ 84 orinoco_cached_fw_get(struct orinoco_private *priv, bool primary) argument 86 if (primary) 92 #define orinoco_cached_fw_get(priv, primary) (NULL) 302 /* Load primary firmware */
|
/drivers/sh/intc/ |
H A D | core.c | 78 unsigned int data[2], primary; local 102 primary = 0; 104 primary = 1; 113 if (!data[primary]) 114 primary ^= 1; 116 BUG_ON(!data[primary]); /* must have primary masking method */ 123 irq_set_chip_data(irq, (void *)data[primary]); 131 if (data[!primary]) 132 _intc_enable(irq_data, data[!primary]); [all...] |
/drivers/gpu/drm/mga/ |
H A D | mga_dma.c | 80 drm_mga_primary_buffer_t *primary = &dev_priv->prim; local 84 /* The primary DMA stream should look like new right about now. 86 primary->tail = 0; 87 primary->space = primary->size; 88 primary->last_flush = 0; 107 drm_mga_primary_buffer_t *primary = &dev_priv->prim; local 122 if (primary->tail == primary->last_flush) { 127 tail = primary 162 drm_mga_primary_buffer_t *primary = &dev_priv->prim; local 202 drm_mga_primary_buffer_t *primary = &dev_priv->prim; local [all...] |
/drivers/scsi/dpt/ |
H A D | dpti_ioctl.h | 98 uCHAR primary; /* 1 For Primary, 0 For Secondary */ member in struct:__anon4174
|
/drivers/media/video/saa7134/ |
H A D | saa7134-tvaudio.c | 175 int primary, int secondary) 178 secondary = primary; 179 saa_writel(SAA7134_CARRIER1_FREQ0 >> 2, tvaudio_carr2reg(primary)); 579 /* Note: at least the primary carrier is right here */ 174 tvaudio_setcarrier(struct saa7134_dev *dev, int primary, int secondary) argument
|
/drivers/ata/ |
H A D | pata_legacy.c | 135 static int ht6560a; /* HT 6560A on primary 1, second 2, both 3 */ 136 static int ht6560b; /* HT 6560A on primary 1, second 2, both 3 */ 137 static int opti82c611a; /* Opti82c611A on primary 1, sec 2, both 3 */ 1035 static void __init legacy_check_special_cases(struct pci_dev *p, int *primary, argument 1040 *primary = *secondary = 1; 1045 *primary = *secondary = 1; 1057 *primary = 1; 1186 int primary = 0; local 1201 primary = 1; 1206 legacy_check_special_cases(p, &primary, [all...] |
/drivers/net/bonding/ |
H A D | bonding.h | 152 char primary[IFNAMSIZ]; member in struct:bond_params
|
H A D | bond_main.c | 98 static char *primary; variable 137 module_param(primary, charp, 0); 138 MODULE_PARM_DESC(primary, "Primary network device to use"); 140 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave " 143 "1 for only if speed of primary is " 1755 if (USES_PRIMARY(bond->params.mode) && bond->params.primary[0]) { 1756 /* if there is a primary slave, remember it */ 1757 if (strcmp(bond->params.primary, new_slave->dev->name) == 0) { 3244 * TODO: handle changing the primary's name 3306 /* we only care about primary addres [all...] |
/drivers/pci/ |
H A D | probe.c | 573 * Set up the primary, secondary and subordinate 577 child->primary = parent->secondary; 643 u8 primary, secondary, subordinate; local 647 primary = buses & 0xFF; 654 if (!primary && (primary != bus->number) && secondary && subordinate) { 656 primary = bus->number; 661 (primary != bus->number || secondary <= bus->number)) { 694 child->primary = primary; [all...] |
/drivers/target/ |
H A D | target_core_alua.c | 43 static int core_alua_check_transition(int state, int *primary); 190 int alua_access_state, primary = 0, rc; local 236 * the state is a primary or secondary target port asymmetric 239 rc = core_alua_check_transition(alua_access_state, &primary); 258 * specifies a primary target port asymmetric access state, 260 * a primary target port group for which the primary target 269 if (primary) { 369 * temporarily delayed for the Active/NonOptimized primary access state. 593 static int core_alua_check_transition(int state, int *primary) argument 879 int primary; local [all...] |
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 184 uint32_t primary; member in struct:vmw_vga_topology_state
|
/drivers/md/ |
H A D | raid1.c | 556 /* cannot read here. If this is the 'primary' 1657 int primary; local 1660 for (primary = 0; primary < conf->raid_disks * 2; primary++) 1661 if (r1_bio->bios[primary]->bi_end_io == end_sync_read && 1662 test_bit(BIO_UPTODATE, &r1_bio->bios[primary]->bi_flags)) { 1663 r1_bio->bios[primary]->bi_end_io = NULL; 1664 rdev_dec_pending(conf->mirrors[primary].rdev, mddev); 1667 r1_bio->read_disk = primary; [all...] |
/drivers/scsi/ |
H A D | wd7000.c | 523 volatile unchar primary; /* primary revision level (returned) */ member in struct:icbRevLvl 1294 host->rev1 = icb.primary;
|
H A D | eata_generic.h | 338 __u8 primary; /* true if primary */ member in struct:hstd
|
/drivers/video/ |
H A D | fbmem.c | 1558 const char *name, bool primary) 1573 (primary && gen_aper && gen_aper->count && 1685 const char *name, bool primary) 1688 do_remove_conflicting_framebuffers(a, name, primary); 1557 do_remove_conflicting_framebuffers(struct apertures_struct *a, const char *name, bool primary) argument 1684 remove_conflicting_framebuffers(struct apertures_struct *a, const char *name, bool primary) argument
|