/arch/arm/mach-orion5x/ |
D | mpp.c | 121 void __init orion5x_mpp_conf(struct orion5x_mpp_mode *mode) in orion5x_mpp_conf() argument 127 while (mode->mpp >= 0) { in orion5x_mpp_conf() 132 if (mode->mpp >= 0 && mode->mpp <= 7) in orion5x_mpp_conf() 134 else if (mode->mpp >= 8 && mode->mpp <= 15) in orion5x_mpp_conf() 136 else if (mode->mpp >= 16 && mode->mpp <= 19) in orion5x_mpp_conf() 140 "(%d)\n", mode->mpp); in orion5x_mpp_conf() 144 num_type = determine_type_encoding(mode->mpp, mode->type); in orion5x_mpp_conf() 147 "combination (%d, %d)\n", mode->mpp, in orion5x_mpp_conf() 148 mode->type); in orion5x_mpp_conf() 152 shift = (mode->mpp & 7) << 2; in orion5x_mpp_conf() [all …]
|
/arch/x86/boot/ |
D | video-mode.c | 54 int mode_defined(u16 mode) in mode_defined() argument 63 if (mi->mode == mode) in mode_defined() 72 static int raw_set_mode(u16 mode, u16 *real_mode) in raw_set_mode() argument 79 mode &= ~VIDEO_RECALC; in raw_set_mode() 88 if ((mode == nmode && visible) || in raw_set_mode() 89 mode == mi->mode || in raw_set_mode() 90 mode == (mi->y << 8)+mi->x) { in raw_set_mode() 91 *real_mode = mi->mode; in raw_set_mode() 102 if (mode >= card->xmode_first && in raw_set_mode() 103 mode < card->xmode_first+card->xmode_n) { in raw_set_mode() [all …]
|
D | video-bios.c | 23 static int set_bios_mode(u8 mode); 27 return set_bios_mode(mi->mode - VIDEO_FIRST_BIOS); in bios_set_mode() 30 static int set_bios_mode(u8 mode) in set_bios_mode() argument 35 ax = mode; /* AH=0x00 Set Video Mode */ in set_bios_mode() 48 if (new_mode == mode) in set_bios_mode() 67 u8 mode; in bios_probe() local 85 for (mode = 0x14; mode <= 0x7f; mode++) { in bios_probe() 89 if (mode_defined(VIDEO_FIRST_BIOS+mode)) in bios_probe() 92 if (set_bios_mode(mode)) in bios_probe() 110 mi->mode = VIDEO_FIRST_BIOS+mode; in bios_probe()
|
D | video-vga.c | 44 u8 mode; in vga_set_basic_mode() local 59 mode = (u8)ax; in vga_set_basic_mode() 67 return mode; in vga_set_basic_mode() 70 if (mode != 3 && mode != 7) in vga_set_basic_mode() 71 mode = 3; in vga_set_basic_mode() 74 ax = mode; in vga_set_basic_mode() 79 return mode; in vga_set_basic_mode() 169 static int vga_set_mode(struct mode_info *mode) in vga_set_mode() argument 175 force_x = mode->x; in vga_set_mode() 176 force_y = mode->y; in vga_set_mode() [all …]
|
D | video-vesa.c | 35 u16 mode; in vesa_probe() local 57 while ((mode = rdfs16(mode_ptr)) != 0xffff) { in vesa_probe() 63 if (mode & ~0x1ff) in vesa_probe() 69 cx = mode; in vesa_probe() 82 mi->mode = mode + VIDEO_FIRST_VESA; in vesa_probe() 97 mi->mode = mode + VIDEO_FIRST_VESA; in vesa_probe() 112 static int vesa_set_mode(struct mode_info *mode) in vesa_set_mode() argument 116 u16 vesa_mode = mode->mode - VIDEO_FIRST_VESA; in vesa_set_mode() 157 force_x = mode->x; in vesa_set_mode() 158 force_y = mode->y; in vesa_set_mode()
|
/arch/blackfin/lib/ |
D | gcclib.h | 33 typedef unsigned int UQItype __attribute__ ((mode(QI))); 34 typedef int SItype __attribute__ ((mode(SI))); 35 typedef unsigned int USItype __attribute__ ((mode(SI))); 36 typedef int DItype __attribute__ ((mode(DI))); 37 typedef int word_type __attribute__ ((mode(__word__))); 38 typedef unsigned int UDItype __attribute__ ((mode(DI)));
|
/arch/arm/mach-ks8695/ |
D | irq.c | 69 unsigned long ctrl, mode; in ks8695_irq_set_type() local 76 mode = IOPC_TM_HIGH; in ks8695_irq_set_type() 80 mode = IOPC_TM_LOW; in ks8695_irq_set_type() 84 mode = IOPC_TM_RISING; in ks8695_irq_set_type() 87 mode = IOPC_TM_FALLING; in ks8695_irq_set_type() 90 mode = IOPC_TM_EDGE; in ks8695_irq_set_type() 99 ctrl |= IOPC_IOEINT0_MODE(mode); in ks8695_irq_set_type() 103 ctrl |= IOPC_IOEINT1_MODE(mode); in ks8695_irq_set_type() 107 ctrl |= IOPC_IOEINT2_MODE(mode); in ks8695_irq_set_type() 111 ctrl |= IOPC_IOEINT3_MODE(mode); in ks8695_irq_set_type()
|
/arch/arm/plat-omap/include/mach/ |
D | system.h | 16 extern void omap_prcm_arch_reset(char mode); 23 static inline void omap1_arch_reset(char mode) in omap1_arch_reset() argument 41 static inline void arch_reset(char mode) in arch_reset() argument 44 omap1_arch_reset(mode); in arch_reset() 46 omap_prcm_arch_reset(mode); in arch_reset()
|
/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() 223 if (strncmp (buffer + mode+9, "32 ", 10)) { in main() 227 } else if (strncmp (buffer + mode+9, "WDISP30 ", 10) && in main() [all …]
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1xxx_ide.h | 187 #define SBC_IDE_TIMING(mode) \ argument 188 (SBC_IDE_##mode##_TWCS | \ 189 SBC_IDE_##mode##_TCSH | \ 190 SBC_IDE_##mode##_TCSOFF | \ 191 SBC_IDE_##mode##_TWP | \ 192 SBC_IDE_##mode##_TCSW | \ 193 SBC_IDE_##mode##_TPM | \ 194 SBC_IDE_##mode##_TA)
|
D | au1000_dma.h | 119 unsigned int mode; member 239 u32 mode; in init_dma() local 249 mode = chan->mode | (chan->dev_id << DMA_DID_BIT); in init_dma() 251 mode |= DMA_IE; in init_dma() 253 au_writel(~mode, chan->io + DMA_MODE_CLEAR); in init_dma() 254 au_writel(mode, chan->io + DMA_MODE_SET); in init_dma() 260 static inline void set_dma_mode(unsigned int dmanr, unsigned int mode) in set_dma_mode() argument 271 mode &= (DMA_BE | DMA_DR | DMA_TS8 | DMA_DW_MASK | DMA_NC); in set_dma_mode() 272 chan->mode &= ~(DMA_BE | DMA_DR | DMA_TS8 | DMA_DW_MASK | DMA_NC); in set_dma_mode() 273 chan->mode |= mode; in set_dma_mode() [all …]
|
/arch/mips/kernel/ |
D | irq_txx9.c | 64 unsigned char mode; member 109 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode))) in txx9_irq_mask_ack() 119 int mode; in txx9_irq_set_type() local 124 case IRQF_TRIGGER_RISING: mode = TXx9_IRCR_UP; break; in txx9_irq_set_type() 125 case IRQF_TRIGGER_FALLING: mode = TXx9_IRCR_DOWN; break; in txx9_irq_set_type() 126 case IRQF_TRIGGER_HIGH: mode = TXx9_IRCR_HIGH; break; in txx9_irq_set_type() 127 case IRQF_TRIGGER_LOW: mode = TXx9_IRCR_LOW; break; in txx9_irq_set_type() 135 cr |= (mode & 0x3) << ofs; in txx9_irq_set_type() 137 txx9irq[irq_nr].mode = mode; in txx9_irq_set_type() 157 txx9irq[i].mode = TXx9_IRCR_LOW; in txx9_irq_init()
|
/arch/mips/txx9/generic/ |
D | irq_tx4939.c | 49 unsigned char mode; member 94 if (TXx9_IRCR_EDGE(tx4939irq[irq_nr].mode)) { in tx4939_irq_mask_ack() 109 int mode; in tx4939_irq_set_type() local 115 mode = TXx9_IRCR_UP; in tx4939_irq_set_type() 118 mode = TXx9_IRCR_DOWN; in tx4939_irq_set_type() 121 mode = TXx9_IRCR_HIGH; in tx4939_irq_set_type() 124 mode = TXx9_IRCR_LOW; in tx4939_irq_set_type() 139 cr |= (mode & 0x3) << ofs; in tx4939_irq_set_type() 141 tx4939irq[irq_nr].mode = mode; in tx4939_irq_set_type() 177 tx4939irq[i].mode = TXx9_IRCR_LOW; in tx4939_irq_init()
|
/arch/s390/math-emu/ |
D | math.c | 150 int mode; in emu_axbr() local 152 mode = current->thread.fp_regs.fpc & 3; in emu_axbr() 171 int mode; in emu_adbr() local 173 mode = current->thread.fp_regs.fpc & 3; in emu_adbr() 186 int mode; in emu_adb() local 188 mode = current->thread.fp_regs.fpc & 3; in emu_adb() 201 int mode; in emu_aebr() local 203 mode = current->thread.fp_regs.fpc & 3; in emu_aebr() 216 int mode; in emu_aeb() local 218 mode = current->thread.fp_regs.fpc & 3; in emu_aeb() [all …]
|
/arch/m68k/include/asm/ |
D | dma_no.h | 170 static __inline__ void set_dma_mode(unsigned int dmanr, char mode) in set_dma_mode() argument 177 printk("set_dma_mode(dmanr=%d,mode=%d)\n", dmanr, mode); in set_dma_mode() 192 ((mode & DMA_MODE_SINGLE_BIT) ? MCFDMA_DCR_SAA : 0) | in set_dma_mode() 194 ((mode & DMA_MODE_WRITE_BIT) ? MCFDMA_DCR_S_RW : 0) | in set_dma_mode() 196 ((mode & DMA_MODE_WRITE_BIT) ? MCFDMA_DCR_SINC : MCFDMA_DCR_DINC) | in set_dma_mode() 198 ((mode & DMA_MODE_WORD_BIT) ? MCFDMA_DCR_SSIZE_WORD : in set_dma_mode() 199 ((mode & DMA_MODE_LONG_BIT) ? MCFDMA_DCR_SSIZE_LONG : in set_dma_mode() 201 ((mode & DMA_MODE_WORD_BIT) ? MCFDMA_DCR_DSIZE_WORD : in set_dma_mode() 202 ((mode & DMA_MODE_LONG_BIT) ? MCFDMA_DCR_DSIZE_LONG : in set_dma_mode() 361 static __inline__ void set_dma_mode(unsigned int dmanr, char mode) in set_dma_mode() argument [all …]
|
/arch/avr32/mach-at32ap/ |
D | hsmc.c | 140 u32 setup, pulse, cycle, mode; in smc_set_configuration() local 160 mode = HSMC_BF(DBW, HSMC_DBW_8_BITS); in smc_set_configuration() 163 mode = HSMC_BF(DBW, HSMC_DBW_16_BITS); in smc_set_configuration() 166 mode = HSMC_BF(DBW, HSMC_DBW_32_BITS); in smc_set_configuration() 174 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_DISABLED); in smc_set_configuration() 177 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_RESERVED); in smc_set_configuration() 180 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_FROZEN); in smc_set_configuration() 183 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_READY); in smc_set_configuration() 190 mode |= HSMC_BF(TDF_CYCLES, config->tdf_cycles); in smc_set_configuration() 194 mode |= HSMC_BIT(READ_MODE); in smc_set_configuration() [all …]
|
/arch/arm/kernel/ |
D | isa.c | 29 .mode = 0444, 36 .mode = 0444, 43 .mode = 0444, 54 .mode = 0555, 63 .mode = 0555,
|
/arch/alpha/include/asm/ |
D | floppy.h | 22 #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA,mode) argument 36 #define fd_dma_setup(addr,size,mode,io) alpha_fd_dma_setup(addr,size,mode,io) argument 39 alpha_fd_dma_setup(char *addr, unsigned long size, int mode, int io) in alpha_fd_dma_setup() argument 47 dir = (mode != DMA_MODE_READ) ? PCI_DMA_FROMDEVICE : PCI_DMA_TODEVICE; in alpha_fd_dma_setup() 66 fd_set_dma_mode(mode); in alpha_fd_dma_setup()
|
/arch/powerpc/include/asm/ |
D | floppy.h | 23 #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA, mode) argument 34 #define fd_dma_setup(addr,size,mode,io) fd_ops->_dma_setup(addr,size,mode,io) argument 42 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io); 117 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() argument 121 virtual_dma_mode = (mode == DMA_MODE_WRITE); in vdma_dma_setup() 128 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) in hard_dma_setup() argument 137 dir = (mode == DMA_MODE_READ) ? PCI_DMA_FROMDEVICE : PCI_DMA_TODEVICE; in hard_dma_setup() 156 fd_set_dma_mode(mode); in hard_dma_setup()
|
/arch/arm/mach-pxa/ |
D | pxa2xx.c | 45 void pxa2xx_transceiver_mode(struct device *dev, int mode) in pxa2xx_transceiver_mode() argument 47 if (mode & IR_OFF) { in pxa2xx_transceiver_mode() 49 } else if (mode & IR_SIRMODE) { in pxa2xx_transceiver_mode() 51 } else if (mode & IR_FIRMODE) { in pxa2xx_transceiver_mode()
|
/arch/m68k/ifpsp060/ |
D | os.S | 59 | instructions for supervisor mode applications and call _copyin()/_copyout() 60 | for user mode applications. 76 | Writes to data memory while in supervisor mode. 82 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 107 | Reads from data/instruction memory while in supervisor mode. 113 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 144 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 167 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 178 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 203 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode [all …]
|
/arch/ia64/sn/kernel/ |
D | bte.c | 45 static inline void bte_start_transfer(struct bteinfo_s *bte, u64 len, u64 mode) in bte_start_transfer() argument 48 BTE_CTRL_STORE(bte, (IBLS_BUSY | ((len) | (mode) << 24))); in bte_start_transfer() 51 BTE_CTRL_STORE(bte, mode); in bte_start_transfer() 79 bte_result_t bte_copy(u64 src, u64 dest, u64 len, u64 mode, void *notification) in bte_copy() argument 94 src, dest, len, mode, notification)); in bte_copy() 110 if (mode & BTE_USE_DEST) { in bte_copy() 113 if (mode & BTE_USE_ANY) { in bte_copy() 121 if (mode & BTE_USE_ANY) { in bte_copy() 172 if (!(mode & BTE_WACQUIRE)) { in bte_copy() 202 BTE_PRINTK(("IBCT = 0x%lx)\n", BTE_VALID_MODE(mode))); in bte_copy() [all …]
|
/arch/um/drivers/ |
D | tty.c | 45 int fd, err, mode = 0; in tty_open() local 48 mode = O_RDWR; in tty_open() 50 mode = O_RDONLY; in tty_open() 52 mode = O_WRONLY; in tty_open() 54 fd = open(data->dev, mode); in tty_open()
|
/arch/cris/include/arch-v32/arch/hwregs/ |
D | extmem_defs.h | 96 unsigned int mode : 1; member 115 unsigned int mode : 1; member 134 unsigned int mode : 1; member 153 unsigned int mode : 1; member 172 unsigned int mode : 1; member 191 unsigned int mode : 1; member 210 unsigned int mode : 1; member 229 unsigned int mode : 1; member 248 unsigned int mode : 1; member 267 unsigned int mode : 1; member [all …]
|
/arch/mips/lasat/ |
D | sysctl.c | 255 .mode = 0444, 264 .mode = 0444, 273 .mode = 0444, 282 .mode = 0644, 292 .mode = 0644, 301 .mode = 0644, 312 .mode = 0600, 321 .mode = 0644, 331 .mode = 0644, 341 .mode = 0444, [all …]
|