tag | line | file | source code |
mode | 171 | arch/alpha/math-emu/fp-emul.c | unsigned long opcode, fa, fb, fc, func, mode; |
mode | 191 | arch/alpha/math-emu/fp-emul.c | mode = func & 0xc0; |
mode | 192 | arch/alpha/math-emu/fp-emul.c | if (mode == 0xc0) { |
mode | 194 | arch/alpha/math-emu/fp-emul.c | mode = ((fpcr & FPCR_DYN_MASK) >> FPCR_DYN_SHIFT) << ROUND_SHIFT; |
mode | 196 | arch/alpha/math-emu/fp-emul.c | mode |= (fpcw & IEEE_TRAP_ENABLE_MASK); |
mode | 234 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTQS(mode, vb, &vc); |
mode | 238 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTQT(mode, vb, &vc); |
mode | 248 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTST(mode, vb, &vc); |
mode | 250 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTTS(mode, vb, &vc); |
mode | 255 | arch/alpha/math-emu/fp-emul.c | res = ieee_DIVS(mode, va, vb, &vc); |
mode | 259 | arch/alpha/math-emu/fp-emul.c | res = ieee_DIVT(mode, va, vb, &vc); |
mode | 263 | arch/alpha/math-emu/fp-emul.c | res = ieee_MULS(mode, va, vb, &vc); |
mode | 267 | arch/alpha/math-emu/fp-emul.c | res = ieee_MULT(mode, va, vb, &vc); |
mode | 271 | arch/alpha/math-emu/fp-emul.c | res = ieee_SUBS(mode, va, vb, &vc); |
mode | 275 | arch/alpha/math-emu/fp-emul.c | res = ieee_SUBT(mode, va, vb, &vc); |
mode | 279 | arch/alpha/math-emu/fp-emul.c | res = ieee_ADDS(mode, va, vb, &vc); |
mode | 283 | arch/alpha/math-emu/fp-emul.c | res = ieee_ADDT(mode, va, vb, &vc); |
mode | 287 | arch/alpha/math-emu/fp-emul.c | res = ieee_CVTTQ(mode, vb, &vc); |
mode | 58 | arch/mips/kernel/jazz-c.c | void jazz_fd_set_dma_mode(char mode) |
mode | 60 | arch/mips/kernel/jazz-c.c | vdma_set_mode(JAZZ_FLOPPY_DMA, mode); |
mode | 424 | arch/mips/kernel/jazzdma.c | void vdma_set_mode(int channel, int mode) |
mode | 427 | arch/mips/kernel/jazzdma.c | printk("vdma_set_mode: channel %d, mode 0x%x\n",channel,mode); |
mode | 459 | arch/mips/kernel/jazzdma.c | switch(mode) |
mode | 474 | arch/mips/kernel/jazzdma.c | printk("VDMA: vdma_set_mode() called with unknown dma mode 0x%x\n",mode); |
mode | 50 | arch/mips/kernel/setup.c | void jazz_fd_set_dma_mode(char mode); |
mode | 137 | arch/mips/kernel/setup.c | void jazz_fd_set_dma_mode(char mode); |
mode | 59 | arch/mips/kernel/tyne-c.c | int deskstation_tyne_fd_set_dma_mode(char mode) |
mode | 61 | arch/mips/kernel/tyne-c.c | return set_dma_mode(FLOPPY_DMA, mode); |
mode | 40 | arch/ppc/mm/fault.c | int tries, mode = 0; |
mode | 41 | arch/ppc/mm/fault.c | if (user_mode(regs)) mode |= 0x04; |
mode | 42 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x02000000) mode |= 0x02; /* Load/store */ |
mode | 43 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x08000000) mode |= 0x01; /* Protection violation */ |
mode | 47 | arch/ppc/mm/fault.c | if (mode & 0x01) |
mode | 55 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
mode | 89 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
mode | 102 | arch/ppc/mm/fault.c | int tries, mode = 0; |
mode | 107 | arch/ppc/mm/fault.c | if (user_mode(regs)) mode |= 0x04; |
mode | 108 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x02000000) mode |= 0x02; /* Load/store */ |
mode | 109 | arch/ppc/mm/fault.c | if (regs->dsisr & 0x08000000) mode |= 0x01; /* Protection violation */ |
mode | 111 | arch/ppc/mm/fault.c | if (mode & 0x01) |
mode | 113 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
mode | 168 | arch/ppc/mm/fault.c | do_page_fault(regs, regs->dar, mode); |
mode | 461 | drivers/block/cmd640.c | static void set_readahead_mode(int mode, int if_num, int dr_num) |
mode | 474 | drivers/block/cmd640.c | if (mode) |
mode | 483 | drivers/block/cmd640.c | int mode; |
mode | 510 | drivers/block/cmd640.c | return drives_ra[i].mode; |
mode | 749 | drivers/block/floppy.c | static void reset_fdc_info(int mode) |
mode | 759 | drivers/block/floppy.c | (mode || UDRS->track != NEED_1_RECAL)) |
mode | 665 | drivers/block/md.c | int md_valid_device (int minor, kdev_t dev, int mode) |
mode | 679 | drivers/block/md.c | switch (mode) |
mode | 703 | drivers/block/md.c | mode=INVALID_ALWAYS; |
mode | 713 | drivers/block/md.c | mode=INVALID_NEXT; |
mode | 715 | drivers/block/md.c | mode=VALID; |
mode | 722 | drivers/block/md.c | devices[minor][i].invalid=mode; |
mode | 338 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
mode | 357 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
mode | 360 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
mode | 408 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
mode | 419 | drivers/block/xd.c | set_dma_mode(xd_dma,mode); |
mode | 456 | drivers/block/xd.c | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout) |
mode | 461 | drivers/block/xd.c | printk("xd_command: command = 0x%X, mode = 0x%X, indata = 0x%X, outdata = 0x%X, sense = 0x%X\n",command,mode,indata,outdata,sense); |
mode | 465 | drivers/block/xd.c | outb(mode,XD_CONTROL); |
mode | 475 | drivers/block/xd.c | if (mode == DMA_MODE) { |
mode | 483 | drivers/block/xd.c | if (mode == DMA_MODE) { |
mode | 1715 | drivers/cdrom/mcdx.c | mcdx_setdrivemode(struct s_drive_stuff *stuffp, enum drivemodes mode, int tries) |
mode | 1720 | drivers/cdrom/mcdx.c | TRACE((HW, "setdrivemode() %d\n", mode)); |
mode | 1725 | drivers/cdrom/mcdx.c | switch (mode) { |
mode | 1737 | drivers/cdrom/mcdx.c | mcdx_setdatamode(struct s_drive_stuff *stuffp, enum datamodes mode, int tries) |
mode | 1740 | drivers/cdrom/mcdx.c | TRACE((HW, "setdatamode() %d\n", mode)); |
mode | 1741 | drivers/cdrom/mcdx.c | switch (mode) { |
mode | 1788 | drivers/cdrom/mcdx.c | mcdx_reset(struct s_drive_stuff *stuffp, enum resetmodes mode, int tries) |
mode | 1790 | drivers/cdrom/mcdx.c | if (mode == HARD) { |
mode | 628 | drivers/cdrom/sbpcd.c | u_char mode; /* read_mode: READ_M1, READ_M2, READ_SC, READ_AU */ |
mode | 3637 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 4117 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 4124 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M2; |
mode | 4188 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_AU; |
mode | 4345 | drivers/cdrom/sbpcd.c | D_S[d].mode=READ_M1; |
mode | 570 | drivers/cdrom/sonycd535.c | set_drive_mode(int mode, Byte status[2]) |
mode | 576 | drivers/cdrom/sonycd535.c | cmd_buff[1] = mode; |
mode | 245 | drivers/char/ftape/fdc-isr.c | static void determine_progress(buffer_struct * buff, error_cause cause, int mode) |
mode | 131 | drivers/char/ftape/ftape-bsm.c | unsigned long get_sector(byte ** ptr, mode_type mode) |
mode | 135 | drivers/char/ftape/ftape-bsm.c | if (mode == forward) { |
mode | 109 | drivers/char/ftape/ftape-write.c | int start_writing(int mode) |
mode | 118 | drivers/char/ftape/ftape-write.c | if (mode == WRITE_SINGLE) { |
mode | 124 | drivers/char/ftape/qic117.h | /* 0*/ {NULL, 0x00, 0x00, mode, 0, discretional},\ |
mode | 129 | drivers/char/ftape/qic117.h | /* 5*/ {"alternate command timeout", 0x00, 0x00, mode, 0, required},\ |
mode | 139 | drivers/char/ftape/qic117.h | /*15*/ {"enter format mode", 0x1f, 0x05, mode, 0, required},\ |
mode | 141 | drivers/char/ftape/qic117.h | /*17*/ {"enter verify mode", 0x37, 0x25, mode, 0, required},\ |
mode | 147 | drivers/char/ftape/qic117.h | /*23*/ {"soft select", 0x00, 0x00, mode, 0, discretional},\ |
mode | 148 | drivers/char/ftape/qic117.h | /*24*/ {"soft deselect", 0x00, 0x00, mode, 0, discretional},\ |
mode | 151 | drivers/char/ftape/qic117.h | /*27*/ {"select rate [or format]", 0x03, 0x01, mode, 0, required /* [ccs2] */},\ |
mode | 152 | drivers/char/ftape/qic117.h | /*28*/ {"enter diag mode 1", 0x00, 0x00, mode, 0, discretional},\ |
mode | 153 | drivers/char/ftape/qic117.h | /*29*/ {"enter diag mode 2", 0x00, 0x00, mode, 0, discretional},\ |
mode | 154 | drivers/char/ftape/qic117.h | /*30*/ {"enter primary mode", 0x00, 0x00, mode, 0, required},\ |
mode | 162 | drivers/char/ftape/qic117.h | /*38*/ {"set format segments", 0x17, 0x05, mode, 0, ccs2},\ |
mode | 170 | drivers/char/ftape/qic117.h | /*46*/ {"phantom select", 0x00, 0x00, mode, 0, discretional},\ |
mode | 171 | drivers/char/ftape/qic117.h | /*47*/ {"phantom deselect", 0x00, 0x00, mode, 0, discretional},\ |
mode | 602 | drivers/char/keyboard.c | static void applkey(int key, char mode) |
mode | 606 | drivers/char/keyboard.c | buf[1] = (mode ? 'O' : '['); |
mode | 279 | drivers/char/random.c | void rand_initialize_blkdev(int major, int mode) |
mode | 290 | drivers/char/random.c | state = kmalloc(sizeof(struct timer_rand_state), mode); |
mode | 1576 | drivers/char/tpqic02.c | static int start_dma(short mode, unsigned long bytes_todo) |
mode | 1588 | drivers/char/tpqic02.c | dma_mode = (mode == WRITE)? DMA_MODE_WRITE : DMA_MODE_READ; |
mode | 1610 | drivers/char/tpqic02.c | stat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL); |
mode | 1630 | drivers/char/tpqic02.c | stat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0); |
mode | 1633 | drivers/char/tpqic02.c | (mode == WRITE)? "write" : "read"); |
mode | 1643 | drivers/char/tpqic02.c | switch (mode) { |
mode | 1651 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": requested unknown mode %d\n", mode); |
mode | 528 | drivers/char/tty_io.c | vt_cons[new_console]->vt_mode.mode = VT_AUTO; |
mode | 564 | drivers/char/tty_io.c | if (vt_cons[new_console]->vt_mode.mode == VT_PROCESS) |
mode | 636 | drivers/char/tty_io.c | if (vt_cons[fg_console]->vt_mode.mode == VT_PROCESS) |
mode | 154 | drivers/char/vesa_blank.c | int mode; |
mode | 156 | drivers/char/vesa_blank.c | if((mode = vesa_blanking_mode) == 0) |
mode | 202 | drivers/char/vesa_blank.c | if (mode & VESA_VSYNC_SUSPEND) { |
mode | 212 | drivers/char/vesa_blank.c | if (mode & VESA_HSYNC_SUSPEND) { |
mode | 229 | drivers/char/vesa_blank.c | vesa_blanked = mode; |
mode | 272 | drivers/char/vesa_blank.c | unsigned int mode = get_user(argp); |
mode | 274 | drivers/char/vesa_blank.c | ((mode <= VESA_POWERDOWN) ? mode : DEFAULT_VESA_BLANKING_MODE); |
mode | 699 | drivers/char/vt.c | char mode; |
mode | 706 | drivers/char/vt.c | mode = get_user(&vtmode->mode); |
mode | 707 | drivers/char/vt.c | if (mode != VT_AUTO && mode != VT_PROCESS) |
mode | 709 | drivers/char/vt.c | vt_cons[console]->vt_mode.mode = mode; |
mode | 727 | drivers/char/vt.c | put_user(vt_cons[console]->vt_mode.mode, &vtmode->mode); |
mode | 816 | drivers/char/vt.c | if (vt_cons[console]->vt_mode.mode != VT_PROCESS) |
mode | 54 | drivers/char/wdt.c | static void wdt_ctr_mode(int ctr, int mode) |
mode | 58 | drivers/char/wdt.c | ctr|=(mode<<1); |
mode | 1099 | drivers/isdn/teles/callc.c | hsp->mode = 2; |
mode | 1173 | drivers/isdn/teles/card.c | modehscx(struct HscxState *hs, int mode, |
mode | 1180 | drivers/isdn/teles/card.c | hscx, mode, ichan); |
mode | 1192 | drivers/isdn/teles/card.c | switch (mode) { |
mode | 1245 | drivers/isdn/teles/card.c | switch (mode) { |
mode | 113 | drivers/isdn/teles/teles.h | int mode; |
mode | 302 | drivers/isdn/teles/teles.h | int hscx, mode; |
mode | 395 | drivers/isdn/teles/teles.h | void modehscx(struct HscxState *hs, int mode, int ichan); |
mode | 135 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
mode | 608 | drivers/net/de4x5.c | static char *build_setup_frame(struct device *dev, int mode); |
mode | 3239 | drivers/net/de4x5.c | static char *build_setup_frame(struct device *dev, int mode) |
mode | 3246 | drivers/net/de4x5.c | if (mode == ALL) { |
mode | 328 | drivers/net/depca.c | u16 mode; /* Mode register */ |
mode | 770 | drivers/net/depca.c | lp->init_block.mode = 0x0000; /* Enable the Tx and Rx */ |
mode | 1146 | drivers/net/depca.c | lp->init_block.mode |= PROM; |
mode | 1149 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Unset promiscuous mode */ |
mode | 1663 | drivers/net/depca.c | printk("\tmode: 0x%4.4x\n",readw(&p->mode)); |
mode | 1752 | drivers/net/depca.c | lp->init_block.mode |= PROM; /* Set promiscuous mode */ |
mode | 1770 | drivers/net/depca.c | lp->init_block.mode &= ~PROM; /* Clear promiscuous mode */ |
mode | 778 | drivers/net/eepro.c | unsigned short mode; |
mode | 792 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 793 | drivers/net/eepro.c | outb(mode | PRMSC_Mode, ioaddr + REG2); |
mode | 794 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 795 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 802 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 803 | drivers/net/eepro.c | outb(mode & 0xd6, ioaddr + REG2); /* Turn off Multi-IA and PRMSC_Mode bits */ |
mode | 804 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 805 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 819 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
mode | 820 | drivers/net/eepro.c | outb(mode | Multi_IA, ioaddr + REG2); |
mode | 821 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
mode | 822 | drivers/net/eepro.c | outb(mode, ioaddr + REG3); /* writing reg. 3 to complete the update */ |
mode | 180 | drivers/net/lance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 417 | drivers/net/lance.c | lp->init_block.mode = 0x0003; /* Disable Rx and Tx. */ |
mode | 681 | drivers/net/lance.c | lp->init_block.mode = 0x0000; |
mode | 408 | drivers/net/ni65.c | p->ib.mode = 0x0; |
mode | 411 | drivers/net/ni65.c | p->ib.mode = M_PROM; |
mode | 91 | drivers/net/ni65.h | unsigned short mode; |
mode | 2517 | drivers/net/ppp.c | npi.mode = ppp->sc_npmode[npi.protocol]; |
mode | 2530 | drivers/net/ppp.c | if (npi.mode != ppp->sc_npmode[npi.protocol]) { |
mode | 2531 | drivers/net/ppp.c | ppp->sc_npmode[npi.protocol] = npi.mode; |
mode | 2532 | drivers/net/ppp.c | if (npi.mode != NPMODE_QUEUE) { |
mode | 505 | drivers/net/sk_g16.c | static int SK_lance_init(struct device *dev, unsigned short mode); |
mode | 1025 | drivers/net/sk_g16.c | static int SK_lance_init(struct device *dev, unsigned short mode) |
mode | 1079 | drivers/net/sk_g16.c | (p->ram)->ib.mode = mode; /* Set operation mode */ |
mode | 122 | drivers/net/sk_g16.h | unsigned short mode; /* Mode Register */ |
mode | 351 | drivers/net/slip.c | if (sl->mode & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) { |
mode | 355 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 369 | drivers/net/slip.c | if (!(sl->mode & SL_MODE_CSLIP)) { |
mode | 371 | drivers/net/slip.c | sl->mode |= SL_MODE_CSLIP; |
mode | 372 | drivers/net/slip.c | sl->mode &= ~SL_MODE_ADAPTIVE; |
mode | 392 | drivers/net/slip.c | if(sl->mode & SL_MODE_AX25) |
mode | 426 | drivers/net/slip.c | if (sl->mode & SL_MODE_CSLIP) { |
mode | 431 | drivers/net/slip.c | if(sl->mode & SL_MODE_SLIP6) |
mode | 545 | drivers/net/slip.c | if (sl->mode & SL_MODE_AX25 && type != htons(ETH_P_AX25)) { |
mode | 563 | drivers/net/slip.c | if (sl->mode & SL_MODE_AX25) { |
mode | 725 | drivers/net/slip.c | if (sl->mode & SL_MODE_SLIP6) |
mode | 766 | drivers/net/slip.c | sl->mode = SL_MODE_DEFAULT; |
mode | 767 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP + sl->mode; |
mode | 1067 | drivers/net/slip.c | put_user(sl->mode, (int *)arg); |
mode | 1105 | drivers/net/slip.c | sl->mode = tmp; |
mode | 1106 | drivers/net/slip.c | sl->dev->type = ARPHRD_SLIP+sl->mode; |
mode | 1380 | drivers/net/slip.c | unsigned char s = (sl->mode & SL_MODE_SLIP6)?0x70:END; |
mode | 97 | drivers/net/slip.h | unsigned char mode; /* SLIP mode */ |
mode | 141 | drivers/net/sunlance.c | unsigned short mode; /* Pre-set mode (reg. 15) */ |
mode | 224 | drivers/net/sunlance.c | ib->mode = 0; |
mode | 687 | drivers/net/sunlance.c | ib->mode |= LE_MO_PROM; |
mode | 308 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
mode | 330 | drivers/scsi/NCR5380.h | set_dma_mode(instance->dma_channel, mode); |
mode | 295 | drivers/scsi/NCR53c406a.c | unsigned char mode) { |
mode | 322 | drivers/scsi/NCR53c406a.c | set_dma_mode(dma_chan, mode); |
mode | 123 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.mode = S_IFREG | S_IRUGO | S_IWUSR; |
mode | 71 | drivers/sound/ad1848.c | int mode; |
mode | 119 | drivers/sound/ad1848.c | static int ad1848_open (int dev, int mode); |
mode | 423 | drivers/sound/ad1848.c | switch (devc->mode) |
mode | 538 | drivers/sound/ad1848.c | ad1848_open (int dev, int mode) |
mode | 642 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) /* AD1845 has different timer than others */ |
mode | 749 | drivers/sound/ad1848.c | if (!(arg & ad_format_mask[devc->mode])) |
mode | 907 | drivers/sound/ad1848.c | if (devc->mode == MD_1848 || !devc->dual_dma) /* Single DMA channel mode */ |
mode | 945 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) /* Use alternate speed select registers */ |
mode | 975 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1029 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1054 | drivers/sound/ad1848.c | if (devc->mode == MD_1848) |
mode | 1081 | drivers/sound/ad1848.c | if (devc->mode == MD_1848) |
mode | 1155 | drivers/sound/ad1848.c | devc->mode = MD_1848; /* AD1848 or CS4248 */ |
mode | 1294 | drivers/sound/ad1848.c | devc->mode = MD_4231; |
mode | 1310 | drivers/sound/ad1848.c | devc->mode = MD_4231A; |
mode | 1315 | drivers/sound/ad1848.c | devc->mode = MD_4232; |
mode | 1320 | drivers/sound/ad1848.c | devc->mode = MD_4232; |
mode | 1338 | drivers/sound/ad1848.c | devc->mode = MD_1845; |
mode | 1346 | drivers/sound/ad1848.c | devc->mode = MD_4231; |
mode | 1359 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1415 | drivers/sound/ad1848.c | if (devc->mode > MD_1848) |
mode | 1433 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) |
mode | 1469 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1502 | drivers/sound/ad1848.c | audio_devs[my_dev]->format_mask = ad_format_mask[devc->mode]; |
mode | 1506 | drivers/sound/ad1848.c | if (devc->mode != MD_1848 && devc->irq_ok) |
mode | 1613 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1627 | drivers/sound/ad1848.c | if (devc->mode != MD_1848 && alt_stat & 0x40) /* Timer interrupt */ |
mode | 1637 | drivers/sound/ad1848.c | if (devc->mode != MD_1848) |
mode | 1868 | drivers/sound/ad1848.c | if (devc->mode == MD_1845) |
mode | 85 | drivers/sound/audio.c | int mode = file->mode & O_ACCMODE; |
mode | 94 | drivers/sound/audio.c | if ((ret = DMAbuf_open (dev, mode)) < 0) |
mode | 143 | drivers/sound/audio.c | int mode; |
mode | 146 | drivers/sound/audio.c | mode = file->mode & O_ACCMODE; |
mode | 155 | drivers/sound/audio.c | DMAbuf_release (dev, mode); |
mode | 125 | drivers/sound/cs4232.c | cs_sleep_flag.mode = WK_NONE; |
mode | 140 | drivers/sound/cs4232.c | cs_sleep_flag.mode = WK_SLEEP; |
mode | 142 | drivers/sound/cs4232.c | if (!(cs_sleep_flag.mode & WK_WAKEUP)) |
mode | 145 | drivers/sound/cs4232.c | cs_sleep_flag.mode |= WK_TIMEOUT; |
mode | 147 | drivers/sound/cs4232.c | cs_sleep_flag.mode &= ~WK_SLEEP; |
mode | 188 | drivers/sound/cs4232.c | cs_sleep_flag.mode = WK_SLEEP; |
mode | 190 | drivers/sound/cs4232.c | if (!(cs_sleep_flag.mode & WK_WAKEUP)) |
mode | 193 | drivers/sound/cs4232.c | cs_sleep_flag.mode |= WK_TIMEOUT; |
mode | 195 | drivers/sound/cs4232.c | cs_sleep_flag.mode &= ~WK_SLEEP; |
mode | 225 | drivers/sound/cs4232.c | cs_sleep_flag.mode = WK_SLEEP; |
mode | 227 | drivers/sound/cs4232.c | if (!(cs_sleep_flag.mode & WK_WAKEUP)) |
mode | 230 | drivers/sound/cs4232.c | cs_sleep_flag.mode |= WK_TIMEOUT; |
mode | 232 | drivers/sound/cs4232.c | cs_sleep_flag.mode &= ~WK_SLEEP; |
mode | 250 | drivers/sound/cs4232.c | cs_sleep_flag.mode = WK_SLEEP; |
mode | 252 | drivers/sound/cs4232.c | if (!(cs_sleep_flag.mode & WK_WAKEUP)) |
mode | 255 | drivers/sound/cs4232.c | cs_sleep_flag.mode |= WK_TIMEOUT; |
mode | 257 | drivers/sound/cs4232.c | cs_sleep_flag.mode &= ~WK_SLEEP; |
mode | 154 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 192 | drivers/sound/dev_table.h | int (*open) (int dev, int mode); |
mode | 205 | drivers/sound/dev_table.h | void (*volume_method) (int dev, int mode); |
mode | 233 | drivers/sound/dev_table.h | int (*open) (int dev, int mode, |
mode | 260 | drivers/sound/dev_table.h | int (*open)(int dev, int mode); |
mode | 176 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_NONE; |
mode | 180 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_NONE; |
mode | 196 | drivers/sound/dmabuf.c | open_dmap (int dev, int mode, struct dma_buffparms *dmap, int chan) |
mode | 217 | drivers/sound/dmabuf.c | dmap->open_mode = mode; |
mode | 241 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 265 | drivers/sound/dmabuf.c | if ((retval = audio_devs[dev]->open (dev, mode)) < 0) |
mode | 271 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_out, audio_devs[dev]->dmachan1)) < 0) |
mode | 277 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits = mode; |
mode | 279 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_in, audio_devs[dev]->dmachan2)) < 0) |
mode | 285 | drivers/sound/dmabuf.c | audio_devs[dev]->open_mode = mode; |
mode | 287 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_NONE; |
mode | 288 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_NONE; |
mode | 375 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 377 | drivers/sound/dmabuf.c | if (!(out_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 380 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 382 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 384 | drivers/sound/dmabuf.c | if ((out_sleep_flag[dev].mode & WK_TIMEOUT)) |
mode | 412 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 414 | drivers/sound/dmabuf.c | if (!(out_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 417 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 419 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 429 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 563 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_SLEEP; |
mode | 565 | drivers/sound/dmabuf.c | if (!(in_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 568 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 570 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 572 | drivers/sound/dmabuf.c | if ((in_sleep_flag[dev].mode & WK_TIMEOUT)) |
mode | 1095 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1097 | drivers/sound/dmabuf.c | if (!(out_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 1100 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 1102 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 1104 | drivers/sound/dmabuf.c | if ((out_sleep_flag[dev].mode & WK_TIMEOUT)) |
mode | 1438 | drivers/sound/dmabuf.c | if ((out_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 1441 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 1523 | drivers/sound/dmabuf.c | if ((in_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 1526 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 1613 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1639 | drivers/sound/dmabuf.c | in_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1657 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1677 | drivers/sound/dmabuf.c | out_sleep_flag[dev].mode = WK_SLEEP; |
mode | 1699 | drivers/sound/dmabuf.c | DMAbuf_open (int dev, int mode) |
mode | 1705 | drivers/sound/dmabuf.c | DMAbuf_release (int dev, int mode) |
mode | 58 | drivers/sound/gus_midi.c | gus_midi_open (int dev, int mode, |
mode | 76 | drivers/sound/gus_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 47 | drivers/sound/gus_wave.c | unsigned long mode; |
mode | 391 | drivers/sound/gus_wave.c | gus_voice_on (unsigned int mode) |
mode | 393 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 395 | drivers/sound/gus_wave.c | gus_write8 (0x00, (unsigned char) (mode & 0xfc)); |
mode | 407 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 410 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Don't touch last two bits */ |
mode | 412 | drivers/sound/gus_wave.c | gus_write8 (0x00, (gus_read8 (0x00) & 0x03) | (mode & 0xfc)); |
mode | 456 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 458 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 460 | drivers/sound/gus_wave.c | gus_write8 (0x0d, mode & 0xfc); |
mode | 466 | drivers/sound/gus_wave.c | unsigned char mode = (unsigned char) (m & 0xff); |
mode | 469 | drivers/sound/gus_wave.c | (mode & 0xfc)); /* Leave the last 2 bits alone */ |
mode | 471 | drivers/sound/gus_wave.c | gus_write8 (0x0d, (gus_read8 (0x0d) & 0x03) | (mode & 0xfc)); |
mode | 491 | drivers/sound/gus_wave.c | samples[sample_no].mode & WAVE_16_BITS); |
mode | 517 | drivers/sound/gus_wave.c | voices[voice].mode = 0; |
mode | 542 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_SUSTAIN_ON && voices[voice].env_phase == 2) |
mode | 624 | drivers/sound/gus_wave.c | voices[voice].mode &= ~WAVE_SUSTAIN_ON; |
mode | 648 | drivers/sound/gus_wave.c | is16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0; /* 8 or 16 bits */ |
mode | 650 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 998 | drivers/sound/gus_wave.c | guswave_volume_method (int dev, int mode) |
mode | 1000 | drivers/sound/gus_wave.c | if (mode == VOL_METHOD_LINEAR || mode == VOL_METHOD_ADAGIO) |
mode | 1001 | drivers/sound/gus_wave.c | volume_method = mode; |
mode | 1108 | drivers/sound/gus_wave.c | if (!(voices[voice].mode & WAVE_ENVELOPES)) |
mode | 1203 | drivers/sound/gus_wave.c | unsigned char mode = 0; |
mode | 1213 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1269 | drivers/sound/gus_wave.c | is16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0; |
mode | 1270 | drivers/sound/gus_wave.c | voices[voice].mode = samples[sample].mode; |
mode | 1273 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1309 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_16_BITS) |
mode | 1311 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bits */ |
mode | 1329 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1343 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1350 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOPING) |
mode | 1352 | drivers/sound/gus_wave.c | mode |= 0x08; |
mode | 1354 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_BIDIR_LOOP) |
mode | 1355 | drivers/sound/gus_wave.c | mode |= 0x10; |
mode | 1357 | drivers/sound/gus_wave.c | if (samples[sample].mode & WAVE_LOOP_BACK) |
mode | 1362 | drivers/sound/gus_wave.c | mode |= 0x40; |
mode | 1372 | drivers/sound/gus_wave.c | mode |= 0x20; /* Loop IRQ at the end */ |
mode | 1382 | drivers/sound/gus_wave.c | gus_voice_on (mode); |
mode | 1398 | drivers/sound/gus_wave.c | int mode; |
mode | 1417 | drivers/sound/gus_wave.c | mode = gus_read8 (0x00); |
mode | 1418 | drivers/sound/gus_wave.c | if (mode & 0x20) |
mode | 1419 | drivers/sound/gus_wave.c | gus_write8 (0x00, mode & 0xdf); /* No interrupt! */ |
mode | 1437 | drivers/sound/gus_wave.c | if ((mode & 0x01) || (int) ((gus_read16 (0x09) >> 4) < 2065)) |
mode | 1471 | drivers/sound/gus_wave.c | guswave_open (int dev, int mode) |
mode | 1489 | drivers/sound/gus_wave.c | dram_sleep_flag.mode = WK_NONE; |
mode | 1569 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_LOOPING) |
mode | 1588 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1621 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_ENVELOPES) |
mode | 1622 | drivers/sound/gus_wave.c | patch.mode &= ~WAVE_TREMOLO; |
mode | 1672 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1674 | drivers/sound/gus_wave.c | if (!(patch.mode & WAVE_16_BITS) || (i & 0x01)) |
mode | 1720 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_UNSIGNED) |
mode | 1722 | drivers/sound/gus_wave.c | if (patch.mode & WAVE_16_BITS) |
mode | 1742 | drivers/sound/gus_wave.c | dram_sleep_flag.mode = WK_SLEEP; |
mode | 1744 | drivers/sound/gus_wave.c | if (!(dram_sleep_flag.mode & WK_WAKEUP)) |
mode | 1747 | drivers/sound/gus_wave.c | dram_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1749 | drivers/sound/gus_wave.c | dram_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1751 | drivers/sound/gus_wave.c | if ((dram_sleep_flag.mode & WK_TIMEOUT)) |
mode | 1868 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1878 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1888 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1899 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 1910 | drivers/sound/gus_wave.c | if (voices[voice].mode & WAVE_ENVELOPES) |
mode | 2059 | drivers/sound/gus_wave.c | gus_sampling_open (int dev, int mode) |
mode | 2076 | drivers/sound/gus_wave.c | if (mode & OPEN_READ) |
mode | 2081 | drivers/sound/gus_wave.c | only_read_access = !(mode & OPEN_WRITE); |
mode | 2082 | drivers/sound/gus_wave.c | only_8_bits = mode & OPEN_READ; |
mode | 2134 | drivers/sound/gus_wave.c | unsigned char mode[2], ramp_mode[2]; |
mode | 2143 | drivers/sound/gus_wave.c | mode[chn] = 0x00; |
mode | 2148 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Loop IRQ */ |
mode | 2155 | drivers/sound/gus_wave.c | mode[chn] |= 0x04; /* 16 bit data */ |
mode | 2165 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable loop */ |
mode | 2212 | drivers/sound/gus_wave.c | mode[chn] |= 0x08; /* Enable looping */ |
mode | 2221 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2222 | drivers/sound/gus_wave.c | mode[chn] |= 0x20; /* Enable IRQ at the end */ |
mode | 2230 | drivers/sound/gus_wave.c | mode[chn] &= ~0x08; /* Disable looping */ |
mode | 2243 | drivers/sound/gus_wave.c | gus_voice_on (mode[chn]); |
mode | 2354 | drivers/sound/gus_wave.c | unsigned char mode; |
mode | 2361 | drivers/sound/gus_wave.c | mode = 0xa0; /* DMA IRQ enabled, invert MSB */ |
mode | 2364 | drivers/sound/gus_wave.c | mode |= 0x04; /* 16 bit DMA channel */ |
mode | 2366 | drivers/sound/gus_wave.c | mode |= 0x02; /* Stereo */ |
mode | 2367 | drivers/sound/gus_wave.c | mode |= 0x01; /* DMA enable */ |
mode | 2369 | drivers/sound/gus_wave.c | gus_write8 (0x49, mode); |
mode | 3194 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3210 | drivers/sound/gus_wave.c | mode = voices[voice].loop_irq_mode; |
mode | 3214 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3290 | drivers/sound/gus_wave.c | int mode, parm; |
mode | 3304 | drivers/sound/gus_wave.c | mode = voices[voice].volume_irq_mode; |
mode | 3308 | drivers/sound/gus_wave.c | switch (mode) |
mode | 3402 | drivers/sound/gus_wave.c | if ((dram_sleep_flag.mode & WK_SLEEP)) |
mode | 3404 | drivers/sound/gus_wave.c | dram_sleep_flag.mode = WK_WAKEUP; |
mode | 202 | drivers/sound/mad16_sb_midi.c | mad16_sb_midi_open (int dev, int mode, |
mode | 217 | drivers/sound/mad16_sb_midi.c | if (mode != OPEN_WRITE && !mad16_sb_duplex_midi) |
mode | 225 | drivers/sound/mad16_sb_midi.c | if (mode != OPEN_WRITE) |
mode | 98 | drivers/sound/maui.c | maui_sleep_flag.mode = WK_SLEEP; |
mode | 100 | drivers/sound/maui.c | if (!(maui_sleep_flag.mode & WK_WAKEUP)) |
mode | 103 | drivers/sound/maui.c | maui_sleep_flag.mode |= WK_TIMEOUT; |
mode | 105 | drivers/sound/maui.c | maui_sleep_flag.mode &= ~WK_SLEEP; |
mode | 224 | drivers/sound/maui.c | maui_sleep_flag.mode = WK_NONE; |
mode | 448 | drivers/sound/midi_synth.c | midi_synth_open (int dev, int mode) |
mode | 462 | drivers/sound/midi_synth.c | if ((err = midi_devs[orig_dev]->open (orig_dev, mode, |
mode | 477 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode = WK_NONE; |
mode | 550 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode = WK_NONE; |
mode | 582 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode = WK_SLEEP; |
mode | 584 | drivers/sound/midi_synth.c | if (!(sysex_sleep_flag.mode & WK_WAKEUP)) |
mode | 587 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode |= WK_TIMEOUT; |
mode | 589 | drivers/sound/midi_synth.c | sysex_sleep_flag.mode &= ~WK_SLEEP; |
mode | 7 | drivers/sound/midi_synth.h | int midi_synth_open (int dev, int mode); |
mode | 121 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 123 | drivers/sound/midibuf.c | if (!(midi_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 126 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 128 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 148 | drivers/sound/midibuf.c | if ((input_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 150 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 187 | drivers/sound/midibuf.c | (midi_sleep_flag[dev].mode & WK_SLEEP)) |
mode | 189 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_WAKEUP; |
mode | 207 | drivers/sound/midibuf.c | int mode, err; |
mode | 210 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 228 | drivers/sound/midibuf.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 259 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_NONE; |
mode | 260 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_NONE; |
mode | 278 | drivers/sound/midibuf.c | int mode; |
mode | 282 | drivers/sound/midibuf.c | mode = file->mode & O_ACCMODE; |
mode | 294 | drivers/sound/midibuf.c | if (mode != OPEN_READ) |
mode | 311 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 313 | drivers/sound/midibuf.c | if (!(midi_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 316 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 318 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 374 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 376 | drivers/sound/midibuf.c | if (!(midi_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 379 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 381 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 433 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_SLEEP; |
mode | 435 | drivers/sound/midibuf.c | if (!(input_sleep_flag[dev].mode & WK_WAKEUP)) |
mode | 438 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode |= WK_TIMEOUT; |
mode | 440 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode &= ~WK_SLEEP; |
mode | 516 | drivers/sound/midibuf.c | input_sleep_flag[dev].mode = WK_SLEEP; |
mode | 526 | drivers/sound/midibuf.c | midi_sleep_flag[dev].mode = WK_SLEEP; |
mode | 60 | drivers/sound/mpu401.c | int mode; |
mode | 441 | drivers/sound/mpu401.c | if (devc->mode == MODE_SYNTH) |
mode | 491 | drivers/sound/mpu401.c | if (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH)) |
mode | 502 | drivers/sound/mpu401.c | mpu401_open (int dev, int mode, |
mode | 550 | drivers/sound/mpu401.c | devc->mode = MODE_MIDI; |
mode | 556 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 572 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 664 | drivers/sound/mpu401.c | if (devc->opened && devc->mode == MODE_SYNTH) |
mode | 879 | drivers/sound/mpu401.c | mpu_synth_open (int dev, int mode) |
mode | 916 | drivers/sound/mpu401.c | devc->mode = MODE_SYNTH; |
mode | 931 | drivers/sound/mpu401.c | devc->opened = mode; |
mode | 934 | drivers/sound/mpu401.c | if (mode & OPEN_READ) |
mode | 961 | drivers/sound/mpu401.c | devc->mode = 0; |
mode | 1476 | drivers/sound/mpu401.c | mpu_timer_open (int dev, int mode) |
mode | 56 | drivers/sound/opl3.c | int mode; |
mode | 348 | drivers/sound/opl3.c | devc->voc[voice].mode = 0; |
mode | 453 | drivers/sound/opl3.c | if (devc->voc[voice].mode == 0) |
mode | 456 | drivers/sound/opl3.c | if (devc->voc[voice].mode == 2) |
mode | 692 | drivers/sound/opl3.c | devc->voc[voice].mode = voice_mode; |
mode | 839 | drivers/sound/opl3.c | opl3_open (int dev, int mode) |
mode | 911 | drivers/sound/opl3.c | opl3_volume_method (int dev, int mode) |
mode | 947 | drivers/sound/opl3.c | if (devc->voc[voice].mode == 4) |
mode | 43 | drivers/sound/os.h | int mode; |
mode | 49 | drivers/sound/pas2_midi.c | pas_midi_open (int dev, int mode, |
mode | 85 | drivers/sound/pas2_midi.c | if (mode == OPEN_READ || mode == OPEN_READWRITE) |
mode | 93 | drivers/sound/pas2_midi.c | if (mode == OPEN_WRITE || mode == OPEN_READWRITE) |
mode | 239 | drivers/sound/pas2_pcm.c | pas_pcm_open (int dev, int mode) |
mode | 244 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_open(int mode = %X)\n", mode)); |
mode | 262 | drivers/sound/pas2_pcm.c | open_mode = mode; |
mode | 68 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_NONE; |
mode | 85 | drivers/sound/patmgr.c | if ((appl_wait_flag.mode & WK_SLEEP)) |
mode | 87 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_WAKEUP; |
mode | 116 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_SLEEP; |
mode | 118 | drivers/sound/patmgr.c | server_wait_flag[dev].mode &= ~WK_SLEEP;; |
mode | 181 | drivers/sound/patmgr.c | if ((appl_wait_flag.mode & WK_SLEEP)) |
mode | 184 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_WAKEUP; |
mode | 212 | drivers/sound/patmgr.c | if ((server_wait_flag[dev].mode & WK_SLEEP)) |
mode | 215 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_WAKEUP; |
mode | 221 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_SLEEP; |
mode | 223 | drivers/sound/patmgr.c | appl_wait_flag.mode &= ~WK_SLEEP;; |
mode | 282 | drivers/sound/patmgr.c | if ((server_wait_flag[dev].mode & WK_SLEEP)) |
mode | 285 | drivers/sound/patmgr.c | server_wait_flag[dev].mode = WK_WAKEUP; |
mode | 291 | drivers/sound/patmgr.c | appl_wait_flag.mode = WK_SLEEP; |
mode | 293 | drivers/sound/patmgr.c | appl_wait_flag.mode &= ~WK_SLEEP;; |
mode | 60 | drivers/sound/sb16_dsp.c | static int sb16_dsp_open (int dev, int mode); |
mode | 109 | drivers/sound/sb16_dsp.c | dsp_set_speed (int mode) |
mode | 111 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_speed(%d)\n", mode)); |
mode | 112 | drivers/sound/sb16_dsp.c | if (mode) |
mode | 114 | drivers/sound/sb16_dsp.c | if (mode < 5000) |
mode | 115 | drivers/sound/sb16_dsp.c | mode = 5000; |
mode | 116 | drivers/sound/sb16_dsp.c | if (mode > 44100) |
mode | 117 | drivers/sound/sb16_dsp.c | mode = 44100; |
mode | 118 | drivers/sound/sb16_dsp.c | dsp_current_speed = mode; |
mode | 120 | drivers/sound/sb16_dsp.c | return mode; |
mode | 124 | drivers/sound/sb16_dsp.c | dsp_set_stereo (int mode) |
mode | 126 | drivers/sound/sb16_dsp.c | DEB (printk ("dsp_set_stereo(%d)\n", mode)); |
mode | 128 | drivers/sound/sb16_dsp.c | dsp_stereo = mode; |
mode | 130 | drivers/sound/sb16_dsp.c | return mode; |
mode | 206 | drivers/sound/sb16_dsp.c | sb16_dsp_open (int dev, int mode) |
mode | 118 | drivers/sound/sb16_midi.c | sb16midi_open (int dev, int mode, |
mode | 133 | drivers/sound/sb16_midi.c | sb16midi_opened = mode; |
mode | 108 | drivers/sound/sb_dsp.c | static int dsp_set_stereo (int mode); |
mode | 434 | drivers/sound/sb_dsp.c | dsp_set_stereo (int mode) |
mode | 443 | drivers/sound/sb_dsp.c | if (mode && sb_midi_busy) |
mode | 449 | drivers/sound/sb_dsp.c | dsp_stereo = !!mode; |
mode | 821 | drivers/sound/sb_dsp.c | sb_dsp_open (int dev, int mode) |
mode | 831 | drivers/sound/sb_dsp.c | if (sb_no_recording && mode & OPEN_READ) |
mode | 877 | drivers/sound/sb_dsp.c | open_mode = mode; |
mode | 71 | drivers/sound/sb_midi.c | sb_midi_open (int dev, int mode, |
mode | 87 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE && !sb_duplex_midi) |
mode | 95 | drivers/sound/sb_midi.c | if (mode != OPEN_WRITE) |
mode | 98 | drivers/sound/sb_mixer.c | sb_mixer_set_stereo (int mode) |
mode | 104 | drivers/sound/sb_mixer.c | | (mode ? STEREO_DAC : MONO_DAC))); |
mode | 138 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_SLEEP; |
mode | 140 | drivers/sound/sequencer.c | if (!(midi_sleep_flag.mode & WK_WAKEUP)) |
mode | 143 | drivers/sound/sequencer.c | midi_sleep_flag.mode |= WK_TIMEOUT; |
mode | 145 | drivers/sound/sequencer.c | midi_sleep_flag.mode &= ~WK_SLEEP; |
mode | 201 | drivers/sound/sequencer.c | if ((midi_sleep_flag.mode & WK_SLEEP)) |
mode | 204 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_WAKEUP; |
mode | 270 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 276 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 342 | drivers/sound/sequencer.c | int mode; |
mode | 351 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 353 | drivers/sound/sequencer.c | if ((err = midi_devs[dev]->open (dev, mode, |
mode | 407 | drivers/sound/sequencer.c | if (!nonblock && qlen >= SEQ_MAX_QUEUE && !(seq_sleep_flag.mode & WK_SLEEP)) |
mode | 413 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 415 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP;; |
mode | 713 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 716 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 753 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 756 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 889 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 892 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 1025 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 1028 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 1081 | drivers/sound/sequencer.c | int retval, mode, i; |
mode | 1088 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1155 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1180 | drivers/sound/sequencer.c | if ((tmp = synth_devs[i]->open (i, mode)) < 0) |
mode | 1199 | drivers/sound/sequencer.c | if (seq_mode == SEQ_1 && (mode == OPEN_READ || mode == OPEN_READWRITE)) |
mode | 1206 | drivers/sound/sequencer.c | if ((retval = midi_devs[i]->open (i, mode, |
mode | 1217 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_NONE; |
mode | 1218 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_NONE; |
mode | 1262 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1264 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 1267 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1269 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1279 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1299 | drivers/sound/sequencer.c | if (mode != OPEN_READ && !(file->flags & (O_NONBLOCK) ? |
mode | 1306 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1311 | drivers/sound/sequencer.c | if (mode != OPEN_READ) |
mode | 1352 | drivers/sound/sequencer.c | if (qlen && !(seq_sleep_flag.mode & WK_SLEEP)) |
mode | 1362 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1364 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 1367 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1369 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1407 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1409 | drivers/sound/sequencer.c | if (!(seq_sleep_flag.mode & WK_WAKEUP)) |
mode | 1412 | drivers/sound/sequencer.c | seq_sleep_flag.mode |= WK_TIMEOUT; |
mode | 1414 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1493 | drivers/sound/sequencer.c | if ((seq_sleep_flag.mode & WK_SLEEP)) |
mode | 1497 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_WAKEUP; |
mode | 1532 | drivers/sound/sequencer.c | int mode = file->mode & O_ACCMODE; |
mode | 1580 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1612 | drivers/sound/sequencer.c | int err, mode; |
mode | 1614 | drivers/sound/sequencer.c | mode = file->mode & O_ACCMODE; |
mode | 1615 | drivers/sound/sequencer.c | if ((err = midi_devs[midi_dev]->open (midi_dev, mode, |
mode | 1632 | drivers/sound/sequencer.c | if (mode == OPEN_WRITE) |
mode | 1639 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1883 | drivers/sound/sequencer.c | if (mode == OPEN_READ) |
mode | 1911 | drivers/sound/sequencer.c | midi_sleep_flag.mode = WK_SLEEP; |
mode | 1916 | drivers/sound/sequencer.c | midi_sleep_flag.mode &= ~WK_SLEEP; |
mode | 1926 | drivers/sound/sequencer.c | seq_sleep_flag.mode = WK_SLEEP; |
mode | 1931 | drivers/sound/sequencer.c | seq_sleep_flag.mode &= ~WK_SLEEP; |
mode | 5 | drivers/sound/sound_calls.h | int DMAbuf_open(int dev, int mode); |
mode | 6 | drivers/sound/sound_calls.h | int DMAbuf_release(int dev, int mode); |
mode | 129 | drivers/sound/sound_calls.h | void sb_mixer_set_stereo(int mode); |
mode | 132 | drivers/sound/sound_config.h | int mode; /* Open mode */ |
mode | 110 | drivers/sound/sound_timer.c | timer_open (int dev, int mode) |
mode | 119 | drivers/sound/soundcard.c | tmp_file.mode = 0; |
mode | 123 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_READWRITE; |
mode | 125 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_READ; |
mode | 127 | drivers/sound/soundcard.c | tmp_file.mode = OPEN_WRITE; |
mode | 310 | drivers/sound/sscape.c | if ((sscape_sleep_flag.mode & WK_SLEEP)) |
mode | 313 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_WAKEUP; |
mode | 345 | drivers/sound/sscape.c | do_dma (struct sscape_info *devc, int dma_chan, unsigned long buf, int blk_size, int mode) |
mode | 357 | drivers/sound/sscape.c | blk_size, mode); |
mode | 407 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_NONE; |
mode | 426 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_NONE; |
mode | 496 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_NONE; |
mode | 511 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_SLEEP; |
mode | 513 | drivers/sound/sscape.c | if (!(sscape_sleep_flag.mode & WK_WAKEUP)) |
mode | 516 | drivers/sound/sscape.c | sscape_sleep_flag.mode |= WK_TIMEOUT; |
mode | 518 | drivers/sound/sscape.c | sscape_sleep_flag.mode &= ~WK_SLEEP; |
mode | 559 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_SLEEP; |
mode | 561 | drivers/sound/sscape.c | if (!(sscape_sleep_flag.mode & WK_WAKEUP)) |
mode | 564 | drivers/sound/sscape.c | sscape_sleep_flag.mode |= WK_TIMEOUT; |
mode | 566 | drivers/sound/sscape.c | sscape_sleep_flag.mode &= ~WK_SLEEP; |
mode | 592 | drivers/sound/sscape.c | sscape_sleep_flag.mode = WK_SLEEP; |
mode | 594 | drivers/sound/sscape.c | if (!(sscape_sleep_flag.mode & WK_WAKEUP)) |
mode | 597 | drivers/sound/sscape.c | sscape_sleep_flag.mode |= WK_TIMEOUT; |
mode | 599 | drivers/sound/sscape.c | sscape_sleep_flag.mode &= ~WK_SLEEP; |
mode | 693 | drivers/sound/sscape.c | sscape_audio_open (int dev, int mode) |
mode | 106 | drivers/sound/sys_timer.c | def_tmr_open (int dev, int mode) |
mode | 149 | drivers/sound/uart6850.c | uart6850_open (int dev, int mode, |
mode | 166 | drivers/sound/uart6850.c | uart6850_opened = mode; |
mode | 111 | fs/exec.c | int open_inode(struct inode * inode, int mode) |
mode | 133 | fs/exec.c | f->f_flags = mode; |
mode | 134 | fs/exec.c | f->f_mode = (mode+1) & O_ACCMODE; |
mode | 307 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 323 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 341 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 361 | fs/ext/namei.c | inode->i_mode = mode; |
mode | 378 | fs/ext/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 400 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 447 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 50 | fs/ext/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 81 | fs/ext/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 28 | fs/ext2/acl.c | unsigned short mode = inode->i_mode; |
mode | 44 | fs/ext2/acl.c | mode >>= 6; |
mode | 46 | fs/ext2/acl.c | mode >>= 3; |
mode | 47 | fs/ext2/acl.c | if (((mode & mask & S_IRWXO) == mask)) |
mode | 270 | fs/ext2/ialloc.c | int mode) |
mode | 308 | fs/ext2/ialloc.c | struct inode * ext2_new_inode (const struct inode * dir, int mode, int * err) |
mode | 331 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) { |
mode | 446 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 452 | fs/ext2/ialloc.c | inode->i_mode = mode; |
mode | 462 | fs/ext2/ialloc.c | if (S_ISDIR(mode)) |
mode | 463 | fs/ext2/ialloc.c | mode |= S_ISGID; |
mode | 472 | fs/ext2/ialloc.c | if (S_ISLNK(mode)) |
mode | 485 | fs/ext2/ialloc.c | inc_inode_version (inode, gdp, mode); |
mode | 367 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
mode | 378 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode, &err); |
mode | 384 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 408 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
mode | 424 | fs/ext2/namei.c | inode = ext2_new_inode (dir, mode, &err); |
mode | 430 | fs/ext2/namei.c | inode->i_mode = mode; |
mode | 447 | fs/ext2/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 472 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
mode | 520 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
mode | 55 | fs/ext2/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 90 | fs/ext2/symlink.c | error = open_namei (link, flag, mode, res_inode, dir); |
mode | 66 | fs/isofs/inode.c | mode_t mode; |
mode | 82 | fs/isofs/inode.c | popt->mode = S_IRUGO; |
mode | 150 | fs/isofs/inode.c | popt->mode = ivalue; |
mode | 376 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
mode | 296 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
mode | 30 | fs/isofs/rock.h | char mode[8]; |
mode | 48 | fs/isofs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 76 | fs/isofs/symlink.c | error = open_namei(pnt,flag,mode,res_inode,dir); |
mode | 211 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 228 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 246 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 267 | fs/minix/namei.c | inode->i_mode = mode; |
mode | 284 | fs/minix/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 303 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 350 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 44 | fs/minix/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 75 | fs/minix/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 295 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 328 | fs/msdos/namei.c | res = msdos_create_entry(dir,msdos_name,len,S_ISDIR(mode),is_hid, |
mode | 421 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 101 | fs/namei.c | int mode = inode->i_mode; |
mode | 108 | fs/namei.c | mode >>= 6; |
mode | 110 | fs/namei.c | mode >>= 3; |
mode | 111 | fs/namei.c | if (((mode & mask & 0007) == mask) || fsuser()) |
mode | 192 | fs/namei.c | int flag, int mode, struct inode ** res_inode) |
mode | 205 | fs/namei.c | return inode->i_op->follow_link(dir,inode,flag,mode,res_inode); |
mode | 332 | fs/namei.c | int open_namei(const char * pathname, int flag, int mode, |
mode | 339 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
mode | 340 | fs/namei.c | mode |= S_IFREG; |
mode | 376 | fs/namei.c | error = dir->i_op->create(dir, basename, namelen, mode, res_inode); |
mode | 388 | fs/namei.c | error = follow_link(dir,inode,flag,mode,&inode); |
mode | 450 | fs/namei.c | int do_mknod(const char * filename, int mode, dev_t dev) |
mode | 456 | fs/namei.c | mode &= ~current->fs->umask; |
mode | 480 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
mode | 486 | fs/namei.c | asmlinkage int sys_mknod(const char * filename, int mode, dev_t dev) |
mode | 491 | fs/namei.c | if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !fsuser())) |
mode | 493 | fs/namei.c | switch (mode & S_IFMT) { |
mode | 495 | fs/namei.c | mode |= S_IFREG; |
mode | 504 | fs/namei.c | error = do_mknod(tmp,mode,dev); |
mode | 510 | fs/namei.c | static int do_mkdir(const char * pathname, int mode) |
mode | 539 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
mode | 545 | fs/namei.c | asmlinkage int sys_mkdir(const char * pathname, int mode) |
mode | 552 | fs/namei.c | error = do_mkdir(tmp,mode); |
mode | 51 | fs/ncpfs/dir.c | ncp_create(struct inode *dir, const char *name, int len, int mode, |
mode | 55 | fs/ncpfs/dir.c | ncp_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 875 | fs/ncpfs/dir.c | ncp_create(struct inode *dir, const char *name, int len, int mode, |
mode | 927 | fs/ncpfs/dir.c | ncp_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 26 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 28 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 35 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
mode | 285 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
mode | 370 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
mode | 388 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 406 | fs/nfs/dir.c | int mode, int rdev) |
mode | 422 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 424 | fs/nfs/dir.c | if (S_ISCHR(mode) || S_ISBLK(mode)) |
mode | 437 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 453 | fs/nfs/dir.c | sattr.mode = mode; |
mode | 523 | fs/nfs/dir.c | sattr.mode = S_IFLNK | S_IRWXUGO; /* SunOS 4.1.2 crashes without this! */ |
mode | 616 | fs/nfs/dir.c | inode->i_mode = fattr->mode; |
mode | 266 | fs/nfs/inode.c | sattr.mode = (unsigned) -1; |
mode | 268 | fs/nfs/inode.c | sattr.mode = attr->ia_mode; |
mode | 167 | fs/nfs/proc.c | fattr->mode = ntohl(*p++); |
mode | 188 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
mode | 49 | fs/nfs/symlink.c | int flag, int mode, struct inode **res_inode) |
mode | 90 | fs/nfs/symlink.c | error = open_namei(res2, flag, mode, res_inode, dir); |
mode | 229 | fs/open.c | asmlinkage int sys_access(const char * filename, int mode) |
mode | 235 | fs/open.c | if (mode != (mode & S_IRWXO)) /* where's F_OK, X_OK, W_OK, R_OK? */ |
mode | 243 | fs/open.c | res = permission(inode, mode); |
mode | 313 | fs/open.c | asmlinkage int sys_fchmod(unsigned int fd, mode_t mode) |
mode | 327 | fs/open.c | if (mode == (mode_t) -1) |
mode | 328 | fs/open.c | mode = inode->i_mode; |
mode | 329 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 335 | fs/open.c | asmlinkage int sys_chmod(const char * filename, mode_t mode) |
mode | 352 | fs/open.c | if (mode == (mode_t) -1) |
mode | 353 | fs/open.c | mode = inode->i_mode; |
mode | 354 | fs/open.c | newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |
mode | 479 | fs/open.c | int do_open(const char * filename,int flags,int mode) |
mode | 494 | fs/open.c | error = open_namei(filename,flag,mode,&inode,NULL); |
mode | 541 | fs/open.c | asmlinkage int sys_open(const char * filename,int flags,int mode) |
mode | 549 | fs/open.c | error = do_open(tmp,flags,mode); |
mode | 560 | fs/open.c | asmlinkage int sys_creat(const char * pathname, int mode) |
mode | 562 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |
mode | 80 | fs/proc/inode.c | if (de->mode) { |
mode | 81 | fs/proc/inode.c | inode->i_mode = de->mode; |
mode | 66 | fs/proc/link.c | int flag, int mode, struct inode ** res_inode) |
mode | 159 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
mode | 172 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
mode | 204 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
mode | 213 | fs/proc/root.c | int flag, int mode, struct inode ** res_inode) |
mode | 50 | fs/smbfs/dir.c | smb_create(struct inode *dir, const char *name, int len, int mode, |
mode | 54 | fs/smbfs/dir.c | smb_mkdir(struct inode *dir, const char *name, int len, int mode); |
mode | 762 | fs/smbfs/dir.c | smb_create(struct inode *dir, const char *name, int len, int mode, |
mode | 808 | fs/smbfs/dir.c | smb_mkdir(struct inode *dir, const char *name, int len, int mode) |
mode | 805 | fs/sysv/inode.c | umode_t mode; |
mode | 824 | fs/sysv/inode.c | mode = raw_inode->i_mode; |
mode | 826 | fs/sysv/inode.c | mode = from_coh_imode(mode); |
mode | 828 | fs/sysv/inode.c | inode->i_mode = mode; |
mode | 894 | fs/sysv/inode.c | umode_t mode; |
mode | 911 | fs/sysv/inode.c | mode = inode->i_mode; |
mode | 913 | fs/sysv/inode.c | mode = to_coh_imode(mode); |
mode | 914 | fs/sysv/inode.c | raw_inode->i_mode = mode; |
mode | 204 | fs/sysv/namei.c | int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 221 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 239 | fs/sysv/namei.c | int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
mode | 260 | fs/sysv/namei.c | inode->i_mode = mode; |
mode | 277 | fs/sysv/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 296 | fs/sysv/namei.c | int sysv_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 341 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
mode | 50 | fs/sysv/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 81 | fs/sysv/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 343 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
mode | 344 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
mode | 395 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
mode | 695 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
mode | 421 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
mode | 422 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 485 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
mode | 329 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
mode | 239 | fs/umsdos/ioctl.c | ,S_ISDIR(data.umsdos_dirent.mode)); |
mode | 308 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_umask = data.umsdos_dirent.mode; |
mode | 203 | fs/umsdos/namei.c | int mode, /* Permission bit + file type ??? */ |
mode | 216 | fs/umsdos/namei.c | info.entry.mode = mode; |
mode | 286 | fs/umsdos/namei.c | new_info->entry.mode = old_info->entry.mode; |
mode | 361 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
mode | 365 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
mode | 425 | fs/umsdos/namei.c | int mode, |
mode | 442 | fs/umsdos/namei.c | ret = umsdos_create_any (dir,name,len,mode,0,flags,&inode); |
mode | 668 | fs/umsdos/namei.c | int mode, /* Permission bit + file type ??? */ |
mode | 672 | fs/umsdos/namei.c | return umsdos_create_any (dir,name,len,mode,0,0,result); |
mode | 681 | fs/umsdos/namei.c | int mode) |
mode | 689 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
mode | 703 | fs/umsdos/namei.c | ret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode); |
mode | 747 | fs/umsdos/namei.c | int mode, |
mode | 765 | fs/umsdos/namei.c | int ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode); |
mode | 991 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
mode | 55 | fs/umsdos/symlink.c | int mode, |
mode | 86 | fs/umsdos/symlink.c | ret = open_namei(path,flag,mode,res_inode,dir); |
mode | 1005 | fs/vfat/namei.c | int vfat_create(struct inode *dir,const char *name,int len,int mode, |
mode | 1297 | fs/vfat/namei.c | int vfat_mkdir(struct inode *dir,const char *name,int len,int mode) |
mode | 245 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
mode | 261 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 279 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
mode | 299 | fs/xiafs/namei.c | inode->i_mode = mode; |
mode | 316 | fs/xiafs/namei.c | if (S_ISBLK(mode) || S_ISCHR(mode)) |
mode | 336 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
mode | 382 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
mode | 78 | fs/xiafs/symlink.c | int flag, int mode, struct inode ** res_inode) |
mode | 113 | fs/xiafs/symlink.c | error = open_namei(bh->b_data,flag,mode,res_inode,dir); |
mode | 180 | include/asm-alpha/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 183 | include/asm-alpha/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 185 | include/asm-alpha/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 21 | include/asm-alpha/floppy.h | #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA,mode) |
mode | 240 | include/asm-alpha/unistd.h | static inline int open(const char * name, int mode, int flags) |
mode | 242 | include/asm-alpha/unistd.h | return sys_open(name, mode, flags); |
mode | 165 | include/asm-i386/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 168 | include/asm-i386/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 170 | include/asm-i386/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 21 | include/asm-i386/floppy.h | #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA,mode) |
mode | 280 | include/asm-i386/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 174 | include/asm-mips/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 177 | include/asm-mips/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 179 | include/asm-mips/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 27 | include/asm-mips/floppy.h | #define fd_set_dma_mode(mode) feature->fd_set_dma_mode(mode) |
mode | 22 | include/asm-mips/jazzdma.h | void vdma_set_mode(int channel, int mode); |
mode | 1305 | include/asm-mips/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 34 | include/asm-mips/vector.h | void (*fd_set_dma_mode)(char mode); |
mode | 165 | include/asm-ppc/dma.h | static __inline__ void set_dma_mode(unsigned int dmanr, char mode) |
mode | 168 | include/asm-ppc/dma.h | dma_outb(mode | dmanr, DMA1_MODE_REG); |
mode | 170 | include/asm-ppc/dma.h | dma_outb(mode | (dmanr&3), DMA2_MODE_REG); |
mode | 275 | include/asm-ppc/unistd.h | static /*inline*/ _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 61 | include/asm-sparc/floppy.h | #define fd_set_dma_mode(mode) sun_fd_set_dma_mode(mode) |
mode | 221 | include/asm-sparc/floppy.h | static inline void sun_fd_set_dma_mode(int mode) |
mode | 223 | include/asm-sparc/floppy.h | switch(mode) { |
mode | 231 | include/asm-sparc/floppy.h | printk("Unknown dma mode %d\n", mode); |
mode | 418 | include/asm-sparc/unistd.h | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
mode | 47 | include/linux/binfmts.h | extern int open_inode(struct inode * inode, int mode); |
mode | 123 | include/linux/cdk.h | unsigned short mode; |
mode | 415 | include/linux/cdrom.h | u_char mode; /* cache control byte */ |
mode | 67 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
mode | 69 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 75 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 564 | include/linux/fs.h | extern int open_namei(const char * pathname, int flag, int mode, |
mode | 566 | include/linux/fs.h | extern int do_mknod(const char * filename, int mode, dev_t dev); |
mode | 96 | include/linux/if_ppp.h | enum NPmode mode; |
mode | 15 | include/linux/ipc.h | ushort mode; /* access modes see mode flags below */ |
mode | 142 | include/linux/md.h | extern int md_valid_device (int minor, kdev_t dev, int mode); |
mode | 93 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
mode | 95 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 101 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 247 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
mode | 250 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
mode | 131 | include/linux/nfs.h | u_int mode; |
mode | 147 | include/linux/nfs.h | u_int mode; |
mode | 163 | include/linux/proc_fs.h | mode_t mode; |
mode | 30 | include/linux/random.h | extern void rand_initialize_blkdev(int irq, int mode); |
mode | 154 | include/linux/skbuff.h | extern void dev_kfree_skb(struct sk_buff *skb, int mode); |
mode | 134 | include/linux/socket.h | extern int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode); |
mode | 153 | include/linux/soundcard.h | unsigned int mode; |
mode | 971 | include/linux/soundcard.h | #define SEQ_VOLUME_MODE(dev, mode) {_SEQ_NEEDBUF(8);\ |
mode | 975 | include/linux/soundcard.h | _seqbuf[_seqbufptr+3] = (mode);\ |
mode | 166 | include/linux/sysctl.h | mode_t mode; |
mode | 279 | include/linux/sysv_fs.h | extern inline mode_t from_coh_imode(unsigned short mode) |
mode | 281 | include/linux/sysv_fs.h | if (mode == COH_KLUDGE_SYMLINK_MODE) |
mode | 284 | include/linux/sysv_fs.h | return mode; |
mode | 286 | include/linux/sysv_fs.h | extern inline unsigned short to_coh_imode(mode_t mode) |
mode | 288 | include/linux/sysv_fs.h | if (S_ISLNK(mode)) |
mode | 290 | include/linux/sysv_fs.h | else if (mode == COH_KLUDGE_SYMLINK_MODE) |
mode | 293 | include/linux/sysv_fs.h | return mode; |
mode | 366 | include/linux/sysv_fs.h | extern int sysv_create(struct inode * dir,const char * name, int len, int mode, |
mode | 368 | include/linux/sysv_fs.h | extern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 374 | include/linux/sysv_fs.h | extern int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
mode | 42 | include/linux/umsdos_fs.h | umode_t mode; /* Standard UNIX permissions bits + type of */ |
mode | 9 | include/linux/vt.h | char mode; /* vt mode */ |
mode | 124 | include/linux/xd.h | static u_int xd_command (u_char *command,u_char mode,u_char *indata,u_char *outdata,u_char *sense,u_long timeout); |
mode | 69 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
mode | 71 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
mode | 79 | include/linux/xia_fs.h | int mode, int rdev); |
mode | 343 | ipc/msg.c | ipcp->mode = (msgflg & S_IRWXUGO); |
mode | 535 | ipc/msg.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | |
mode | 536 | ipc/msg.c | (S_IRWXUGO & tbuf.msg_perm.mode); |
mode | 113 | ipc/sem.c | ipcp->mode = (semflg & S_IRWXUGO); |
mode | 524 | ipc/sem.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 525 | ipc/sem.c | | (tbuf.sem_perm.mode & S_IRWXUGO); |
mode | 112 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
mode | 150 | ipc/shm.c | if (shp->shm_perm.mode & SHM_DEST) |
mode | 292 | ipc/shm.c | if (!(ipcp->mode & SHM_LOCKED)) |
mode | 294 | ipc/shm.c | ipcp->mode &= ~SHM_LOCKED; |
mode | 302 | ipc/shm.c | if (ipcp->mode & SHM_LOCKED) |
mode | 304 | ipc/shm.c | ipcp->mode |= SHM_LOCKED; |
mode | 329 | ipc/shm.c | ipcp->mode = (ipcp->mode & ~S_IRWXUGO) |
mode | 330 | ipc/shm.c | | (tbuf.shm_perm.mode & S_IRWXUGO); |
mode | 338 | ipc/shm.c | shp->shm_perm.mode |= SHM_DEST; |
mode | 531 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 581 | ipc/shm.c | if (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST) |
mode | 693 | ipc/shm.c | if (shp == IPC_UNUSED || shp == IPC_NOID || shp->shm_perm.mode & SHM_LOCKED ) { |
mode | 39 | ipc/util.c | granted_mode = ipcp->mode; |
mode | 218 | kernel/sysctl.c | static int test_perm(int mode, int op) |
mode | 221 | kernel/sysctl.c | mode >>= 6; |
mode | 223 | kernel/sysctl.c | mode >>= 3; |
mode | 224 | kernel/sysctl.c | if ((mode & op & 0007) == op) |
mode | 230 | kernel/sysctl.c | return test_perm(table->mode, op); |
mode | 387 | kernel/sysctl.c | de->mode = table->mode; |
mode | 399 | kernel/sysctl.c | de->mode |= S_IFREG; |
mode | 405 | kernel/sysctl.c | de->mode |= S_IFDIR; |
mode | 409 | kernel/sysctl.c | if (de->mode & S_IFDIR ) |
mode | 420 | kernel/sysctl.c | if (de->mode & S_IFDIR) { |
mode | 2380 | net/ax25/af_ax25.c | int mode; |
mode | 2386 | net/ax25/af_ax25.c | mode = ax25_ip_mode_get((ax25_address *)(bp + 1), dev); |
mode | 2387 | net/ax25/af_ax25.c | if (mode == 'V' || mode == 'v' || (mode == ' ' && ax25_dev_get_value(dev, AX25_VALUES_IPDEFMODE) == 'V')) { |
mode | 28 | net/core/iovec.c | int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode) |
mode | 36 | net/core/iovec.c | if(mode==VERIFY_READ) { |
mode | 40 | net/core/iovec.c | err=verify_area(mode, m->msg_name, m->msg_namelen); |
mode | 46 | net/core/iovec.c | err=verify_area(mode, m->msg_accrights, m->msg_accrightslen); |
mode | 57 | net/core/iovec.c | err=verify_area(mode, iov[ct].iov_base, iov[ct].iov_len); |
mode | 742 | net/core/skbuff.c | void dev_kfree_skb(struct sk_buff *skb, int mode) |
mode | 754 | net/core/skbuff.c | kfree_skb(skb,mode); |
mode | 1158 | net/unix/af_unix.c | static int unix_shutdown(struct socket *sock, int mode) |
mode | 1162 | net/unix/af_unix.c | if(mode&SEND_SHUTDOWN) |
mode | 1173 | net/unix/af_unix.c | if(mode&RCV_SHUTDOWN) |