tag | line | file | source code |
cfg | 511 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 593 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_SPIV); |
cfg | 594 | arch/i386/kernel/smp.c | cfg|=(1<<8); /* Enable APIC */ |
cfg | 595 | arch/i386/kernel/smp.c | apic_write(APIC_SPIV,cfg); |
cfg | 641 | arch/i386/kernel/smp.c | cfg=pg0[0]; |
cfg | 653 | arch/i386/kernel/smp.c | pg0[0]= cfg; |
cfg | 680 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 681 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 682 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 683 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 684 | arch/i386/kernel/smp.c | cfg&=~0xCDFFF; /* Clear bits */ |
cfg | 685 | arch/i386/kernel/smp.c | cfg |= (APIC_DEST_FIELD | APIC_DEST_LEVELTRIG |
cfg | 687 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Send IPI */ |
cfg | 692 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 693 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 694 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 695 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 696 | arch/i386/kernel/smp.c | cfg&=~0xCDFFF; /* Clear bits */ |
cfg | 697 | arch/i386/kernel/smp.c | cfg |= (APIC_DEST_FIELD | APIC_DEST_LEVELTRIG |
cfg | 699 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Send IPI */ |
cfg | 729 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 730 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 731 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 732 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 733 | arch/i386/kernel/smp.c | cfg&=~0xCDFFF; /* Clear bits */ |
cfg | 734 | arch/i386/kernel/smp.c | cfg |= (APIC_DEST_FIELD |
cfg | 737 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Kick the second */ |
cfg | 797 | arch/i386/kernel/smp.c | cfg = pg0[0]; |
cfg | 814 | arch/i386/kernel/smp.c | pg0[0] = cfg; |
cfg | 859 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 928 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 929 | arch/i386/kernel/smp.c | if(!(cfg&(1<<12))) |
cfg | 946 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 947 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 948 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(target)); /* Target chip */ |
cfg | 949 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 950 | arch/i386/kernel/smp.c | cfg&=~0xFDFFF; /* Clear bits */ |
cfg | 951 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_FIELD|APIC_DEST_DM_FIXED|irq; /* Send an IRQ 13 */ |
cfg | 959 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_ALLBUT; |
cfg | 965 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_ALLINC; |
cfg | 979 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); |
cfg | 860 | drivers/isdn/isdn_common.c | isdn_net_ioctl_cfg cfg; |
cfg | 876 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) src, sizeof(cfg)))) { |
cfg | 880 | drivers/isdn/isdn_common.c | memcpy_tofs((char *) &cfg, src, sizeof(cfg)); |
cfg | 881 | drivers/isdn/isdn_common.c | src += sizeof(cfg); |
cfg | 882 | drivers/isdn/isdn_common.c | if (!isdn_net_new(cfg.name, NULL)) { |
cfg | 886 | drivers/isdn/isdn_common.c | if ((ret = isdn_net_setcfg(&cfg))) { |
cfg | 901 | drivers/isdn/isdn_common.c | strcpy(phone.name, cfg.name); |
cfg | 923 | drivers/isdn/isdn_common.c | strcpy(phone.name, cfg.name); |
cfg | 942 | drivers/isdn/isdn_common.c | isdn_net_ioctl_cfg cfg; |
cfg | 953 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) dest, sizeof(cfg) + 10))) { |
cfg | 957 | drivers/isdn/isdn_common.c | strcpy(cfg.eaz, p->local.msn); |
cfg | 958 | drivers/isdn/isdn_common.c | cfg.exclusive = p->local.exclusive; |
cfg | 960 | drivers/isdn/isdn_common.c | sprintf(cfg.drvid, "%s,%d", dev->drvid[p->local.pre_device], |
cfg | 963 | drivers/isdn/isdn_common.c | cfg.drvid[0] = '\0'; |
cfg | 964 | drivers/isdn/isdn_common.c | cfg.onhtime = p->local.onhtime; |
cfg | 965 | drivers/isdn/isdn_common.c | cfg.charge = p->local.charge; |
cfg | 966 | drivers/isdn/isdn_common.c | cfg.l2_proto = p->local.l2_proto; |
cfg | 967 | drivers/isdn/isdn_common.c | cfg.l3_proto = p->local.l3_proto; |
cfg | 968 | drivers/isdn/isdn_common.c | cfg.p_encap = p->local.p_encap; |
cfg | 969 | drivers/isdn/isdn_common.c | cfg.secure = (p->local.flags & ISDN_NET_SECURE) ? 1 : 0; |
cfg | 970 | drivers/isdn/isdn_common.c | cfg.callback = (p->local.flags & ISDN_NET_CALLBACK) ? 1 : 0; |
cfg | 971 | drivers/isdn/isdn_common.c | cfg.chargehup = (p->local.hupflags & 4) ? 1 : 0; |
cfg | 972 | drivers/isdn/isdn_common.c | cfg.ihup = (p->local.hupflags & 8) ? 1 : 0; |
cfg | 975 | drivers/isdn/isdn_common.c | memcpy_tofs(dest, (char *) &cfg, sizeof(cfg)); |
cfg | 976 | drivers/isdn/isdn_common.c | dest += sizeof(cfg); |
cfg | 1009 | drivers/isdn/isdn_common.c | isdn_net_ioctl_cfg cfg; |
cfg | 1070 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(cfg)))) |
cfg | 1072 | drivers/isdn/isdn_common.c | memcpy_fromfs((char *) &cfg, (char *) arg, sizeof(cfg)); |
cfg | 1073 | drivers/isdn/isdn_common.c | return isdn_net_setcfg(&cfg); |
cfg | 1079 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_READ, (void *) arg, sizeof(cfg)))) |
cfg | 1081 | drivers/isdn/isdn_common.c | memcpy_fromfs((char *) &cfg, (char *) arg, sizeof(cfg)); |
cfg | 1082 | drivers/isdn/isdn_common.c | if (!(ret = isdn_net_getcfg(&cfg))) { |
cfg | 1083 | drivers/isdn/isdn_common.c | if ((ret = verify_area(VERIFY_WRITE, (void *) arg, sizeof(cfg)))) |
cfg | 1085 | drivers/isdn/isdn_common.c | memcpy_tofs((char *) arg, (char *) &cfg, sizeof(cfg)); |
cfg | 1843 | drivers/isdn/isdn_net.c | int isdn_net_setcfg(isdn_net_ioctl_cfg * cfg) |
cfg | 1845 | drivers/isdn/isdn_net.c | isdn_net_dev *p = isdn_net_findif(cfg->name); |
cfg | 1854 | drivers/isdn/isdn_net.c | features = (1 << cfg->l2_proto) | (256 << cfg->l3_proto); |
cfg | 1863 | drivers/isdn/isdn_net.c | if ((p->local.p_encap != cfg->p_encap) && |
cfg | 1865 | drivers/isdn/isdn_net.c | (cfg->p_encap == ISDN_NET_ENCAP_RAWIP) )) |
cfg | 1873 | drivers/isdn/isdn_net.c | if (cfg->p_encap == ISDN_NET_ENCAP_SYNCPPP) { |
cfg | 1879 | drivers/isdn/isdn_net.c | if (strlen(cfg->drvid)) { |
cfg | 1885 | drivers/isdn/isdn_net.c | strcpy(drvid, cfg->drvid); |
cfg | 1907 | drivers/isdn/isdn_net.c | if (cfg->exclusive > 0) { |
cfg | 1929 | drivers/isdn/isdn_net.c | if ((p->local.pre_device != -1) && (cfg->exclusive == -1)) { |
cfg | 1935 | drivers/isdn/isdn_net.c | strcpy(p->local.msn, cfg->eaz); |
cfg | 1938 | drivers/isdn/isdn_net.c | p->local.onhtime = cfg->onhtime; |
cfg | 1939 | drivers/isdn/isdn_net.c | p->local.charge = cfg->charge; |
cfg | 1940 | drivers/isdn/isdn_net.c | p->local.l2_proto = cfg->l2_proto; |
cfg | 1941 | drivers/isdn/isdn_net.c | p->local.l3_proto = cfg->l3_proto; |
cfg | 1942 | drivers/isdn/isdn_net.c | p->local.slavedelay = cfg->slavedelay * HZ; |
cfg | 1943 | drivers/isdn/isdn_net.c | p->local.p_encap = cfg->p_encap; |
cfg | 1944 | drivers/isdn/isdn_net.c | if (cfg->secure) |
cfg | 1948 | drivers/isdn/isdn_net.c | if (cfg->callback) |
cfg | 1952 | drivers/isdn/isdn_net.c | if (cfg->chargehup) |
cfg | 1956 | drivers/isdn/isdn_net.c | if (cfg->ihup) |
cfg | 1960 | drivers/isdn/isdn_net.c | if (cfg->p_encap == ISDN_NET_ENCAP_RAWIP) { |
cfg | 1967 | drivers/isdn/isdn_net.c | if (cfg->p_encap == ISDN_NET_ENCAP_ETHER) { |
cfg | 1985 | drivers/isdn/isdn_net.c | int isdn_net_getcfg(isdn_net_ioctl_cfg * cfg) |
cfg | 1987 | drivers/isdn/isdn_net.c | isdn_net_dev *p = isdn_net_findif(cfg->name); |
cfg | 1990 | drivers/isdn/isdn_net.c | strcpy(cfg->eaz, p->local.msn); |
cfg | 1991 | drivers/isdn/isdn_net.c | cfg->exclusive = p->local.exclusive; |
cfg | 1993 | drivers/isdn/isdn_net.c | sprintf(cfg->drvid, "%s,%d", dev->drvid[p->local.pre_device], |
cfg | 1996 | drivers/isdn/isdn_net.c | cfg->drvid[0] = '\0'; |
cfg | 1997 | drivers/isdn/isdn_net.c | cfg->onhtime = p->local.onhtime; |
cfg | 1998 | drivers/isdn/isdn_net.c | cfg->charge = p->local.charge; |
cfg | 1999 | drivers/isdn/isdn_net.c | cfg->l2_proto = p->local.l2_proto; |
cfg | 2000 | drivers/isdn/isdn_net.c | cfg->l3_proto = p->local.l3_proto; |
cfg | 2001 | drivers/isdn/isdn_net.c | cfg->p_encap = p->local.p_encap; |
cfg | 2002 | drivers/isdn/isdn_net.c | cfg->secure = (p->local.flags & ISDN_NET_SECURE) ? 1 : 0; |
cfg | 2003 | drivers/isdn/isdn_net.c | cfg->callback = (p->local.flags & ISDN_NET_CALLBACK) ? 1 : 0; |
cfg | 2004 | drivers/isdn/isdn_net.c | cfg->chargehup = (p->local.hupflags & 4) ? 1 : 0; |
cfg | 2005 | drivers/isdn/isdn_net.c | cfg->ihup = (p->local.hupflags & 8) ? 1 : 0; |
cfg | 2006 | drivers/isdn/isdn_net.c | cfg->slavedelay = p->local.slavedelay / HZ; |
cfg | 2008 | drivers/isdn/isdn_net.c | strcpy(cfg->slave, ((isdn_net_local *) p->local.slave->priv)->name); |
cfg | 2010 | drivers/isdn/isdn_net.c | cfg->slave[0] = '\0'; |
cfg | 2012 | drivers/isdn/isdn_net.c | strcpy(cfg->master, ((isdn_net_local *) p->local.master->priv)->name); |
cfg | 2014 | drivers/isdn/isdn_net.c | cfg->master[0] = '\0'; |
cfg | 544 | drivers/net/wavelan.c | ac_cfg_t cfg; |
cfg | 655 | drivers/net/wavelan.c | memset(&cfg, 0x00, sizeof(cfg)); |
cfg | 661 | drivers/net/wavelan.c | cfg.fifolim_bytecnt = 0x080c; |
cfg | 662 | drivers/net/wavelan.c | cfg.addrlen_mode = 0x2600; |
cfg | 663 | drivers/net/wavelan.c | cfg.linprio_interframe = 0x7820; /* IFS=120, ACS=2 */ |
cfg | 664 | drivers/net/wavelan.c | cfg.slot_time = 0xf00c; /* slottime=12 */ |
cfg | 665 | drivers/net/wavelan.c | cfg.hardware = 0x0008; /* tx even w/o CD */ |
cfg | 666 | drivers/net/wavelan.c | cfg.min_frame_len = 0x0040; |
cfg | 674 | drivers/net/wavelan.c | cfg.cfg_byte_cnt = AC_CFG_BYTE_CNT(sizeof(ac_cfg_t) - sizeof(ach_t)); |
cfg | 675 | drivers/net/wavelan.c | cfg.cfg_fifolim = AC_CFG_FIFOLIM(8); |
cfg | 676 | drivers/net/wavelan.c | cfg.cfg_byte8 = AC_CFG_SAV_BF(0) | |
cfg | 678 | drivers/net/wavelan.c | cfg.cfg_byte9 = AC_CFG_ELPBCK(0) | |
cfg | 683 | drivers/net/wavelan.c | cfg.cfg_byte10 = AC_CFG_BOFMET(0) | |
cfg | 686 | drivers/net/wavelan.c | cfg.cfg_ifs = 32; |
cfg | 687 | drivers/net/wavelan.c | cfg.cfg_slotl = 0; |
cfg | 688 | drivers/net/wavelan.c | cfg.cfg_byte13 = AC_CFG_RETRYNUM(15) | |
cfg | 690 | drivers/net/wavelan.c | cfg.cfg_byte14 = AC_CFG_FLGPAD(0) | |
cfg | 698 | drivers/net/wavelan.c | cfg.cfg_byte15 = AC_CFG_ICDS(0) | |
cfg | 705 | drivers/net/wavelan.c | cfg.cfg_min_frm_len = AC_CFG_MNFRM(8); |
cfg | 707 | drivers/net/wavelan.c | cfg.cfg_h.ac_command = AC_CFLD_EL | (AC_CFLD_CMD & acmd_configure); |
cfg | 708 | drivers/net/wavelan.c | cfg.cfg_h.ac_link = OFFSET_CU; |
cfg | 709 | drivers/net/wavelan.c | obram_write(ioaddr, OFFSET_CU, (unsigned char *)&cfg, sizeof(cfg)); |
cfg | 1439 | drivers/scsi/advansys.c | ASC_DVC_CFG dosfar *cfg; |
cfg | 2401 | drivers/scsi/advansys.c | ASC_DVC_CFG cfg; /* Device configuration */ |
cfg | 2925 | drivers/scsi/advansys.c | boardp->cfg = &ASC_BOARD(shp)->cfg; |
cfg | 2926 | drivers/scsi/advansys.c | boardp->cfg->overrun_buf = &ASC_BOARD(shp)->overrun_buf[0]; |
cfg | 2945 | drivers/scsi/advansys.c | boardp->cfg->pci_device_id = pciConfig.deviceID; |
cfg | 3035 | drivers/scsi/advansys.c | shp->this_id = boardp->cfg->chip_scsi_id; |
cfg | 3095 | drivers/scsi/advansys.c | shp->dma_channel = boardp->cfg->isa_dma_channel; |
cfg | 3982 | drivers/scsi/advansys.c | if (boardp->cfg->chip_scsi_id == scp->target) { |
cfg | 4009 | drivers/scsi/advansys.c | save_can_tagged_qng = boardp->cfg->can_tagged_qng; |
cfg | 4066 | drivers/scsi/advansys.c | boardp->cfg->can_tagged_qng |= save_can_tagged_qng; |
cfg | 4790 | drivers/scsi/advansys.c | asc_prt_dvc_cfg(&ASC_BOARD(s)->cfg); |
cfg | 4833 | drivers/scsi/advansys.c | h->int_count, h->req_count, h->busy_count, (unsigned) h->cfg, |
cfg | 7512 | drivers/scsi/advansys.c | ushort cfg; |
cfg | 7514 | drivers/scsi/advansys.c | cfg = AscGetChipCfgLsw(iop_base); |
cfg | 7515 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg & (~ASC_CFG0_HOST_INT_ON)); |
cfg | 7524 | drivers/scsi/advansys.c | ushort cfg; |
cfg | 7526 | drivers/scsi/advansys.c | cfg = AscGetChipCfgLsw(iop_base); |
cfg | 7527 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg | ASC_CFG0_HOST_INT_ON); |
cfg | 7781 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng = 0; |
cfg | 7785 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable = ASC_SCSI_WIDTH_BIT_SET; |
cfg | 7786 | drivers/scsi/advansys.c | asc_dvc->cfg->cmd_qng_enabled = ASC_SCSI_WIDTH_BIT_SET; |
cfg | 7787 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_scsi_id = ASC_DEF_CHIP_SCSI_ID; |
cfg | 7788 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_version = AscGetChipVersion(iop_base, |
cfg | 7799 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_channel = (uchar) AscGetIsaDmaChannel(iop_base); |
cfg | 7800 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_speed = ASC_DEF_ISA_DMA_SPEED; |
cfg | 7802 | drivers/scsi/advansys.c | asc_dvc->cfg->lib_serial_no = ASC_LIB_SERIAL_NUMBER; |
cfg | 7803 | drivers/scsi/advansys.c | asc_dvc->cfg->lib_version = (ASC_LIB_VERSION_MAJOR << 8) | |
cfg | 7811 | drivers/scsi/advansys.c | asc_dvc->cfg->sdtr_data[i] = |
cfg | 7844 | drivers/scsi/advansys.c | if ((asc_dvc->cfg->cmd_qng_enabled & asc_dvc->cfg->disc_enable) != |
cfg | 7845 | drivers/scsi/advansys.c | asc_dvc->cfg->cmd_qng_enabled) { |
cfg | 7846 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable = asc_dvc->cfg->cmd_qng_enabled; |
cfg | 7856 | drivers/scsi/advansys.c | if (AscSetChipScsiID(iop_base, asc_dvc->cfg->chip_scsi_id) != |
cfg | 7857 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_scsi_id) { |
cfg | 7861 | drivers/scsi/advansys.c | AscSetIsaDmaChannel(iop_base, asc_dvc->cfg->isa_dma_channel); |
cfg | 7862 | drivers/scsi/advansys.c | AscSetIsaDmaSpeed(iop_base, asc_dvc->cfg->isa_dma_speed); |
cfg | 7911 | drivers/scsi/advansys.c | if (asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_A) { |
cfg | 7927 | drivers/scsi/advansys.c | if (asc_dvc->cfg->chip_version == 3) { |
cfg | 7944 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable = eep_config->disc_enable; |
cfg | 7946 | drivers/scsi/advansys.c | asc_dvc->cfg->cmd_qng_enabled = eep_config->use_cmd_qng; |
cfg | 7947 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_speed = eep_config->isa_dma_speed; |
cfg | 7954 | drivers/scsi/advansys.c | if ((asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_A) || |
cfg | 7955 | drivers/scsi/advansys.c | (asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_B)) { |
cfg | 7999 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_scsi_id = eep_config->chip_scsi_id; |
cfg | 8002 | drivers/scsi/advansys.c | asc_dvc->cfg->sdtr_data[i] = eep_config->sdtr_data[i]; |
cfg | 8003 | drivers/scsi/advansys.c | asc_dvc->cfg->max_tag_qng[i] = eep_config->max_tag_qng; |
cfg | 8027 | drivers/scsi/advansys.c | asc_dvc->cfg->sdtr_data[i]); |
cfg | 8033 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable); |
cfg | 8035 | drivers/scsi/advansys.c | ASC_TID_TO_TARGET_ID(asc_dvc->cfg->chip_scsi_id)); |
cfg | 8037 | drivers/scsi/advansys.c | (uchar dosfar *) asc_dvc->cfg->overrun_buf, |
cfg | 8048 | drivers/scsi/advansys.c | asc_dvc->cfg->mcode_date = AscReadLramWord(iop_base, |
cfg | 8050 | drivers/scsi/advansys.c | asc_dvc->cfg->mcode_version = AscReadLramWord(iop_base, |
cfg | 8379 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng = 0; |
cfg | 8396 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable); |
cfg | 8400 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng); |
cfg | 8502 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng |= tid_bits; |
cfg | 8503 | drivers/scsi/advansys.c | if (asc_dvc->cfg->cmd_qng_enabled & tid_bits) { |
cfg | 8506 | drivers/scsi/advansys.c | asc_dvc->cfg->max_tag_qng[tid_no]; |
cfg | 1109 | drivers/scsi/wd7000.c | const Config *cfg; |
cfg | 1119 | drivers/scsi/wd7000.c | cfg = configs; |
cfg | 1123 | drivers/scsi/wd7000.c | if (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len)) { |
cfg | 1127 | drivers/scsi/wd7000.c | (int) cfg->bios); |
cfg | 1134 | drivers/scsi/wd7000.c | if (check_region(cfg->iobase, 4)) { /* ports in use */ |
cfg | 1153 | drivers/scsi/wd7000.c | host->irq = cfg->irq; |
cfg | 1154 | drivers/scsi/wd7000.c | host->iobase = cfg->iobase; |
cfg | 1155 | drivers/scsi/wd7000.c | host->dma = cfg->dma; |
cfg | 1184 | drivers/scsi/wd7000.c | cfg++; /* try next configuration */ |
cfg | 1286 | drivers/sound/sb_dsp.c | unsigned char cfg, irq_bits = 0, dma_bits = 0; |
cfg | 1299 | drivers/sound/sb_dsp.c | cfg = 0x50; /* Enable only DMA counter interrupt */ |
cfg | 1322 | drivers/sound/sb_dsp.c | cfg = 0x10; /* Disable all interrupts */ |
cfg | 1326 | drivers/sound/sb_dsp.c | if (!ess_write (0xb1, cfg | (irq_bits << 2))) |
cfg | 1333 | drivers/sound/sb_dsp.c | cfg = 0x50; /* Extended mode DMA ebable */ |
cfg | 1338 | drivers/sound/sb_dsp.c | cfg = 0x00; /* Disable all DMA */ |
cfg | 1349 | drivers/sound/sb_dsp.c | if (!ess_write (0xb2, cfg | (dma_bits << 2))) |
cfg | 1356 | drivers/sound/sb_dsp.c | cfg = sb_getmixer (0x40); |
cfg | 1357 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg | 0x03); |
cfg | 1364 | drivers/sound/sb_dsp.c | unsigned char cfg, tmp; |
cfg | 1366 | drivers/sound/sb_dsp.c | cfg = sb_getmixer (0x40) & 0x03; |
cfg | 1372 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg); |
cfg | 1376 | drivers/sound/sb_dsp.c | cfg |= tmp << 3; |
cfg | 1396 | drivers/sound/sb_dsp.c | cfg |= tmp << 5; |
cfg | 1406 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg); |
cfg | 77 | include/asm-sparc/timer.h | volatile unsigned int cfg; /* equals zero at boot time... */ |
cfg | 101 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 104 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 106 | scripts/tkcond.c | if( cfg->cond == NULL ) |
cfg | 111 | scripts/tkcond.c | for(cond = cfg->cond; cond != NULL; cond = cond->next) |
cfg | 116 | scripts/tkcond.c | if( cond->variable.cfg->tok != tok_choice ) |
cfg | 124 | scripts/tkcond.c | sprintf(tmpbuf, "%d", cond->variable.cfg->choice_value); |
cfg | 128 | scripts/tkcond.c | cond->variable.cfg = cond->variable.cfg->choice_label; |
cfg | 154 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 191 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 193 | scripts/tkcond.c | if( cfg->tok != tok_bool && cfg->tok != tok_int |
cfg | 194 | scripts/tkcond.c | && cfg->tok != tok_tristate |
cfg | 195 | scripts/tkcond.c | && cfg->tok != tok_choice |
cfg | 196 | scripts/tkcond.c | && cfg->tok != tok_dep_tristate) |
cfg | 200 | scripts/tkcond.c | if( strcmp(cfg->optionname, ocond->variable.str) == 0) |
cfg | 202 | scripts/tkcond.c | new->variable.cfg = cfg; |
cfg | 207 | scripts/tkcond.c | if( cfg == NULL ) |
cfg | 259 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 271 | scripts/tkcond.c | new->variable.cfg = ocond->variable.cfg; |
cfg | 300 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 323 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 325 | scripts/tkcond.c | switch(cfg->tok) |
cfg | 332 | scripts/tkcond.c | conditions[depth] = cfg->cond; |
cfg | 334 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 335 | scripts/tkcond.c | cfg->cond = NULL; |
cfg | 344 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 350 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 364 | scripts/tkcond.c | cfg->cond = get_token_cond(&conditions[0], depth); |
cfg | 381 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 383 | scripts/tkcond.c | switch(cfg->tok) |
cfg | 389 | scripts/tkcond.c | for(cfg1=cfg;cfg1 != NULL; cfg1 = cfg1->next) |
cfg | 398 | scripts/tkcond.c | if( strcmp(cfg->optionname, cfg1->optionname) == 0) |
cfg | 400 | scripts/tkcond.c | cfg->flags |= CFG_DUP; |
cfg | 425 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 430 | scripts/tkcond.c | if(cfg->cond == NULL) continue; |
cfg | 431 | scripts/tkcond.c | for(cnd = cfg->cond; cnd; cnd=cnd->next) |
cfg | 438 | scripts/tkcond.c | if(cnd->variable.cfg->cond == NULL) continue; |
cfg | 440 | scripts/tkcond.c | if(cnd->variable.cfg->flags & CFG_DUP) continue; |
cfg | 445 | scripts/tkcond.c | newcond = get_token_cond_frag(cnd->variable.cfg->cond, &last); |
cfg | 450 | scripts/tkcond.c | last->next = cfg->cond; |
cfg | 451 | scripts/tkcond.c | cfg->cond = newcond; |
cfg | 462 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 467 | scripts/tkcond.c | if(cfg->cond == NULL) continue; |
cfg | 468 | scripts/tkcond.c | for(cnd = cfg->cond; cnd; cnd=cnd->next) |
cfg | 494 | scripts/tkcond.c | || cnd2->variable.cfg != cnd3->variable.cfg) ) break; |
cfg | 78 | scripts/tkgen.c | clear_globalflags(struct kconfig * cfg) |
cfg | 80 | scripts/tkgen.c | for(; cfg != NULL; cfg = cfg->next) |
cfg | 82 | scripts/tkgen.c | cfg->flags &= ~GLOBAL_WRITTEN; |
cfg | 110 | scripts/tkgen.c | if(cond->variable.cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 111 | scripts/tkgen.c | cond->variable.cfg->flags |= GLOBAL_WRITTEN; |
cfg | 112 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.cfg->optionname); |
cfg | 163 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
cfg | 299 | scripts/tkgen.c | if(cond->variable.cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 300 | scripts/tkgen.c | cond->variable.cfg->flags |= GLOBAL_WRITTEN; |
cfg | 301 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.cfg->optionname); |
cfg | 345 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
cfg | 400 | scripts/tkgen.c | struct kconfig * cfg; |
cfg | 485 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 490 | scripts/tkgen.c | if (cfg->menu_number != menu_num ) continue; |
cfg | 491 | scripts/tkgen.c | if (cfg->tok != tok_define) continue; |
cfg | 495 | scripts/tkgen.c | if( (cfg->flags & GLOBAL_WRITTEN) == 0 |
cfg | 496 | scripts/tkgen.c | && (cfg->optionname != NULL) ) |
cfg | 498 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 499 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 500 | scripts/tkgen.c | printf("\tset %s 0\n", cfg->optionname); |
cfg | 504 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 509 | scripts/tkgen.c | if (cfg->menu_number != menu_num ) continue; |
cfg | 510 | scripts/tkgen.c | if (cfg->tok == tok_menuoption) continue; |
cfg | 511 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 512 | scripts/tkgen.c | generate_if(cfg, cfg->cond, menu_num, cfg->menu_line); |
cfg | 521 | scripts/tkgen.c | if(cfg->tok == tok_dep_tristate) |
cfg | 523 | scripts/tkgen.c | printf("\tglobal %s;", cfg->depend.str); |
cfg | 524 | scripts/tkgen.c | printf("\tif {$%s == 2 } then { .menu%d.config.f.x%d.y configure -state disabled } else { .menu%d.config.f.x%d.y configure -state normal}\n",cfg->depend.str, |
cfg | 525 | scripts/tkgen.c | menu_num, cfg->menu_line, |
cfg | 526 | scripts/tkgen.c | menu_num, cfg->menu_line); |
cfg | 543 | scripts/tkgen.c | static int find_menu_size(struct kconfig *cfg, |
cfg | 556 | scripts/tkgen.c | for(pnt = cfg->next; pnt; pnt = pnt->next) |
cfg | 581 | scripts/tkgen.c | *menu_max = cfg->menu_number + div - 1; |
cfg | 584 | scripts/tkgen.c | *menu_max = cfg->menu_number; |
cfg | 600 | scripts/tkgen.c | struct kconfig * cfg; |
cfg | 607 | scripts/tkgen.c | for(cfg = scfg;cfg != NULL; cfg = cfg->next) |
cfg | 609 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 622 | scripts/tkgen.c | cfg->menu_number = ++menu_num; |
cfg | 623 | scripts/tkgen.c | find_menu_size(cfg, &menu_max, &menu_maxlines); |
cfg | 624 | scripts/tkgen.c | cfg->submenu_start = menu_num; |
cfg | 625 | scripts/tkgen.c | cfg->submenu_end = menu_max; |
cfg | 642 | scripts/tkgen.c | cfg->menu_number = menu_num; |
cfg | 643 | scripts/tkgen.c | cfg->submenu_start = menu_min; |
cfg | 644 | scripts/tkgen.c | cfg->submenu_end = menu_max; |
cfg | 645 | scripts/tkgen.c | cfg->menu_line = menu_line++; |
cfg | 648 | scripts/tkgen.c | cfg->menu_number = -1; |
cfg | 667 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 669 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 672 | scripts/tkgen.c | printf("mainmenu_name \"%s\"\n", cfg->label); |
cfg | 680 | scripts/tkgen.c | if( cfg->menu_number > 1 ) |
cfg | 684 | scripts/tkgen.c | menulabel = cfg->label; |
cfg | 685 | scripts/tkgen.c | start_proc(cfg->label, cfg->menu_number, TRUE); |
cfg | 686 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 687 | scripts/tkgen.c | menu_max = cfg->submenu_end; |
cfg | 688 | scripts/tkgen.c | menu_min = cfg->submenu_start; |
cfg | 696 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 699 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 700 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 703 | scripts/tkgen.c | cfg->menu_number, |
cfg | 704 | scripts/tkgen.c | cfg->menu_line, |
cfg | 705 | scripts/tkgen.c | cfg->label, |
cfg | 706 | scripts/tkgen.c | cfg->optionname); |
cfg | 712 | scripts/tkgen.c | cfg->label, |
cfg | 714 | scripts/tkgen.c | cfg->choice_value, |
cfg | 718 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 721 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 722 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 726 | scripts/tkgen.c | cfg->menu_line, cfg->label, cfg->menu_line); |
cfg | 728 | scripts/tkgen.c | printf("\tpack $w.config.f.line%d -anchor w\n", cfg->menu_line); |
cfg | 729 | scripts/tkgen.c | printf("\tmenu $w.config.f.line%d.menu\n", cfg->menu_line); |
cfg | 732 | scripts/tkgen.c | cfg->menu_number, |
cfg | 733 | scripts/tkgen.c | cfg->menu_line, |
cfg | 734 | scripts/tkgen.c | cfg->label, |
cfg | 735 | scripts/tkgen.c | cfg->optionname); |
cfg | 736 | scripts/tkgen.c | printf("\tmenu $w.config.f.x%d.x.menu\n", cfg->menu_line); |
cfg | 738 | scripts/tkgen.c | cfg1 = cfg; |
cfg | 741 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 744 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 745 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 748 | scripts/tkgen.c | cfg->menu_number, |
cfg | 749 | scripts/tkgen.c | cfg->menu_line, |
cfg | 750 | scripts/tkgen.c | cfg->label, |
cfg | 751 | scripts/tkgen.c | cfg->optionname); |
cfg | 754 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 757 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 758 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 761 | scripts/tkgen.c | cfg->menu_number, |
cfg | 762 | scripts/tkgen.c | cfg->menu_line, |
cfg | 763 | scripts/tkgen.c | cfg->label, |
cfg | 764 | scripts/tkgen.c | cfg->optionname, |
cfg | 765 | scripts/tkgen.c | cfg->depend); |
cfg | 768 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 771 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 772 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 775 | scripts/tkgen.c | cfg->menu_number, |
cfg | 776 | scripts/tkgen.c | cfg->menu_line, |
cfg | 777 | scripts/tkgen.c | cfg->label, |
cfg | 778 | scripts/tkgen.c | cfg->optionname); |
cfg | 781 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 784 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 785 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 788 | scripts/tkgen.c | cfg->menu_number, |
cfg | 789 | scripts/tkgen.c | cfg->menu_line); |
cfg | 828 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 830 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 833 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 834 | scripts/tkgen.c | generate_if(cfg, cfg->cond, cfg->menu_number, cfg->menu_line); |
cfg | 847 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 852 | scripts/tkgen.c | if( cfg->tok != tok_define) continue; |
cfg | 853 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 854 | scripts/tkgen.c | generate_if(cfg, cfg->cond, menu_num, cfg->menu_line); |
cfg | 857 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, cfg->value); |
cfg | 868 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 870 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 877 | scripts/tkgen.c | printf("set %s 0\n", cfg->optionname); |
cfg | 880 | scripts/tkgen.c | printf("set %s %d\n", cfg->optionname, cfg->choice_value); |
cfg | 904 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 906 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 914 | scripts/tkgen.c | if(cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 915 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 916 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 919 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 920 | scripts/tkgen.c | generate_if_for_outfile(cfg, cfg->cond); |
cfg | 923 | scripts/tkgen.c | if(cfg->tok == tok_dep_tristate) |
cfg | 930 | scripts/tkgen.c | cfg->depend.str, |
cfg | 931 | scripts/tkgen.c | cfg->optionname, |
cfg | 932 | scripts/tkgen.c | cfg->optionname, |
cfg | 933 | scripts/tkgen.c | cfg->optionname, |
cfg | 934 | scripts/tkgen.c | cfg->depend.str); |
cfg | 936 | scripts/tkgen.c | else if(cfg->tok == tok_comment) |
cfg | 938 | scripts/tkgen.c | printf("\twrite_comment $cfg $autocfg \"%s\"\n", cfg->label); |
cfg | 941 | scripts/tkgen.c | else if(cfg->tok == tok_define) |
cfg | 943 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, |
cfg | 944 | scripts/tkgen.c | cfg->value); |
cfg | 947 | scripts/tkgen.c | else if (cfg->tok == tok_choose ) |
cfg | 949 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 954 | scripts/tkgen.c | cfg->optionname, |
cfg | 962 | scripts/tkgen.c | cfg->optionname, |
cfg | 963 | scripts/tkgen.c | cfg->optionname); |
cfg | 982 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 984 | scripts/tkgen.c | if( cfg->tok != tok_choose ) continue; |
cfg | 985 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 995 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 997 | scripts/tkgen.c | if( cfg->tok != tok_choose ) continue; |
cfg | 998 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 999 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 1006 | scripts/tkgen.c | cfg->optionname, |
cfg | 1014 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 1016 | scripts/tkgen.c | if( cfg->tok != tok_define ) continue; |
cfg | 1017 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n", cfg->optionname, cfg->optionname); |
cfg | 1018 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 1020 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 1022 | scripts/tkgen.c | if( cfg->tok != tok_define ) continue; |
cfg | 1023 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 1024 | scripts/tkgen.c | generate_if(cfg, cfg->cond, -1, 0); |
cfg | 1028 | scripts/tkgen.c | cfg->optionname, cfg->value); |
cfg | 611 | scripts/tkparse.c | struct kconfig * cfg; |
cfg | 643 | scripts/tkparse.c | for(cfg = config; cfg; cfg = cfg->next) |
cfg | 646 | scripts/tkparse.c | if(cfg->cond != NULL && cfg->tok != tok_if) |
cfg | 647 | scripts/tkparse.c | dump_if(cfg->cond); |
cfg | 649 | scripts/tkparse.c | switch(cfg->tok) |
cfg | 684 | scripts/tkparse.c | switch(cfg->tok) |
cfg | 689 | scripts/tkparse.c | printf("%s\n", cfg->label); |
cfg | 695 | scripts/tkparse.c | printf("%s %s\n", cfg->label, cfg->optionname); |
cfg | 698 | scripts/tkparse.c | dump_if(cfg->cond); |
cfg | 42 | scripts/tkparse.h | struct kconfig * cfg; |