tag | line | file | source code |
cfg | 327 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 347 | arch/i386/kernel/smp.c | cfg=pg0[0]; |
cfg | 357 | arch/i386/kernel/smp.c | pg0[0]= cfg; |
cfg | 585 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 667 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_SPIV); |
cfg | 668 | arch/i386/kernel/smp.c | cfg|=(1<<8); /* Enable APIC */ |
cfg | 669 | arch/i386/kernel/smp.c | apic_write(APIC_SPIV,cfg); |
cfg | 715 | arch/i386/kernel/smp.c | cfg=pg0[0]; |
cfg | 727 | arch/i386/kernel/smp.c | pg0[0]= cfg; |
cfg | 757 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 758 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 759 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 760 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 761 | arch/i386/kernel/smp.c | cfg&=~0xCDFFF; /* Clear bits */ |
cfg | 762 | arch/i386/kernel/smp.c | cfg |= (APIC_DEST_FIELD | APIC_DEST_LEVELTRIG |
cfg | 764 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Send IPI */ |
cfg | 769 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 770 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 771 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 772 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 773 | arch/i386/kernel/smp.c | cfg&=~0xCDFFF; /* Clear bits */ |
cfg | 774 | arch/i386/kernel/smp.c | cfg |= (APIC_DEST_FIELD | APIC_DEST_LEVELTRIG |
cfg | 776 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Send IPI */ |
cfg | 806 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 807 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 808 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 809 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 810 | arch/i386/kernel/smp.c | cfg&=~0xCDFFF; /* Clear bits */ |
cfg | 811 | arch/i386/kernel/smp.c | cfg |= (APIC_DEST_FIELD |
cfg | 814 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Kick the second */ |
cfg | 875 | arch/i386/kernel/smp.c | cfg = pg0[0]; |
cfg | 892 | arch/i386/kernel/smp.c | pg0[0] = cfg; |
cfg | 937 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 1008 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 1009 | arch/i386/kernel/smp.c | if(!(cfg&(1<<12))) |
cfg | 1026 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 1027 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 1028 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(target)); /* Target chip */ |
cfg | 1029 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 1030 | arch/i386/kernel/smp.c | cfg&=~0xFDFFF; /* Clear bits */ |
cfg | 1031 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_FIELD|APIC_DEST_DM_FIXED|irq; /* Send an IRQ 13 */ |
cfg | 1039 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_ALLBUT; |
cfg | 1045 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_ALLINC; |
cfg | 1059 | 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 | 1288 | drivers/sound/sb_dsp.c | unsigned char cfg, irq_bits = 0, dma_bits = 0; |
cfg | 1301 | drivers/sound/sb_dsp.c | cfg = 0x50; /* Enable only DMA counter interrupt */ |
cfg | 1324 | drivers/sound/sb_dsp.c | cfg = 0x10; /* Disable all interrupts */ |
cfg | 1328 | drivers/sound/sb_dsp.c | if (!ess_write (0xb1, cfg | (irq_bits << 2))) |
cfg | 1335 | drivers/sound/sb_dsp.c | cfg = 0x50; /* Extended mode DMA enable */ |
cfg | 1340 | drivers/sound/sb_dsp.c | cfg = 0x00; /* Disable all DMA */ |
cfg | 1351 | drivers/sound/sb_dsp.c | if (!ess_write (0xb2, cfg | (dma_bits << 2))) |
cfg | 1358 | drivers/sound/sb_dsp.c | cfg = sb_getmixer (0x40); |
cfg | 1359 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg | 0x03); |
cfg | 1366 | drivers/sound/sb_dsp.c | unsigned char cfg, tmp; |
cfg | 1368 | drivers/sound/sb_dsp.c | cfg = sb_getmixer (0x40) & 0x03; |
cfg | 1374 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg); |
cfg | 1378 | drivers/sound/sb_dsp.c | cfg |= tmp << 3; |
cfg | 1398 | drivers/sound/sb_dsp.c | cfg |= tmp << 5; |
cfg | 1408 | 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 | 103 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 106 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 108 | scripts/tkcond.c | if( cfg->cond == NULL ) |
cfg | 113 | scripts/tkcond.c | for(cond = cfg->cond; cond != NULL; cond = cond->next) |
cfg | 118 | scripts/tkcond.c | if( cond->variable.cfg->tok != tok_choice ) |
cfg | 126 | scripts/tkcond.c | strcpy(tmpbuf, cond->variable.cfg->label); |
cfg | 130 | scripts/tkcond.c | cond->variable.cfg = cond->variable.cfg->choice_label; |
cfg | 156 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 193 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 195 | scripts/tkcond.c | if( cfg->tok != tok_bool |
cfg | 196 | scripts/tkcond.c | && cfg->tok != tok_int |
cfg | 197 | scripts/tkcond.c | && cfg->tok != tok_hex |
cfg | 198 | scripts/tkcond.c | && cfg->tok != tok_tristate |
cfg | 199 | scripts/tkcond.c | && cfg->tok != tok_choice |
cfg | 200 | scripts/tkcond.c | && cfg->tok != tok_dep_tristate) |
cfg | 204 | scripts/tkcond.c | if( strcmp(cfg->optionname, ocond->variable.str) == 0) |
cfg | 206 | scripts/tkcond.c | new->variable.cfg = cfg; |
cfg | 211 | scripts/tkcond.c | if( cfg == NULL ) |
cfg | 273 | scripts/tkcond.c | new->variable.cfg = ocond->variable.cfg; |
cfg | 302 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 325 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 327 | scripts/tkcond.c | switch(cfg->tok) |
cfg | 334 | scripts/tkcond.c | conditions[depth] = cfg->cond; |
cfg | 336 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 337 | scripts/tkcond.c | cfg->cond = NULL; |
cfg | 346 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 352 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 367 | scripts/tkcond.c | cfg->cond = get_token_cond(&conditions[0], depth); |
cfg | 375 | scripts/tkcond.c | conditions[depth] = cfg->cond; |
cfg | 377 | scripts/tkcond.c | cfg->cond = get_token_cond(&conditions[0], depth); |
cfg | 396 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 398 | scripts/tkcond.c | switch(cfg->tok) |
cfg | 405 | scripts/tkcond.c | for(cfg1=cfg;cfg1 != NULL; cfg1 = cfg1->next) |
cfg | 415 | scripts/tkcond.c | if( strcmp(cfg->optionname, cfg1->optionname) == 0) |
cfg | 417 | scripts/tkcond.c | cfg->flags |= CFG_DUP; |
cfg | 442 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 447 | scripts/tkcond.c | if(cfg->cond == NULL) continue; |
cfg | 448 | scripts/tkcond.c | for(cnd = cfg->cond; cnd; cnd=cnd->next) |
cfg | 455 | scripts/tkcond.c | if(cnd->variable.cfg->cond == NULL) continue; |
cfg | 457 | scripts/tkcond.c | if(cnd->variable.cfg->flags & CFG_DUP) continue; |
cfg | 462 | scripts/tkcond.c | newcond = get_token_cond_frag(cnd->variable.cfg->cond, &last); |
cfg | 467 | scripts/tkcond.c | last->next = cfg->cond; |
cfg | 468 | scripts/tkcond.c | cfg->cond = newcond; |
cfg | 479 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 484 | scripts/tkcond.c | if(cfg->cond == NULL) continue; |
cfg | 485 | scripts/tkcond.c | for(cnd = cfg->cond; cnd; cnd=cnd->next) |
cfg | 511 | scripts/tkcond.c | || cnd2->variable.cfg != cnd3->variable.cfg) ) break; |
cfg | 155 | scripts/tkgen.c | void clear_globalflags(struct kconfig * cfg) |
cfg | 157 | scripts/tkgen.c | for(; cfg != NULL; cfg = cfg->next) |
cfg | 159 | scripts/tkgen.c | cfg->flags &= ~GLOBAL_WRITTEN; |
cfg | 196 | scripts/tkgen.c | if(cond->variable.cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 197 | scripts/tkgen.c | cond->variable.cfg->flags |= GLOBAL_WRITTEN; |
cfg | 198 | scripts/tkgen.c | global(cond->variable.cfg->optionname); |
cfg | 249 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
cfg | 389 | scripts/tkgen.c | if(cond->variable.cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 390 | scripts/tkgen.c | cond->variable.cfg->flags |= GLOBAL_WRITTEN; |
cfg | 391 | scripts/tkgen.c | global(cond->variable.cfg->optionname); |
cfg | 435 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
cfg | 502 | scripts/tkgen.c | struct kconfig * cfg; |
cfg | 563 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 568 | scripts/tkgen.c | if (cfg->menu_number != menu_num ) continue; |
cfg | 569 | scripts/tkgen.c | if (cfg->tok != tok_define) continue; |
cfg | 573 | scripts/tkgen.c | if( (cfg->flags & GLOBAL_WRITTEN) == 0 |
cfg | 574 | scripts/tkgen.c | && (cfg->optionname != NULL) ) |
cfg | 576 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 577 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 578 | scripts/tkgen.c | printf("\tset %s 0\n", cfg->optionname); |
cfg | 582 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 587 | scripts/tkgen.c | if (cfg->menu_number != menu_num ) continue; |
cfg | 588 | scripts/tkgen.c | if (cfg->tok == tok_menuoption) continue; |
cfg | 589 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 590 | scripts/tkgen.c | generate_if(cfg, cfg->cond, menu_num, cfg->menu_line); |
cfg | 599 | scripts/tkgen.c | if(cfg->tok == tok_dep_tristate) |
cfg | 601 | scripts/tkgen.c | global(cfg->depend.str); |
cfg | 603 | scripts/tkgen.c | cfg->depend.str,cfg->depend.str, |
cfg | 604 | scripts/tkgen.c | menu_num, cfg->menu_line, |
cfg | 605 | scripts/tkgen.c | menu_num, cfg->menu_line); |
cfg | 621 | scripts/tkgen.c | static void find_menu_size(struct kconfig *cfg, |
cfg | 633 | scripts/tkgen.c | for(pnt = cfg->next; pnt; pnt = pnt->next) |
cfg | 652 | scripts/tkgen.c | *menu_max = cfg->menu_number; |
cfg | 666 | scripts/tkgen.c | struct kconfig * cfg; |
cfg | 673 | scripts/tkgen.c | for(cfg = scfg;cfg != NULL; cfg = cfg->next) |
cfg | 675 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 688 | scripts/tkgen.c | cfg->menu_number = ++menu_num; |
cfg | 689 | scripts/tkgen.c | find_menu_size(cfg, &menu_max, &menu_maxlines); |
cfg | 690 | scripts/tkgen.c | cfg->submenu_start = menu_num; |
cfg | 691 | scripts/tkgen.c | cfg->submenu_end = menu_max; |
cfg | 708 | scripts/tkgen.c | cfg->menu_number = menu_num; |
cfg | 709 | scripts/tkgen.c | cfg->submenu_start = menu_min; |
cfg | 710 | scripts/tkgen.c | cfg->submenu_end = menu_max; |
cfg | 711 | scripts/tkgen.c | cfg->menu_line = menu_line++; |
cfg | 714 | scripts/tkgen.c | cfg->menu_number = -1; |
cfg | 733 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 735 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 738 | scripts/tkgen.c | printf("mainmenu_name \"%s\"\n", cfg->label); |
cfg | 746 | scripts/tkgen.c | if( cfg->menu_number > 1 ) |
cfg | 750 | scripts/tkgen.c | menulabel = cfg->label; |
cfg | 751 | scripts/tkgen.c | start_proc(cfg->label, cfg->menu_number, TRUE); |
cfg | 752 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 753 | scripts/tkgen.c | menu_max = cfg->submenu_end; |
cfg | 754 | scripts/tkgen.c | menu_min = cfg->submenu_start; |
cfg | 762 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 765 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 766 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 769 | scripts/tkgen.c | cfg->menu_number, |
cfg | 770 | scripts/tkgen.c | cfg->menu_line, |
cfg | 771 | scripts/tkgen.c | cfg->label, |
cfg | 772 | scripts/tkgen.c | cfg->optionname); |
cfg | 778 | scripts/tkgen.c | cfg->label, |
cfg | 780 | scripts/tkgen.c | cfg->label, |
cfg | 784 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 787 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 788 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 790 | scripts/tkgen.c | printf("\tglobal %s\n",cfg->optionname); |
cfg | 792 | scripts/tkgen.c | cfg->menu_number, |
cfg | 793 | scripts/tkgen.c | cfg->menu_line, |
cfg | 794 | scripts/tkgen.c | cfg->label, |
cfg | 795 | scripts/tkgen.c | cfg->optionname, |
cfg | 802 | scripts/tkgen.c | cfg->next->optionname); |
cfg | 803 | scripts/tkgen.c | printf("\tmenu $w.config.f.x%d.x.menu\n", cfg->menu_line); |
cfg | 804 | scripts/tkgen.c | cfg1 = cfg; |
cfg | 807 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 810 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 811 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 814 | scripts/tkgen.c | cfg->menu_number, |
cfg | 815 | scripts/tkgen.c | cfg->menu_line, |
cfg | 816 | scripts/tkgen.c | cfg->label, |
cfg | 817 | scripts/tkgen.c | cfg->optionname); |
cfg | 820 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 823 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 824 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 827 | scripts/tkgen.c | cfg->menu_number, |
cfg | 828 | scripts/tkgen.c | cfg->menu_line, |
cfg | 829 | scripts/tkgen.c | cfg->label, |
cfg | 830 | scripts/tkgen.c | cfg->optionname, |
cfg | 831 | scripts/tkgen.c | cfg->depend.str); |
cfg | 834 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 837 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 838 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 841 | scripts/tkgen.c | cfg->menu_number, |
cfg | 842 | scripts/tkgen.c | cfg->menu_line, |
cfg | 843 | scripts/tkgen.c | cfg->label, |
cfg | 844 | scripts/tkgen.c | cfg->optionname); |
cfg | 847 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 850 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 851 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 854 | scripts/tkgen.c | cfg->menu_number, |
cfg | 855 | scripts/tkgen.c | cfg->menu_line, |
cfg | 856 | scripts/tkgen.c | cfg->label, |
cfg | 857 | scripts/tkgen.c | cfg->optionname); |
cfg | 896 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 898 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 901 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 902 | scripts/tkgen.c | generate_if(cfg, cfg->cond, cfg->menu_number, cfg->menu_line); |
cfg | 915 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 920 | scripts/tkgen.c | if( cfg->tok != tok_define) continue; |
cfg | 921 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 922 | scripts/tkgen.c | generate_if(cfg, cfg->cond, menu_num, cfg->menu_line); |
cfg | 925 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, cfg->value); |
cfg | 936 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 938 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 944 | scripts/tkgen.c | printf("set %s 0\n", cfg->optionname); |
cfg | 948 | scripts/tkgen.c | printf("set %s %s\n", cfg->optionname, cfg->value); |
cfg | 951 | scripts/tkgen.c | printf("set %s \"(not set)\"\n",cfg->optionname); |
cfg | 975 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 977 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 986 | scripts/tkgen.c | if(cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 987 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 988 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 992 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 993 | scripts/tkgen.c | generate_if_for_outfile(cfg, cfg->cond); |
cfg | 996 | scripts/tkgen.c | if(cfg->tok == tok_dep_tristate) |
cfg | 1003 | scripts/tkgen.c | cfg->depend.str, |
cfg | 1004 | scripts/tkgen.c | cfg->optionname, |
cfg | 1005 | scripts/tkgen.c | cfg->optionname, |
cfg | 1006 | scripts/tkgen.c | cfg->optionname, |
cfg | 1007 | scripts/tkgen.c | cfg->depend.str); |
cfg | 1009 | scripts/tkgen.c | else if(cfg->tok == tok_comment) |
cfg | 1011 | scripts/tkgen.c | printf("\twrite_comment $cfg $autocfg \"%s\"\n", cfg->label); |
cfg | 1014 | scripts/tkgen.c | else if(cfg->tok == tok_define) |
cfg | 1016 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, |
cfg | 1017 | scripts/tkgen.c | cfg->value); |
cfg | 1020 | scripts/tkgen.c | else if (cfg->tok == tok_choose ) |
cfg | 1022 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 1027 | scripts/tkgen.c | cfg->optionname, |
cfg | 1032 | scripts/tkgen.c | else if (cfg->tok == tok_int ) |
cfg | 1035 | scripts/tkgen.c | cfg->optionname, |
cfg | 1036 | scripts/tkgen.c | cfg->optionname); |
cfg | 1038 | scripts/tkgen.c | else if (cfg->tok == tok_hex ) |
cfg | 1041 | scripts/tkgen.c | cfg->optionname, |
cfg | 1042 | scripts/tkgen.c | cfg->optionname); |
cfg | 1044 | scripts/tkgen.c | else if (cfg->tok == tok_make ) |
cfg | 1046 | scripts/tkgen.c | printf("\tdo_make {%s}\n",cfg->value); |
cfg | 1051 | scripts/tkgen.c | cfg->optionname, |
cfg | 1052 | scripts/tkgen.c | cfg->optionname); |
cfg | 1070 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 1072 | scripts/tkgen.c | if( cfg->tok != tok_choose ) continue; |
cfg | 1073 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 1083 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 1085 | scripts/tkgen.c | if( cfg->tok != tok_choose ) continue; |
cfg | 1086 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 1087 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 1094 | scripts/tkgen.c | cfg->optionname, |
cfg | 1102 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 1104 | scripts/tkgen.c | if( cfg->tok != tok_define ) continue; |
cfg | 1105 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n", cfg->optionname, cfg->optionname); |
cfg | 1106 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 1108 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 1110 | scripts/tkgen.c | if( cfg->tok != tok_define ) continue; |
cfg | 1111 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 1112 | scripts/tkgen.c | generate_if(cfg, cfg->cond, -1, 0); |
cfg | 1116 | scripts/tkgen.c | cfg->optionname, cfg->value); |
cfg | 646 | scripts/tkparse.c | struct kconfig * cfg; |
cfg | 679 | scripts/tkparse.c | for(cfg = config; cfg; cfg = cfg->next) |
cfg | 682 | scripts/tkparse.c | if(cfg->cond != NULL && cfg->tok != tok_if) |
cfg | 683 | scripts/tkparse.c | dump_if(cfg->cond); |
cfg | 685 | scripts/tkparse.c | switch(cfg->tok) |
cfg | 723 | scripts/tkparse.c | switch(cfg->tok) |
cfg | 728 | scripts/tkparse.c | printf("%s\n", cfg->label); |
cfg | 735 | scripts/tkparse.c | printf("%s %s\n", cfg->label, cfg->optionname); |
cfg | 738 | scripts/tkparse.c | dump_if(cfg->cond); |
cfg | 42 | scripts/tkparse.h | struct kconfig * cfg; |