/linux-2.4.37.9/arch/mips/sgi-ip22/ |
D | ip22-mc.c | 33 static inline unsigned int get_bank_config(int bank) in get_bank_config() argument 35 unsigned int res = bank > 1 ? sgimc->mconfig1 : sgimc->mconfig0; in get_bank_config() 36 return bank % 2 ? res & 0xffff : res >> 16; in get_bank_config() 50 struct mem bank[4]; in probe_memory() local 54 for (i = 0; i < ARRAY_SIZE(bank); i++) { in probe_memory() 59 bank[cnt].size = get_bank_size(tmp); in probe_memory() 60 bank[cnt].addr = get_bank_addr(tmp); in probe_memory() 62 i, bank[cnt].size / 1024 / 1024, bank[cnt].addr); in probe_memory() 72 if (bank[i-1].addr > bank[i].addr) { in probe_memory() 73 addr = bank[i].addr; in probe_memory() [all …]
|
/linux-2.4.37.9/arch/arm/mm/ |
D | init.c | 181 unsigned int start_pfn, bank, bootmap_pfn; in find_bootmap_pfn() local 186 for (bank = 0; bank < mi->nr_banks; bank ++) { in find_bootmap_pfn() 189 if (mi->bank[bank].node != node) in find_bootmap_pfn() 192 start = O_PFN_UP(mi->bank[bank].start); in find_bootmap_pfn() 193 end = O_PFN_DOWN(mi->bank[bank].size + in find_bootmap_pfn() 194 mi->bank[bank].start); in find_bootmap_pfn() 239 if (mi->bank[i].size == 0) { in find_memend_and_nodes() 243 mi->bank[i].node = -1; in find_memend_and_nodes() 247 node = mi->bank[i].node; in find_memend_and_nodes() 265 start = O_PFN_UP(mi->bank[i].start); in find_memend_and_nodes() [all …]
|
D | mm-armv.c | 319 if (mi->bank[i].size == 0) in memtable_init() 322 p->physical = mi->bank[i].start; in memtable_init() 324 p->length = mi->bank[i].size; in memtable_init() 433 if (mi->bank[i].size == 0 || mi->bank[i].node != node) in free_unused_memmap_node() 436 bank_start = mi->bank[i].start & PAGE_MASK; in free_unused_memmap_node() 445 prev_bank_end = PAGE_ALIGN(mi->bank[i].start + in free_unused_memmap_node() 446 mi->bank[i].size); in free_unused_memmap_node()
|
/linux-2.4.37.9/arch/arm/mach-clps711x/ |
D | edb7211-arch.c | 43 mi->bank[0].start = 0xc0000000; in fixup_edb7211() 44 mi->bank[0].size = 8*1024*1024; in fixup_edb7211() 45 mi->bank[0].node = 0; in fixup_edb7211() 46 mi->bank[1].start = 0xc1000000; in fixup_edb7211() 47 mi->bank[1].size = 8*1024*1024; in fixup_edb7211() 48 mi->bank[1].node = 1; in fixup_edb7211()
|
D | fortunet.c | 75 memmap.bank[0].size = ip->ram_size; in fortunet_fixup() 76 memmap.bank[0].node = PHYS_TO_NID(0xC0000000); in fortunet_fixup() 79 memmap.bank[1].start = ip->extra_ram_start; in fortunet_fixup() 80 memmap.bank[1].size = ip->extra_ram_size; in fortunet_fixup() 81 memmap.bank[1].node = PHYS_TO_NID(ip->extra_ram_start); in fortunet_fixup()
|
D | clep7312.c | 35 mi->bank[0].start = 0xc0000000; in fixup_clep7312() 36 mi->bank[0].size = 0x01000000; in fixup_clep7312() 37 mi->bank[0].node = 0; in fixup_clep7312()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | sys_ruffian.c | 180 unsigned long bank_addr, bank, ret = 0; in ruffian_get_bank_size() local 185 bank = *(vulp)bank_addr; in ruffian_get_bank_size() 188 if (bank & 0x01) { in ruffian_get_bank_size() 201 bank = (bank & 0x1e) >> 1; in ruffian_get_bank_size() 202 if (bank < sizeof(size)/sizeof(*size)) in ruffian_get_bank_size() 203 ret = size[bank]; in ruffian_get_bank_size()
|
/linux-2.4.37.9/drivers/char/ |
D | scx200.c | 82 int bank; in scx200_init() local 103 for (bank = 0; bank < 2; ++bank) in scx200_init() 104 scx200_gpio_shadow[bank] = inl(scx200_gpio_base + 0x10 * bank); in scx200_init()
|
/linux-2.4.37.9/drivers/sound/ |
D | ymfpci.c | 617 le32_to_cpu(voice->bank[0].start), in ymf_pcm_interrupt() 618 le32_to_cpu(voice->bank[1].start)); in ymf_pcm_interrupt() 626 pos = le32_to_cpu(voice->bank[codec->active_bank].start); in ymf_pcm_interrupt() 729 pos = le32_to_cpu(cap->bank[unit->active_bank].start); in ymf_cap_interrupt() 841 ymfpci_playback_bank_t *bank; in ymf_pcm_init_voice() local 858 bank = &voice->bank[nbank]; in ymf_pcm_init_voice() 859 bank->format = cpu_to_le32(format); in ymf_pcm_init_voice() 860 bank->loop_default = 0; /* 0-loops forever, otherwise count */ in ymf_pcm_init_voice() 861 bank->base = cpu_to_le32(addr); in ymf_pcm_init_voice() 862 bank->loop_start = 0; in ymf_pcm_init_voice() [all …]
|
D | trident.c | 567 struct trident_pcm_bank *bank = &card->banks[channel >> 5]; in trident_enable_voice_irq() local 568 u32 reg, addr = bank->addresses->aint_en; in trident_enable_voice_irq() 584 struct trident_pcm_bank *bank = &card->banks[channel >> 5]; in trident_disable_voice_irq() local 585 u32 reg, addr = bank->addresses->aint_en; in trident_disable_voice_irq() 592 outl(mask, TRID_REG(card, bank->addresses->aint)); in trident_disable_voice_irq() 604 struct trident_pcm_bank *bank = &card->banks[channel >> 5]; in trident_start_voice() local 605 u32 addr = bank->addresses->start; in trident_start_voice() 623 struct trident_pcm_bank *bank = &card->banks[channel >> 5]; in trident_stop_voice() local 624 u32 addr = bank->addresses->stop; in trident_stop_voice() 641 struct trident_pcm_bank *bank = &card->banks[channel]; in trident_get_interrupt_mask() local [all …]
|
D | awe_wave.c | 85 unsigned char bank, instr; /* preset number information */ member 137 int bank; /* current tone bank */ member 369 static int awe_search_key(int bank, int preset, int note); 370 static awe_voice_list *awe_search_instr(int bank, int preset, int note); 1826 if (cp->bank != AWE_DRUM_BANK && ((awe_voice_parm_block*)(&ap->parm))->volatk < 0x7d) { in awe_calc_volume() 1947 cp->bank = AWE_DRUM_BANK; in awe_channel_init() 1950 cp->bank = ctrls[AWE_MD_DEF_BANK]; in awe_channel_init() 2253 awe_search_key(int bank, int preset, int note) in awe_search_key() argument 2258 if (bank == AWE_DRUM_BANK) in awe_search_key() 2261 key = bank + preset; in awe_search_key() [all …]
|
/linux-2.4.37.9/drivers/net/irda/ |
D | nsc-ircc.c | 895 __u8 bank; in nsc_ircc_read_dongle_id() local 897 bank = inb(iobase+BSR); in nsc_ircc_read_dongle_id() 918 outb(bank, iobase+BSR); in nsc_ircc_read_dongle_id() 933 int bank; in nsc_ircc_init_dongle_interface() local 936 bank = inb(iobase+BSR); in nsc_ircc_init_dongle_interface() 1006 outb(bank, iobase+BSR); in nsc_ircc_init_dongle_interface() 1019 __u8 bank; in nsc_ircc_change_dongle_speed() local 1022 bank = inb(iobase+BSR); in nsc_ircc_change_dongle_speed() 1093 outb(bank, iobase+BSR); in nsc_ircc_change_dongle_speed() 1107 __u8 bank; in nsc_ircc_change_speed() local [all …]
|
/linux-2.4.37.9/include/linux/ |
D | scx200_gpio.h | 13 #define __SCx200_GPIO_BANK unsigned bank = index>>5 14 #define __SCx200_GPIO_IOADDR unsigned short ioaddr = scx200_gpio_base+0x10*bank 15 #define __SCx200_GPIO_SHADOW long *shadow = scx200_gpio_shadow+bank 38 return (scx200_gpio_shadow[bank] & (1<<index)) ? 1 : 0; in scx200_gpio_current()
|
D | awe_voice.h | 202 unsigned char bank; /* midi bank number */ member 230 unsigned char bank; /* midi bank number */ member 393 #define AWE_SET_GUS_BANK(dev,bank) AWE_MISC_MODE(dev,AWE_MD_GUS_BANK,bank) argument
|
/linux-2.4.37.9/arch/arm/mach-sa1100/ |
D | generic.h | 11 mi->bank[__nr].start = (__start), \ 12 mi->bank[__nr].size = (__size), \ 13 mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
|
/linux-2.4.37.9/arch/ia64/sn/fakeprom/ |
D | fpmem.c | 316 int cnode,bank ; in build_efi_memmap() local 326 for (bank=0;bank<MD_BANKS_PER_NODE;bank++) { in build_efi_memmap() 327 numbytes = GetBankSize(bank, membank_info); in build_efi_memmap() 329 paddr = PHYS_ADDRESS(nasid, (long)bank<<MD_BANK_SHFT); in build_efi_memmap() 337 if (cnode == 0 && bank == 0 && in build_efi_memmap() 359 if (bank == 0) { in build_efi_memmap()
|
/linux-2.4.37.9/arch/arm/mach-epxa/ |
D | arch-epxa10db.c | 42 mi->bank[0].start = 0; in epxa10db_fixup() 43 mi->bank[0].size = (128*1024*1024); in epxa10db_fixup() 44 mi->bank[0].node = 0; in epxa10db_fixup()
|
D | arch-epxa1db.c | 41 mi->bank[0].start = 0; in epxa1db_fixup() 42 mi->bank[0].size = (32*1024*1024); in epxa1db_fixup() 43 mi->bank[0].node = 0; in epxa1db_fixup()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | setup.c | 207 mi->bank[mi->nr_banks].start = start; in parse_cmdline() 208 mi->bank[mi->nr_banks].size = size; in parse_cmdline() 209 mi->bank[mi->nr_banks].node = PHYS_TO_NID(start); in parse_cmdline() 281 if (mi->bank[i].size == 0) in request_standard_resources() 284 virt_start = __phys_to_virt(mi->bank[i].start); in request_standard_resources() 285 virt_end = virt_start + mi->bank[i].size - 1; in request_standard_resources() 351 meminfo.bank[meminfo.nr_banks].start = tag->u.mem.start; in parse_tag_mem32() 352 meminfo.bank[meminfo.nr_banks].size = tag->u.mem.size; in parse_tag_mem32() 353 meminfo.bank[meminfo.nr_banks].node = PHYS_TO_NID(tag->u.mem.start); in parse_tag_mem32() 529 meminfo.bank[0].start = PHYS_OFFSET; in setup_arch() [all …]
|
D | arch.c | 117 mi->bank[0].start = PHYS_OFFSET; in fixup_l7200() 118 mi->bank[0].size = (32*1024*1024); in fixup_l7200() 119 mi->bank[0].node = 0; in fixup_l7200()
|
/linux-2.4.37.9/arch/arm/mach-footbridge/ |
D | arch.c | 148 mi->bank[0].start = PHYS_OFFSET; in FIXUP() 149 mi->bank[0].size = boot_memory_end; in FIXUP() 150 mi->bank[0].node = 0; in FIXUP()
|
/linux-2.4.37.9/include/net/irda/ |
D | ali-ircc.h | 224 static inline void switch_bank(int iobase, int bank) in switch_bank() argument 226 outb(bank, iobase+FIR_MCR); in switch_bank()
|
D | nsc-ircc.h | 273 static inline void switch_bank(int iobase, int bank) in switch_bank() argument 275 outb(bank, iobase+BSR); in switch_bank()
|
/linux-2.4.37.9/drivers/mtd/chips/ |
D | jedec.c | 510 unsigned long bank = from & (~(priv->bank_fill[0]-1)); in jedec_read_banked() local 516 bank /= priv->bank_fill[0]; in jedec_read_banked() 517 map->copy_from(map,buf + *retlen,bank*my_bank_size + offset,get); in jedec_read_banked() 778 unsigned long bank; in flash_write() local 786 bank = base & (~(priv->bank_fill[0]-1)); in flash_write() 788 bank = (bank/priv->bank_fill[0])*my_bank_size; in flash_write() 789 base = bank + boffset; in flash_write()
|
/linux-2.4.37.9/Documentation/sound/ |
D | AWE32 | 29 bank file. The utility needed for doing this is called "sfxload", and it 43 To enable AWE general midi synthesis you should also get the sound bank 58 path of of the sound bank file. That will enable the Sound Blaster and AWE
|