tag | line | file | source code |
index | 369 | arch/alpha/kernel/bios32.c | unsigned short index, unsigned char *bus, |
index | 377 | arch/alpha/kernel/bios32.c | if (curr == index) { |
index | 393 | arch/alpha/kernel/bios32.c | int pcibios_find_class (unsigned int class_code, unsigned short index, |
index | 401 | arch/alpha/kernel/bios32.c | if (curr == index) { |
index | 208 | arch/i386/kernel/bios32.c | int pcibios_find_class (unsigned int class_code, unsigned short index, |
index | 222 | arch/i386/kernel/bios32.c | "S" ((int) index), |
index | 231 | arch/i386/kernel/bios32.c | unsigned short index, unsigned char *bus, unsigned char *device_fn) |
index | 245 | arch/i386/kernel/bios32.c | "S" ((int) index), |
index | 76 | arch/i386/math-emu/get_address.c | unsigned char ss,index,base; |
index | 85 | arch/i386/math-emu/get_address.c | index = (base >> 3) & 7; |
index | 93 | arch/i386/math-emu/get_address.c | if (index == 4) |
index | 102 | arch/i386/math-emu/get_address.c | offset += (REG_(index)) << ss; |
index | 207 | arch/ppc/kernel/pci.c | unsigned short index, unsigned char *bus, |
index | 221 | arch/ppc/kernel/pci.c | if (index == 0) { |
index | 226 | arch/ppc/kernel/pci.c | --index; |
index | 233 | arch/ppc/kernel/pci.c | pcibios_find_class (unsigned int class_code, unsigned short index, |
index | 151 | drivers/block/ali14xx.c | driveNum = (HWIF(drive)->index << 1) + drive->select.b.unit; |
index | 678 | drivers/block/cmd640.c | interface_number = HWIF(drive)->index; |
index | 711 | drivers/block/cmd640.c | interface_number = HWIF(drive)->index; |
index | 130 | drivers/block/ht6560b.c | byte select = ht6560b_selects[HWIF(drive)->index][drive->select.b.unit]; |
index | 131 | drivers/block/ht6560b.c | byte timing = ht6560b_timings[HWIF(drive)->index][drive->select.b.unit]; |
index | 209 | drivers/block/ht6560b.c | hwif = HWIF(drive)->index; |
index | 314 | drivers/block/ide.c | static void init_hwif_data (unsigned int index) |
index | 318 | drivers/block/ide.c | ide_hwif_t *hwif = &ide_hwifs[index]; |
index | 327 | drivers/block/ide.c | hwif->index = index; |
index | 328 | drivers/block/ide.c | hwif->noprobe = (index > 1); |
index | 329 | drivers/block/ide.c | hwif->io_base = default_io_base[index]; |
index | 335 | drivers/block/ide.c | hwif->major = ide_hwif_to_major[index]; |
index | 339 | drivers/block/ide.c | hwif->name[3] = '0' + index; |
index | 355 | drivers/block/ide.c | drive->name[2] = 'a' + (index * MAX_DRIVES) + unit; |
index | 376 | drivers/block/ide.c | unsigned int index; |
index | 383 | drivers/block/ide.c | for (index = 0; index < MAX_HWIFS; ++index) |
index | 384 | drivers/block/ide.c | init_hwif_data(index); |
index | 2986 | drivers/block/ide.c | unsigned int index, mate_irq = hwif->irq; |
index | 2994 | drivers/block/ide.c | mate_hwif = &ide_hwifs[hwif->index ^ 1]; |
index | 3001 | drivers/block/ide.c | for (index = 0; index < MAX_HWIFS; index++) { |
index | 3002 | drivers/block/ide.c | if (index != hwif->index) { |
index | 3003 | drivers/block/ide.c | ide_hwif_t *g = &ide_hwifs[index]; |
index | 3039 | drivers/block/ide.c | for (index = 0; index < MAX_HWIFS; index++) { |
index | 3040 | drivers/block/ide.c | ide_hwif_t *g = &ide_hwifs[index]; |
index | 3091 | drivers/block/ide.c | unsigned index; |
index | 3096 | drivers/block/ide.c | for (index = 0; !pcibios_find_device (vendor, device, index, &bus, &fn); ++index) { |
index | 3207 | drivers/block/ide.c | int index; |
index | 3218 | drivers/block/ide.c | for (index = 0; index < MAX_HWIFS; ++index) |
index | 3219 | drivers/block/ide.c | hwif_init (index); |
index | 3231 | drivers/block/ide.c | int index, i, rc = -1; |
index | 3237 | drivers/block/ide.c | for (index = 0; index < MAX_HWIFS; ++index) { |
index | 3238 | drivers/block/ide.c | hwif = &ide_hwifs[index]; |
index | 3247 | drivers/block/ide.c | if (!hwif_init(index)) |
index | 3251 | drivers/block/ide.c | rc = index; |
index | 3259 | drivers/block/ide.c | void ide_unregister (unsigned int index) |
index | 3267 | drivers/block/ide.c | if (index >= MAX_HWIFS) |
index | 3271 | drivers/block/ide.c | hwif = &ide_hwifs[index]; |
index | 3331 | drivers/block/ide.c | init_hwif_data (index); /* restore hwif data to pristine status */ |
index | 415 | drivers/block/ide.h | byte index; /* 0 for ide0; 1 for ide1; ... */ |
index | 136 | drivers/block/md.c | int minor, index, err, current_ra; |
index | 166 | drivers/block/md.c | index=md_dev[minor].nb_dev++; |
index | 167 | drivers/block/md.c | devices[minor][index].dev=dev; |
index | 174 | drivers/block/md.c | devices[minor][index].inode=get_empty_inode (); |
index | 175 | drivers/block/md.c | devices[minor][index].inode->i_dev=dev; /* don't care about |
index | 177 | drivers/block/md.c | insert_inode_hash (devices[minor][index].inode); |
index | 183 | drivers/block/md.c | devices[minor][index].size=gen_real->sizes[MINOR(dev)] & ~((PAGE_SIZE >> 10)-1); |
index | 184 | drivers/block/md.c | devices[minor][index].offset=index ? |
index | 185 | drivers/block/md.c | (devices[minor][index-1].offset + devices[minor][index-1].size) : 0; |
index | 187 | drivers/block/md.c | if (!index) |
index | 188 | drivers/block/md.c | md_size[minor]=devices[minor][index].size; |
index | 190 | drivers/block/md.c | md_size[minor]+=devices[minor][index].size; |
index | 204 | drivers/block/md.c | if ((index=PERSONALITY(md_dev+minor) >> (PERSONALITY_SHIFT)) |
index | 208 | drivers/block/md.c | if (!pers[index]) |
index | 212 | drivers/block/md.c | sprintf (module_name, "md-personality-%d", index); |
index | 214 | drivers/block/md.c | if (!pers[index]) |
index | 219 | drivers/block/md.c | md_dev[minor].pers=pers[index]; |
index | 238 | drivers/block/md.c | for (index=0; index<md_dev[minor].nb_dev; index++) |
index | 240 | drivers/block/md.c | if (current_ra>read_ahead[MAJOR(devices[minor][index].dev)]) |
index | 241 | drivers/block/md.c | current_ra=read_ahead[MAJOR(devices[minor][index].dev)]; |
index | 243 | drivers/block/md.c | devices[minor][index].fault_count=0; |
index | 244 | drivers/block/md.c | devices[minor][index].invalid=VALID; |
index | 268 | drivers/block/md.c | for (index=0; index<md_dev[minor].nb_dev; index++) |
index | 269 | drivers/block/md.c | clear_inode (devices[minor][index].inode); |
index | 140 | drivers/block/promise.c | second_hwif = &ide_hwifs[hwif->index+1]; |
index | 108 | drivers/cdrom/mcdx.c | unsigned char index; |
index | 405 | drivers/cdrom/mcdx.c | sub.cdsc_ind = bcd2uint(q.index); |
index | 1520 | drivers/cdrom/mcdx.c | stuffp->toc[trk].index = 0; |
index | 1531 | drivers/cdrom/mcdx.c | idx = bcd2uint(q.index); |
index | 1536 | drivers/cdrom/mcdx.c | && (stuffp->toc[idx - stuffp->di.n_first].index == 0)) { |
index | 1562 | drivers/cdrom/mcdx.c | stuffp->toc[trk].control, stuffp->toc[trk].tno, stuffp->toc[trk].index, |
index | 1673 | drivers/cdrom/mcdx.c | sub->index = buf[3]; |
index | 762 | drivers/cdrom/optcd.c | int index; |
index | 769 | drivers/cdrom/optcd.c | index = q_info.cdsc_ind; |
index | 770 | drivers/cdrom/optcd.c | if (index > 0 && index < MAX_TRACKS |
index | 771 | drivers/cdrom/optcd.c | && q_info.cdsc_trk == 0 && toc[index].cdsc_ind == 0) { |
index | 772 | drivers/cdrom/optcd.c | toc[index] = q_info; |
index | 773 | drivers/cdrom/optcd.c | DEBUG((DEBUG_TOC, "got %d", index)); |
index | 774 | drivers/cdrom/optcd.c | if (index < 100) |
index | 496 | drivers/char/cyclades.c | write_cy_cmd(u_char *base_addr, u_char cmd, int index) |
index | 504 | drivers/char/cyclades.c | if (base_addr[CyCCR<<index] == 0){ |
index | 517 | drivers/char/cyclades.c | base_addr[CyCCR<<index] = cmd; |
index | 532 | drivers/char/cyclades.c | int chip,channel,index; |
index | 543 | drivers/char/cyclades.c | index = cinfo->bus_index; |
index | 548 | drivers/char/cyclades.c | (cy_card[info->card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 551 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)(channel & 0x0003); /* index channel */ |
index | 552 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 564 | drivers/char/cyclades.c | int chip,channel,index; |
index | 575 | drivers/char/cyclades.c | index = cinfo->bus_index; |
index | 580 | drivers/char/cyclades.c | (cy_card[info->card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 583 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)(channel & 0x0003); |
index | 584 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyTxMpty; |
index | 616 | drivers/char/cyclades.c | int index = 0; /* probing interrupts is only for ISA */ |
index | 624 | drivers/char/cyclades.c | if(intr_base_addr[CySVRR<<index] != 0) { |
index | 625 | drivers/char/cyclades.c | save_xir = (u_char) intr_base_addr[CyTIR<<index]; |
index | 626 | drivers/char/cyclades.c | save_car = intr_base_addr[CyCAR<<index]; |
index | 632 | drivers/char/cyclades.c | intr_base_addr[CyCAR<<index] = (save_xir & 0x3); |
index | 633 | drivers/char/cyclades.c | intr_base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 634 | drivers/char/cyclades.c | intr_base_addr[CyTIR<<index] = (save_xir & 0x3f); |
index | 635 | drivers/char/cyclades.c | intr_base_addr[CyCAR<<index] = (save_car); |
index | 637 | drivers/char/cyclades.c | *(intr_base_addr + (Cy_ClrIntr<<index)) = 0; /* Cy_ClrIntr is 0x1800 */ |
index | 658 | drivers/char/cyclades.c | int i,j,index; |
index | 669 | drivers/char/cyclades.c | index = cinfo->bus_index; |
index | 680 | drivers/char/cyclades.c | (cinfo->base_addr + (cy_chip_offset[chip]<<index)); |
index | 682 | drivers/char/cyclades.c | while ( (status = base_addr[CySVRR<<index]) != 0x00) { |
index | 694 | drivers/char/cyclades.c | save_xir = (u_char) base_addr[CyRIR<<index]; |
index | 699 | drivers/char/cyclades.c | save_car = base_addr[CyCAR<<index]; |
index | 700 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = save_xir; |
index | 704 | drivers/char/cyclades.c | j = (base_addr[CyRIVR<<index] & CyIVRMask); |
index | 706 | drivers/char/cyclades.c | data = base_addr[CyRDSR<<index]; |
index | 708 | drivers/char/cyclades.c | char_count = base_addr[CyRDCR<<index]; |
index | 710 | drivers/char/cyclades.c | data = base_addr[CyRDSR<<index]; |
index | 715 | drivers/char/cyclades.c | j = (base_addr[CyRIVR<<index] & CyIVRMask); |
index | 717 | drivers/char/cyclades.c | data = base_addr[CyRDSR<<index]; |
index | 728 | drivers/char/cyclades.c | base_addr[CyRDSR<<index]; |
index | 736 | drivers/char/cyclades.c | base_addr[CyRDSR<<index]; |
index | 741 | drivers/char/cyclades.c | base_addr[CyRDSR<<index]; |
index | 755 | drivers/char/cyclades.c | base_addr[CyRDSR<<index]; |
index | 775 | drivers/char/cyclades.c | char_count = base_addr[CyRDCR<<index]; |
index | 789 | drivers/char/cyclades.c | data = base_addr[CyRDSR<<index]; |
index | 800 | drivers/char/cyclades.c | base_addr[CyRIR<<index] = (save_xir & 0x3f); |
index | 801 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (save_car); |
index | 810 | drivers/char/cyclades.c | save_xir = (u_char) base_addr[CyTIR<<index]; |
index | 813 | drivers/char/cyclades.c | save_car = base_addr[CyCAR<<index]; |
index | 814 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = save_xir; |
index | 818 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 824 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 834 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = outch; |
index | 848 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0; /* start break */ |
index | 849 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0x81; |
index | 850 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0; /* delay a bit */ |
index | 851 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0x82; |
index | 852 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = info->x_break*200/HZ; |
index | 853 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0; /* terminate break */ |
index | 854 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0x83; |
index | 861 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 865 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 869 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 888 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = outch; |
index | 894 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = outch; |
index | 895 | drivers/char/cyclades.c | base_addr[CyTDR<<index] = 0; |
index | 909 | drivers/char/cyclades.c | base_addr[CyTIR<<index] = (save_xir & 0x3f); |
index | 910 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (save_car); |
index | 916 | drivers/char/cyclades.c | save_xir = (u_char) base_addr[CyMIR<<index]; |
index | 920 | drivers/char/cyclades.c | save_car = base_addr[CyCAR<<index]; |
index | 921 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = save_xir; |
index | 923 | drivers/char/cyclades.c | mdm_change = base_addr[CyMISR<<index]; |
index | 924 | drivers/char/cyclades.c | mdm_status = base_addr[CyMSVR1<<index]; |
index | 946 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyTxMpty; |
index | 953 | drivers/char/cyclades.c | base_addr[CySRER<<index] &= ~CyTxMpty; |
index | 963 | drivers/char/cyclades.c | base_addr[CyMIR<<index] = (save_xir & 0x3f); |
index | 964 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = save_car; |
index | 971 | drivers/char/cyclades.c | *(card_base_addr + (Cy_ClrIntr<<index)) = 0; /* Cy_ClrIntr is 0x1800 */ |
index | 1120 | drivers/char/cyclades.c | int index; |
index | 1122 | drivers/char/cyclades.c | index = 0; /* IRQ probing is only for ISA */ |
index | 1131 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = 0; |
index | 1132 | drivers/char/cyclades.c | write_cy_cmd(base_addr,CyCHAN_CTL|CyENB_XMTR,index); |
index | 1133 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyTxMpty; |
index | 1192 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1217 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1219 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1227 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1229 | drivers/char/cyclades.c | base_addr[CyRTPR<<index] = (info->default_timeout |
index | 1233 | drivers/char/cyclades.c | write_cy_cmd(base_addr,CyCHAN_CTL|CyENB_RCVR|CyENB_XMTR,index); |
index | 1235 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; /* !!! Is this needed? */ |
index | 1236 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = CyRTS; |
index | 1238 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = CyDTR; |
index | 1242 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1245 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyRxData; |
index | 1266 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1272 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1274 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1277 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = channel; |
index | 1278 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyTxMpty; |
index | 1291 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1302 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1304 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1325 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1327 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = ~CyRTS; |
index | 1328 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = ~CyDTR; |
index | 1331 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1334 | drivers/char/cyclades.c | write_cy_cmd(base_addr,CyCHAN_CTL|CyDIS_RCVR,index); |
index | 1358 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1478 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1480 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1483 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1487 | drivers/char/cyclades.c | base_addr[CyTCOR<<index] = info->tco; |
index | 1488 | drivers/char/cyclades.c | base_addr[CyTBPR<<index] = info->tbpr; |
index | 1489 | drivers/char/cyclades.c | base_addr[CyRCOR<<index] = info->rco; |
index | 1490 | drivers/char/cyclades.c | base_addr[CyRBPR<<index] = info->rbpr; |
index | 1494 | drivers/char/cyclades.c | base_addr[CySCHR1<<index] = START_CHAR(info->tty); |
index | 1495 | drivers/char/cyclades.c | base_addr[CySCHR2<<index] = STOP_CHAR(info->tty); |
index | 1496 | drivers/char/cyclades.c | base_addr[CyCOR1<<index] = info->cor1; |
index | 1497 | drivers/char/cyclades.c | base_addr[CyCOR2<<index] = info->cor2; |
index | 1498 | drivers/char/cyclades.c | base_addr[CyCOR3<<index] = info->cor3; |
index | 1499 | drivers/char/cyclades.c | base_addr[CyCOR4<<index] = info->cor4; |
index | 1500 | drivers/char/cyclades.c | base_addr[CyCOR5<<index] = info->cor5; |
index | 1502 | drivers/char/cyclades.c | write_cy_cmd(base_addr,CyCOR_CHANGE|CyCOR1ch|CyCOR2ch|CyCOR3ch,index); |
index | 1504 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; /* !!! Is this needed? */ |
index | 1506 | drivers/char/cyclades.c | base_addr[CyRTPR<<index] = (info->default_timeout |
index | 1511 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= 0; /* without modem intr */ |
index | 1513 | drivers/char/cyclades.c | base_addr[CyMCOR1<<index] = 0x0; |
index | 1515 | drivers/char/cyclades.c | base_addr[CyMCOR2<<index] = 0x0; |
index | 1517 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyMdmCh; /* with modem intr */ |
index | 1519 | drivers/char/cyclades.c | base_addr[CyMCOR1<<index] = CyDSR|CyCTS|CyRI|CyDCD; |
index | 1521 | drivers/char/cyclades.c | base_addr[CyMCOR2<<index] = CyDSR|CyCTS|CyRI|CyDCD; |
index | 1525 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = ~CyDTR; |
index | 1528 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1531 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = CyDTR; |
index | 1534 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1582 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1599 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1601 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1604 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = channel; |
index | 1605 | drivers/char/cyclades.c | base_addr[CySRER<<index] |= CyTxMpty; |
index | 1739 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1762 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1764 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1767 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1768 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = ~CyRTS; |
index | 1781 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1804 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1806 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1809 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1810 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = CyRTS; |
index | 1886 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1896 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1898 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1901 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1902 | drivers/char/cyclades.c | status = base_addr[CyMSVR1<<index]; |
index | 1903 | drivers/char/cyclades.c | status |= base_addr[CyMSVR2<<index]; |
index | 1920 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 1929 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 1931 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 1937 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1938 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = CyRTS; |
index | 1943 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1945 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = CyDTR; |
index | 1948 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1956 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1957 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = ~CyRTS; |
index | 1962 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1964 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = ~CyDTR; |
index | 1967 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1975 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1976 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = CyRTS; |
index | 1980 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1981 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = ~CyRTS; |
index | 1986 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1988 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = CyDTR; |
index | 1991 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 1996 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 1998 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = ~CyDTR; |
index | 2001 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 2039 | drivers/char/cyclades.c | int card,channel,chip,index; |
index | 2045 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 2047 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 2051 | drivers/char/cyclades.c | base_addr[CyCOR3<<index] = info->cor3; |
index | 2052 | drivers/char/cyclades.c | write_cy_cmd(base_addr,CyCOR_CHANGE|CyCOR3ch,index); |
index | 2060 | drivers/char/cyclades.c | int card,channel,chip,index; |
index | 2067 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 2069 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 2071 | drivers/char/cyclades.c | tmp = base_addr[CyCOR3<<index] & CyREC_FIFO; |
index | 2094 | drivers/char/cyclades.c | int card,channel,chip,index; |
index | 2100 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 2102 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 2104 | drivers/char/cyclades.c | base_addr[CyRTPR<<index] = value & 0xff; |
index | 2112 | drivers/char/cyclades.c | int card,channel,chip,index; |
index | 2119 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 2121 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 2123 | drivers/char/cyclades.c | tmp = base_addr[CyRTPR<<index]; |
index | 2449 | drivers/char/cyclades.c | int chip, channel,index; |
index | 2523 | drivers/char/cyclades.c | index = cinfo->bus_index; |
index | 2524 | drivers/char/cyclades.c | base_addr = (char *) (cinfo->base_addr + (cy_chip_offset[chip]<<index)); |
index | 2529 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 2530 | drivers/char/cyclades.c | base_addr[CyMSVR1<<index] = CyRTS; |
index | 2532 | drivers/char/cyclades.c | base_addr[CyMSVR2<<index] = CyDTR; |
index | 2535 | drivers/char/cyclades.c | printk(" status: 0x%x, 0x%x\n", base_addr[CyMSVR1<<index], base_addr[CyMSVR2<<index]); |
index | 2550 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 2555 | drivers/char/cyclades.c | || (base_addr[CyMSVR1<<index] & CyDCD))) { |
index | 2688 | drivers/char/cyclades.c | cy_init_card(unsigned char *true_base_addr,int index) |
index | 2693 | drivers/char/cyclades.c | true_base_addr[Cy_HwReset<<index] = 0; /* Cy_HwReset is 0x1400 */ |
index | 2694 | drivers/char/cyclades.c | true_base_addr[Cy_ClrIntr<<index] = 0; /* Cy_ClrIntr is 0x1800 */ |
index | 2698 | drivers/char/cyclades.c | base_addr = true_base_addr + (cy_chip_offset[chip_number]<<index); |
index | 2700 | drivers/char/cyclades.c | if(base_addr[CyCCR<<index] != 0x00){ |
index | 2708 | drivers/char/cyclades.c | base_addr[CyGFRCR<<index] = 0; |
index | 2718 | drivers/char/cyclades.c | && *(true_base_addr + (cy_chip_offset[0]<<index) + (CyGFRCR<<index)) == 0){ |
index | 2722 | drivers/char/cyclades.c | base_addr[CyCCR<<index] = CyCHIP_RESET; |
index | 2725 | drivers/char/cyclades.c | if(base_addr[CyGFRCR<<index] == 0x00){ |
index | 2732 | drivers/char/cyclades.c | if((0xf0 & base_addr[CyGFRCR<<index]) != 0x40){ |
index | 2739 | drivers/char/cyclades.c | base_addr[CyGCR<<index] = CyCH0_SERIAL; |
index | 2740 | drivers/char/cyclades.c | base_addr[CyPPR<<index] = 244; /* better value than CyCLOCK_25_1MS * 5 |
index | 3127 | drivers/char/cyclades.c | int card,chip,channel,index; |
index | 3133 | drivers/char/cyclades.c | index = cy_card[card].bus_index; |
index | 3165 | drivers/char/cyclades.c | (cy_card[card].base_addr + (cy_chip_offset[chip]<<index)); |
index | 3169 | drivers/char/cyclades.c | printk(" CyGFRCR %x\n", base_addr[CyGFRCR<<index]); |
index | 3170 | drivers/char/cyclades.c | printk(" CyCAR %x\n", base_addr[CyCAR<<index]); |
index | 3171 | drivers/char/cyclades.c | printk(" CyGCR %x\n", base_addr[CyGCR<<index]); |
index | 3172 | drivers/char/cyclades.c | printk(" CySVRR %x\n", base_addr[CySVRR<<index]); |
index | 3173 | drivers/char/cyclades.c | printk(" CyRICR %x\n", base_addr[CyRICR<<index]); |
index | 3174 | drivers/char/cyclades.c | printk(" CyTICR %x\n", base_addr[CyTICR<<index]); |
index | 3175 | drivers/char/cyclades.c | printk(" CyMICR %x\n", base_addr[CyMICR<<index]); |
index | 3176 | drivers/char/cyclades.c | printk(" CyRIR %x\n", base_addr[CyRIR<<index]); |
index | 3177 | drivers/char/cyclades.c | printk(" CyTIR %x\n", base_addr[CyTIR<<index]); |
index | 3178 | drivers/char/cyclades.c | printk(" CyMIR %x\n", base_addr[CyMIR<<index]); |
index | 3179 | drivers/char/cyclades.c | printk(" CyPPR %x\n", base_addr[CyPPR<<index]); |
index | 3181 | drivers/char/cyclades.c | base_addr[CyCAR<<index] = (u_char)channel; |
index | 3185 | drivers/char/cyclades.c | printk(" CyRIVR %x\n", base_addr[CyRIVR<<index]); |
index | 3186 | drivers/char/cyclades.c | printk(" CyTIVR %x\n", base_addr[CyTIVR<<index]); |
index | 3187 | drivers/char/cyclades.c | printk(" CyMIVR %x\n", base_addr[CyMIVR<<index]); |
index | 3188 | drivers/char/cyclades.c | printk(" CyMISR %x\n", base_addr[CyMISR<<index]); |
index | 3192 | drivers/char/cyclades.c | printk(" CyCCR %x\n", base_addr[CyCCR<<index]); |
index | 3193 | drivers/char/cyclades.c | printk(" CySRER %x\n", base_addr[CySRER<<index]); |
index | 3194 | drivers/char/cyclades.c | printk(" CyCOR1 %x\n", base_addr[CyCOR1<<index]); |
index | 3195 | drivers/char/cyclades.c | printk(" CyCOR2 %x\n", base_addr[CyCOR2<<index]); |
index | 3196 | drivers/char/cyclades.c | printk(" CyCOR3 %x\n", base_addr[CyCOR3<<index]); |
index | 3197 | drivers/char/cyclades.c | printk(" CyCOR4 %x\n", base_addr[CyCOR4<<index]); |
index | 3198 | drivers/char/cyclades.c | printk(" CyCOR5 %x\n", base_addr[CyCOR5<<index]); |
index | 3199 | drivers/char/cyclades.c | printk(" CyCCSR %x\n", base_addr[CyCCSR<<index]); |
index | 3200 | drivers/char/cyclades.c | printk(" CyRDCR %x\n", base_addr[CyRDCR<<index]); |
index | 3201 | drivers/char/cyclades.c | printk(" CySCHR1 %x\n", base_addr[CySCHR1<<index]); |
index | 3202 | drivers/char/cyclades.c | printk(" CySCHR2 %x\n", base_addr[CySCHR2<<index]); |
index | 3203 | drivers/char/cyclades.c | printk(" CySCHR3 %x\n", base_addr[CySCHR3<<index]); |
index | 3204 | drivers/char/cyclades.c | printk(" CySCHR4 %x\n", base_addr[CySCHR4<<index]); |
index | 3205 | drivers/char/cyclades.c | printk(" CySCRL %x\n", base_addr[CySCRL<<index]); |
index | 3206 | drivers/char/cyclades.c | printk(" CySCRH %x\n", base_addr[CySCRH<<index]); |
index | 3207 | drivers/char/cyclades.c | printk(" CyLNC %x\n", base_addr[CyLNC<<index]); |
index | 3208 | drivers/char/cyclades.c | printk(" CyMCOR1 %x\n", base_addr[CyMCOR1<<index]); |
index | 3209 | drivers/char/cyclades.c | printk(" CyMCOR2 %x\n", base_addr[CyMCOR2<<index]); |
index | 3210 | drivers/char/cyclades.c | printk(" CyRTPR %x\n", base_addr[CyRTPR<<index]); |
index | 3211 | drivers/char/cyclades.c | printk(" CyMSVR1 %x\n", base_addr[CyMSVR1<<index]); |
index | 3212 | drivers/char/cyclades.c | printk(" CyMSVR2 %x\n", base_addr[CyMSVR2<<index]); |
index | 3213 | drivers/char/cyclades.c | printk(" CyRBPR %x\n", base_addr[CyRBPR<<index]); |
index | 3214 | drivers/char/cyclades.c | printk(" CyRCOR %x\n", base_addr[CyRCOR<<index]); |
index | 3215 | drivers/char/cyclades.c | printk(" CyTBPR %x\n", base_addr[CyTBPR<<index]); |
index | 3216 | drivers/char/cyclades.c | printk(" CyTCOR %x\n", base_addr[CyTCOR<<index]); |
index | 213 | drivers/char/ftape/ftape-eof.c | int index; |
index | 219 | drivers/char/ftape/ftape-eof.c | for (index = 0, ptr = &eof_map[0]; |
index | 220 | drivers/char/ftape/ftape-eof.c | index < nr_of_eof_marks && ptr->mark.segment < segment; |
index | 221 | drivers/char/ftape/ftape-eof.c | ++index, ++ptr) { |
index | 223 | drivers/char/ftape/ftape-eof.c | if (index < nr_of_eof_marks) { |
index | 231 | drivers/char/ftape/ftape-eof.c | ptr->mark.segment, ptr->mark.sector, index, |
index | 239 | drivers/char/ftape/ftape-eof.c | new.mark.segment, new.mark.sector, index, |
index | 241 | drivers/char/ftape/ftape-eof.c | memmove(ptr + 1, ptr, (nr_of_eof_marks - index) * sizeof(*eof_map)); |
index | 249 | drivers/char/ftape/ftape-eof.c | new.mark.segment, new.mark.sector, index); |
index | 599 | drivers/char/psaux.c | static inline unsigned char read_710(unsigned char index) |
index | 601 | drivers/char/psaux.c | outb_p(index, 0x390); /* Write index */ |
index | 120 | drivers/net/3c509.c | static ushort id_read_eeprom(int index); |
index | 121 | drivers/net/3c509.c | static ushort read_eeprom(short ioaddr, int index); |
index | 311 | drivers/net/3c509.c | static ushort read_eeprom(short ioaddr, int index) |
index | 315 | drivers/net/3c509.c | outw(EEPROM_READ + index, ioaddr + 10); |
index | 323 | drivers/net/3c509.c | static ushort id_read_eeprom(int index) |
index | 329 | drivers/net/3c509.c | outb(EEPROM_READ + index, id_port); |
index | 339 | drivers/net/3c509.c | printk(" 3c509 EEPROM word %d %#4.4x.\n", index, word); |
index | 309 | drivers/net/3c59x.c | int index; |
index | 311 | drivers/net/3c59x.c | for (index = 0; product_ids[index]; index++) { |
index | 312 | drivers/net/3c59x.c | if ( ! pcibios_find_device(TCOM_VENDOR_ID, product_ids[index], |
index | 317 | drivers/net/3c59x.c | if ( ! product_ids[index]) |
index | 349 | drivers/net/3c59x.c | vortex_found_device(dev, pci_ioaddr, pci_irq_line, index, |
index | 1582 | drivers/net/de4x5.c | u_short vendor, device, index, status; |
index | 1601 | drivers/net/de4x5.c | for (index=0; |
index | 1602 | drivers/net/de4x5.c | (pcibios_find_class(class, index, &pb, &dev_fn)!= PCIBIOS_DEVICE_NOT_FOUND); |
index | 1603 | drivers/net/de4x5.c | index++) { |
index | 685 | drivers/net/eth16i.c | unsigned short index = 0; |
index | 689 | drivers/net/eth16i.c | index++; |
index | 691 | drivers/net/eth16i.c | return( eth32i_irqmap[ index ] ); |
index | 649 | drivers/net/slhc.c | unsigned char index; |
index | 663 | drivers/net/slhc.c | index = icp[9]; |
index | 671 | drivers/net/slhc.c | if(index > comp->rslot_limit) { |
index | 677 | drivers/net/slhc.c | cs = &comp->rstate[comp->recv_current = index]; |
index | 3848 | drivers/scsi/aic7xxx.c | unsigned short index = 0; |
index | 3862 | drivers/scsi/aic7xxx.c | index, &pci_bus, &pci_device_fn)) |
index | 3999 | drivers/scsi/aic7xxx.c | index++; |
index | 298 | drivers/scsi/eata.c | unsigned int index; /* cp index */ |
index | 667 | drivers/scsi/eata.c | cpp->index = i; |
index | 668 | drivers/scsi/eata.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
index | 135 | drivers/scsi/in2000.c | static int in2000_test_port(int index) |
index | 145 | drivers/scsi/in2000.c | if ( ((~tmp & 0x3) != index ) || (tmp & 0x80) || !(tmp & 0x4) ) |
index | 309 | drivers/scsi/scsi.c | int block_count = 0, index; |
index | 353 | drivers/scsi/scsi.c | for(index = 0; index < block_count - 1; index++) { |
index | 354 | drivers/scsi/scsi.c | sh[index]->block = sh[index + 1]; |
index | 356 | drivers/scsi/scsi.c | sh[index]->host_no); |
index | 361 | drivers/scsi/scsi.c | sh[index]->host_no); |
index | 260 | drivers/scsi/u14-34f.c | unsigned int index; /* cp index */ |
index | 612 | drivers/scsi/u14-34f.c | cpp->index = i; |
index | 613 | drivers/scsi/u14-34f.c | SCpnt->host_scribble = (unsigned char *) &cpp->index; |
index | 912 | fs/buffer.c | int index; |
index | 921 | fs/buffer.c | index = BUFSIZE_INDEX(bh->b_size); |
index | 926 | fs/buffer.c | blocks = ((filesize & (bufsize - 1)) - (pos & (bufsize - 1))) >> (9+index); |
index | 928 | fs/buffer.c | if (blocks > (read_ahead[MAJOR(dev)] >> index)) |
index | 929 | fs/buffer.c | blocks = read_ahead[MAJOR(dev)] >> index; |
index | 157 | fs/hpfs/hpfs.h | unsigned index; /* index in c.p. array in that sector*/ |
index | 198 | fs/ncpfs/dir.c | int index = 0; |
index | 258 | fs/ncpfs/dir.c | index = i; |
index | 302 | fs/ncpfs/dir.c | index = 0; |
index | 317 | fs/ncpfs/dir.c | while (index < c_size) |
index | 363 | fs/ncpfs/dir.c | index += 1; |
index | 100 | fs/nfs/dir.c | int i, index = 0; |
index | 142 | fs/nfs/dir.c | entry = c_entry + (index = i + 1); |
index | 161 | fs/nfs/dir.c | entry = c_entry + (index = 0); |
index | 168 | fs/nfs/dir.c | while (index < c_size) { |
index | 180 | fs/nfs/dir.c | index++; |
index | 162 | fs/smbfs/dir.c | int index = 0; |
index | 207 | fs/smbfs/dir.c | index = i; |
index | 232 | fs/smbfs/dir.c | index = 0; |
index | 253 | fs/smbfs/dir.c | while (index < c_size) { |
index | 295 | fs/smbfs/dir.c | index += 1; |
index | 190 | fs/super.c | int err, index; |
index | 195 | fs/super.c | index = 0; |
index | 199 | fs/super.c | return index; |
index | 201 | fs/super.c | index++; |
index | 207 | fs/super.c | static int fs_name(unsigned int index, char * buf) |
index | 213 | fs/super.c | while (tmp && index > 0) { |
index | 215 | fs/super.c | index--; |
index | 230 | fs/super.c | int index; |
index | 232 | fs/super.c | index = 0; |
index | 234 | fs/super.c | index++; |
index | 235 | fs/super.c | return index; |
index | 245 | fs/super.c | unsigned int index; |
index | 254 | fs/super.c | index = va_arg(args, unsigned int); |
index | 255 | fs/super.c | retval = fs_name(index, va_arg(args, char *)); |
index | 47 | include/asm-sparc/fbio.h | int index; /* first element (0 origin) */ |
index | 42 | include/linux/bios32.h | extern int pcibios_find_class (unsigned int class_code, unsigned short index, |
index | 45 | include/linux/bios32.h | unsigned short index, unsigned char *bus, |
index | 100 | include/linux/swap.h | extern inline unsigned long in_swap_cache(unsigned long index) |
index | 102 | include/linux/swap.h | return swap_cache[index]; |
index | 105 | include/linux/swap.h | extern inline long find_in_swap_cache(unsigned long index) |
index | 112 | include/linux/swap.h | entry = xchg(swap_cache + index, 0); |
index | 120 | include/linux/swap.h | extern inline int delete_from_swap_cache(unsigned long index) |
index | 127 | include/linux/swap.h | entry = xchg(swap_cache + index, 0); |
index | 90 | mm/page_alloc.c | unsigned long index = map_nr >> (1 + order); |
index | 102 | mm/page_alloc.c | if (!change_bit(index, free_area[order].map)) |
index | 107 | mm/page_alloc.c | index >>= 1; |
index | 136 | mm/page_alloc.c | #define MARK_USED(index, order, area) \ |
index | 137 | mm/page_alloc.c | change_bit((index) >> (1+(order)), (area)->map) |
index | 160 | mm/page_alloc.c | #define EXPAND(map,index,low,high,area) \ |
index | 165 | mm/page_alloc.c | MARK_USED(index, high, area); \ |
index | 166 | mm/page_alloc.c | index += size; \ |
index | 52 | mm/swap_state.c | int add_to_swap_cache(unsigned long index, unsigned long entry) |
index | 60 | mm/swap_state.c | entry = xchg(swap_cache + index, entry); |
index | 176 | net/netrom/af_netrom.c | static struct sock *nr_find_socket(unsigned char index, unsigned char id) |
index | 185 | net/netrom/af_netrom.c | if (s->nr->my_index == index && s->nr->my_id == id) { |
index | 199 | net/netrom/af_netrom.c | static struct sock *nr_find_peer(unsigned char index, unsigned char id) |
index | 208 | net/netrom/af_netrom.c | if (s->nr->your_index == index && s->nr->your_id == id) { |
index | 224 | scripts/lxdialog/util.c | sp = index(word, ' '); |
index | 235 | scripts/lxdialog/util.c | && (!(sp2 = index(sp, ' ')) || wlen+1+(sp2-sp) > room))) { |
index | 222 | scripts/tkparse.c | int index = 1; |
index | 249 | scripts/tkparse.c | kcfg->choice_value = index++; |