Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 25 of 58) sorted by relevance

123

/linux-2.4.37.9/arch/mips/mm/
Dpg-r4k.c81 static void __init emit_instruction(union mips_instruction mi) in emit_instruction() argument
87 delayed_mi = mi; in emit_instruction()
113 union mips_instruction mi; in build_insn_word() local
115 mi.word = word; in build_insn_word()
117 emit_instruction(mi); in build_insn_word()
128 union mips_instruction mi; in build_src_pref() local
130 mi.i_format.opcode = pref_op; in build_src_pref()
131 mi.i_format.rs = 5; /* $a1 */ in build_src_pref()
132 mi.i_format.rt = pref_src_mode; in build_src_pref()
133 mi.i_format.simmediate = load_offset + advance; in build_src_pref()
[all …]
/linux-2.4.37.9/arch/mips64/mm/
Dpg-r4k.c81 static void __init emit_instruction(union mips_instruction mi) in emit_instruction() argument
87 delayed_mi = mi; in emit_instruction()
113 union mips_instruction mi; in build_insn_word() local
115 mi.word = word; in build_insn_word()
117 emit_instruction(mi); in build_insn_word()
128 union mips_instruction mi; in build_src_pref() local
130 mi.i_format.opcode = pref_op; in build_src_pref()
131 mi.i_format.rs = 5; /* $a1 */ in build_src_pref()
132 mi.i_format.rt = pref_src_mode; in build_src_pref()
133 mi.i_format.simmediate = load_offset + advance; in build_src_pref()
[all …]
/linux-2.4.37.9/drivers/sound/
Dwf_midi.c125 #define BUFTEST(mi) if (mi->m_ptr >= MI_MAX || mi->m_ptr < 0) \ argument
127 mi->m_ptr, mi->m_left, mi->m_state);mi->m_ptr--;}
146 struct midi_input_info *mi = &midi_devs[devno]->in_info; in wf_mpu_input_scanner() local
148 switch (mi->m_state) { in wf_mpu_input_scanner()
185 mi->m_state = MST_SYSMSG; in wf_mpu_input_scanner()
190 mi->m_state = MST_TIMED; in wf_mpu_input_scanner()
202 mi->m_state = MST_DATA; in wf_mpu_input_scanner()
206 msg = ((int) (mi->m_prev_status & 0xf0) >> 4); in wf_mpu_input_scanner()
208 mi->m_left = len_tab[msg] - 1; in wf_mpu_input_scanner()
210 mi->m_ptr = 2; in wf_mpu_input_scanner()
[all …]
/linux-2.4.37.9/arch/arm/mm/
Dinit.c179 find_bootmap_pfn(int node, struct meminfo *mi, unsigned int bootmap_pages) in find_bootmap_pfn() argument
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()
225 find_memend_and_nodes(struct meminfo *mi, struct node_info *np) in find_memend_and_nodes() argument
235 for (i = 0; i < mi->nr_banks; i++) { in find_memend_and_nodes()
239 if (mi->bank[i].size == 0) { in find_memend_and_nodes()
243 mi->bank[i].node = -1; in find_memend_and_nodes()
[all …]
Dmm-armv.c310 void __init memtable_init(struct meminfo *mi) in memtable_init() argument
318 for (i = 0; i < mi->nr_banks; i++) { in memtable_init()
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()
422 static inline void free_unused_memmap_node(int node, struct meminfo *mi) in free_unused_memmap_node() argument
432 for (i = 0; i < mi->nr_banks; i++) { in free_unused_memmap_node()
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()
[all …]
/linux-2.4.37.9/arch/arm/mach-clps711x/
Dedb7211-arch.c33 char **cmdline, struct meminfo *mi) in fixup_edb7211() argument
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()
49 mi->nr_banks = 2; in fixup_edb7211()
Dclep7312.c31 char **cmdline, struct meminfo *mi) in fixup_clep7312() argument
33 mi->nr_banks=1; in fixup_clep7312()
34 mi->end = 0xc0FFFFFF; in fixup_clep7312()
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()
Dfortunet.c63 char **cmdline, struct meminfo *mi) in fortunet_fixup() argument
82 mi->nr_banks=2; in fortunet_fixup()
85 *mi = memmap; in fortunet_fixup()
/linux-2.4.37.9/arch/arm/mach-epxa/
Darch-epxa10db.c38 char **cmdline, struct meminfo *mi) in epxa10db_fixup() argument
41 mi->nr_banks = 1; in epxa10db_fixup()
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()
Darch-epxa1db.c37 char **cmdline, struct meminfo *mi) in epxa1db_fixup() argument
40 mi->nr_banks = 1; in epxa1db_fixup()
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/mach-footbridge/
Darch.c42 char **cmdline, struct meminfo *mi) in fixup_ebsa285() argument
71 char **cmdline, struct meminfo *mi) in FIXUP()
120 char **cmdline, struct meminfo *mi) in FIXUP()
142 char **cmdline, struct meminfo *mi) in FIXUP()
147 mi->nr_banks = 1; in FIXUP()
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/arch/arm/mach-sa1100/
Dcerf.c39 char **cmdline, struct meminfo *mi) in fixup_cerf() argument
43 mi->nr_banks = 1; in fixup_cerf()
46 mi->nr_banks = 1; in fixup_cerf()
50 mi->nr_banks = 2; in fixup_cerf()
53 mi->nr_banks = 1; in fixup_cerf()
Dgeneric.h11 mi->bank[__nr].start = (__start), \
12 mi->bank[__nr].size = (__size), \
13 mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
Dsherman.c21 char **cmdline, struct meminfo *mi) in fixup_sherman() argument
25 mi->nr_banks = 2; in fixup_sherman()
Ditsy.c21 char **cmdline, struct meminfo *mi) in fixup_itsy() argument
27 mi->nr_banks = 4; in fixup_itsy()
Domnimeter.c21 char **cmdline, struct meminfo *mi) in fixup_omnimeter() argument
24 mi->nr_banks = 1; in fixup_omnimeter()
Dempeg.c21 char **cmdline, struct meminfo *mi) in fixup_empeg() argument
25 mi->nr_banks = 2; in fixup_empeg()
Dbrutus.c27 char **cmdline, struct meminfo *mi) in fixup_brutus() argument
33 mi->nr_banks = 4; in fixup_brutus()
Dpangolin.c21 char **cmdline, struct meminfo *mi) in fixup_pangolin() argument
24 mi->nr_banks = 1; in fixup_pangolin()
Dvictor.c46 char **cmdline, struct meminfo *mi) in fixup_victor() argument
49 mi->nr_banks = 1; in fixup_victor()
Dhuw_webpanel.c35 char **cmdline, struct meminfo *mi) in fixup_huw_webpanel() argument
42 mi->nr_banks = 1; in fixup_huw_webpanel()
Dpleb.c20 char **cmdline, struct meminfo *mi) in fixup_pleb() argument
29 mi->nr_banks = 2; /* Default 32MB */ in fixup_pleb()
/linux-2.4.37.9/arch/arm/kernel/
Darch.c56 char **cmdline, struct meminfo *mi) in fixup_riscpc() argument
114 char **cmdline, struct meminfo *mi) in fixup_l7200() argument
116 mi->nr_banks = 1; in fixup_l7200()
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()
Dsetup.c180 parse_cmdline(struct meminfo *mi, char **cmdline_p, char *from) in parse_cmdline() argument
199 mi->nr_banks = 0; in parse_cmdline()
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()
210 mi->nr_banks += 1; in parse_cmdline()
268 request_standard_resources(struct meminfo *mi, struct machine_desc *mdesc) in request_standard_resources() argument
278 for (i = 0; i < mi->nr_banks; i++) { in request_standard_resources()
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()
[all …]
/linux-2.4.37.9/include/linux/
Dkdev_t.h73 #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi)) argument
121 #define MKDEV(ma,mi) ((ma)<<8 | (mi)) argument

123