Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 15 of 15) sorted by relevance

/arch/arm/mach-davinci/
Dtime.c94 unsigned long opts; member
111 #define USING_COMPARE(t) ((t)->opts & TIMER_OPTS_USE_COMPARE)
150 if (t->opts & TIMER_OPTS_ONESHOT) in timer32_config()
152 else if (t->opts & TIMER_OPTS_PERIODIC) in timer32_config()
182 .opts = TIMER_OPTS_DISABLED,
191 .opts = TIMER_OPTS_PERIODIC,
310 t->opts &= ~TIMER_OPTS_STATE_MASK; in davinci_shutdown()
311 t->opts |= TIMER_OPTS_DISABLED; in davinci_shutdown()
319 t->opts &= ~TIMER_OPTS_STATE_MASK; in davinci_set_oneshot()
320 t->opts |= TIMER_OPTS_ONESHOT; in davinci_set_oneshot()
[all …]
/arch/arm/mach-ixp4xx/
Dcommon.c517 unsigned long opts = *IXP4XX_OSRT1 & IXP4XX_OST_RELOAD_MASK; in ixp4xx_set_next_event() local
519 *IXP4XX_OSRT1 = (evt & ~IXP4XX_OST_RELOAD_MASK) | opts; in ixp4xx_set_next_event()
526 unsigned long opts = *IXP4XX_OSRT1 & IXP4XX_OST_RELOAD_MASK; in ixp4xx_shutdown() local
529 opts &= ~IXP4XX_OST_ENABLE; in ixp4xx_shutdown()
530 *IXP4XX_OSRT1 = osrt | opts; in ixp4xx_shutdown()
536 unsigned long opts = IXP4XX_OST_ENABLE | IXP4XX_OST_ONE_SHOT; in ixp4xx_set_oneshot() local
540 *IXP4XX_OSRT1 = osrt | opts; in ixp4xx_set_oneshot()
546 unsigned long opts = IXP4XX_OST_ENABLE; in ixp4xx_set_periodic() local
549 *IXP4XX_OSRT1 = osrt | opts; in ixp4xx_set_periodic()
555 unsigned long opts = *IXP4XX_OSRT1 & IXP4XX_OST_RELOAD_MASK; in ixp4xx_resume() local
[all …]
/arch/um/drivers/
Dssl.c32 static struct chan_opts opts = { variable
74 return line_config(serial_lines, ARRAY_SIZE(serial_lines), str, &opts, in ssl_config()
164 new_title = add_xterm_umid(opts.xterm_title); in ssl_init()
166 opts.xterm_title = new_title; in ssl_init()
173 if (setup_one_line(serial_lines, i, s, &opts, &error)) in ssl_init()
Dstdio_console.c37 static struct chan_opts opts = { variable
79 return line_config(vts, ARRAY_SIZE(vts), str, &opts, error_out); in con_config()
163 new_title = add_xterm_umid(opts.xterm_title); in stdio_init()
165 opts.xterm_title = new_title; in stdio_init()
174 if (setup_one_line(vts, i, s, &opts, &error)) in stdio_init()
Dtty.c19 static void *tty_chan_init(char *str, int device, const struct chan_opts *opts) in tty_chan_init() argument
34 .raw = opts->raw }); in tty_chan_init()
Dpty.c26 static void *pty_chan_init(char *str, int device, const struct chan_opts *opts) in pty_chan_init() argument
34 *data = ((struct pty_chan) { .announce = opts->announce, in pty_chan_init()
36 .raw = opts->raw }); in pty_chan_init()
Dfd.c22 static void *fd_init(char *str, int device, const struct chan_opts *opts) in fd_init() argument
46 .raw = opts->raw }); in fd_init()
Dxterm.c27 static void *xterm_init(char *str, int device, const struct chan_opts *opts) in xterm_init() argument
37 .title = opts->xterm_title, in xterm_init()
38 .raw = opts->raw } ); in xterm_init()
Dline.h86 const struct chan_opts *opts, char **error_out);
90 char *str, const struct chan_opts *opts,
Dchan_kern.c15 const struct chan_opts *opts) in not_configged_init() argument
448 const struct chan_opts *opts, char **error_out) in parse_chan() argument
471 data = (*ops->init)(str, device, opts); in parse_chan()
498 const struct chan_opts *opts, char **error_out) in parse_chan_pair() argument
518 new = parse_chan(line, in, device, opts, error_out); in parse_chan_pair()
526 new = parse_chan(line, out, device, opts, error_out); in parse_chan_pair()
535 new = parse_chan(line, str, device, opts, error_out); in parse_chan_pair()
Dnull.c15 static void *null_init(char *str, int device, const struct chan_opts *opts) in null_init() argument
Dchan.h32 const struct chan_opts *opts, char **error_out);
Dport_user.c24 static void *port_init(char *str, int device, const struct chan_opts *opts) in port_init() argument
52 *data = ((struct port_chan) { .raw = opts->raw, in port_init()
Dline.c374 const struct chan_opts *opts, char **error_out) in setup_one_line() argument
390 parse_chan_pair(NULL, line, n, opts, error_out); in setup_one_line()
405 err = parse_chan_pair(new, line, n, opts, error_out); in setup_one_line()
412 parse_chan_pair(NULL, line, n, opts, error_out); in setup_one_line()
466 const struct chan_opts *opts, char **error_out) in line_config() argument
486 return setup_one_line(lines, n, end, opts, error_out); in line_config()
/arch/sh/kernel/cpu/
Dinit.c48 static int x##_setup(char *opts) \