Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 55) sorted by relevance

123

/linux-2.4.37.9/arch/ia64/kernel/
Defi.c220 is_available_memory (efi_memory_desc_t *md) in is_available_memory() argument
222 if (!(md->attribute & EFI_MEMORY_WB)) in is_available_memory()
225 switch (md->type) { in is_available_memory()
242 trim_bottom (efi_memory_desc_t *md, u64 start_addr) in trim_bottom() argument
246 if (md->phys_addr >= start_addr || !md->num_pages) in trim_bottom()
249 num_skipped_pages = (start_addr - md->phys_addr) >> EFI_PAGE_SHIFT; in trim_bottom()
250 if (num_skipped_pages > md->num_pages) in trim_bottom()
251 num_skipped_pages = md->num_pages; in trim_bottom()
253 if (is_available_memory(md)) in trim_bottom()
257 md->phys_addr, start_addr - IA64_GRANULE_SIZE); in trim_bottom()
[all …]
Dfw-emu.c382 efi_memory_desc_t *efi_memmap, *md; in sys_fw_init() local
391 md = efi_memmap + i++; \ in sys_fw_init()
392 md->type = typ; \ in sys_fw_init()
393 md->pad = 0; \ in sys_fw_init()
394 md->phys_addr = start; \ in sys_fw_init()
395 md->virt_addr = 0; \ in sys_fw_init()
396 md->num_pages = (end - start) >> 12; \ in sys_fw_init()
397 md->attribute = attr; \ in sys_fw_init()
/linux-2.4.37.9/drivers/ide/raid/
Dmedley.c392 void medley_add_raiddrive(kdev_t dev, struct medley_metadata *md) in medley_add_raiddrive() argument
398 MAJOR(dev), MINOR(dev), md->drive_number, in medley_add_raiddrive()
399 md->drives_per_striped_set, md->chunk_size, in medley_add_raiddrive()
400 md->total_sectors_low, in medley_add_raiddrive()
401 md->total_sectors_low / 1024 / 1024 / 2); in medley_add_raiddrive()
404 if ((raid[c].timestamp[0] == md->creation_timestamp[0]) && in medley_add_raiddrive()
405 (raid[c].timestamp[1] == md->creation_timestamp[1]) && in medley_add_raiddrive()
406 (raid[c].timestamp[2] == md->creation_timestamp[2]) && in medley_add_raiddrive()
407 (raid[c].drives == md->drives_per_striped_set) && in medley_add_raiddrive()
408 (raid[c].chunk_size == md->chunk_size) && in medley_add_raiddrive()
[all …]
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_maven.c148 static int* get_ctrl_ptr(struct maven_data* md, int idx) { in get_ctrl_ptr() argument
149 return (int*)((char*)(md->primary_head) + maven_controls[idx].control); in get_ctrl_ptr()
336 static unsigned char maven_compute_deflicker (const struct maven_data* md) { in maven_compute_deflicker() argument
339 df = (md->version == MGATVO_B?0x40:0x00); in maven_compute_deflicker()
340 switch (md->primary_head->altout.tvo_params.deflicker) { in maven_compute_deflicker()
354 static void maven_compute_bwlevel (const struct maven_data* md, in maven_compute_bwlevel() argument
356 const int b = md->primary_head->altout.tvo_params.brightness + BLMIN; in maven_compute_bwlevel()
357 const int c = md->primary_head->altout.tvo_params.contrast; in maven_compute_bwlevel()
363 static const struct maven_gamma* maven_compute_gamma (const struct maven_data* md) { in maven_compute_gamma() argument
364 return maven_gamma + md->primary_head->altout.tvo_params.gamma; in maven_compute_gamma()
[all …]
Dmatroxfb_g450.c138 static int g450_query_ctrl(void* md, struct matroxfb_queryctrl *p) { in g450_query_ctrl() argument
159 static int g450_set_ctrl(void* md, struct matroxfb_control *p) { in g450_set_ctrl() argument
161 MINFO_FROM(md); in g450_set_ctrl()
213 static int g450_get_ctrl(void* md, struct matroxfb_control *p) { in g450_get_ctrl() argument
215 MINFO_FROM(md); in g450_get_ctrl()
513 static int matroxfb_g450_compute(void* md, struct my_timming* mt) { in matroxfb_g450_compute() argument
514 MINFO_FROM(md); in matroxfb_g450_compute()
551 static int matroxfb_g450_program(void* md) { in matroxfb_g450_program() argument
552 MINFO_FROM(md); in matroxfb_g450_program()
560 static int matroxfb_g450_verify_mode(void* md, u_int32_t arg) { in matroxfb_g450_verify_mode() argument
[all …]
/linux-2.4.37.9/arch/ia64/sn/fakeprom/
Dfpmem.c210 build_mem_desc(efi_memory_desc_t *md, int type, long paddr, long numbytes, long attr) in build_mem_desc() argument
212 md->type = type; in build_mem_desc()
213 md->phys_addr = paddr; in build_mem_desc()
214 md->virt_addr = 0; in build_mem_desc()
215 md->num_pages = numbytes >> 12; in build_mem_desc()
216 md->attribute = attr; in build_mem_desc()
270 build_efi_memmap(void *md, int mdsize) in build_efi_memmap() argument
279 build_mem_desc(md, mdx[i].type, mdx[i].start, mdx[i].end-mdx[i].start, mdx[i].attr); in build_efi_memmap()
280 md += mdsize; in build_efi_memmap()
313 build_efi_memmap(void *md, int mdsize) in build_efi_memmap() argument
[all …]
Dfw-emu.c480 static efi_memory_desc_t *efi_memmap, *md; in sys_fw_init() local
749 md = &efi_memmap[0]; in sys_fw_init()
750 num_memmd = build_efi_memmap((void *)md, mdsize) ; in sys_fw_init()
/linux-2.4.37.9/arch/arm/mm/
Dmm-armv.c224 static void __init create_mapping(struct map_desc *md) in create_mapping() argument
230 if (md->prot_read && md->prot_write && in create_mapping()
231 !md->cacheable && !md->bufferable) { in create_mapping()
234 md->physical, md->virtual); in create_mapping()
237 if (md->virtual != vectors_base() && md->virtual < PAGE_OFFSET) { in create_mapping()
240 md->physical, md->virtual); in create_mapping()
244 (md->prot_read ? L_PTE_USER : 0) | in create_mapping()
245 (md->prot_write ? L_PTE_WRITE : 0) | in create_mapping()
246 (md->cacheable ? L_PTE_CACHEABLE : 0) | in create_mapping()
247 (md->bufferable ? L_PTE_BUFFERABLE : 0); in create_mapping()
[all …]
/linux-2.4.37.9/Documentation/
Dmd.txt1 Tools that manage md devices can be found at
6 You can boot (if you selected boot support in the configuration) with your md
10 md=<md device no.>,<raid level>,<chunk size factor>,<fault level>,dev0,dev1,...,devn
13 md=<md device no.>,dev0,dev1,...,devn
15 md device no. = the number of the md device ...
35 e:\loadlin\loadlin e:\zimage root=/dev/md0 md=0,0,4,0,/dev/hdb2,/dev/hdc3 ro
/linux-2.4.37.9/fs/ncpfs/
Dinode.c277 struct ncp_mount_data* md = (struct ncp_mount_data*)raw_data; in ncp_read_super() local
279 data.flags = md->flags; in ncp_read_super()
281 data.mounted_uid = md->mounted_uid; in ncp_read_super()
282 data.wdog_pid = md->wdog_pid; in ncp_read_super()
283 data.ncp_fd = md->ncp_fd; in ncp_read_super()
284 data.time_out = md->time_out; in ncp_read_super()
285 data.retry_count = md->retry_count; in ncp_read_super()
286 data.uid = md->uid; in ncp_read_super()
287 data.gid = md->gid; in ncp_read_super()
288 data.file_mode = md->file_mode; in ncp_read_super()
[all …]
/linux-2.4.37.9/fs/partitions/
Dmac.c35 struct mac_driver_desc *md; in mac_partition() local
38 md = (struct mac_driver_desc *) read_dev_sector(bdev, 0, &sect); in mac_partition()
39 if (!md) in mac_partition()
41 if (be16_to_cpu(md->signature) != MAC_DRIVER_MAGIC) { in mac_partition()
45 secsize = be16_to_cpu(md->block_size); in mac_partition()
/linux-2.4.37.9/drivers/ieee1394/
Dpcilynx.c888 struct memdata *md; in mem_open() local
912 md = (struct memdata *)kmalloc(sizeof(struct memdata), SLAB_KERNEL); in mem_open()
913 if (md == NULL) in mem_open()
916 md->lynx = &cards[cid]; in mem_open()
917 md->cid = cid; in mem_open()
921 md->type = rom; in mem_open()
924 md->type = ram; in mem_open()
927 atomic_set(&md->aux_intr_last_seen, in mem_open()
929 md->type = aux; in mem_open()
933 file->private_data = md; in mem_open()
[all …]
/linux-2.4.37.9/drivers/char/
Dfetchop.c147 efi_memory_desc_t *md; in efi_memmap_walk_uc() local
155 md = p; in efi_memmap_walk_uc()
156 if (md->attribute == EFI_MEMORY_UC) { in efi_memmap_walk_uc()
157 start = PAGE_ALIGN(md->phys_addr); in efi_memmap_walk_uc()
158 end = PAGE_ALIGN((md->phys_addr+(md->num_pages << EFI_PAGE_SHIFT)) & PAGE_MASK); in efi_memmap_walk_uc()
/linux-2.4.37.9/drivers/md/
DMakefile7 export-objs := md.o xor.o
21 obj-$(CONFIG_BLK_DEV_MD) += md.o
/linux-2.4.37.9/lib/zlib_inflate/
Dinffast.c44 uInt md; /* mask for distance tree */ local
54 md = zlib_inflate_mask[bd];
78 e = (t = td + ((uInt)b & md))->exop;
/linux-2.4.37.9/drivers/
DMakefile10 message/i2o message/fusion scsi md ieee1394 pnp isdn atm \
38 subdir-$(CONFIG_MD) += md
/linux-2.4.37.9/arch/m68k/ifpsp060/src/
Dilsp.S548 mov.l %d1,%d4 # md in d4
550 swap %d4 # hi(md) in lo d4
553 mulu.w %d1,%d0 # [1] lo(mr) * lo(md)
554 mulu.w %d3,%d1 # [2] hi(mr) * lo(md)
555 mulu.w %d4,%d2 # [3] lo(mr) * hi(md)
556 mulu.w %d4,%d3 # [4] hi(mr) * hi(md)
674 mov.l %d1,%d4 # md in d4
676 swap %d4 # hi(md) in lo d4
679 mulu.w %d1,%d0 # [1] lo(mr) * lo(md)
680 mulu.w %d3,%d1 # [2] hi(mr) * lo(md)
[all …]
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_setup.c558 struct mac_driver_desc *md; in check_bootable_disk() local
564 md = (struct mac_driver_desc *) read_one_block(bdev, 0, &pg); in check_bootable_disk()
565 if (!md) in check_bootable_disk()
567 if (be16_to_cpu(md->signature) != MAC_DRIVER_MAGIC) in check_bootable_disk()
569 secsize = be16_to_cpu(md->block_size); in check_bootable_disk()
/linux-2.4.37.9/drivers/scsi/
Dmesh.c513 volatile struct dbdma_regs *md = ms->dma; in mesh_dump_regs() local
518 ms, mr, md); in mesh_dump_regs()
528 in_le32(&md->status), in_le32(&md->cmdptr)); in mesh_dump_regs()
553 volatile struct dbdma_regs *md = ms->dma; in mesh_host_reset() local
558 out_le32(&md->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* stop dma */ in mesh_host_reset()
613 volatile struct dbdma_regs *md = ms->dma; in mesh_init() local
618 out_le32(&md->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* stop dma */ in mesh_init()
895 volatile struct dbdma_regs *md = ms->dma; in start_phase() local
997 out_le32(&md->cmdptr, virt_to_phys(ms->dma_cmds)); in start_phase()
998 out_le32(&md->control, (RUN << 16) | RUN); in start_phase()
[all …]
/linux-2.4.37.9/fs/xfs/
Dxfs_acl.c479 mode_t md, in xfs_acl_access() argument
488 md >>= 6; /* Normalize the bits for comparison */ in xfs_acl_access()
505 allows = ((fap->acl_entry[i].ae_perm & md) == md); in xfs_acl_access()
570 return xfs_acl_capability_check(md, cr, fap); in xfs_acl_access()
/linux-2.4.37.9/include/asm-mips/
Dsgialib.h104 extern long prom_open(char *name, enum linux_omode md, unsigned long *fd);
/linux-2.4.37.9/include/asm-mips64/
Dsgialib.h104 extern long prom_open(char *name, enum linux_omode md, unsigned long *fd);
/linux-2.4.37.9/lib/
Dinflate.c525 unsigned ml, md; /* masks for bl and bd bits */ local
537 md = mask_bits[bd];
573 if ((e = (t = td + ((unsigned)b & md))->e) > 16)
/linux-2.4.37.9/drivers/sound/
Dac97_codec.c938 struct mixer_defaults *md = &mixer_defaults[i]; in ac97_init_mixer() local
939 if (md->mixer == -1) in ac97_init_mixer()
941 if (!supported_mixer(codec, md->mixer)) in ac97_init_mixer()
943 ac97_set_mixer(codec, md->mixer, md->value); in ac97_init_mixer()
/linux-2.4.37.9/drivers/s390/
DConfig.in36 source drivers/md/Config.in

123