/linux-2.4.37.9/drivers/video/ |
D | macmodes.c | 148 const struct fb_videomode *mode; member 234 int console_getmode(struct vc_mode *mode) in console_getmode() argument 236 *mode = display_info; in console_getmode() 255 int console_setmode(struct vc_mode *mode, int doit) in console_setmode() argument 263 switch(mode->depth) { in console_setmode() 279 if ((err = mac_vmode_to_var(mode->mode, cmode, &var))) in console_setmode() 363 int console_powermode(int mode) in console_powermode() argument 365 if (mode == VC_POWERMODE_INQUIRY) in console_powermode() 367 if (mode < VESA_NO_BLANKING || mode > VESA_POWERDOWN) in console_powermode() 390 const struct fb_videomode *mode = NULL; in mac_vmode_to_var() local [all …]
|
D | modedb.c | 276 const struct fb_videomode *mode, unsigned int bpp) in __fb_try_mode() argument 280 DPRINTK("Trying mode %s %dx%d-%d@%d\n", mode->name ? mode->name : "noname", in __fb_try_mode() 281 mode->xres, mode->yres, bpp, mode->refresh); in __fb_try_mode() 282 var->xres = mode->xres; in __fb_try_mode() 283 var->yres = mode->yres; in __fb_try_mode() 284 var->xres_virtual = mode->xres; in __fb_try_mode() 285 var->yres_virtual = mode->yres; in __fb_try_mode() 290 var->pixclock = mode->pixclock; in __fb_try_mode() 291 var->left_margin = mode->left_margin; in __fb_try_mode() 292 var->right_margin = mode->right_margin; in __fb_try_mode() [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | ppdev.c | 112 int mode; in pp_read() local 130 mode = pport->ieee1284.mode & ~(IEEE1284_DEVICEID | IEEE1284_ADDR); in pp_read() 140 if (mode == IEEE1284_MODE_EPP) { in pp_read() 151 if (pport->ieee1284.mode & IEEE1284_ADDR) { in pp_read() 196 int mode; in pp_write() local 211 mode = pport->ieee1284.mode & ~(IEEE1284_DEVICEID | IEEE1284_ADDR); in pp_write() 226 if ((pp->flags & PP_FASTWRITE) && (mode == IEEE1284_MODE_EPP)) { in pp_write() 228 if (pport->ieee1284.mode & IEEE1284_ADDR) { in pp_write() 322 static enum ieee1284_phase init_phase (int mode) in init_phase() argument 324 switch (mode & ~(IEEE1284_DEVICEID in init_phase() [all …]
|
/linux-2.4.37.9/drivers/parport/ |
D | ieee1284.c | 232 switch (port->ieee1284.mode) { in parport_ieee1284_terminate() 310 port->ieee1284.mode = IEEE1284_MODE_COMPAT; in parport_ieee1284_terminate() 333 int parport_negotiate (struct parport *port, int mode) in parport_negotiate() argument 336 if (mode == IEEE1284_MODE_COMPAT) in parport_negotiate() 341 int m = mode & ~IEEE1284_ADDR; in parport_negotiate() 348 if (port->ieee1284.mode == mode) in parport_negotiate() 352 if ((port->ieee1284.mode & ~IEEE1284_ADDR) == (mode & ~IEEE1284_ADDR)){ in parport_negotiate() 353 port->ieee1284.mode = mode; in parport_negotiate() 358 if (port->ieee1284.mode != IEEE1284_MODE_COMPAT) in parport_negotiate() 361 if (mode == IEEE1284_MODE_COMPAT) in parport_negotiate() [all …]
|
/linux-2.4.37.9/net/sctp/ |
D | sysctl.c | 57 .mode = 0644, 68 .mode = 0644, 79 .mode = 0644, 90 .mode = 0644, 101 .mode = 0644, 109 .mode = 0644, 117 .mode = 0644, 125 .mode = 0644, 133 .mode = 0644, 144 .mode = 0644, [all …]
|
/linux-2.4.37.9/include/linux/ |
D | qic117.h | 112 unused, mode, motion, report enumerator 128 /* 0*/ {NULL, 0x00, 0x00, mode, 0, discretional},\ 133 /* 5*/ {"alternate command timeout", 0x00, 0x00, mode, 0, required},\ 143 /*15*/ {"enter format mode", 0x1f, 0x05, mode, 0, required},\ 145 /*17*/ {"enter verify mode", 0x37, 0x25, mode, 0, required},\ 151 /*23*/ {"soft select", 0x00, 0x00, mode, 0, discretional},\ 152 /*24*/ {"soft deselect", 0x00, 0x00, mode, 0, discretional},\ 155 /*27*/ {"select rate or format", 0x03, 0x01, mode, 0, required /* [ccs2] */},\ 156 /*28*/ {"enter diag mode 1", 0x00, 0x00, mode, 0, discretional},\ 157 /*29*/ {"enter diag mode 2", 0x00, 0x00, mode, 0, discretional},\ [all …]
|
D | proc_fs.h | 57 mode_t mode; member 95 extern struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode, 148 extern struct proc_dir_entry *proc_mkdir_mode(const char *name, mode_t mode, 152 mode_t mode, struct proc_dir_entry *base, in create_proc_read_entry() argument 155 struct proc_dir_entry *res=create_proc_entry(name,mode,base); in create_proc_read_entry() 164 mode_t mode, struct proc_dir_entry *base, get_info_t *get_info) in create_proc_info_entry() argument 166 struct proc_dir_entry *res=create_proc_entry(name,mode,base); in create_proc_info_entry() 172 mode_t mode, get_info_t *get_info) in proc_net_create() argument 174 return create_proc_info_entry(name,mode,proc_net,get_info); in proc_net_create() 178 mode_t mode, struct file_operations *fops) in proc_net_fops_create() argument [all …]
|
/linux-2.4.37.9/lib/zlib_inflate/ |
D | inflate.c | 24 z->state->mode = z->state->nowrap ? BLOCKS : METHOD; 96 if (s->mode != LENS) in zlib_inflate_packet_flush() 98 s->mode = TYPE; in zlib_inflate_packet_flush() 127 while (1) switch (z->state->mode) 133 z->state->mode = I_BAD; 140 z->state->mode = I_BAD; 145 z->state->mode = FLAG; 151 z->state->mode = I_BAD; 158 z->state->mode = BLOCKS; 161 z->state->mode = DICT4; [all …]
|
D | infblock.c | 75 if (s->mode == CODES) 77 s->mode = TYPE; 97 s->mode = TYPE; 120 while (1) switch (s->mode) 132 s->mode = LENS; /* get length of stored block */ 148 s->mode = CODES; 152 s->mode = TABLE; 156 s->mode = B_BAD; 166 s->mode = B_BAD; 173 s->mode = s->sub.left ? STORED : (s->last ? DRY : TYPE); [all …]
|
D | infcodes.c | 27 c->mode = START; 58 while (1) switch (c->mode) 69 c->mode = r == Z_STREAM_END ? WASH : BADCODE; 76 c->mode = LEN; 86 c->mode = LIT; 93 c->mode = LENEXT; 104 c->mode = WASH; 107 c->mode = BADCODE; /* invalid code */ 118 c->mode = DIST; 129 c->mode = DISTEXT; [all …]
|
/linux-2.4.37.9/drivers/media/video/ |
D | tvaudio.c | 61 typedef void (*setmode)(struct CHIPSTATE*, int mode); 123 __u16 left,right,treble,bass,mode; member 294 if (chip->norm == VIDEO_MODE_RADIO || chip->mode != 0) in chip_thread() 315 int mode = desc->getmode(chip); in generic_checkmode() local 317 if (mode == chip->prevmode) in generic_checkmode() 321 chip->prevmode = mode; in generic_checkmode() 323 if (mode & VIDEO_SOUND_STEREO) in generic_checkmode() 325 else if (mode & VIDEO_SOUND_LANG1) in generic_checkmode() 327 else if (mode & VIDEO_SOUND_LANG2) in generic_checkmode() 358 int val, mode; in tda9840_getmode() local [all …]
|
/linux-2.4.37.9/arch/sparc/boot/ |
D | btfixupprep.c | 36 int mode; variable 93 for (mode = 0;; mode++) in set_mode() 94 if (buffer[mode] < '0' || buffer[mode] > '9') in set_mode() 96 if (mode != 8 && mode != 16) in set_mode() 137 if (mode == 0) in main() 141 if (strlen (buffer) < 22+mode) in main() 143 if (strncmp (buffer + mode, " R_SPARC_", 9)) in main() 145 nbase = 27 - 8 + mode; in main() 209 if (strncmp (buffer + mode+9, "32 ", 10)) { in main() 213 } else if (strncmp (buffer + mode+9, "WDISP30 ", 10) && in main() [all …]
|
/linux-2.4.37.9/drivers/ide/pci/ |
D | sc1200.c | 127 int sc1200_set_xfer_mode (ide_drive_t *drive, byte mode) in sc1200_set_xfer_mode() argument 129 printk("%s: sc1200_set_xfer_mode(%s)\n", drive->name, ide_xfer_verbose(mode)); in sc1200_set_xfer_mode() 130 return ide_config_drive_speed(drive, mode); in sc1200_set_xfer_mode() 151 int udma_ok = 1, mode = 0; in sc1200_autoselect_dma_mode() local 184 mode = XFER_UDMA_2; in sc1200_autoselect_dma_mode() 186 mode = XFER_UDMA_1; in sc1200_autoselect_dma_mode() 188 mode = XFER_UDMA_0; in sc1200_autoselect_dma_mode() 190 if (!mode && (id->field_valid & 2) && (id->dma_mword & 7)) { in sc1200_autoselect_dma_mode() 192 mode = XFER_MW_DMA_2; in sc1200_autoselect_dma_mode() 194 mode = XFER_MW_DMA_1; in sc1200_autoselect_dma_mode() [all …]
|
D | cs5530.c | 94 static int cs5530_set_xfer_mode (ide_drive_t *drive, u8 mode) in cs5530_set_xfer_mode() argument 97 drive->name, ide_xfer_verbose(mode)); in cs5530_set_xfer_mode() 98 return (ide_config_drive_speed(drive, mode)); in cs5530_set_xfer_mode() 153 int udma_ok = 1, mode = 0; in cs5530_config_dma() local 204 mode = XFER_UDMA_2; in cs5530_config_dma() 206 mode = XFER_UDMA_1; in cs5530_config_dma() 208 mode = XFER_UDMA_0; in cs5530_config_dma() 210 if (!mode && (id->field_valid & 2) && (id->dma_mword & 7)) { in cs5530_config_dma() 212 mode = XFER_MW_DMA_2; in cs5530_config_dma() 214 mode = XFER_MW_DMA_1; in cs5530_config_dma() [all …]
|
/linux-2.4.37.9/Documentation/ |
D | svga.txt | 13 ** enter `scan' on the video mode prompt, pick the mode you want to use, 14 ** remember its mode ID (the four-digit hexadecimal number) and then 17 The video mode to be used is selected by a kernel parameter which can be 23 NORMAL_VGA - Standard 80x25 mode available on all display adapters. 25 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA. 27 ASK_VGA - Display a video mode menu upon startup (see below). 32 mode list displayed may vary as the kernel version changes, because the 34 better to use absolute mode numbers instead. 36 0x.... - Hexadecimal video mode ID (also displayed on the menu, see below 42 The ASK_VGA mode causes the kernel to offer a video mode menu upon [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | auerisdn_b.c | 103 if (ip->bc[1].mode != L1_MODE_NULL) { in auerisdn_bintbo_newdata() 105 if (bc->mode != L1_MODE_NULL) { in auerisdn_bintbo_newdata() 143 if (bc->mode == L1_MODE_TRANS) { in auerisdn_bintbo_newdata() 182 if (bc->mode == L1_MODE_TRANS) { in auerisdn_bintbo_newdata() 325 if (bc->mode != L1_MODE_NULL) { /* B channel is active */ in auerisdn_bserv() 355 if (bc->mode == L1_MODE_NULL) { in auerisdn_bconf() 400 bc->mode = *bp->bufp; in auerisdn_bmode_complete() 413 static void auerisdn_bmode(struct auerisdnbc *bc, unsigned int mode) in auerisdn_bmode() argument 421 mode = L1_MODE_NULL; in auerisdn_bmode() 424 } else if (bc->mode != mode) { in auerisdn_bmode() [all …]
|
/linux-2.4.37.9/arch/s390/math-emu/ |
D | math.c | 151 int mode; in emu_axbr() local 153 mode = current->thread.fp_regs.fpc & 3; in emu_axbr() 172 int mode; in emu_adbr() local 174 mode = current->thread.fp_regs.fpc & 3; in emu_adbr() 187 int mode; in emu_adb() local 189 mode = current->thread.fp_regs.fpc & 3; in emu_adb() 202 int mode; in emu_aebr() local 204 mode = current->thread.fp_regs.fpc & 3; in emu_aebr() 217 int mode; in emu_aeb() local 219 mode = current->thread.fp_regs.fpc & 3; in emu_aeb() [all …]
|
/linux-2.4.37.9/Documentation/fb/ |
D | modedb.txt | 3 modedb default video mode support 6 Currently all frame buffer device drivers have their own video mode databases, 11 - one generic video mode database with a fair amount of standard videomodes 13 - the possibility to supply your own mode database for graphics hardware that 18 consider that to be a video mode option. If no frame buffer device is specified 19 in a video= option, fbmem considers that to be a global video mode option. 21 Valid mode specifiers (mode_option argument): 29 To find a suitable video mode, you just call 37 with db/dbsize your non-standard video mode database, or NULL to use the 38 standard video mode database. [all …]
|
D | vesafb.txt | 7 The idea is simple: Turn on graphics mode at boot time with the help 12 graphics mode. Switching mode later on (in protected mode) is 13 impossible; BIOS calls work in real mode only. VESA BIOS Extensions 26 * graphic mode is slower than text mode... 35 You should compile in both vgacon (for text mode) and vesafb (for 36 graphics mode). Which of them takes over the console depends on 37 whenever the specified mode is text or graphics. 40 vga=ask and hit return. The mode you wish to use is derived from the 41 VESA mode number. Here are those VESA mode numbers: 50 The video mode number of the Linux kernel is the VESA mode number plus [all …]
|
/linux-2.4.37.9/arch/arm/lib/ |
D | gcclib.h | 7 typedef unsigned int UQItype __attribute__ ((mode (QI))); 8 typedef int SItype __attribute__ ((mode (SI))); 9 typedef unsigned int USItype __attribute__ ((mode (SI))); 10 typedef int DItype __attribute__ ((mode (DI))); 11 typedef int word_type __attribute__ ((mode (__word__))); 12 typedef unsigned int UDItype __attribute__ ((mode (DI)));
|
/linux-2.4.37.9/fs/adfs/ |
D | inode.c | 108 umode_t mode, rmask; in adfs_atts2mode() local 111 mode = S_IRUGO & sb->u.adfs_sb.s_owner_mask; in adfs_atts2mode() 112 return S_IFDIR | S_IXUGO | mode; in adfs_atts2mode() 129 mode = S_IFREG; in adfs_atts2mode() 132 mode |= rmask & sb->u.adfs_sb.s_owner_mask; in adfs_atts2mode() 135 mode |= S_IWUGO & sb->u.adfs_sb.s_owner_mask; in adfs_atts2mode() 138 mode |= rmask & sb->u.adfs_sb.s_other_mask; in adfs_atts2mode() 141 mode |= S_IWUGO & sb->u.adfs_sb.s_other_mask; in adfs_atts2mode() 142 return mode; in adfs_atts2mode() 152 umode_t mode; in adfs_mode2atts() local [all …]
|
/linux-2.4.37.9/include/asm-mips/ |
D | au1000_dma.h | 120 unsigned int mode; member 235 u32 mode; in init_dma() local 245 mode = chan->mode | (chan->dev_id << DMA_DID_BIT); in init_dma() 247 mode |= DMA_IE; in init_dma() 249 au_writel(~mode, chan->io + DMA_MODE_CLEAR); in init_dma() 250 au_writel(mode, chan->io + DMA_MODE_SET); in init_dma() 256 static __inline__ void set_dma_mode(unsigned int dmanr, unsigned int mode) in set_dma_mode() argument 266 mode &= (DMA_BE | DMA_DR | DMA_TS8 | DMA_DW_MASK | DMA_NC); in set_dma_mode() 267 chan->mode &= ~(DMA_BE | DMA_DR | DMA_TS8 | DMA_DW_MASK | DMA_NC); in set_dma_mode() 268 chan->mode |= mode; in set_dma_mode() [all …]
|
/linux-2.4.37.9/fs/jfs/ |
D | jfs_inode.c | 34 struct inode *ialloc(struct inode *parent, umode_t mode) in ialloc() argument 55 rc = diAlloc(parent, S_ISDIR(mode), inode); in ialloc() 67 if (S_ISDIR(mode)) in ialloc() 68 mode |= S_ISGID; in ialloc() 72 inode->i_mode = mode; in ialloc() 73 if (S_ISDIR(mode)) in ialloc() 74 jfs_inode->mode2 = IDIRECTORY | mode; in ialloc() 76 jfs_inode->mode2 = INLINEEA | ISPARSE | mode; in ialloc()
|
/linux-2.4.37.9/drivers/sound/ |
D | gus_wave.c | 42 unsigned long mode; member 415 static void gus_voice_on(unsigned int mode) in gus_voice_on() argument 417 gus_write8(0x00, (unsigned char) (mode & 0xfc)); in gus_voice_on() 419 gus_write8(0x00, (unsigned char) (mode & 0xfc)); in gus_voice_on() 429 unsigned char mode = (unsigned char) (m & 0xff); in gus_voice_mode() local 432 (mode & 0xfc)); /* Don't touch last two bits */ in gus_voice_mode() 434 gus_write8(0x00, (gus_read8(0x00) & 0x03) | (mode & 0xfc)); in gus_voice_mode() 476 unsigned char mode = (unsigned char) (m & 0xff); in gus_rampon() local 478 gus_write8(0x0d, mode & 0xfc); in gus_rampon() 480 gus_write8(0x0d, mode & 0xfc); in gus_rampon() [all …]
|
/linux-2.4.37.9/fs/devfs/ |
D | base.c | 806 umode_t mode; member 821 umode_t mode; member 920 if ( S_ISLNK (de->mode) ) kfree (de->u.symlink.linkname); in devfs_put() 921 if ( ( S_ISCHR (de->mode) || S_ISBLK (de->mode) ) && de->u.fcb.autogen ) in devfs_put() 923 devfs_dealloc_devnum ( S_ISCHR (de->mode) ? DEVFS_SPECIAL_CHR : in devfs_put() 933 if ( S_ISLNK (de->mode) ) stat_num_bytes -= de->u.symlink.length + 1; in devfs_put() 957 if ( !S_ISDIR (dir->mode) ) in _devfs_search_dir() 983 umode_t mode) in _devfs_alloc_entry() argument 993 new->mode = mode; in _devfs_alloc_entry() 994 if ( S_ISDIR (mode) ) rwlock_init (&new->u.dir.lock); in _devfs_alloc_entry() [all …]
|