Searched defs:mode (Results 251 - 275 of 403) sorted by relevance

<<11121314151617

/arch/arm/mach-omap2/
H A Dtimer.c16 * 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 Dcorgi.c422 .desc = "Tablet mode switch",
710 static void corgi_restart(enum reboot_mode mode, const char *cmd) argument
H A Dlubbock.c487 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 Dmainstone.c442 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 Dpalm27x.c143 void __init palm27x_lcd_init(int power, struct pxafb_mode_info *mode) argument
145 palm27x_lcd_screen.modes = mode;
H A Dtosa.c302 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 Dclock-r8a7778.c255 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 Dsetup-r8a7740.c831 static void r8a7740_restart(enum reboot_mode mode, const char *cmd) argument
/arch/blackfin/include/asm/
H A Dbfin_rotary.h13 /* 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 Dtimer64.c106 /* 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 Drt_trace_defs.h90 unsigned int mode : 1; member in struct:__anon862
/arch/cris/include/uapi/asm/
H A Detraxgpio.h155 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 Datakeyb.c349 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 Ddb1000.c390 static void db1000_irda_set_phy_mode(int mode) argument
394 switch (mode) {
461 .mode = 0,
/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c110 * 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 Ddma.h107 #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 Dmsp_usb.h100 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 Dpicvue.c91 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 Dfloppy.h55 #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 Dsys_parisc.c361 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 Ddma.h97 #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 Dmpc512x_shared.c227 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 Dinode.c97 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 Ddebug.h49 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 Dsetup.c389 static int ov7725_power(struct device *dev, int mode) argument
392 if (mode)
681 /* Return the board specific boot mode pin configuration */

Completed in 887 milliseconds

<<11121314151617