/arch/arm/mach-omap2/ |
H A D | timer.c | 16 * OMAP Dual-mode timer framework support by Timo Teras 104 static void omap2_gp_timer_set_mode(enum clock_event_mode mode, argument 111 switch (mode) {
|
/arch/arm/mach-pxa/ |
H A D | corgi.c | 422 .desc = "Tablet mode switch", 710 static void corgi_restart(enum reboot_mode mode, const char *cmd) argument
|
H A D | lubbock.c | 487 static void lubbock_irda_transceiver_mode(struct device *dev, int mode) argument 492 if (mode & IR_SIRMODE) { 494 } else if (mode & IR_FIRMODE) { 497 pxa2xx_transceiver_mode(dev, mode);
|
H A D | mainstone.c | 442 static void mainstone_irda_transceiver_mode(struct device *dev, int mode) argument 447 if (mode & IR_SIRMODE) { 449 } else if (mode & IR_FIRMODE) { 452 pxa2xx_transceiver_mode(dev, mode); 453 if (mode & IR_OFF) {
|
H A D | palm27x.c | 143 void __init palm27x_lcd_init(int power, struct pxafb_mode_info *mode) argument 145 palm27x_lcd_screen.modes = mode;
|
H A D | tosa.c | 302 static void tosa_irda_transceiver_mode(struct device *dev, int mode) argument 304 if (mode & IR_OFF) { 306 pxa2xx_transceiver_mode(dev, mode); 309 pxa2xx_transceiver_mode(dev, mode); 855 .mode = SPI_MODE_0, 919 static void tosa_restart(enum reboot_mode mode, const char *cmd) argument
|
/arch/arm/mach-shmobile/ |
H A D | clock-r8a7778.c | 255 u32 mode; local 259 mode = ioread32(modemr); 262 switch (mode & (MD(19) | MD(18) | MD(12) | MD(11))) { 302 if (mode & MD(1)) { 310 if (mode & MD(2)) { 325 if (mode & MD(2)) {
|
H A D | setup-r8a7740.c | 831 static void r8a7740_restart(enum reboot_mode mode, const char *cmd) argument
|
/arch/blackfin/include/asm/ |
H A D | bfin_rotary.h | 13 /* mode bitmasks */ 14 #define ROT_QUAD_ENC CNTMODE_QUADENC /* quadrature/grey code encoder mode */ 15 #define ROT_BIN_ENC CNTMODE_BINENC /* binary encoder mode */ 16 #define ROT_UD_CNT CNTMODE_UDCNT /* rotary counter mode */ 17 #define ROT_DIR_CNT CNTMODE_DIRCNT /* direction counter mode */ 41 unsigned short mode; member in struct:bfin_rotary_platform_data 58 #define CNTMODE_QUADENC (0 << CNTMODE_SHIFT) /* quadrature encoder mode */ 59 #define CNTMODE_BINENC (1 << CNTMODE_SHIFT) /* binary encoder mode */ 60 #define CNTMODE_UDCNT (2 << CNTMODE_SHIFT) /* up/down counter mode */ 61 #define CNTMODE_DIRCNT (4 << CNTMODE_SHIFT) /* direction counter mode */ [all...] |
/arch/c6x/platforms/ |
H A D | timer64.c | 106 /* dual 32-bit unchained mode */ 129 static void set_clock_mode(enum clock_event_mode mode, argument 132 switch (mode) {
|
/arch/cris/include/arch-v32/arch/hwregs/ |
H A D | rt_trace_defs.h | 90 unsigned int mode : 1; member in struct:__anon862
|
/arch/cris/include/uapi/asm/ |
H A D | etraxgpio.h | 155 enum io_pwm_mode mode; member in struct:io_pwm_set_mode 158 /* Only for mode PWM_VARFREQ. Period lo/high set in increments of 10ns 175 * 0% (value = 0) to 100% (value = 255). Output signal in this mode
|
/arch/m68k/atari/ |
H A D | atakeyb.c | 349 void ikbd_mouse_button_action(int mode) argument 351 char cmd[2] = { 0x07, mode }; 373 /* Set mouse keycode mode */ 466 /* Set joystick interrogation mode */
|
/arch/mips/alchemy/devboards/ |
H A D | db1000.c | 390 static void db1000_irda_set_phy_mode(int mode) argument 394 switch (mode) { 461 .mode = 0,
|
/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper.c | 110 * Return interface mode for CN68xx. 162 * Return interface mode for an Octeon II 166 union cvmx_gmxx_inf_mode mode; local 238 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); 241 switch (mode.cn63xx.mode) { 250 if (!mode.s.en) 253 if (mode.s.type) 261 * Get the operating mode of an interface. Depending on the Octeon 272 union cvmx_gmxx_inf_mode mode; local [all...] |
/arch/mips/include/asm/ |
H A D | dma.h | 107 #define DMA1_MODE_REG 0x0B /* mode register (w) */ 118 #define DMA2_MODE_REG 0xD6 /* mode register (w) */ 151 #define DMA_MODE_READ 0x44 /* I/O to memory, no autoinit, increment, single mode */ 152 #define DMA_MODE_WRITE 0x48 /* memory to I/O, no autoinit, increment, single mode */ 203 /* set mode (above) for a specific DMA channel */ 204 static __inline__ void set_dma_mode(unsigned int dmanr, char mode) argument 207 dma_outb(mode | dmanr, DMA1_MODE_REG); 209 dma_outb(mode | (dmanr&3), DMA2_MODE_REG);
|
/arch/mips/include/asm/mach-pmcs-msp71xx/ |
H A D | msp_usb.h | 100 u32 mode; /* 0xa8: USB controller mode */ member in struct:msp_usbhs_regs::__anon1984::__anon1985 113 u32 mode; /* 0xa8: USB controller mode */ member in struct:msp_usbhs_regs::__anon1984::__anon1986
|
/arch/mips/lasat/ |
H A D | picvue.c | 91 static void pvc_write(u8 byte, int mode) argument 95 if (mode == MODE_DATA) 102 if (mode == MODE_DATA)
|
/arch/parisc/include/asm/ |
H A D | floppy.h | 55 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) 207 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) argument 211 virtual_dma_mode = (mode == DMA_MODE_WRITE); 218 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) argument 229 set_dma_mode(FLOPPY_DMA,mode); 241 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
|
/arch/parisc/kernel/ |
H A D | sys_parisc.c | 361 asmlinkage long parisc_fallocate(int fd, int mode, u32 offhi, u32 offlo, argument 364 return sys_fallocate(fd, mode, ((u64)offhi << 32) | offlo,
|
/arch/powerpc/include/asm/ |
H A D | dma.h | 97 #define DMA1_MODE_REG 0x0B /* mode register (w) */ 108 #define DMA2_MODE_REG 0xD6 /* mode register (w) */ 158 #define DMA_MODE_READ 0x44 /* I/O to memory, no autoinit, increment, single mode */ 159 #define DMA_MODE_WRITE 0x48 /* memory to I/O, no autoinit, increment, single mode */ 220 /* set mode (above) for a specific DMA channel */ 221 static __inline__ void set_dma_mode(unsigned int dmanr, char mode) argument 224 dma_outb(mode | dmanr, DMA1_MODE_REG); 226 dma_outb(mode | (dmanr & 3), DMA2_MODE_REG);
|
/arch/powerpc/platforms/512x/ |
H A D | mpc512x_shared.c | 227 unsigned long mode, pix_fmt, res, bpp; local 243 mode = in_be32(&diu_reg->diu_mode); 244 if (mode == MFB_MODE0) {
|
/arch/s390/hypfs/ |
H A D | inode.c | 97 static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) argument 104 ret->i_mode = mode; 108 if (S_ISDIR(mode)) 337 char *data, umode_t mode) 348 inode = hypfs_make_inode(parent->d_sb, mode); 354 if (S_ISREG(mode)) { 360 } else if (S_ISDIR(mode)) { 336 hypfs_create_file(struct dentry *parent, const char *name, char *data, umode_t mode) argument
|
/arch/s390/include/asm/ |
H A D | debug.h | 49 umode_t mode; member in struct:debug_info 100 int buf_size, umode_t mode, uid_t uid,
|
/arch/sh/boards/mach-ap325rxa/ |
H A D | setup.c | 389 static int ov7725_power(struct device *dev, int mode) argument 392 if (mode) 681 /* Return the board specific boot mode pin configuration */
|