Searched refs:line (Results 1 - 200 of 3163) sorted by relevance

1234567891011>>

/linux-4.4.14/tools/perf/util/
H A Dfind-vdso-map.c4 char line[128]; find_vdso_map() local
13 while (!found && fgets(line, sizeof(line), maps)) { find_vdso_map()
17 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", find_vdso_map()
23 if (!strncmp(&line[m], VDSO__MAP_NAME, find_vdso_map()
H A Dprobe-event.h58 int line; /* Line number */ member in struct:perf_probe_point
98 int start; /* Start line number */
99 int end; /* End line number */
100 int offset; /* Start line offset */
135 /* Command string to line-range */
138 /* Release line range members */
141 /* Initialize line range */
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dnv10.c29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) nv10_gpio_sense() argument
32 if (line < 2) { nv10_gpio_sense()
33 line = line * 16; nv10_gpio_sense()
34 line = nvkm_rd32(device, 0x600818) >> line; nv10_gpio_sense()
35 return !!(line & 0x0100); nv10_gpio_sense()
37 if (line < 10) { nv10_gpio_sense()
38 line = (line - 2) * 4; nv10_gpio_sense()
39 line = nvkm_rd32(device, 0x60081c) >> line; nv10_gpio_sense()
40 return !!(line & 0x04); nv10_gpio_sense()
42 if (line < 14) { nv10_gpio_sense()
43 line = (line - 10) * 4; nv10_gpio_sense()
44 line = nvkm_rd32(device, 0x600850) >> line; nv10_gpio_sense()
45 return !!(line & 0x04); nv10_gpio_sense()
52 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv10_gpio_drive() argument
57 if (line < 2) { nv10_gpio_drive()
58 line = line * 16; nv10_gpio_drive()
63 if (line < 10) { nv10_gpio_drive()
64 line = (line - 2) * 4; nv10_gpio_drive()
69 if (line < 14) { nv10_gpio_drive()
70 line = (line - 10) * 4; nv10_gpio_drive()
78 nvkm_mask(device, reg, mask << line, data << line); nv10_gpio_drive()
H A Dnv50.c38 u8 line = (data & 0x0000001f); nv50_gpio_reset() local
44 u32 reg = regs[line >> 4]; nv50_gpio_reset()
45 u32 lsh = line & 0x0f; nv50_gpio_reset()
51 nvkm_gpio_set(gpio, 0, func, line, defs); nv50_gpio_reset()
58 nv50_gpio_location(int line, u32 *reg, u32 *shift) nv50_gpio_location() argument
62 if (line >= 32) nv50_gpio_location()
65 *reg = nv50_gpio_reg[line >> 3]; nv50_gpio_location()
66 *shift = (line & 7) << 2; nv50_gpio_location()
71 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv50_gpio_drive() argument
76 if (nv50_gpio_location(line, &reg, &shift)) nv50_gpio_drive()
84 nv50_gpio_sense(struct nvkm_gpio *gpio, int line) nv50_gpio_sense() argument
89 if (nv50_gpio_location(line, &reg, &shift)) nv50_gpio_sense()
H A Dgf119.c37 u8 line = (data & 0x0000003f); gf119_gpio_reset() local
47 nvkm_gpio_set(gpio, 0, func, line, defs); gf119_gpio_reset()
49 nvkm_mask(device, 0x00d610 + (line * 4), 0xff, unk0); gf119_gpio_reset()
51 nvkm_mask(device, 0x00d740 + (unk1 * 4), 0xff, line); gf119_gpio_reset()
56 gf119_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) gf119_gpio_drive() argument
60 nvkm_mask(device, 0x00d610 + (line * 4), 0x00003000, data); gf119_gpio_drive()
66 gf119_gpio_sense(struct nvkm_gpio *gpio, int line) gf119_gpio_sense() argument
69 return !!(nvkm_rd32(device, 0x00d610 + (line * 4)) & 0x00004000); gf119_gpio_sense()
H A Dbase.c29 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) nvkm_gpio_drive() argument
31 return gpio->func->drive(gpio, line, dir, out); nvkm_gpio_drive()
35 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) nvkm_gpio_sense() argument
37 return gpio->func->sense(gpio, line); nvkm_gpio_sense()
48 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, nvkm_gpio_find() argument
56 if (line == 0xff && tag == 0xff) nvkm_gpio_find()
59 data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); nvkm_gpio_find()
68 .line = device->quirk->tv_gpio, nvkm_gpio_find()
80 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) nvkm_gpio_set() argument
85 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); nvkm_gpio_set()
89 ret = nvkm_gpio_drive(gpio, idx, func.line, dir, out); nvkm_gpio_set()
96 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) nvkm_gpio_get() argument
101 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); nvkm_gpio_get()
103 ret = nvkm_gpio_sense(gpio, idx, func.line); nvkm_gpio_get()
133 notify->index = req->line; nvkm_gpio_intr_ctor()
H A Dpriv.h21 int (*drive)(struct nvkm_gpio *, int line, int dir, int out);
23 /* sense current state of given gpio line */
24 int (*sense)(struct nvkm_gpio *, int line);
/linux-4.4.14/arch/um/drivers/
H A Dchan.h13 #include "line.h"
18 struct line *line; member in struct:chan
30 extern void chan_interrupt(struct line *line, int irq);
31 extern int parse_chan_pair(char *str, struct line *line, int device,
37 extern int console_open_chan(struct line *line, struct console *co);
41 extern int enable_chan(struct line *line);
42 extern void close_chan(struct line *line);
43 extern int chan_window_size(struct line *line,
46 extern int chan_config_string(struct line *line, char *str, int size,
H A Dline.c21 struct line *line = chan->line; line_interrupt() local
23 if (line) line_interrupt()
24 chan_interrupt(line, irq); line_interrupt()
30 * Returns the free space inside the ring buffer of this line.
32 * Should be called while holding line->lock (this does not modify data).
34 static int write_room(struct line *line) write_room() argument
38 if (line->buffer == NULL) write_room()
42 n = line->head - line->tail; write_room()
51 struct line *line = tty->driver_data; line_write_room() local
55 spin_lock_irqsave(&line->lock, flags); line_write_room()
56 room = write_room(line); line_write_room()
57 spin_unlock_irqrestore(&line->lock, flags); line_write_room()
64 struct line *line = tty->driver_data; line_chars_in_buffer() local
68 spin_lock_irqsave(&line->lock, flags); line_chars_in_buffer()
70 ret = LINE_BUFSIZE - (write_room(line) + 1); line_chars_in_buffer()
71 spin_unlock_irqrestore(&line->lock, flags); line_chars_in_buffer()
78 * this line.
83 * Must be called while holding line->lock!
85 static int buffer_data(struct line *line, const char *buf, int len) buffer_data() argument
89 if (line->buffer == NULL) { buffer_data()
90 line->buffer = kmalloc(LINE_BUFSIZE, GFP_ATOMIC); buffer_data()
91 if (line->buffer == NULL) { buffer_data()
96 line->head = line->buffer; buffer_data()
97 line->tail = line->buffer; buffer_data()
100 room = write_room(line); buffer_data()
103 end = line->buffer + LINE_BUFSIZE - line->tail; buffer_data()
106 memcpy(line->tail, buf, len); buffer_data()
107 line->tail += len; buffer_data()
111 memcpy(line->tail, buf, end); buffer_data()
113 memcpy(line->buffer, buf, len - end); buffer_data()
114 line->tail = line->buffer + len - end; buffer_data()
122 * called, passing it line->head as buffer, and an appropriate count.
128 * Must be called while holding line->lock!*/ flush_buffer()
129 static int flush_buffer(struct line *line) flush_buffer() argument
133 if ((line->buffer == NULL) || (line->head == line->tail)) flush_buffer()
136 if (line->tail < line->head) { flush_buffer()
137 /* line->buffer + LINE_BUFSIZE is the end of the buffer! */ flush_buffer()
138 count = line->buffer + LINE_BUFSIZE - line->head; flush_buffer()
140 n = write_chan(line->chan_out, line->head, count, flush_buffer()
141 line->driver->write_irq); flush_buffer()
149 line->head = line->buffer; flush_buffer()
151 line->head += n; flush_buffer()
156 count = line->tail - line->head; flush_buffer()
157 n = write_chan(line->chan_out, line->head, count, flush_buffer()
158 line->driver->write_irq); flush_buffer()
163 line->head += n; flush_buffer()
164 return line->head == line->tail; flush_buffer()
169 struct line *line = tty->driver_data; line_flush_buffer() local
172 spin_lock_irqsave(&line->lock, flags); line_flush_buffer()
173 flush_buffer(line); line_flush_buffer()
174 spin_unlock_irqrestore(&line->lock, flags); line_flush_buffer()
193 struct line *line = tty->driver_data; line_write() local
197 spin_lock_irqsave(&line->lock, flags); line_write()
198 if (line->head != line->tail) line_write()
199 ret = buffer_data(line, buf, len); line_write()
201 n = write_chan(line->chan_out, buf, len, line_write()
202 line->driver->write_irq); line_write()
211 ret += buffer_data(line, buf + n, len); line_write()
214 spin_unlock_irqrestore(&line->lock, flags); line_write()
225 struct line *line = tty->driver_data; line_throttle() local
227 deactivate_chan(line->chan_in, line->driver->read_irq); line_throttle()
228 line->throttled = 1; line_throttle()
233 struct line *line = tty->driver_data; line_unthrottle() local
235 line->throttled = 0; line_unthrottle()
236 chan_interrupt(line, line->driver->read_irq); line_unthrottle()
240 * throttles us again. In this case, line->throttled will be 1 line_unthrottle()
243 if (!line->throttled) line_unthrottle()
244 reactivate_chan(line->chan_in, line->driver->read_irq); line_unthrottle()
250 struct line *line = chan->line; line_write_interrupt() local
258 spin_lock(&line->lock); line_write_interrupt()
259 err = flush_buffer(line); line_write_interrupt()
261 spin_unlock(&line->lock); line_write_interrupt()
264 line->head = line->buffer; line_write_interrupt()
265 line->tail = line->buffer; line_write_interrupt()
267 spin_unlock(&line->lock); line_write_interrupt()
269 tty_port_tty_wakeup(&line->port); line_write_interrupt()
274 int line_setup_irq(int fd, int input, int output, struct line *line, void *data) line_setup_irq() argument
276 const struct line_driver *driver = line->driver; line_setup_irq()
295 struct line *line = tty->driver_data; line_activate() local
297 ret = enable_chan(line); line_activate()
301 if (!line->sigio) { line_activate()
302 chan_enable_winch(line->chan_out, port); line_activate()
303 line->sigio = 1; line_activate()
306 chan_window_size(line, &tty->winsize.ws_row, line_activate()
317 struct line *line = tty->driver_data; line_destruct() local
319 if (line->sigio) { line_destruct()
321 line->sigio = 0; line_destruct()
332 struct line *line = tty->driver_data; line_open() local
334 return tty_port_open(&line->port, tty, filp); line_open()
338 struct line *line) line_install()
346 tty->driver_data = line; line_install()
353 struct line *line = tty->driver_data; line_close() local
355 tty_port_close(&line->port, tty, filp); line_close()
360 struct line *line = tty->driver_data; line_hangup() local
362 tty_port_hangup(&line->port); line_hangup()
365 void close_lines(struct line *lines, int nlines) close_lines()
373 int setup_one_line(struct line *lines, int n, char *init, setup_one_line()
376 struct line *line = &lines[n]; setup_one_line() local
377 struct tty_driver *driver = line->driver->driver; setup_one_line()
380 if (line->port.count) { setup_one_line()
386 if (line->valid) { setup_one_line()
387 line->valid = 0; setup_one_line()
388 kfree(line->init_str); setup_one_line()
390 parse_chan_pair(NULL, line, n, opts, error_out); setup_one_line()
399 if (line->valid) { setup_one_line()
401 kfree(line->init_str); setup_one_line()
403 line->init_str = new; setup_one_line()
404 line->valid = 1; setup_one_line()
405 err = parse_chan_pair(new, line, n, opts, error_out); setup_one_line()
407 struct device *d = tty_port_register_device(&line->port, setup_one_line()
412 parse_chan_pair(NULL, line, n, opts, error_out); setup_one_line()
416 line->init_str = NULL; setup_one_line()
417 line->valid = 0; setup_one_line()
426 * Common setup code for both startup command line and mconsole initialization.
465 int line_config(struct line *lines, unsigned int num, char *str, line_config()
489 int line_get_config(char *name, struct line *lines, unsigned int num, char *str, line_get_config()
492 struct line *line; line_get_config() local
507 line = &lines[dev]; line_get_config()
509 if (!line->valid) line_get_config()
512 struct tty_struct *tty = tty_port_tty_get(&line->port); line_get_config()
514 CONFIG_CHUNK(str, size, n, line->init_str, 1); line_get_config()
516 n = chan_config_string(line, str, size, error_out); line_get_config()
539 int line_remove(struct line *lines, unsigned int num, int n, char **error_out) line_remove()
550 struct line *lines, int nlines) register_lines()
631 struct line *line; winch_interrupt() local
657 line = tty->driver_data; winch_interrupt()
658 if (line != NULL) { winch_interrupt()
659 chan_window_size(line, &tty->winsize.ws_row, winch_interrupt()
337 line_install(struct tty_driver *driver, struct tty_struct *tty, struct line *line) line_install() argument
H A Dssl.h9 extern int ssl_read(int fd, int line);
10 extern void ssl_receive_char(int line, char ch);
H A Dchan_kern.c133 struct line *line = container_of(work, struct line, task.work); line_timer_cb() local
135 if (!line->throttled) line_timer_cb()
136 chan_interrupt(line, line->driver->read_irq); line_timer_cb()
139 int enable_chan(struct line *line) enable_chan() argument
145 INIT_DELAYED_WORK(&line->task, line_timer_cb); enable_chan()
147 list_for_each(ele, &line->chan_list) { enable_chan()
159 err = line_setup_irq(chan->fd, chan->input, chan->output, line, enable_chan()
170 close_chan(line); enable_chan()
198 um_free_irq(chan->line->driver->read_irq, chan); free_irqs()
200 um_free_irq(chan->line->driver->write_irq, chan); free_irqs()
219 um_free_irq(chan->line->driver->read_irq, chan); close_one_chan()
221 um_free_irq(chan->line->driver->write_irq, chan); close_one_chan()
231 void close_chan(struct line *line) close_chan() argument
240 list_for_each_entry_reverse(chan, &line->chan_list, list) { close_chan()
287 int console_open_chan(struct line *line, struct console *co) console_open_chan() argument
291 err = open_chan(&line->chan_list); console_open_chan()
300 int chan_window_size(struct line *line, unsigned short *rows_out, chan_window_size() argument
305 chan = line->chan_in; chan_window_size()
312 chan = line->chan_out; chan_window_size()
393 int chan_config_string(struct line *line, char *str, int size, chan_config_string() argument
396 struct chan *in = line->chan_in, *out = line->chan_out; chan_config_string()
447 static struct chan *parse_chan(struct line *line, char *str, int device, parse_chan() argument
485 .line = line, parse_chan()
497 int parse_chan_pair(char *str, struct line *line, int device, parse_chan_pair() argument
500 struct list_head *chans = &line->chan_list; parse_chan_pair()
505 line->chan_in = line->chan_out = NULL; parse_chan_pair()
518 new = parse_chan(line, in, device, opts, error_out); parse_chan_pair()
524 line->chan_in = new; parse_chan_pair()
526 new = parse_chan(line, out, device, opts, error_out); parse_chan_pair()
532 line->chan_out = new; parse_chan_pair()
535 new = parse_chan(line, str, device, opts, error_out); parse_chan_pair()
542 line->chan_in = line->chan_out = new; parse_chan_pair()
547 void chan_interrupt(struct line *line, int irq) chan_interrupt() argument
549 struct tty_port *port = &line->port; chan_interrupt()
550 struct chan *chan = line->chan_in; chan_interrupt()
559 schedule_delayed_work(&line->task, 1); chan_interrupt()
571 tty_port_tty_hangup(&line->port, false); chan_interrupt()
572 if (line->chan_out != chan) chan_interrupt()
573 close_one_chan(line->chan_out, 1); chan_interrupt()
H A Dline.h34 struct line { struct
62 struct line *line);
79 extern int line_setup_irq(int fd, int input, int output, struct line *line,
81 extern void line_close_chan(struct line *line);
84 struct line *lines, int nlines);
85 extern int setup_one_line(struct line *lines, int n, char *init,
87 extern void close_lines(struct line *lines, int nlines);
89 extern int line_config(struct line *lines, unsigned int sizeof_lines,
93 extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n,
95 extern int line_get_config(char *dev, struct line *lines,
H A Dxterm.c47 static int __init xterm_setup(char *line, int *add) xterm_setup() argument
50 terminal_emulator = line; xterm_setup()
52 line = strchr(line, ','); xterm_setup()
53 if (line == NULL) xterm_setup()
56 *line++ = '\0'; xterm_setup()
57 if (*line) xterm_setup()
58 title_switch = line; xterm_setup()
60 line = strchr(line, ','); xterm_setup()
61 if (line == NULL) xterm_setup()
64 *line++ = '\0'; xterm_setup()
65 if (*line) xterm_setup()
66 exec_switch = line; xterm_setup()
H A Dssl.c27 printk(KERN_INFO "Serial line %d assigned device '%s'\n", dev, ssl_announce()
45 .name = "UML serial line",
70 static struct line serial_lines[NR_PORTS];
119 struct line *line = &serial_lines[c->index]; ssl_console_write() local
122 spin_lock_irqsave(&line->lock, flags); ssl_console_write()
123 console_write_chan(line->chan_out, string, len); ssl_console_write()
124 spin_unlock_irqrestore(&line->lock, flags); ssl_console_write()
135 struct line *line = &serial_lines[co->index]; ssl_console_setup() local
137 return console_open_chan(line, co); ssl_console_setup()
194 line_setup(conf, NR_PORTS, &def_conf, str, "serial line"); ssl_chan_setup()
H A Dpty.c78 static int getmaster(char *line) getmaster() argument
84 pty = &line[strlen("/dev/ptyp")]; getmaster()
86 line[strlen("/dev/pty")] = *bank; getmaster()
89 if ((stat(line, &buf) < 0) && (errno == ENOENT)) getmaster()
94 master = open(line, O_RDWR); getmaster()
96 char *tp = &line[strlen("/dev/")]; getmaster()
100 err = access(line, R_OK | W_OK); getmaster()
H A Dstdio_console.c75 static struct line vts[MAX_TTYS];
119 struct line *line = &vts[console->index]; uml_console_write() local
122 spin_lock_irqsave(&line->lock, flags); uml_console_write()
123 console_write_chan(line->chan_out, string, len); uml_console_write()
124 spin_unlock_irqrestore(&line->lock, flags); uml_console_write()
135 struct line *line = &vts[co->index]; uml_console_setup() local
137 return console_open_chan(line, co); uml_console_setup()
/linux-4.4.14/Documentation/arm/Samsung/
H A Dclksrc-change-registers.awk69 while (getline line < ARGV[1] > 0) {
70 if (line ~ /\#define.*_MASK/ &&
71 !(line ~ /USB_SIG_MASK/)) {
72 splitdefine(line, fields)
75 printf "MASK " line "\n" > "/dev/stderr"
98 if ((getline line) <= 0) {
103 if (line ~ /\.shift/) {
104 shift = extract_value(line)
105 } else if (line ~ /\.mask/) {
106 mask = extract_value(line)
107 } else if (line ~ /\.reg_divider/) {
108 reg_div = extract_value(line)
109 } else if (line ~ /\.reg_source/) {
110 reg_src = extract_value(line)
111 } else if (line ~ /\.divider_shift/) {
112 divshift = extract_value(line)
113 } else if (line ~ /{/) {
115 print line
116 } else if (line ~ /}/) {
156 print line
158 print line
162 printf indent ":" line "\n" > "/dev/stderr"
/linux-4.4.14/include/linux/regulator/
H A Duserspace-consumer.h7 * struct regulator_userspace_consumer_data - line consumer
10 * @name: Name for the consumer line
11 * @num_supplies: Number of supplies feeding the line
13 * @init_on: Set if the regulators supplying the line should be
/linux-4.4.14/arch/m32r/include/asm/
H A Dcache.h4 /* L1 cache line size */
/linux-4.4.14/drivers/zorro/
H A Dgen-devlist.c31 char line[1024], *c, *bra, manuf[8]; main() local
44 while (fgets(line, sizeof(line)-1, stdin)) { main()
46 if ((c = strchr(line, '\n'))) main()
48 if (!line[0] || line[0] == '#') main()
50 if (line[0] == '\t') { main()
53 if (strlen(line) > 5 && line[5] == ' ') { main()
54 c = line + 5; main()
67 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); main()
75 } else if (strlen(line) > 4 && line[4] == ' ') { main()
76 c = line + 4; main()
82 strcpy(manuf, line); main()
94 fprintf(stderr, "Line %d: Syntax error in mode %d: %s\n", lino, mode, line); main()
/linux-4.4.14/arch/um/kernel/
H A Dkmsg_dump.c10 static char line[1024]; kmsg_dumper_stdout() local
28 while (kmsg_dump_get_line(dumper, true, line, sizeof(line), &len)) { kmsg_dumper_stdout()
29 line[len] = '\0'; kmsg_dumper_stdout()
30 printf("%s", line); kmsg_dumper_stdout()
/linux-4.4.14/arch/arm/mach-footbridge/
H A Dpersonal-pci.c24 unsigned char line; personal_server_map_irq() local
26 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); personal_server_map_irq()
28 if (line > 0x40 && line <= 0x5f) { personal_server_map_irq()
29 /* line corresponds to the bit controlling this interrupt personal_server_map_irq()
33 return irqmap_personal_server[(line & 0x1f) - 8]; personal_server_map_irq()
34 } else if (line == 0) { personal_server_map_irq()
38 return irqmap_personal_server[(line - 1) & 3]; personal_server_map_irq()
/linux-4.4.14/tools/lib/symbol/
H A Dkallsyms.c15 char *line = NULL; kallsyms__parse() local
31 line_len = getline(&line, &n, file); kallsyms__parse()
32 if (line_len < 0 || !line) kallsyms__parse()
35 line[--line_len] = '\0'; /* \n */ kallsyms__parse()
37 len = hex2u64(line, &start); kallsyms__parse()
43 symbol_type = line[len]; kallsyms__parse()
45 symbol_name = line + len; kallsyms__parse()
58 free(line); kallsyms__parse()
/linux-4.4.14/scripts/
H A Dshow_delta20 the kernel command line option "time" is specified. When run with no
22 each printk line and the next. When run with the '-b' option, all times
29 If it is a string, the first message line
31 line) is used as the time reference.
36 will show times relative to the line in the kernel output
41 # returns a tuple containing the seconds and text for each message line
44 def get_time(line):
45 if line[0]!="[":
49 (time_str, rest) = string.split(line[1:],']',1)
56 # average line looks like:
59 # convert_line adds a delta for each line
61 def convert_line(line, base_time):
65 (time, rest) = get_time(line)
68 return line
74 # just show time from last line
103 # for a matching line.
107 # search for line matching <base> string
109 for line in lines:
111 (time, rest) = get_time(line)
120 print ('Couldn\'t find line matching base pattern "%s"' % base_str)
125 for line in lines:
126 print (convert_line(line, base_time),)
H A Dheaders_check.pl10 # The script reads the supplied files line by line and:
27 my $line;
37 while ($line = <$fh>) {
51 if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) {
69 if ($line =~ m/^void seqbuf_dump\(void\);/) {
72 if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
81 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) {
97 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) {
126 my $line;
127 while ($line = <$fh>) {
128 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) {
132 if (my $included = ($line =~ /^\s*#\s*include\s+[<"](\S+)[>"]/)[0]) {
150 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) {
154 if (my $included = ($line =~ /^\s*#\s*include\s+[<"](\S+)[>"]/)[0]) {
157 if ($line =~ m/__[us](8|16|32|64)\b/) {
H A Dmarkup_oops.pl51 my ($line) = @_;
52 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
58 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
63 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
68 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
73 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) {
77 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) {
82 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) {
100 my ($line, $cntr) = @_;
102 if (length($line) < 40) {
107 if ($line =~ /([0-9a-zA-Z\,\%\(\)\-\+]+)$/) {
160 my $line = $_;
161 if ($line =~ /EIP: 0060:\[\<([a-z0-9]+)\>\]/) {
164 if ($line =~ /RIP: 0010:\[\<([a-z0-9]+)\>\]/) {
167 if ($line =~ /EIP is at ([a-zA-Z0-9\_]+)\+0x([0-9a-f]+)\/0x[a-f0-9]/) {
171 if ($line =~ /RIP: 0010:\[\<[0-9a-f]+\>\] \[\<[0-9a-f]+\>\] ([a-zA-Z0-9\_]+)\+0x([0-9a-f]+)\/0x[a-f0-9]/) {
177 if ($line =~ /EIP is at ([a-zA-Z0-9\_]+)\+(0x[0-9a-f]+)\/0x[a-f0-9]+\W\[([a-zA-Z0-9\_\-]+)\]/) {
180 if ($line =~ /RIP: 0010:\[\<[0-9a-f]+\>\] \[\<[0-9a-f]+\>\] ([a-zA-Z0-9\_]+)\+(0x[0-9a-f]+)\/0x[a-f0-9]+\W\[([a-zA-Z0-9\_\-]+)\]/) {
183 parse_x86_regs($line);
241 my $line = $_;
242 chomp($line);
244 if ($line =~ /^([a-f0-9]+)\:/) {
251 if ($line =~ /^([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]+)\:/) {
260 $lines[$counter] = $line;
288 my $line = $lines[$start];
289 if ($line =~ /^([a-f0-9]+)\:/) {
308 my $line = $lines[$finish];
309 if ($line =~ /^([a-f0-9]+)\:/) {
339 my $line;
341 $line = "*$lines[$i] ";
343 $line = " $lines[$i] ";
345 print $line;
347 my $c = 60 - length($line);
H A Ddecode_stacktrace.sh50 # Pass it to addr2line to get filename and line number
69 # In the case of inlines, move everything to same line
72 # Replace old address with pretty line numbers
113 # Add up the line number to the symbol
117 while read line; do
118 # Let's see if we have an address in the line
119 if [[ $line =~ \[\<([^]]+)\>\] ]]; then
120 # Translate address to line numbers
121 handle_line "$line"
122 # Is it a code line?
123 elif [[ $line == *Code:* ]]; then
124 decode_code "$line"
126 # Nothing special in this line, show it as is
127 echo "$line"
H A Dcheckpatch.pl66 --no-signoff do not check for 'Signed-off-by' line
69 --terse one line per report
75 --max-line-length=n set the maximum line length, if exceeded, warn
88 If correctable single-line errors exist, create
116 my $line = $_;
118 $line =~ s/\s*\n?$//g;
119 $line =~ s/^\s*//g;
120 $line =~ s/\s+/ /g;
122 next if ($line =~ m/^\s*#/);
123 next if ($line =~ m/^\s*$/);
125 my @words = split(" ", $line);
149 'max-line-length=i' => \$max_line_length,
486 my $line = $_;
488 $line =~ s/\s*\n?$//g;
489 $line =~ s/^\s*//g;
491 next if ($line =~ m/^\s*#/);
492 next if ($line =~ m/^\s*$/);
494 my ($suspect, $fix) = split(/\|\|/, $line);
506 my $line = $_;
508 $line =~ s/\s*\n?$//g;
509 $line =~ s/^\s*//g;
511 next if ($line =~ m/^\s*#/);
512 next if ($line =~ m/^\s*$/);
513 next if ($line =~ m/, disabled/i);
515 $line =~ s/,.*$//;
517 my ($suspect, $fix) = split(/->/, $line);
623 foreach my $line (@lines) {
624 next if ($line !~ /(?:[A-Z][a-z]|[a-z][A-Z])/);
625 if ($line =~ /^[ \t]*(?:#[ \t]*define|typedef\s+$Type)\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)/) {
627 } elsif ($line =~ /^\s*$Declare\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)\s*[\(\[,;]/) {
629 } elsif ($line =~ /^\s*(?:union|struct|enum)\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)\s*[;\{]/) {
710 # while read line ; do
711 # git log --format='%H %s' -1 $line |
934 my ($line) = @_;
936 # Drop the diff line leader and expand tabs
937 $line =~ s/^.//;
938 $line = expand_tabs($line);
940 # Pick the indent from the front of the line.
941 my ($white) = ($line =~ /^(\s*)/);
943 return (length($line), length($white));
958 my ($line) = @_;
968 $res = substr($line, 0, 1);
970 for ($off = 1; $off < length($line); $off++) {
971 $c = substr($line, $off, 1);
975 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '/*') {
982 if ($sanitise_quote eq '*/' && substr($line, $off, 2) eq '*/') {
988 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '//') {
1046 my ($line, $rawline) = @_;
1048 return "" if ($line !~ m/($String)/g);
1054 my $line = $linenr - 1;
1077 for (; $remain > 0; $line++) {
1078 last if (!defined $lines[$line]);
1079 next if ($lines[$line] =~ /^-/);
1082 $blk .= $lines[$line] . "\n";
1084 $line++;
1167 # We are truly at the end, so shuffle to the next line.
1170 $line++;
1183 $line, $remain + 1, $off - $loff + 1, $level);
1189 # Strip the diff line prefixes and rip blank lines at start and end.
1260 my $line;
1269 for ($line = $start; $remain > 0; $line++) {
1270 next if ($rawlines[$line] =~ /^-/);
1273 $blk .= $rawlines[$line];
1276 if ($lines[$line] =~ /^.\s*#\s*(?:ifndef|ifdef|if)\s/) {
1278 } elsif ($lines[$line] =~ /^.\s*#\s*(?:else|elif)\b/) {
1280 } elsif ($lines[$line] =~ /^.\s*#\s*endif\b/) {
1284 foreach my $c (split(//, $lines[$line])) {
1300 push(@res, $rawlines[$line]);
1340 # Catch a comment on the end of the line itself.
1349 my $line = $rawlines[$linenr - 1];
1350 #warn " $line\n";
1351 if ($linenr == $first_line and $line =~ m@^.\s*\*@) {
1354 if ($line =~ m@/\*@) {
1360 $current_comment .= $line . "\n" if ($in_comment);
1361 if ($line =~ m@\*/@) {
1385 my $line;
1387 $line = $rawlines[$offset++];
1388 next if (defined($line) && $line =~ /^-/);
1392 return $line;
1625 my ($possible, $line) = @_;
1645 warn "CHECK<$possible> ($line)\n" if ($dbg_possible > 2);
1656 warn "MODIFIER: $modifier ($possible) ($line)\n" if ($dbg_possible);
1662 warn "POSSIBLE: $possible ($line)\n" if ($dbg_possible);
1667 warn "NOTPOSS: $possible ($line)\n" if ($dbg_possible > 1);
1753 my $line = $old_line; #don't modify the array
1754 if ($line =~ /^(?:\+\+\+|\-\-\-)\s+\S+/) { #new filename
1756 } elsif ($line =~ /^\@\@ -\d+,\d+ \+\d+,\d+ \@\@/) { #new hunk
1758 fixup_current_range(\$line, $delta_offset, 0);
1775 push(@lines, $line);
1786 my ($linenr, $line) = @_;
1790 LINE => $line,
1796 my ($linenr, $line) = @_;
1800 LINE => $line,
1913 my ($line) = @_;
1917 my $opens = $line =~ tr/\(/\(/;
1918 my $closes = $line =~ tr/\)/\)/;
1926 my $len = length($line);
1929 my $string = substr($line, $pos);
1932 } elsif (substr($line, $pos, 1) eq '(') {
1939 return length(expand_tabs(substr($line, 0, $last_openparen))) + 1;
1976 # Trace the real file/line as we go.
2005 my $line;
2008 $line = $rawline;
2051 # is the start of a diff block and this line starts
2065 $line = sanitise_line($rawline);
2067 push(@lines, $line);
2070 $realcnt-- if ($line =~ /^(?:\+| |$)/);
2076 #print "-->$line\n";
2078 if ($setup_docs && $line =~ /^\+/) {
2079 push(@setup_docs, $line);
2088 foreach my $line (@lines) {
2091 my $sline = $line; #copy of $line
2096 #extract the line range in the file after the patch is applied
2098 $line =~ /^\@\@ -\d+(?:,\d+)? \+(\d+)(,(\d+))? \@\@/) {
2116 # track the line number as we move through the hunk, note that
2119 } elsif ($line =~ /^( |\+|$)/) {
2123 # Measure the line length and indent.
2126 # Track the previous line.
2127 ($prevline, $stashline) = ($stashline, $line);
2131 #warn "line<$line>\n";
2144 if ($line =~ /^diff --git.*?(\S+)$/) {
2149 } elsif ($line =~ /^\+\+\+\s+(\S+)/) {
2168 #make up the handle for any error we report on this line
2198 (($line =~ m@^\s+diff\b.*a/[\w/]+@ &&
2199 $line =~ m@^\s+diff\b.*a/([\w/]+)\s+b/$1\b@) ||
2200 $line =~ m@^\s*(?:\-\-\-\s+a/|\+\+\+\s+b/)@ ||
2201 $line =~ m/^\s*\@\@ \-\d+,\d+ \+\d+,\d+ \@\@/)) {
2208 if ($line =~ /^new (file )?mode.*[7531]\d{0,2}$/) {
2218 if ($line =~ /^\s*signed-off-by:/i) {
2225 if ($line =~ /^\s*MAINTAINERS\s*\|/) {
2231 $line =~ /^(\s*)([a-z0-9_-]+by:|$signature_tags)(\s*)(.*)/i) {
2288 my $sig_nospace = $line;
2301 $line =~ /^Subject:.*\b(?:checkpatch|sparse|smatch)\b[^:]/i) {
2303 "A patch subject line should describe the change not the tool that found it\n" . $herecurr);
2307 if ($line =~ /^\s*cc:\s*.*<?\bstable\@kernel\.org\b>?.*$/i) {
2313 if ($in_commit_log && $line =~ /^\s*change-id:/i) {
2320 ($line =~ /^\s*(?:WARNING:|BUG:)/ ||
2321 $line =~ /^\s*\[\s*\d+\.\d{6,6}\s*\]/ ||
2323 $line =~ /^\s*\[\<[0-9a-fA-F]{8,}\>\]/)) {
2328 # Check for line lengths > 75 in commit log, warn once
2330 length($line) > 75 &&
2331 !($line =~ /^\s*[a-zA-Z0-9_\/\.]+\s+\|\s+\d+/ ||
2333 $line =~ /^\s*(?:[\w\.\-]+\/)++[\w\.\-]+:/ ||
2335 $line =~ /^\s*(?:Fixes:|Link:)/i ||
2336 # A Fixes: or Link: line
2339 "Possible unwrapped commit description (prefer a maximum 75 chars per line)\n" . $herecurr);
2343 # Reset possible stack dump if a blank line is found
2345 $line =~ /^\s*$/) {
2351 ($line =~ /\bcommit\s+[0-9a-f]{5,}\b/i ||
2352 ($line =~ /\b[0-9a-f]{12,40}\b/i &&
2353 $line !~ /[\<\[][0-9a-f]{12,40}[\>\]]/i &&
2354 $line !~ /\bfixes:\s*[0-9a-f]{12,40}/i))) {
2367 if ($line =~ /\b(c)ommit\s+([0-9a-f]{5,})\b/i) {
2370 } elsif ($line =~ /\b([0-9a-f]{12,40})\b/i) {
2374 $short = 0 if ($line =~ /\bcommit\s+[0-9a-f]{12,40}/i);
2375 $long = 1 if ($line =~ /\bcommit\s+[0-9a-f]{41,}/i);
2376 $space = 0 if ($line =~ /\bcommit [0-9a-f]/i);
2377 $case = 0 if ($line =~ /\b[Cc]ommit\s+[0-9a-f]{5,40}[^A-F]/);
2378 if ($line =~ /\bcommit\s+[0-9a-f]{5,}\s+\("([^"]+)"\)/i) {
2381 } elsif ($line =~ /\bcommit\s+[0-9a-f]{5,}\s*$/i &&
2386 } elsif ($line =~ /\bcommit\s+[0-9a-f]{5,}\s+\("[^"]+$/i &&
2389 $line =~ /\bcommit\s+[0-9a-f]{5,}\s+\("([^"]+)$/i;
2401 "Please use git commit description style 'commit <12+ chars of sha1> (\"<title line>\")' - ie: '${init_char}ommit $id (\"$description\")'\n" . $herecurr);
2407 ($line =~ /^(?:new|deleted) file mode\s*\d+\s*$/ ||
2408 $line =~ /^rename (?:from|to) [\w\/\.\-]+\s*$/ ||
2409 ($line =~ /\{\s*([\w\/\.\-]*)\s*\=\>\s*([\w\/\.\-]*)\s*\}/ &&
2417 if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) {
2419 "patch seems to be corrupt (line wrapped?)\n" .
2425 while ($line =~ m{(?:^|\s)(/\S*)}g) {
2438 if (($realfile =~ /^$/ || $line =~ /^\+/) &&
2451 # (not a header line and we haven't seen the patch filename)
2475 ($in_commit_log || $line =~ /^(?:\+|Subject:)/i)) {
2492 next if (!$hunk_line || $line =~ /^-/);
2495 if ($line =~ /^\+.*\015/) {
2498 "DOS line endings\n" . $herevet) &&
2528 $line =~ /^\+\s*config\s+/) {
2568 $line =~ /.\s*depends on\s+.*\bEXPERIMENTAL\b/) {
2575 $line =~ /^\+\s*\bboolean\b/) {
2581 ($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) {
2596 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) ||
2597 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) {
2628 # line length limit (with some exclusions)
2635 # There are 3 different line length message types:
2643 if ($line =~ /^\+/ && $length > $max_line_length) {
2646 # Check the allowed long line types first
2650 if ($line =~ /^\+\s*$logFunctions\s*\(\s*(?:(?:KERN_\S+\s*|[^"]*))?($String\s*(?:|,|\)\s*;)\s*)$/ &&
2651 length(expand_tabs(substr($line, 1, length($line) - length($1) - 1))) <= $max_line_length) {
2656 } elsif ($line =~ /^\+\s*$String\s*(?:\s*|,|\)\s*;)\s*$/ ||
2657 $line =~ /^\+\s*#\s*define\s+\w+\s+$String$/) {
2663 } elsif ($line =~ /($;[\s$;]*)$/ &&
2664 length(expand_tabs(substr($line, 1, length($line) - length($1) - 1))) <= $max_line_length) {
2669 length(expand_tabs(substr($line, 1, length($line) - length($1) - 1))) <= $max_line_length) {
2676 "line over $max_line_length characters\n" . $herecurr);
2681 if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file/) {
2683 "adding a line without newline at end of file\n" . $herecurr);
2688 if ($line =~ /\.[lL][[:space:]]*=.*&[[:space:]]*0x[fF][fF][fF][fF]/) {
2689 my $herevet = "$here\n" . cat_vet($line) . "\n";
2693 if ($line =~ /\.[hH][[:space:]]*=.*>>[[:space:]]*16/) {
2694 my $herevet = "$here\n" . cat_vet($line) . "\n";
2703 # at the beginning of a line any tabs must come first and anything
2729 # check for && or || at the start of a line
2732 "Logical continuations should be on the previous line\n" . $hereprev);
2735 # check multi-line statement indentation matches previous line
2744 $line =~ /^(\+| )([ \t]*)/;
2757 $fix && $line =~ /^\+/) {
2772 if ($line =~ /^\+(.*)\(\s*$Type\s*\)([ \t]++)((?![={]|\\$|$Attribute|__attribute__))/ &&
2789 "networking block comments don't use an empty /* line, use /* Comment...\n" . $hereprev);
2796 $rawline =~ /^\+/ && #line is new
2808 "Block comments use a trailing */ on a separate line\n" . $herecurr);
2814 $line =~ /^\+/ &&
2815 !($line =~ /^\+\s*$/ ||
2816 $line =~ /^\+\s*EXPORT_SYMBOL/ ||
2817 $line =~ /^\+\s*MODULE_/i ||
2818 $line =~ /^\+\s*\#\s*(?:end|elif|else)/ ||
2819 $line =~ /^\+[a-z_]*init/ ||
2820 $line =~ /^\+\s*(?:static\s+)?[A-Z_]*ATTR/ ||
2821 $line =~ /^\+\s*DECLARE/ ||
2822 $line =~ /^\+\s*__setup/)) {
2824 "Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) &&
2832 $line =~ /^\+\s*$/ &&
2857 # not starting a section or a macro "\" extended line
2875 # indentation of previous and current line are the same
2878 "Missing a blank line after declarations\n" . $hereprev) &&
2884 # check for spaces at the beginning of a line.
2889 if ($rawline =~ /^\+ / && $line !~ /^\+ *(?:$;|#|$Ident:)/) {
2892 "please, no spaces at the start of a line\n" . $herevet) &&
2901 # check indentation of any line with a bare else
2902 # (but not if it is a multiple line "if (foo) return bar; else return baz;")
2903 # if the previous line is a break or return and is indented 1 tab more...
2915 # check indentation of a line with a break;
2916 # if the previous line is a goto or return and is indented the same # of tabs
2926 if ($line =~ /^\+\s*\#\s*if.*\bCONFIG_EXPERIMENTAL\b/) {
2938 if ($line =~ /__builtin_bfin_csync/) {
2939 my $herevet = "$here\n" . cat_vet($line) . "\n";
2943 if ($line =~ /__builtin_bfin_ssync/) {
2944 my $herevet = "$here\n" . cat_vet($line) . "\n";
2950 if ($line =~ /\b(__dev(init|exit)(data|const|))\b/) {
2958 #print "LINE<$line>\n";
2976 # Find the real next line.
3037 if ($line=~/\bswitch\s*\(.*\)/) {
3058 # if/while/etc brace do not go on next line, unless defining a do while loop,
3059 # or if that brace on the next line is for something else
3060 if ($line =~ /(.*)\b((?:if|while|for|switch|(?:[a-z_]+|)for_each[a-z_]+)\s*\(|do\b|else\b)/ && $line !~ /^.\s*\#/) {
3065 if ($line =~ /^\+\t{6,}/) {
3085 #print "pre<$pre_ctx>\nline<$line>\nctx<$ctx>\nnext<$lines[$ctx_ln - 1]>\n";
3089 "that open brace { should be on the previous line\n" .
3106 if ($line =~ /\b(?:(?:if|while|for|(?:[a-z_]+|)for_each[a-z_]+)\s*\(|do\b)/ && $line !~ /^.\s*#/ && $line !~ /\}\s*while\s*/) {
3122 # Make sure we remove the line prefixes as we have
3123 # none on the first line, and are going to readd them
3130 # We want to check the first line inside the block
3132 # 1) any blank line termination
3133 # 2) any opening brace { on end of the line
3193 #print "line<$line> prevline<$prevline> indent<$indent> sindent<$sindent> check<$check> continuation<$continuation> s<$s> cond_lines<$cond_lines> stat_real<$stat_real> stat<$stat>\n";
3205 my $opline = $line; $opline =~ s/^./ /;
3218 next if ($line =~ /^[^\+]/);
3222 if ($line =~ /^.\s*$Declare\s*$/) {
3225 } elsif ($dbg_type > 1 && $line =~ /^.+($Declare)/) {
3233 if ($line =~ /^.\s*$Modifier\s*$/) {
3236 } elsif ($dbg_attr > 1 && $line =~ /^.+($Modifier)/) {
3243 # check for initialisation to aggregates open brace on the next line
3244 if ($line =~ /^.\s*{/ &&
3247 "that open brace { should be on the previous line\n" . $hereprev) &&
3248 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) {
3254 $fixedline = $line;
3261 # Checks which are anchored on the added line.
3264 # check for malformed paths in #include statements (uses RAW line)
3278 if ($line =~ m{//}) {
3282 my $line = $fixed[$fixlinenr];
3283 if ($line =~ /\/\/(.*)$/) {
3290 $line =~ s@//.*@@;
3327 ($line =~ /EXPORT_SYMBOL.*\((.*)\)/ ||
3328 $line =~ /EXPORT_UNUSED_SYMBOL.*\((.*)\)/)) {
3339 if ($line =~ /^\+$Type\s*$Ident(?:\s+$Modifier)*\s*=\s*($zero_initializer)\s*;/) {
3347 if ($line =~ /^\+.*\bstatic\s.*=\s*($zero_initializer)\s*;/) {
3364 if ($line =~ /\bstatic\s+const\s+char\s*\*\s*(\w+)\s*\[\s*\]\s*=\s*/) {
3371 if ($line =~ /\bstatic\s+char\s+(\w+)\s*\[\s*\]\s*=\s*"/) {
3390 if ($line =~ /^.\s+(?:static\s+|const\s+)?char\s+\*\s*\w+\s*\[\s*\]\s*=\s*\{/) {
3397 if ($line =~ m@\bsizeof\s*\(\s*($Lval)\s*\)@) {
3399 if ($line =~ m@\b(sizeof\s*\(\s*\Q$array\E\s*\)\s*/\s*sizeof\s*\(\s*\Q$array\E\s*\[\s*0\s*\]\s*\))@) {
3410 if ($line =~ /(\b$Type\s+$Ident)\s*\(\s*\)/) {
3419 if ($line =~ /\bDEFINE_PCI_DEVICE_TABLE\s*\(\s*(\w+)\s*\)\s*=/) {
3429 if ($line =~ /\btypedef\s/ &&
3430 $line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ &&
3431 $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ &&
3432 $line !~ /\b$typeTypedefs\b/ &&
3433 $line !~ /\b__bitwise(?:__|)\b/) {
3440 while ($line =~ m{(\($NonptrType(\s*(?:$Modifier\b\s*|\*\s*)+)\))}g) {
3465 while ($line =~ m{(\b$NonptrType(\s*(?:$Modifier\b\s*|\*\s*)+)($Ident))}g) {
3495 if ($line =~ /\b(?:BUG|BUG_ON)\b/) {
3503 if ($line =~ /\bLINUX_VERSION_CODE\b/) {
3509 if ($line =~ /\bprintk_ratelimit\s*\(/) {
3515 # same line do not need a level, so we use the current block context
3519 if ($line =~ /\bprintk\((?!KERN_)\s*"/) {
3538 if ($line =~ /\bprintk\s*\(\s*KERN_([A-Z]+)/) {
3548 if ($line =~ /\bpr_warning\s*\(/) {
3557 if ($line =~ /\bdev_printk\s*\(\s*KERN_([A-Z]+)/) {
3569 if ($line =~ /\bENOSYS\b/) {
3574 # function brace can't be on same line, except for #defines of do while,
3575 # or if closed on same line
3576 if (($line=~/$Type\s*$Ident\(.*\).*\s*{/) and
3577 !($line=~/\#\s*define.*do\s\{/) and !($line=~/}/)) {
3579 "open brace '{' following function declarations go on the next line\n" . $herecurr) &&
3594 # open braces for enum, union and struct go on the same line.
3595 if ($line =~ /^.\s*{/ &&
3598 "open brace '{' following $1 go on the same line\n" . $hereprev) &&
3599 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) {
3613 if ($line =~ /^.\s*(?:typedef\s+)?(enum|union|struct)(?:\s+$Ident){1,2}[=\{]/) {
3625 if ($line =~ /^.\s*($Declare)\((\s*)\*(\s*)($Ident)(\s*)\)(\s*)\(/) {
3694 # 2. at the beginning of a line for slice initialisers -- [0...10] = 5,
3696 while ($line =~ /(.*?\s)\[/g) {
3711 while ($line =~ /($Ident)\s+\(/g) {
3713 my $ctx_before = substr($line, 0, $-[1]);
3746 if (!($line=~/\#\s*include/)) {
3835 # ; should have either the end of line or a space or \ after it
4057 if ($line =~ /^\+.*\S\s+;\s*$/) {
4067 if ($line =~ /^.\s*$Lval\s*=\s*$Lval\s*=(?!=)/) {
4074 ## if ($line =~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Ident.*/ &&
4075 ## $line !~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Type\s*$Ident.*/) {
4079 ## my $ln = $line;
4089 if (($line =~ /\(.*\)\{/ && $line !~ /\($Type\){/) ||
4090 $line =~ /do\{/) {
4099 ## if ($line =~ /^.\t+$Type\s+$Ident(?:\s*=.*)?;/ &&
4107 # on the line
4108 if ($line =~ /}(?!(?:,|;|\)))\S/) {
4118 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) {
4126 if ($line =~ /\s\]/) {
4136 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ &&
4137 $line !~ /for\s*\(\s+;/) {
4145 if ($line =~ /(\s+)\)/ && $line !~ /^.\s*\)/ &&
4146 $line !~ /for\s*\(.*;\s+\)/ &&
4147 $line !~ /:\s+\)/) {
4159 while ($line =~ /(?:[^&]&\s*|\*)\(\s*($Ident\s*(?:$Member\s*)+)\s*\)/g) {
4171 if ($line =~ /(\bif\s*|)(\(\s*$Ident\s*(?:$Member\s*)+\))[ \t]*\(/ && $1 !~ /^if/) {
4183 if ($line=~/^.\s+[A-Za-z\d_]+:(?![0-9]+)/ and
4184 !($line=~/^. [A-Za-z\d_]+:/) and !($line=~/^.\s+default:/)) {
4211 # at end-of-function, with the previous line a single leading tab, then return;
4212 # and the line before that not a goto label target like "out:"
4224 $line =~ /\bif\s*((?:\(\s*){2,})/) {
4228 if ($line =~ /\bif\s*(?:\(\s*){$count,$count}$LvalOrFunc\s*($Compare)\s*$LvalOrFunc(?:\s*\)){$count,$count}/) {
4241 $line =~ /^\+(.*)\b($Constant|[A-Z_][A-Z0-9_]*)\s*($Compare)\s*($LvalOrFunc)/) {
4275 if ($line =~ /\b(if|while|for|switch)\(/) {
4286 if ($line =~ /do\s*(?!{)/) {
4309 $line =~ /\b(?:if|while|for)\s*\(/ && $line !~ /^.\s*#/) {
4317 # Find out what is on the end of the line after the
4337 "trailing statements should be on next line\n" . $herecurr . $stat_real);
4342 if ($line =~ /
4358 if ($line =~ /^.\s*(?:}\s*)?else\b(.*)/) {
4363 "trailing statements should be on next line\n" . $herecurr);
4367 if ($line =~ /}\s*if\b/) {
4369 "trailing statements should be on next line (or did you mean 'else if'?)\n" .
4373 if ($line =~ /^.\s*(?:case\s*.*|default\s*):/g &&
4374 $line !~ /\G(?:
4380 "trailing statements should be on next line\n" . $herecurr);
4385 if ($prevline=~/}\s*$/ and $line=~/^.\s*else\s*/ &&
4389 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) {
4403 if ($prevline=~/}\s*$/ and $line=~/^.\s*while\s*/ &&
4407 # Find out what is on the end of the line after the
4415 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) {
4429 while ($line =~ m{($Constant|$Lval)}g) {
4472 if ($line =~ /\#\s*define.*\\\s+$/) {
4481 # itself <asm/foo.h> (uses RAW line)
4506 $line =~ /^.\s*\#\s*define\s*$Ident(\()?/) {
4599 # check for line continuations outside of #defines, preprocessor #, and asm
4603 $line !~ /^\+\s*\#.*\\$/ && # preprocessor
4604 $line !~ /^\+.*\b(__asm__|asm)\b.*\\$/ && # asm
4605 $line =~ /^\+.*\\$/) {
4607 "Avoid unnecessary line continuations\n" . $herecurr);
4616 $line =~ /^.\s*\#\s*define\s+$Ident(\()?/) {
4668 if ($realfile eq 'vmlinux.lds.h' && $line =~ /(?:(?:^|\s)$Ident\s*=|=\s*$Ident(?:\s|$))/) {
4674 if ($line =~ /(^.*)\bif\b/ && $1 !~ /else\s*$/) {
4695 # We have looked at and allowed this specific line.
4737 $line =~ /\b(if|while|for|else)\b/) {
4741 if (substr($line, 0, $-[0]) =~ /(\}\s*)$/) {
4792 if (($line =~ /^.\s*}\s*$/ && $prevrawline =~ /^.\s*$/)) {
4809 if ($line =~ /\bvolatile\b/ && $line !~ /$asm_volatile/) {
4818 if ($line =~ /^\+\s*$String/ &&
4826 my $extracted_string = get_quoted_string($line, $rawline);
4864 if ($line =~ /$String[A-Z_]/ || $line =~ /[A-Za-z0-9_]$String/) {
4870 if ($line =~ /$String\s*"/) {
4877 while ($line =~ /(?:^|")([X\t]*)(?:"|$)/g) {
4891 # check for line continuations in quoted strings with odd counts of "
4894 "Avoid line continuations in quoted strings\n" . $herecurr);
4898 if ($line =~ /^.\s*\#\s*if\s+0\b/) {
4908 if ($line =~ /\b(kfree|usb_free_urb|debugfs_remove(?:_recursive)?|(?:kmem_cache|mempool|dma_pool)_destroy)$expr/) {
4938 if ($line =~ /^\+.*\b$logFunctions\s*\(/ &&
4946 # print("line: <$line>\nprevline: <$prevline>\ns: <$s>\nc: <$c>\n\n\n");
4955 if ($line !~ /printk(?:_ratelimited|_once)?\s*\(/ &&
4956 $line =~ /\b$logFunctions\s*\(.*\b(KERN_[A-Z]+)\b/) {
4967 $line =~ /$LvalOrFunc\s*\&\s*($LvalOrFunc)\s*>>/ &&
4975 while ($line =~ /\b$LvalOrFunc\s*(==|\!=)\s*NULL\b/g) {
4988 if ($line =~ /(\b$InitAttribute\b)/) {
4990 if ($line =~ /^\+\s*static\s+(?:const\s+)?(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Ident(?:\[[^]]*\])?)\s*[=;]/) {
5006 if ($line =~ /\bconst\b/ && $line =~ /($InitAttributeData)/) {
5020 if ($line !~ /\bconst\b/ && $line =~ /($InitAttributeConst)/) {
5035 if ($line =~ /\b__read_mostly\b/ &&
5036 $line =~ /($Type)\s*$Ident/ && $1 !~ /\*\s*$/ && $1 =~ /\bconst\b/) {
5046 $line =~ /(__constant_(?:htons|ntohs|[bl]e(?:16|32|64)_to_cpu|cpu_to_[bl]e(?:16|32|64)))\s*\(/) {
5058 if ($line =~ /\budelay\s*\(\s*(\d+)\s*\)/) {
5072 if ($line =~ /\bmsleep\s*\((\d+)\);/) {
5080 if ($line =~ /\bjiffies\s*$Compare|$Compare\s*jiffies\b/) {
5086 if ($line =~ /\bget_jiffies_64\s*\(\s*\)\s*$Compare|$Compare\s*get_jiffies_64\s*\(\s*\)/) {
5092 # if ($line =~ /^.\s*\#\s*if(|n)def/ && ($realfile =~ /\.c$/)) {
5099 if ($line =~ /^.\s*\#\s*(ifdef|ifndef|elif)\s\s+/) {
5110 if ($line =~ /^.\s*(struct\s+mutex|spinlock_t)\s+\S+;/ ||
5111 $line =~ /^.\s*(DEFINE_MUTEX)\s*\(/) {
5119 if ($line =~ /\b(mb|rmb|wmb|read_barrier_depends|smp_mb|smp_rmb|smp_wmb|smp_read_barrier_depends)\(/) {
5127 if ($line =~ /\bwaitqueue_active\s*\(/) {
5145 if ($line =~ /\b(synchronize_rcu_expedited|synchronize_sched_expedited)\(/) {
5152 if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@include/asm-@) {
5158 if ($line =~ /\b$Storage\b/ && $line !~ /^.\s*$Storage\b/) {
5165 if ($line =~ /\b$Type\s+$Inline\b/ ||
5166 $line =~ /\b$Inline\s+$Storage\b/) {
5173 $line =~ /\b(__inline__|__inline)\b/) {
5184 $line =~ /\b__attribute__\s*\(\s*\(.*\bpacked\b/) {
5191 $line =~ /\b__attribute__\s*\(\s*\(.*aligned/) {
5198 $line =~ /\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf/) {
5209 $line =~ /\b__attribute__\s*\(\s*\(\s*format\s*\(\s*scanf\b/) {
5219 $line =~ /(?:$Declare|$DeclareMisordered)\s*$Ident\s*$balanced_parens\s*(?:$Attribute)?\s*;/ &&
5220 ($line =~ /\b__attribute__\s*\(\s*\(.*\bweak\b/ ||
5221 $line =~ /\b__weak\b/)) {
5228 $line =~ /\b($Declare)\s*$Ident\s*[=;,\[]/) {
5245 if ($line =~ /\bsizeof\s*\(\s*\&/) {
5251 if ($line =~ /\bsizeof\s+((?:\*\s*|)$Lval|$Type(?:\s+$Lval|))/) {
5260 if ($line =~ /^.\s*\bstruct\s+spinlock\s+\w+\s*;/) {
5267 my $fmt = get_quoted_string($line, $rawline);
5381 $line =~ /\bsscanf\b/ &&
5398 $line =~ /\bsscanf\b/) {
5418 $line =~ /^\+\s*(extern\s+)$Type\s*$Ident\s*\(/s) {
5467 if ($line =~ /\*\s*\)\s*[kv][czm]alloc(_node){0,1}\b/) {
5475 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*([kv][mz]alloc(?:_node)?)\s*\(\s*(sizeof\s*\(\s*struct\s+$Lval\s*\))/) {
5482 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)\s*,/) {
5507 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*krealloc\s*\(\s*\1\s*,/) {
5513 if ($line =~ /\b(kcalloc|kmalloc_array)\s*\(\s*sizeof\b/) {
5519 if ($line =~ /;\s*;\s*$/) {
5528 if ($line =~ /#\s*define\s+\w+\s+\(?\s*1\s*([ulUL]*)\s*\<\<\s*(?:\d+|$Ident)\s*\)?/) {
5539 if ($line =~ /^.\s*(?:case\s+(?:$Ident|$Constant)\s*|default):/) {
5578 if ($line =~ /\b__FUNCTION__\b/) {
5587 while ($line =~ /\b(__(?:DATE|TIME|TIMESTAMP)__)\b/g) {
5593 if ($line =~ /\byield\s*\(\s*\)/) {
5599 if ($line =~ /\+\s*(.*?)\b(true|false|$Lval)\s*(==|\!=)\s*(true|false|$Lval)\b(.*)$/i) {
5626 if ($line =~ /^.\s*sema_init.+,\W?0\W?\)/) {
5632 if ($line =~ /\b((simple|strict)_(strto(l|ll|ul|ull)))\s*\(/) {
5638 if ($line =~ /^.\s*__initcall\s*\(/) {
5684 if ($line !~ /\bconst\b/ &&
5685 $line =~ /\bstruct\s+($const_structs)\b/) {
5693 if ($line =~ /\bNR_CPUS\b/ &&
5694 $line !~ /^.\s*\s*#\s*if\b.*\bNR_CPUS\b/ &&
5695 $line !~ /^.\s*\s*#\s*define\b.*\bNR_CPUS\b/ &&
5696 $line !~ /^.\s*$Declare\s.*\[[^\]]*NR_CPUS[^\]]*\]/ &&
5697 $line !~ /\[[^\]]*\.\.\.[^\]]*NR_CPUS[^\]]*\]/ &&
5698 $line !~ /\[[^\]]*NR_CPUS[^\]]*\.\.\.[^\]]*\]/)
5705 if ($line =~ /\+\s*#\s*define\s+((?:__)?ARCH_(?:HAS|HAVE)\w*)\b/) {
5712 $line =~ /\b((?:un)?likely)\s*\(\s*$FuncArg\s*\)\s*$Compare/) {
5718 if ($line =~ /\bin_atomic\s*\(/) {
5729 if ($line =~ /^.\s*lockdep_set_novalidate_class\s*\(/ ||
5730 $line =~ /__lockdep_no_validate__\s*\)/ ) {
5739 if ($line =~ /debugfs_create_\w+.*\b$mode_perms_world_writable\b/ ||
5740 $line =~ /DEVICE_ATTR.*\b$mode_perms_world_writable\b/) {
5748 $line =~ /$mode_perms_search/) {
5759 if ($line =~ /$test/) {
5777 if ($line =~ /\bMODULE_LICENSE\s*\(\s*($String)\s*\)/) {
5778 my $extracted_string = get_quoted_string($line, $rawline);
5819 "Missing Signed-off-by: line(s)\n");
H A Dcleanfile137 while ( defined($line = <FILE>) ) {
139 $in_bytes += length($line);
140 $line =~ s/[ \t\r]*$//; # Remove trailing spaces
141 $line = clean_space_tabs($line);
143 if ( $line eq "\n" ) {
144 push(@blanks, $line);
145 $blank_bytes += length($line);
149 push(@lines, $line);
150 $out_bytes += length($line);
155 $l_width = strwidth($line);
158 "$f:$lineno: line exceeds $max_width characters ($l_width)\n";
H A Ddocproc.c61 typedef void FILELINE(char * file, char * line);
183 static void adddep2(char * file, char * line) { line = line; adddep(file); } noaction() argument
184 static void noaction(char * line) { line = line; } noaction2() argument
185 static void noaction2(char * file, char * line) { file = file; line = line; } noaction2() argument
187 /* Echo the line without further action */ printline()
188 static void printline(char * line) { printf("%s", line); } printline() argument
199 char line[MAXLINESZ]; find_export_symbols() local
214 while (fgets(line, MAXLINESZ, fp)) { find_export_symbols()
217 if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) || find_export_symbols()
218 ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) { find_export_symbols()
291 static void singfunc(char * filename, char * line) singfunc() argument
300 /* Split line up in individual parameters preceded by FUNCTION */ singfunc()
301 for (i=0; line[i]; i++) { singfunc()
302 if (isspace(line[i])) { singfunc()
303 line[i] = '\0'; singfunc()
310 vec[idx++] = &line[i]; singfunc()
328 static void docsect(char *filename, char *line) docsect() argument
334 for (s = line; *s; s++) docsect()
338 if (asprintf(&s, "DOC: %s", line) < 0) { docsect()
349 vec[4] = line; docsect()
445 char line[MAXLINESZ]; parse_file() local
447 while (fgets(line, MAXLINESZ, infile)) { parse_file()
448 if (line[0] == '!') { parse_file()
449 s = line + 2; parse_file()
450 switch (line[1]) { parse_file()
454 externalfunctions(line+2); parse_file()
459 internalfunctions(line+2); parse_file()
464 symbolsonly(line+2); parse_file()
473 singlefunctions(line +2, s); parse_file()
482 docsection(line + 2, s); parse_file()
488 findall(line+2); parse_file()
491 defaultline(line); parse_file()
494 defaultline(line); parse_file()
H A Dcleanpatch138 while ( defined($line = <FILE>) ) {
140 $in_bytes += length($line);
143 if ($line =~
149 @hunk_lines = ($line);
152 push(@lines, $line);
153 $out_bytes += length($line);
158 if ($line =~ /^\+/) {
161 $text = substr($line, 1);
168 "$f:$lineno: adds line exceeds $max_width ",
173 } elsif ($line =~ /^\-/) {
175 push(@hunk_lines, $line);
176 } elsif ($line =~ /^ /) {
179 push(@hunk_lines, $line);
201 $adj++; # Skip this line
H A Ddiffconfig21 Changed items show the old and new values on a single line.
41 for line in config_file:
42 line = line[:-1]
43 if line[:7] == "CONFIG_":
44 name, val = line[7:].split("=", 1)
46 if line[-11:] == " is not set":
47 d[line[9:-11]] = "n"
70 # parse command line args
H A Dcheckkconfigsymbols.py200 for line in stdout:
201 if re.findall(r"[URMADC]{1}", line[:2]):
271 for line in lines:
272 if not "CONFIG_" in line:
274 features = REGEX_SOURCE_FEATURE.findall(line)
283 def get_features_in_line(line):
284 """Return mentioned Kconfig features in @line."""
285 return REGEX_FEATURE.findall(line)
297 line = lines[i]
298 line = line.strip('\n')
299 line = line.split("#")[0] # ignore comments
301 if REGEX_KCONFIG_DEF.match(line):
302 feature_def = REGEX_KCONFIG_DEF.findall(line)
305 elif REGEX_KCONFIG_HELP.match(line):
310 elif REGEX_KCONFIG_STMT.match(line):
311 features = get_features_in_line(line)
312 # multi-line statements
313 while line.endswith("\\"):
315 line = lines[i]
316 line = line.strip('\n')
317 features.extend(get_features_in_line(line))
H A Dget_maintainer.pl171 my $line = $_;
173 $line =~ s/\s*\n?$//g;
174 $line =~ s/^\s*//g;
175 $line =~ s/\s+/ /g;
177 next if ($line =~ m/^\s*#/);
178 next if ($line =~ m/^\s*$/);
180 my @words = split(" ", $line);
196 my $line = $_;
198 $line =~ s/\s*\n?$//;
199 $line =~ s/^\s*//;
200 $line =~ s/\s+$//;
201 $line =~ s/#.*$//;
203 next if ($line =~ m/^\s*$/);
204 if (rfc822_valid($line)) {
205 push(@ignore_emails, $line);
262 # We're talking to a terminal, but have no command line arguments.
306 my $line = $_;
308 if ($line =~ m/^([A-Z]):\s*(.*)/) {
326 $line =~ s/\n$//g;
327 push(@typevalue, $line);
411 ## use the filenames on the command line or find the filenames in the patchfiles
439 foreach my $line (keys %keyword_hash) {
440 if ($text =~ m/$keyword_hash{$line}/x) {
441 push(@keyword_tvi, $line);
478 foreach my $line (keys %keyword_hash) {
479 if ($patch_line =~ m/${patch_prefix}$keyword_hash{$line}/x) {
480 push(@keyword_tvi, $line);
552 my $line = $typevalue[$i];
553 if ($line =~ m/^([A-Z]):\s*(.*)/) {
570 my $line = $typevalue[$i];
571 if ($line =~ m/^([A-Z]):\s*(.*)/) {
619 my $line = $typevalue[$i];
620 if ($line =~ m/^([A-Z]):\s*(.*)/) {
634 my $line = $typevalue[$i];
635 if ($line =~ m/^([A-Z]):\s*(.*)/) {
665 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {
666 add_categories($line);
669 my $start = find_starting_index($line);
670 my $end = find_ending_index($line);
672 my $line = $typevalue[$i];
673 if ($line =~ /^[FX]:/) { ##Restore file patterns
674 $line =~ s/([^\\])\.([^\*])/$1\?$2/g;
675 $line =~ s/([^\\])\.$/$1\?/g; ##Convert . back to ?
676 $line =~ s/\\\./\./g; ##Convert \. to .
677 $line =~ s/\.\*/\*/g; ##Convert .* to *
679 $line =~ s/^([A-Z]):/$1:\t/g;
680 print("$line\n");
689 foreach my $line (@keyword_tvi) {
690 add_categories($line);
803 --separator [, ] => separator for multiple entries on 1 line
805 --multiline => print 1 entry per line
836 contain a thousand lines, 5 trivial commits may modify a single line.
845 Entries in this file can be any command line argument.
846 This file is prepended to any additional command line arguments.
1146 my ($line, $role) = @_;
1148 my ($name, $address) = parse_email($line);
1185 my ($line, $role) = @_;
1187 my ($name, $address) = parse_email($line);
1241 my ($line) = @_;
1243 my ($name, $address) = parse_email($line);
1271 foreach my $line (@addresses) {
1272 push(@mapped_emails, mailmap_email($line));
1385 foreach my $line (@lines) {
1386 if ($line =~ m/$VCS_cmds{"author_pattern"}/) {
1407 foreach my $line (@lines) {
1408 if ($line =~ m/$VCS_cmds{"blame_commit_pattern"}/) {
1734 history of files in the patch. Also, each line of the current file can
1817 foreach my $line (@lines) {
1818 if ($line =~ m/$VCS_cmds{"author_pattern"}/) {
1823 push(@commits, $1) if ($line =~ m/$VCS_cmds{"commit_pattern"}/);
1824 push(@subjects, $1) if ($line =~ m/$VCS_cmds{"subject_pattern"}/);
1849 foreach my $line (@lines) {
1850 $commit = $1 if ($line =~ m/$VCS_cmds{"commit_pattern"}/);
1851 $subject = $1 if ($line =~ m/$VCS_cmds{"subject_pattern"}/);
1852 if ($line =~ /^[ \t]*${signature_pattern}.*\@.*$/) {
1853 my @signatures = ($line);
1903 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {
1904 my $sign_offs = $hash{$line};
1908 next if (ignore_email_address($line));
1913 push_email_address($line, '');
1916 add_role($line, "$role:$sign_offs/$divisor=$fmt_percent%");
1918 add_role($line, $role);
2078 foreach my $line (@lines) {
2079 if ($line =~ m/$VCS_cmds{"author_pattern"}/) {
2208 foreach my $line (@parms) {
2209 print("${line}\n");
H A Dextract-sys-certs.pl30 foreach my $line (@lines) {
31 chomp($line);
32 if ($line =~ /\s*([0-9]+)\s+(\S+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+2[*][*]([0-9]+)/
63 foreach my $line (@_) {
64 chomp($line);
65 if ($line =~ /([0-9a-f]+)\s([a-zA-Z])\s(\S+)/
H A Dextract-cert.c40 int e, line; display_openssl_errors() local
46 while ((e = ERR_get_error_line(&file, &line))) { display_openssl_errors()
48 fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); display_openssl_errors()
55 int line; drain_openssl_errors() local
59 while (ERR_get_error_line(&file, &line)) {} drain_openssl_errors()
H A Dbootgraph.pl34 # "initcall_debug" passed on the kernel command line.
83 my $line = $_;
84 if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_\.]+)\+/) {
93 if ($line =~ /\@ ([0-9]+)/) {
99 if ($line =~ /([0-9\.]+)\] async_waiting @ ([0-9]+)/) {
120 if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_\.]+)\+.*returned/) {
127 if ($line =~ /([0-9\.]+)\] async_continuing @ ([0-9]+)/) {
133 if ($line =~ /Write protecting the/) {
136 if ($line =~ /Freeing unused kernel memory/) {
144 'initcall_debug' are passed on the kernel command line.
228 # print the time line on top
H A Dkernel-doc-xml-ref14 # The list of "valid internal references" must be one-per-line in the following format:
42 "\"<function>\" . convert_function(\$1, \$line) . \"</function>\"",
73 $dohighlight .= "\$line =~ s:$pattern:$highlights{$pattern}:eg;\n";
77 foreach my $line (<FILE>) {
79 print $line;
104 my $line = $_[1];
112 if (!has_key_defined($key) || $line =~ m/\s+<funcdef/i) {
/linux-4.4.14/drivers/staging/rts5208/
H A Dtrace.c9 int line) _rtsx_trace()
14 dev_dbg(rtsx_dev(chip), "[%s][%s]:[%d]\n", file, func, line); _rtsx_trace() local
18 msg->line = (u16)line; _rtsx_trace()
8 _rtsx_trace(struct rtsx_chip *chip, const char *file, const char *func, int line) _rtsx_trace() argument
/linux-4.4.14/arch/h8300/include/asm/
H A Dcache.h4 /* bytes per L1 cache line */
/linux-4.4.14/drivers/fmc/
H A Dfmc-dump.c24 static const uint8_t *dump_line(int addr, const uint8_t *line, dump_line() argument
29 if (!prev || memcmp(line, prev, LINELEN)) { dump_line()
32 printk(KERN_CONT "%02x", line[i]); dump_line()
36 return line; dump_line()
38 /* repeated line */ dump_line()
39 if (line == prev + LINELEN) dump_line()
46 const uint8_t *line, *prev; fmc_dump_eeprom() local
57 line = fmc->eeprom; fmc_dump_eeprom()
59 for (i = 0; i < fmc->eeprom_len; i += LINELEN, line += LINELEN) fmc_dump_eeprom()
60 prev = dump_line(i, line, prev); fmc_dump_eeprom()
65 const uint8_t *line, *prev; fmc_dump_sdb() local
95 line = (void *)fmc->sdb->record; fmc_dump_sdb()
97 for (i = 0; i < len; i += LINELEN, line += LINELEN) fmc_dump_sdb()
98 prev = dump_line(i, line, prev); fmc_dump_sdb()
/linux-4.4.14/Documentation/trace/
H A Dfunction-graph-fold.vim4 " -S option to load from the command-line together with a trace. You can then
7 " as would normally appear on the line with the closing brace. Folded
15 let line = getline(a:lnum)
16 if line[-1:] == '{'
17 if line =~ 'finish_task_switch() {$'
21 elseif line[-1:] == '}'
/linux-4.4.14/drivers/misc/ti-st/
H A DMakefile2 # Makefile for TI's shared transport line discipline
/linux-4.4.14/arch/um/include/asm/
H A Dsetup.h5 * command line, so this choice is ok.
/linux-4.4.14/arch/m68k/include/asm/
H A Dcache.h7 /* bytes per L1 cache line */
/linux-4.4.14/arch/powerpc/platforms/ps3/
H A Dtime.c32 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) _dump_tm() argument
34 pr_debug("%s:%d tm_sec %d\n", func, line, tm->tm_sec); _dump_tm()
35 pr_debug("%s:%d tm_min %d\n", func, line, tm->tm_min); _dump_tm()
36 pr_debug("%s:%d tm_hour %d\n", func, line, tm->tm_hour); _dump_tm()
37 pr_debug("%s:%d tm_mday %d\n", func, line, tm->tm_mday); _dump_tm()
38 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon); _dump_tm()
39 pr_debug("%s:%d tm_year %d\n", func, line, tm->tm_year); _dump_tm()
40 pr_debug("%s:%d tm_wday %d\n", func, line, tm->tm_wday); _dump_tm()
45 int line) _dump_time()
51 pr_debug("%s:%d time %d\n", func, line, time); _dump_time()
52 _dump_tm(&tm, func, line); _dump_time()
44 _dump_time(int time, const char *func, int line) _dump_time() argument
H A Dos-area.c319 int line) _dump_header()
324 pr_debug("%s:%d: h.magic_num: '%s'\n", func, line, _dump_header()
326 pr_debug("%s:%d: h.hdr_version: %u\n", func, line, _dump_header()
328 pr_debug("%s:%d: h.db_area_offset: %u\n", func, line, _dump_header()
330 pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line, _dump_header()
332 pr_debug("%s:%d: h.ldr_format: %u\n", func, line, _dump_header()
334 pr_debug("%s:%d: h.ldr_size: %xh\n", func, line, _dump_header()
340 int line) _dump_params()
342 pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag); _dump_params()
343 pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params); _dump_params()
344 pr_debug("%s:%d: p.rtc_diff %lld\n", func, line, p->rtc_diff); _dump_params()
345 pr_debug("%s:%d: p.av_multi_out %u\n", func, line, p->av_multi_out); _dump_params()
346 pr_debug("%s:%d: p.ctrl_button: %u\n", func, line, p->ctrl_button); _dump_params()
347 pr_debug("%s:%d: p.static_ip_addr: %u.%u.%u.%u\n", func, line, _dump_params()
350 pr_debug("%s:%d: p.network_mask: %u.%u.%u.%u\n", func, line, _dump_params()
353 pr_debug("%s:%d: p.default_gateway: %u.%u.%u.%u\n", func, line, _dump_params()
356 pr_debug("%s:%d: p.dns_primary: %u.%u.%u.%u\n", func, line, _dump_params()
359 pr_debug("%s:%d: p.dns_secondary: %u.%u.%u.%u\n", func, line, _dump_params()
539 int line) _dump_db()
544 pr_debug("%s:%d: db.magic_num: '%s'\n", func, line, _dump_db()
546 pr_debug("%s:%d: db.version: %u\n", func, line, _dump_db()
548 pr_debug("%s:%d: db.index_64: %u\n", func, line, _dump_db()
550 pr_debug("%s:%d: db.count_64: %u\n", func, line, _dump_db()
552 pr_debug("%s:%d: db.index_32: %u\n", func, line, _dump_db()
554 pr_debug("%s:%d: db.count_32: %u\n", func, line, _dump_db()
556 pr_debug("%s:%d: db.index_16: %u\n", func, line, _dump_db()
558 pr_debug("%s:%d: db.count_16: %u\n", func, line, _dump_db()
318 _dump_header(const struct os_area_header *h, const char *func, int line) _dump_header() argument
339 _dump_params(const struct os_area_params *p, const char *func, int line) _dump_params() argument
538 _dump_db(const struct os_area_db *db, const char *func, int line) _dump_db() argument
/linux-4.4.14/drivers/tty/serial/
H A Ddz.h38 #define LINE(x) ((x & DZ_LINE_MASK) >> 8) /* Get the line number
50 #define DZ_MODEM_RTS 0x0800 /* RTS for the modem line (2) */
51 #define DZ_MODEM_DTR 0x0400 /* DTR for the modem line (2) */
52 #define DZ_PRINT_RTS 0x0200 /* RTS for the prntr line (3) */
53 #define DZ_PRINT_DTR 0x0100 /* DTR for the prntr line (3) */
59 #define DZ_MODEM_RI 0x0800 /* RI for the modem line (2) */
60 #define DZ_MODEM_CD 0x0400 /* CD for the modem line (2) */
61 #define DZ_MODEM_DSR 0x0200 /* DSR for the modem line (2) */
62 #define DZ_MODEM_CTS 0x0100 /* CTS for the modem line (2) */
63 #define DZ_PRINT_RI 0x0008 /* RI for the printer line (3) */
64 #define DZ_PRINT_CD 0x0004 /* CD for the printer line (3) */
65 #define DZ_PRINT_DSR 0x0002 /* DSR for the prntr line (3) */
66 #define DZ_PRINT_CTS 0x0001 /* CTS for the prntr line (3) */
71 #define DZ_BRK0 0x0100 /* Break assertion for line 0 */
72 #define DZ_BRK1 0x0200 /* Break assertion for line 1 */
73 #define DZ_BRK2 0x0400 /* Break assertion for line 2 */
74 #define DZ_BRK3 0x0800 /* Break assertion for line 3 */
79 #define DZ_KEYBOARD 0x0000 /* line 0 = keyboard */
80 #define DZ_MOUSE 0x0001 /* line 1 = mouse */
81 #define DZ_MODEM 0x0002 /* line 2 = modem */
82 #define DZ_PRINTER 0x0003 /* line 3 = printer */
H A Dsb1250-duart.c57 #define SBD_CHANREGS(line) A_BCM1480_DUART_CHANREG((line), 0)
58 #define SBD_CTRLREGS(line) A_BCM1480_DUART_CTRLREG((line), 0)
59 #define SBD_INT(line) (K_BCM1480_INT_UART_0 + (line))
63 #define R_DUART_IMRREG(line) R_BCM1480_DUART_IMRREG(line)
64 #define R_DUART_INCHREG(line) R_BCM1480_DUART_INCHREG(line)
65 #define R_DUART_ISRREG(line) R_BCM1480_DUART_ISRREG(line)
71 #define SBD_CHANREGS(line) A_DUART_CHANREG((line), 0)
72 #define SBD_CTRLREGS(line) A_DUART_CTRLREG(0)
73 #define SBD_INT(line) (K_INT_UART_0 + (line))
254 status >>= (uport->line) % 2; sbd_get_mctrl()
275 clr <<= (uport->line) % 2; sbd_set_mctrl()
276 set <<= (uport->line) % 2; sbd_set_mctrl()
304 mask = read_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2)); sbd_start_tx()
306 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), mask); sbd_start_tx()
317 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), 0); sbd_stop_rx()
421 mask = read_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2)); sbd_transmit_chars()
423 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), mask); sbd_transmit_chars()
432 delta = read_sbdshr(sport, R_DUART_INCHREG((uport->line) % 2)); sbd_status_handle()
433 delta >>= (uport->line) % 2; sbd_status_handle()
456 R_DUART_ISRREG((uport->line) % 2)); sbd_interrupt()
458 R_DUART_IMRREG((uport->line) % 2)); sbd_interrupt()
493 read_sbdshr(sport, R_DUART_INCHREG((uport->line) % 2)); sbd_startup()
505 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), sbd_startup()
537 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), 0); sbd_init_port()
786 int max_lines, line; sbd_probe_duarts() local
805 for (chip = 0, line = 0; chip < DUART_MAX_CHIP && line < max_lines; sbd_probe_duarts()
807 sbd_duarts[chip].mapctrl = SBD_CTRLREGS(line); sbd_probe_duarts()
809 for (side = 0; side < DUART_MAX_SIDE && line < max_lines; sbd_probe_duarts()
810 side++, line++) { sbd_probe_duarts()
816 uport->irq = SBD_INT(line); sbd_probe_duarts()
822 uport->line = line; sbd_probe_duarts()
823 uport->mapbase = SBD_CHANREGS(line); sbd_probe_duarts()
855 mask = read_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2)); sbd_console_write()
856 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), sbd_console_write()
868 write_sbdshr(sport, R_DUART_IMRREG((uport->line) % 2), mask); sbd_console_write()
H A Dcrisv10.c110 #define DEBUG_LOG(line, string, value)
116 // int line;
131 void debug_log_func(int line, const char *string, int value) debug_log_func() argument
136 // debug_log[debug_log_pos].line = line; debug_log_func()
465 #define E100_STRUCT_PORT(line, pinname) \
466 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \
468 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \
469 (R_PORT_PB_DATA):&dummy_ser[line]))
471 #define E100_STRUCT_SHADOW(line, pinname) \
472 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \
474 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \
475 (&port_pb_data_shadow):&dummy_ser[line]))
476 #define E100_STRUCT_MASK(line, pinname) \
477 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \
478 (1<<CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT): ( \
479 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \
480 (1<<CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT):DUMMY_##pinname##_MASK))
716 #define CONTROL_PINS_PORT_NOT_USED(line) \
717 &dummy_ser[line], &dummy_ser[line], \
718 &dummy_ser[line], &dummy_ser[line], \
719 &dummy_ser[line], &dummy_ser[line], \
720 &dummy_ser[line], &dummy_ser[line], \
810 #define CONTROL_PINS_PORT_NOT_USED(line) \
811 &dummy_ser[line], &dummy_ser[line], \
908 #define E100_DTR_GET(info) ((*e100_modem_pins[(info)->line].dtr_shadow) & e100_modem_pins[(info)->line].dtr_mask)
911 #define E100_RI_GET(info) ((*e100_modem_pins[(info)->line].ri_port) & e100_modem_pins[(info)->line].ri_mask)
912 #define E100_CD_GET(info) ((*e100_modem_pins[(info)->line].cd_port) & e100_modem_pins[(info)->line].cd_mask)
915 #define E100_DSR_GET(info) ((*e100_modem_pins[(info)->line].dsr_port) & e100_modem_pins[(info)->line].dsr_mask)
995 /* Functions to set or clear DTR/RTS on the requested line */
1005 unsigned char mask = e100_modem_pins[info->line].dtr_mask; e100_dtr()
1008 printk("ser%i dtr %i mask: 0x%02X\n", info->line, set, mask); e100_dtr()
1010 info->line, *e100_modem_pins[info->line].dtr_shadow, e100_dtr()
1018 *e100_modem_pins[info->line].dtr_shadow &= ~mask; e100_dtr()
1019 *e100_modem_pins[info->line].dtr_shadow |= (set ? 0 : mask); e100_dtr()
1020 *e100_modem_pins[info->line].dtr_port = *e100_modem_pins[info->line].dtr_shadow; e100_dtr()
1026 info->line, *e100_modem_pins[info->line].dtr_shadow, e100_dtr()
1044 printk("ser%i rts %i\n", info->line, set); e100_rts()
1055 unsigned char mask = e100_modem_pins[info->line].ri_mask; e100_ri_out()
1059 *e100_modem_pins[info->line].ri_shadow &= ~mask; e100_ri_out()
1060 *e100_modem_pins[info->line].ri_shadow |= (set ? 0 : mask); e100_ri_out()
1061 *e100_modem_pins[info->line].ri_port = *e100_modem_pins[info->line].ri_shadow; e100_ri_out()
1070 unsigned char mask = e100_modem_pins[info->line].cd_mask; e100_cd_out()
1074 *e100_modem_pins[info->line].cd_shadow &= ~mask; e100_cd_out()
1075 *e100_modem_pins[info->line].cd_shadow |= (set ? 0 : mask); e100_cd_out()
1076 *e100_modem_pins[info->line].cd_port = *e100_modem_pins[info->line].cd_shadow; e100_cd_out()
1103 printk("rxdma_irq(%d): 0\n",info->line); e100_disable_rxdma_irq()
1105 DINTR1(DEBUG_LOG(info->line,"IRQ disable_rxdma_irq %i\n", info->line)); e100_disable_rxdma_irq()
1113 printk("rxdma_irq(%d): 1\n",info->line); e100_enable_rxdma_irq()
1115 DINTR1(DEBUG_LOG(info->line,"IRQ enable_rxdma_irq %i\n", info->line)); e100_enable_rxdma_irq()
1124 printk("txdma_irq(%d): 0\n",info->line); e100_disable_txdma_irq()
1126 DINTR1(DEBUG_LOG(info->line,"IRQ disable_txdma_irq %i\n", info->line)); e100_disable_txdma_irq()
1133 printk("txdma_irq(%d): 1\n",info->line); e100_enable_txdma_irq()
1135 DINTR1(DEBUG_LOG(info->line,"IRQ enable_txdma_irq %i\n", info->line)); e100_enable_txdma_irq()
1147 DFLOW(DEBUG_LOG(info->line, "disable_txdma_channel %i\n", info->line)); e100_disable_txdma_channel()
1148 if (info->line == 0) { e100_disable_txdma_channel()
1154 } else if (info->line == 1) { e100_disable_txdma_channel()
1160 } else if (info->line == 2) { e100_disable_txdma_channel()
1166 } else if (info->line == 3) { e100_disable_txdma_channel()
1183 DFLOW(DEBUG_LOG(info->line, "enable_txdma_channel %i\n", info->line)); e100_enable_txdma_channel()
1185 if (info->line == 0) { e100_enable_txdma_channel()
1188 } else if (info->line == 1) { e100_enable_txdma_channel()
1191 } else if (info->line == 2) { e100_enable_txdma_channel()
1194 } else if (info->line == 3) { e100_enable_txdma_channel()
1210 if (info->line == 0) { e100_disable_rxdma_channel()
1216 } else if (info->line == 1) { e100_disable_rxdma_channel()
1222 } else if (info->line == 2) { e100_disable_rxdma_channel()
1228 } else if (info->line == 3) { e100_disable_rxdma_channel()
1246 if (info->line == 0) { e100_enable_rxdma_channel()
1249 } else if (info->line == 1) { e100_enable_rxdma_channel()
1252 } else if (info->line == 2) { e100_enable_rxdma_channel()
1255 } else if (info->line == 3) { e100_enable_rxdma_channel()
1271 printk("ser_irq(%d): 0\n",info->line); e100_disable_serial_data_irq()
1273 DINTR1(DEBUG_LOG(info->line,"IRQ disable data_irq %i\n", info->line)); e100_disable_serial_data_irq()
1274 *R_IRQ_MASK1_CLR = (1U << (8+2*info->line)); e100_disable_serial_data_irq()
1281 printk("ser_irq(%d): 1\n",info->line); e100_enable_serial_data_irq()
1283 (8+2*info->line), e100_enable_serial_data_irq()
1284 (1U << (8+2*info->line))); e100_enable_serial_data_irq()
1286 DINTR1(DEBUG_LOG(info->line,"IRQ enable data_irq %i\n", info->line)); e100_enable_serial_data_irq()
1287 *R_IRQ_MASK1_SET = (1U << (8+2*info->line)); e100_enable_serial_data_irq()
1295 printk("ser_tx_irq(%d): 0\n",info->line); e100_disable_serial_tx_ready_irq()
1297 DINTR1(DEBUG_LOG(info->line,"IRQ disable ready_irq %i\n", info->line)); e100_disable_serial_tx_ready_irq()
1298 *R_IRQ_MASK1_CLR = (1U << (8+1+2*info->line)); e100_disable_serial_tx_ready_irq()
1305 printk("ser_tx_irq(%d): 1\n",info->line); e100_enable_serial_tx_ready_irq()
1307 (8+1+2*info->line), e100_enable_serial_tx_ready_irq()
1308 (1U << (8+1+2*info->line))); e100_enable_serial_tx_ready_irq()
1310 DINTR2(DEBUG_LOG(info->line,"IRQ enable ready_irq %i\n", info->line)); e100_enable_serial_tx_ready_irq()
1311 *R_IRQ_MASK1_SET = (1U << (8+1+2*info->line)); e100_enable_serial_tx_ready_irq()
1381 fast_timers_rs485[info->line].function = NULL; rs485_toggle_rts_timer_function()
1409 DFLOW(DEBUG_LOG(info->line, "XOFF rs_stop xmit %i\n", rs_stop()
1434 DFLOW(DEBUG_LOG(info->line, "XOFF rs_start xmit %i\n", rs_start()
1508 if (info->line == SERIAL_DEBUG_LINE) transmit_chars_dma()
1529 DFLOW(DEBUG_LOG(info->line, "TX %i done\n", sentl)); transmit_chars_dma()
1562 start_one_shot_timer(&fast_timers_rs485[info->line], transmit_chars_dma()
1574 DFLOW(DEBUG_LOG(info->line, "TX %i\n", c)); transmit_chars_dma()
1590 if (info->line == SERIAL_DEBUG_LINE) start_transmit()
1611 if (fast_timers[info->line].function == NULL) { \
1613 TIMERD(DEBUG_LOG(info->line, "start_timer %i ", info->line)); \
1614 TIMERD(DEBUG_LOG(info->line, "num started: %i\n", serial_fast_timer_started)); \
1615 start_one_shot_timer(&fast_timers[info->line], \
1622 TIMERD(DEBUG_LOG(info->line, "timer %i already running\n", info->line)); \
1752 DFLOW( DEBUG_LOG(info->line, "RX %lu\n", recvl); handle_all_descr_data()
1755 DEBUG_LOG(info->line, "rx 0x%02X\n", buf[0]); handle_all_descr_data()
1756 DEBUG_LOG(info->line, "rx 0x%02X\n", buf[1]); handle_all_descr_data()
1757 DEBUG_LOG(info->line, "rx 0x%02X\n", buf[2]); handle_all_descr_data()
1797 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat)); receive_chars_dma()
1806 DEBUG_LOG(info->line, "#dERR: s d 0x%04X\n", receive_chars_dma()
1892 /* find out the line that caused this irq and get it from rs_table */ tr_interrupt()
1904 DINTR2(DEBUG_LOG(info->line, "tr_interrupt %i\n", i)); tr_interrupt()
1929 /* find out the line that caused this irq and get it from rs_table */ rec_interrupt()
1964 DEBUG_LOG(info->line, "timeout err: rstat 0x%03X\n", force_eop_if_needed()
1965 rstat | (info->line << 8)); force_eop_if_needed()
1971 TIMERD(DEBUG_LOG(info->line, "timeout: rstat 0x%03X\n", force_eop_if_needed()
1972 rstat | (info->line << 8))); force_eop_if_needed()
1986 TIMERD(DEBUG_LOG(info->line, "timeout EOP %i\n", info->line)); force_eop_if_needed()
2047 fast_timers[info->line].function = NULL; flush_timeout_function()
2049 TIMERD(DEBUG_LOG(info->line, "flush_timeout %i ", info->line)); flush_timeout_function()
2050 TIMERD(DEBUG_LOG(info->line, "num expired: %i\n", serial_fast_timer_expired)); flush_timeout_function()
2158 DFLOW(DEBUG_LOG(info->line, "XOFF detect\n", 0)); handle_ser_rx_interrupt_no_dma()
2160 DINTR2(DEBUG_LOG(info->line, "ser_rx %c\n", IO_EXTRACT(R_SERIAL0_READ, data_in, data_read))); handle_ser_rx_interrupt_no_dma()
2168 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat_data %04X\n", data_read)); handle_ser_rx_interrupt_no_dma()
2184 DEBUG_LOG(info->line, "#BRK start\n", 0); handle_ser_rx_interrupt_no_dma()
2194 DEBUG_LOG(info->line, "# BL BRK\n", 0); handle_ser_rx_interrupt_no_dma()
2203 DEBUG_LOG(info->line, "EBRK %i\n", info->break_detected_cnt); handle_ser_rx_interrupt_no_dma()
2244 DEBUG_LOG(info->line, "ser_rx int but no data_avail %08lX\n", data_read); handle_ser_rx_interrupt_no_dma()
2251 DEBUG_LOG(info->line, "ser_rx %c in loop\n", IO_EXTRACT(R_SERIAL0_READ, data_in, data_read)); handle_ser_rx_interrupt_no_dma()
2265 /* DEBUG_LOG(info->line, "ser_interrupt stat %03X\n", rstat | (i << 8)); */ handle_ser_rx_interrupt()
2273 DFLOW(DEBUG_LOG(info->line, "XOFF detect\n", 0)); handle_ser_rx_interrupt()
2285 DINTR1(DEBUG_LOG(info->line, "ser_rx! %c\n", data)); handle_ser_rx_interrupt()
2286 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat %02X\n", rstat)); handle_ser_rx_interrupt()
2293 DEBUG_LOG(info->line, "#BRK start\n", 0); handle_ser_rx_interrupt()
2303 DEBUG_LOG(info->line, "# BL BRK\n", 0); handle_ser_rx_interrupt()
2312 DEBUG_LOG(info->line, "EBRK %i\n", info->break_detected_cnt); handle_ser_rx_interrupt()
2334 DEBUG_LOG(info->line, "#iERR s d %04X\n", handle_ser_rx_interrupt()
2351 DEBUG_LOG(info->line, "FBRK %i\n", info->line); handle_ser_rx_interrupt()
2357 DEBUG_LOG(info->line, "Not end of BRK (V)%i\n", info->line); handle_ser_rx_interrupt()
2359 DEBUG_LOG(info->line, "num brk %i\n", info->break_detected_cnt); handle_ser_rx_interrupt()
2366 DINTR2(DEBUG_LOG(info->line, "ser_rx OK %d\n", info->line)); handle_ser_rx_interrupt()
2381 DFLOW(DEBUG_LOG(info->line, "tx_int: xchar 0x%02X\n", info->x_char)); handle_ser_tx_interrupt()
2384 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); handle_ser_tx_interrupt()
2398 DFLOW(DEBUG_LOG(info->line, "tx_int: xchar sent\n", 0)); handle_ser_tx_interrupt()
2401 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); handle_ser_tx_interrupt()
2418 DFLOW(DEBUG_LOG(info->line, "tx_int: stopped %i\n", handle_ser_tx_interrupt()
2424 DINTR2(DEBUG_LOG(info->line, "tx_int %c\n", info->xmit.buf[info->xmit.tail])); handle_ser_tx_interrupt()
2434 start_one_shot_timer(&fast_timers_rs485[info->line], handle_ser_tx_interrupt()
2445 DFLOW(DEBUG_LOG(info->line, "tx_int: stop2\n", 0)); handle_ser_tx_interrupt()
2481 /* Which line caused the data irq? */ ser_interrupt()
2524 /* Which line caused the ready irq? */ ser_interrupt()
2616 printk("starting up ttyS%d (xmit_buf 0x%p)...\n", info->line, info->xmit.buf); startup()
2727 DFLOW(DEBUG_LOG(info->line, "shutdown %i\n", info->line)); shutdown()
2754 printk("Shutting down serial port %d (irq %d)....\n", info->line, shutdown()
2808 u32 mask = 0xFF << (info->line*8); /* Each port has 8 bits */ change_speed()
2837 r_alt_ser_baudrate_shadow |= (alt_source << (info->line*8)); change_speed()
2842 u32 mask = 0xFF << (info->line*8); /* Each port has 8 bits */ change_speed()
2847 r_alt_ser_baudrate_shadow |= (alt_source << (info->line*8)); change_speed()
2898 DFLOW(DEBUG_LOG(info->line, "FLOW auto_cts enabled\n", 0)); change_speed()
2914 DFLOW(DEBUG_LOG(info->line, "FLOW XOFF enabled 0x%02X\n", change_speed()
2964 if (info->line == SERIAL_DEBUG_LINE) rs_raw_write()
2970 DFLOW(DEBUG_LOG(info->line, "write count %i ", count)); rs_raw_write()
2971 DFLOW(DEBUG_LOG(info->line, "ldisc %i\n", tty->ldisc.chars_in_buffer(tty))); rs_raw_write()
3005 DFLOW(DEBUG_LOG(info->line, "write ret %i\n", ret)); rs_raw_write()
3030 fast_timers_rs485[info->line].function = NULL; rs_write()
3031 del_fast_timer(&fast_timers_rs485[info->line]); rs_write()
3145 DFLOW(DEBUG_LOG(info->line, "rs_send_xchar 0x%02X\n", ch)); rs_send_xchar()
3167 DFLOW(DEBUG_LOG(info->line,"rs_throttle %lu\n", tty->ldisc.chars_in_buffer(tty))); rs_throttle()
3171 /* Turn off RTS line */ rs_throttle()
3187 DFLOW(DEBUG_LOG(info->line,"rs_unthrottle ldisc %d\n", tty->ldisc.chars_in_buffer(tty))); rs_unthrottle()
3188 DFLOW(DEBUG_LOG(info->line,"rs_unthrottle flip.count: %i\n", tty->flip.count)); rs_unthrottle()
3191 /* Assert RTS line */ rs_unthrottle()
3225 tmp.line = info->line; get_serial_info()
3288 * get_lsr_info - get line status register info
3430 info->line, result, result); rs_tiocmget()
3463 case TIOCSERGETLSR: /* Get line status register */ rs_ioctl()
3594 info->line, info->count); rs_close()
3611 info->line, info->port.count); rs_close()
3621 * the line discipline to only process XON/XOFF characters. rs_close()
3775 * Block waiting for the carrier detect and the line to become block_til_ready()
3785 info->line, info->port.count); block_til_ready()
3819 info->line, info->port.count); block_til_ready()
3832 info->line, info->port.count); block_til_ready()
3973 printk("rs_open ttyS%d successful...\n", info->line); rs_open()
3977 DFLIP( if (info->line == SERIAL_DEBUG_LINE) { rs_open()
3994 info->line, (unsigned long)info->ioport, info->irq); seq_line_info()
4200 info->line = i; rs_init()
4227 serial_driver->name, info->line, info->ioport); rs_init()
H A Dm32r_sio.h30 void m32r_sio_suspend_port(int line);
31 void m32r_sio_resume_port(int line);
H A Dof_serial.c33 int line; member in struct:of_serial_info
113 /* Check for a fixed line number */ of_platform_serial_setup()
116 port->line = ret; of_platform_serial_setup()
232 info->line = ret; of_platform_serial_probe()
242 * Release a line
250 serial8250_unregister_port(info->line); of_platform_serial_remove()
255 nwpserial_unregister_port(info->line); of_platform_serial_remove()
273 struct uart_8250_port *port8250 = serial8250_get_port(info->line); of_serial_suspend_8250()
276 serial8250_suspend_port(info->line); of_serial_suspend_8250()
283 struct uart_8250_port *port8250 = serial8250_get_port(info->line); of_serial_resume_8250()
289 serial8250_resume_port(info->line); of_serial_resume_8250()
H A Ddz.c129 u16 tmp, mask = 1 << dport->port.line; dz_stop_tx()
139 u16 tmp, mask = 1 << dport->port.line; dz_start_tx()
304 * DS 3100 & 5100: Only valid for the MODEM line, duh!
305 * DS 5000/200: Valid for the MODEM and PRINTER line.
317 /* If not the modem line just return. */ check_modem_status()
318 if (dport->port.line != DZ_MODEM) check_modem_status()
368 if (dport->port.line == DZ_MODEM) { dz_get_mctrl()
384 if (dport->port.line == DZ_MODEM) { dz_set_mctrl()
480 unsigned short tmp, mask = 1 << dport->port.line; dz_tx_empty()
496 unsigned short tmp, mask = 1 << dport->port.line; dz_break_ctl()
572 cflag = dport->port.line; dz_set_termios()
765 int line; dz_init_ports() local
776 for (line = 0; line < DZ_NB_PORT; line++) { dz_init_ports()
777 struct dz_port *dport = &dz_mux.dport[line]; dz_init_ports()
787 uport->line = line; dz_init_ports()
799 * for the line requested and then wait till the transmit scanner
800 * requests data for this line. But it may request data for another
801 * line first, in which case we have to disable its transmitter and
802 * repeat waiting till our line pops up. Only then the character may
818 tcr |= 1 << dport->port.line; dz_console_putchar()
829 if (trdy == dport->port.line) dz_console_putchar()
/linux-4.4.14/arch/metag/include/asm/
H A Dcache.h4 /* L1 cache line size (64 bytes) */
13 * buffers have cache line alignment.
/linux-4.4.14/fs/gfs2/
H A Dutil.c88 const char *function, char *file, unsigned int line) gfs2_assert_withdraw_i()
93 " function = %s, file = %s, line = %u\n", gfs2_assert_withdraw_i()
94 assertion, function, file, line); gfs2_assert_withdraw_i()
106 const char *function, char *file, unsigned int line) gfs2_assert_warn_i()
114 fs_warn(sdp, "warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", gfs2_assert_warn_i()
115 assertion, function, file, line); gfs2_assert_warn_i()
124 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", gfs2_assert_warn_i()
126 sdp->sd_fsname, function, file, line); gfs2_assert_warn_i()
140 char *file, unsigned int line) gfs2_consist_i()
144 "fatal: filesystem consistency error - function = %s, file = %s, line = %u\n", gfs2_consist_i()
145 function, file, line); gfs2_consist_i()
156 const char *function, char *file, unsigned int line) gfs2_consist_inode_i()
163 " function = %s, file = %s, line = %u\n", gfs2_consist_inode_i()
166 function, file, line); gfs2_consist_inode_i()
177 const char *function, char *file, unsigned int line) gfs2_consist_rgrpd_i()
184 " function = %s, file = %s, line = %u\n", gfs2_consist_rgrpd_i()
186 function, file, line); gfs2_consist_rgrpd_i()
198 unsigned int line) gfs2_meta_check_ii()
204 " function = %s, file = %s, line = %u\n", gfs2_meta_check_ii()
206 function, file, line); gfs2_meta_check_ii()
218 char *file, unsigned int line) gfs2_metatype_check_ii()
224 " function = %s, file = %s, line = %u\n", gfs2_metatype_check_ii()
226 function, file, line); gfs2_metatype_check_ii()
237 unsigned int line) gfs2_io_error_i()
242 " function = %s, file = %s, line = %u\n", gfs2_io_error_i()
243 function, file, line); gfs2_io_error_i()
254 const char *function, char *file, unsigned int line) gfs2_io_error_bh_i()
260 " function = %s, file = %s, line = %u\n", gfs2_io_error_bh_i()
262 function, file, line); gfs2_io_error_bh_i()
87 gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, const char *function, char *file, unsigned int line) gfs2_assert_withdraw_i() argument
105 gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, const char *function, char *file, unsigned int line) gfs2_assert_warn_i() argument
139 gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, char *file, unsigned int line) gfs2_consist_i() argument
155 gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide, const char *function, char *file, unsigned int line) gfs2_consist_inode_i() argument
176 gfs2_consist_rgrpd_i(struct gfs2_rgrpd *rgd, int cluster_wide, const char *function, char *file, unsigned int line) gfs2_consist_rgrpd_i() argument
196 gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *type, const char *function, char *file, unsigned int line) gfs2_meta_check_ii() argument
216 gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, u16 t, const char *function, char *file, unsigned int line) gfs2_metatype_check_ii() argument
236 gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line) gfs2_io_error_i() argument
253 gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *function, char *file, unsigned int line) gfs2_io_error_bh_i() argument
H A Dutil.h43 const char *function, char *file, unsigned int line);
51 const char *function, char *file, unsigned int line);
59 const char *function, char *file, unsigned int line);
66 const char *function, char *file, unsigned int line);
73 const char *function, char *file, unsigned int line);
81 char *file, unsigned int line);
99 char *file, unsigned int line);
105 char *file, unsigned int line) gfs2_metatype_check_i()
112 file, line); gfs2_metatype_check_i()
115 file, line); gfs2_metatype_check_i()
133 char *file, unsigned int line);
140 const char *function, char *file, unsigned int line);
101 gfs2_metatype_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, const char *function, char *file, unsigned int line) gfs2_metatype_check_i() argument
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dnv50.c28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) pwm_info() argument
32 if (*line == 0x04) { pwm_info()
34 *line = 4; pwm_info()
37 if (*line == 0x09) { pwm_info()
39 *line = 9; pwm_info()
42 if (*line == 0x10) { pwm_info()
44 *line = 0; pwm_info()
47 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", *line); pwm_info()
55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) nv50_fan_pwm_ctrl() argument
59 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); nv50_fan_pwm_ctrl()
61 nvkm_mask(device, ctrl, 0x00010001 << line, data << line); nv50_fan_pwm_ctrl()
66 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) nv50_fan_pwm_get() argument
69 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); nv50_fan_pwm_get()
73 if (nvkm_rd32(device, ctrl) & (1 << line)) { nv50_fan_pwm_get()
83 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) nv50_fan_pwm_set() argument
86 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); nv50_fan_pwm_set()
96 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) nv50_fan_pwm_clock() argument
H A Dgf119.c27 pwm_info(struct nvkm_therm *therm, int line) pwm_info() argument
31 u32 gpio = nvkm_rd32(device, 0x00d610 + (line * 0x04)); pwm_info()
48 nvkm_error(subdev, "GPIO %d unknown PWM: %08x\n", line, gpio); pwm_info()
53 gf119_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) gf119_fan_pwm_ctrl() argument
57 int indx = pwm_info(therm, line); gf119_fan_pwm_ctrl()
61 nvkm_mask(device, 0x00d610 + (line * 0x04), 0x000000c0, data); gf119_fan_pwm_ctrl()
67 gf119_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) gf119_fan_pwm_get() argument
70 int indx = pwm_info(therm, line); gf119_fan_pwm_get()
74 if (nvkm_rd32(device, 0x00d610 + (line * 0x04)) & 0x00000040) { gf119_fan_pwm_get()
89 gf119_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) gf119_fan_pwm_set() argument
92 int indx = pwm_info(therm, line); gf119_fan_pwm_set()
106 gf119_fan_pwm_clock(struct nvkm_therm *therm, int line) gf119_fan_pwm_clock() argument
109 int indx = pwm_info(therm, line); gf119_fan_pwm_clock()
128 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line); gf119_therm_init()
H A Dnv40.c106 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) nv40_fan_pwm_ctrl() argument
111 if (line == 2) nvkm_mask(device, 0x0010f0, 0x80000000, mask); nv40_fan_pwm_ctrl()
112 else if (line == 9) nvkm_mask(device, 0x0015f4, 0x80000000, mask); nv40_fan_pwm_ctrl()
114 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); nv40_fan_pwm_ctrl()
121 nv40_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) nv40_fan_pwm_get() argument
125 if (line == 2) { nv40_fan_pwm_get()
133 if (line == 9) { nv40_fan_pwm_get()
141 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); nv40_fan_pwm_get()
149 nv40_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) nv40_fan_pwm_set() argument
153 if (line == 2) { nv40_fan_pwm_set()
156 if (line == 9) { nv40_fan_pwm_set()
160 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); nv40_fan_pwm_set()
H A Dfanpwm.c47 ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty); nvkm_fanpwm_get()
55 return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100; nvkm_fanpwm_get()
70 divs = therm->func->pwm_clock(therm, fan->func.line); nvkm_fanpwm_set()
78 ret = therm->func->pwm_set(therm, fan->func.line, divs, duty); nvkm_fanpwm_set()
80 ret = therm->func->pwm_ctrl(therm, fan->func.line, true); nvkm_fanpwm_set()
97 therm->func->pwm_get(therm, func->line, &divs, &duty) == -ENODEV) nvkm_fanpwm_create()
H A Dgm107.c27 gm107_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) gm107_fan_pwm_ctrl() argument
34 gm107_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) gm107_fan_pwm_get() argument
43 gm107_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) gm107_fan_pwm_set() argument
52 gm107_fan_pwm_clock(struct nvkm_therm *therm, int line) gm107_fan_pwm_clock() argument
/linux-4.4.14/include/linux/
H A Dgpio_mouse.h30 * @up: GPIO line for up value.
31 * @down: GPIO line for down value.
32 * @left: GPIO line for left value.
33 * @right: GPIO line for right value.
34 * @bleft: GPIO line for left button.
35 * @bmiddle: GPIO line for middle button.
36 * @bright: GPIO line for right button.
H A Dkern_levels.h19 * Annotation for a "continued" line of log printout (only done after a
20 * line that had no enclosing \n). Only to be used by core/arch code
21 * during early bootup (a continued line is not SMP-safe otherwise).
H A Dtty_ldisc.h5 * This structure defines the interface between the tty line discipline
12 * This function is called when the line discipline is associated
13 * with the tty. The line discipline can use this as an
18 * This function is called when the line discipline is being
20 * the tty is being changed to use a new line discipline
24 * This function instructs the line discipline to clear its
30 * This function returns the number of input characters the line
38 * the tty. The line discipline will return whatever characters
46 * tty. The line discipline will deliver the characters to the
56 * It is intended for ioctls which affect line discpline
58 * layer, (2) tty low-level driver, (3) line discpline. So a
59 * low-level driver can "grab" an ioctl request before the line
69 * This function notifies the line discpline that a change has
76 * tty device. It is solely the responsibility of the line
83 * characters received by the hardware to the line discpline for
93 * that line discpline should try to send more characters to the
94 * low-level driver for transmission. If the line discpline does
95 * not have any more data to send, it can just return. If the line
109 * Notify line discipline when signal-driven I/O is enabled or
115 * Used exclusively by the N_PPS (Pulse-Per-Second) line discipline.
121 * characters received by the hardware to the line discpline for
H A Dreset-controller.h13 * @assert: manually assert the reset line, if supported
14 * @deassert: manually deassert the reset line, if supported
15 * @status: return the status of the reset line, if supported
35 * @of_reset_n_cells: number of cells in reset line specifiers
H A Disicom.h59 #define BOARD(line) (((line) >> 4) & 0x3)
H A Dnwpserial.h16 void nwpserial_unregister_port(int line);
H A Dkmsg_dump.h59 char *line, size_t size, size_t *len);
62 char *line, size_t size, size_t *len);
80 bool syslog, const char *line, kmsg_dump_get_line_nolock()
87 const char *line, size_t size, size_t *len) kmsg_dump_get_line()
79 kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, bool syslog, const char *line, size_t size, size_t *len) kmsg_dump_get_line_nolock() argument
86 kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog, const char *line, size_t size, size_t *len) kmsg_dump_get_line() argument
H A Dc2port.h49 /* Set C2D data line as input/output */
52 /* Read/write C2D data line */
56 /* Write C2CK clock line */
H A Dacpi_dma.h25 * @slave_id: request line unique id
41 * @base_request_line: first supported request line (CSRT)
42 * @end_request_line: last supported request line (CSRT)
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Dkern_levels.h19 * Annotation for a "continued" line of log printout (only done after a
20 * line that had no enclosing \n). Only to be used by core/arch code
21 * during early bootup (a continued line is not SMP-safe otherwise).
/linux-4.4.14/tools/perf/ui/browsers/
H A Dscripts.c17 /* 160 bytes for one output line */
22 char line[AVERAGE_LINE_LEN]; member in struct:script_line
84 ui_browser__write_nstring(browser, sline->line, browser->width); script_browser__write()
110 char *line = NULL; script_browse() local
129 /* Save each line of the output in one struct script_line object. */ script_browse()
155 while ((retlen = getline(&line, &len, fp)) != -1) { script_browse()
156 strncpy(sline->line, line, AVERAGE_LINE_LEN); script_browse()
158 /* If one output line is very large, just cut it short */ script_browse()
160 sline->line[AVERAGE_LINE_LEN - 1] = '\0'; script_browse()
161 sline->line[AVERAGE_LINE_LEN - 2] = '\n'; script_browse()
176 free(line); script_browse()
/linux-4.4.14/drivers/crypto/vmx/
H A Dppc-xlate.pl67 my $line = join(",",@_);
68 if ($line =~ /^"(.*)"$/)
181 while($line=<>) {
183 $line =~ s|[#!;].*$||; # get rid of asm-style comments...
184 $line =~ s|/\*.*\*/||; # ... and C-style comments...
185 $line =~ s|^\s+||; # ... and skip white spaces in beginning...
186 $line =~ s|\s+$||; # ... and at the end
189 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel
190 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels);
194 $line =~ s|^\s*(\.?)(\w+)([\.\+\-]?)\s*||;
199 $line =~ s/\b(c?[rf]|v|vs)([0-9]+)\b/$2/g if ($c ne "." and $flavour !~ /osx/);
200 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); }
201 elsif ($mnemonic) { $line = $c.$mnemonic.$f."\t".$line; }
204 print $line if ($line);
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-vbi.c32 * of VBI sample or VBI ancillary data regions in the digitial ratser line.
41 int line = 0; copy_vbi_data() local
69 l = sdata->line - 6; copy_vbi_data()
77 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id); copy_vbi_data()
78 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); copy_vbi_data()
79 line++; copy_vbi_data()
82 if (line == 36) { copy_vbi_data()
87 memmove(dst + sd + 4, dst + sd + 12, line * 43); copy_vbi_data()
88 size = 4 + ((43 * line + 3) & ~3); copy_vbi_data()
94 size = 12 + ((43 * line + 3) & ~3); copy_vbi_data()
129 /* last line is hdr_size bytes short - extrapolate it */ compress_raw_buf()
147 u32 line = 0; compress_sliced_buf() local
151 /* find the first valid line */ compress_sliced_buf()
160 * The last line is short by hdr_size bytes, but for the remaining compress_sliced_buf()
166 return line; compress_sliced_buf()
179 cx->vbi.sliced_data[line].id = vbi.type; compress_sliced_buf()
180 cx->vbi.sliced_data[line].field = vbi.is_second_field; compress_sliced_buf()
181 cx->vbi.sliced_data[line].line = vbi.line; compress_sliced_buf()
182 memcpy(cx->vbi.sliced_data[line].data, vbi.p, 42); compress_sliced_buf()
183 line++; compress_sliced_buf()
186 return line; compress_sliced_buf()
209 * line. This has a side effect of making the header big endian _cx18_process_vbi_data()
236 /* always return at least one empty line */ _cx18_process_vbi_data()
239 cx->vbi.sliced_data[0].line = 0; _cx18_process_vbi_data()
H A Dcx18-av-core.h112 * slicer line count of 1, at D lines after the deassertion of VRESET.
113 * This staring field line, S, is 6 (& 319) or 10 (& 273) for 625 or 525
114 * line systems respectively. Sliced ancillary data captured on VBI
115 * slicer line M is inserted after the VBI slicer is done with line M,
116 * when VBI slicer line count is N = M+1. Thus when the VBI slicer
117 * reports a VBI slicer line number with ancillary data, the IDID0 byte
118 * indicates VBI slicer line N. The actual field line that the captured
123 * L is the line in the field, not frame, from which the VBI data came.
124 * N is the line reported by the slicer in the ancillary data.
126 * S is 6 for 625 line systems or 10 for 525 line systems
128 * line counts to actual field lines.
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-vbi.c35 data.line = enabled ? 16 : 0; ivtv_set_vps()
52 data.line = (mode & 1) ? 21 : 0; ivtv_set_cc()
57 data.line = (mode & 2) ? 21 : 0; ivtv_set_cc()
80 data.line = enabled ? 23 : 0; ivtv_set_wss()
101 if (d->id == V4L2_SLICED_CAPTION_525 && d->line == 21) { ivtv_write_vbi_line()
110 } else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) { ivtv_write_vbi_line()
123 d->line == 23 && d->field == 0) { ivtv_write_vbi_line()
188 int line = 0; copy_vbi_data() local
208 l = itv->vbi.sliced_data[i].line - 6; copy_vbi_data()
216 dst[sd + 12 + line * 43] = copy_vbi_data()
218 memcpy(dst + sd + 12 + line * 43 + 1, itv->vbi.sliced_data[i].data, 42); copy_vbi_data()
219 line++; copy_vbi_data()
222 if (line == 36) { copy_vbi_data()
227 memmove(dst + sd + 4, dst + sd + 12, line * 43); copy_vbi_data()
228 size = 4 + ((43 * line + 3) & ~3); copy_vbi_data()
234 size = 12 + ((43 * line + 3) & ~3); copy_vbi_data()
250 int line = 0; ivtv_convert_ivtv_vbi() local
291 itv->vbi.sliced_dec_data[line].line = l; ivtv_convert_ivtv_vbi()
292 itv->vbi.sliced_dec_data[line].field = i >= 18; ivtv_convert_ivtv_vbi()
293 itv->vbi.sliced_dec_data[line].id = id2; ivtv_convert_ivtv_vbi()
294 memcpy(itv->vbi.sliced_dec_data[line].data, p + 1, 42); ivtv_convert_ivtv_vbi()
295 line++; ivtv_convert_ivtv_vbi()
299 while (line < 36) { ivtv_convert_ivtv_vbi()
300 itv->vbi.sliced_dec_data[line].id = 0; ivtv_convert_ivtv_vbi()
301 itv->vbi.sliced_dec_data[line].line = 0; ivtv_convert_ivtv_vbi()
302 itv->vbi.sliced_dec_data[line].field = 0; ivtv_convert_ivtv_vbi()
303 line++; ivtv_convert_ivtv_vbi()
305 return line * sizeof(itv->vbi.sliced_dec_data[0]); ivtv_convert_ivtv_vbi()
337 static u32 compress_sliced_buf(struct ivtv *itv, u32 line, u8 *buf, u32 size, u8 sav) compress_sliced_buf() argument
344 /* find the first valid line */ compress_sliced_buf()
352 return line; compress_sliced_buf()
363 if (vbi.type && !(lines & (1 << vbi.line))) { compress_sliced_buf()
364 lines |= 1 << vbi.line; compress_sliced_buf()
365 itv->vbi.sliced_data[line].id = vbi.type; compress_sliced_buf()
366 itv->vbi.sliced_data[line].field = vbi.is_second_field; compress_sliced_buf()
367 itv->vbi.sliced_data[line].line = vbi.line; compress_sliced_buf()
368 memcpy(itv->vbi.sliced_data[line].data, vbi.p, 42); compress_sliced_buf()
369 line++; compress_sliced_buf()
372 return line; compress_sliced_buf()
417 /* always return at least one empty line */ ivtv_process_vbi_data()
420 itv->vbi.sliced_data[0].line = 0; ivtv_process_vbi_data()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dgpio.h14 u8 line; member in struct:nvkm_gpio_ntfy_req
29 int nvkm_gpio_find(struct nvkm_gpio *, int idx, u8 tag, u8 line,
31 int nvkm_gpio_set(struct nvkm_gpio *, int idx, u8 tag, u8 line, int state);
32 int nvkm_gpio_get(struct nvkm_gpio *, int idx, u8 tag, u8 line);
/linux-4.4.14/fs/coda/
H A DMakefile10 # If you want debugging output, please uncomment the following line.
/linux-4.4.14/include/asm-generic/
H A Dcache.h4 * 32 bytes appears to be the most common cache line size,
/linux-4.4.14/include/net/netfilter/
H A Dxt_rateest.h5 /* keep lock and bstats on same cache line to speedup xt_rateest_tg() */
8 /* keep rstats and lock on same cache line to speedup xt_rateest_mt() */
/linux-4.4.14/include/uapi/linux/
H A Dif_slip.h26 #define SIOCSLEASE (SIOCDEVPRIVATE+4) /* Set "leased" line type */
27 #define SIOCGLEASE (SIOCDEVPRIVATE+5) /* Get line type */
H A Dsonet.h11 __HANDLE_ITEM(line_bip); /* line parity errors (B2) */ \
13 __HANDLE_ITEM(line_febe); /* line parity errors at remote */ \
45 #define SONET_INS_LBIP 2 /* line BIP */
48 #define SONET_INS_LOS 16 /* set line to zero */
49 #define SONET_INS_LAIS 32 /* line alarm indication signal */
/linux-4.4.14/include/linux/platform_data/
H A Dmtd-orion_nand.h17 u8 ale; /* address line number connected to ALE */
18 u8 cle; /* address line number connected to CLE */
H A Dserial-sccnxp.h51 /* Routing control signal 'sig' to line 'line' */
52 #define MCTRL_SIG(sig, line) ((line) << (sig))
80 /* Shift for A0 line */
H A Dmmc-sdhci-s3c.h7 S3C_SDHCI_CD_INTERNAL, /* use mmc internal CD line */
9 S3C_SDHCI_CD_GPIO, /* use external gpio pin for CD line */
10 S3C_SDHCI_CD_NONE, /* no CD line, use polling to detect card */
11 S3C_SDHCI_CD_PERMANENT, /* no CD line, card permanently wired to host */
29 * @ext_cd_gpio: gpio pin used for external CD line, valid only if
31 * @ext_cd_gpio_invert: invert values for external CD gpio line
H A Ddavinci_asp.h54 * first line : WordSelect
55 * second line : ContinuousSerialClock
56 * third line: SerialData
H A Dspi-s3c64xx.h21 * @line: Custom 'identity' of the CS line.
29 unsigned line; member in struct:s3c64xx_spi_csinfo
/linux-4.4.14/arch/powerpc/xmon/
H A Dnonstdio.c96 static char line[256]; variable
105 lineptr = line; xmon_getchar()
118 if (lineptr > line) { xmon_getchar()
126 while (lineptr > line) { xmon_getchar()
134 if (lineptr >= &line[sizeof(line) - 1]) xmon_getchar()
142 lineleft = lineptr - line; xmon_getchar()
143 lineptr = line; xmon_getchar()
/linux-4.4.14/drivers/gpio/
H A Dgpio-iop.c38 static void gpio_line_config(int line, int direction) gpio_line_config() argument
46 val |= BIT(line); gpio_line_config()
48 val &= ~BIT(line); gpio_line_config()
54 static int gpio_line_get(int line) gpio_line_get() argument
56 return !!(readl(IOP3XX_GPID) & BIT(line)); gpio_line_get()
59 static void gpio_line_set(int line, int value) gpio_line_set() argument
67 val &= ~BIT(line); gpio_line_set()
69 val |= BIT(line); gpio_line_set()
H A Dgpio-ts5500.c210 const struct ts5500_dio line = priv->pinout[offset]; ts5500_gpio_input() local
213 if (line.no_input) ts5500_gpio_input()
216 if (line.no_output) ts5500_gpio_input()
220 ts5500_clear_mask(line.control_mask, line.control_addr); ts5500_gpio_input()
229 const struct ts5500_dio line = priv->pinout[offset]; ts5500_gpio_get() local
231 return !!(inb(line.value_addr) & line.value_mask); ts5500_gpio_get()
237 const struct ts5500_dio line = priv->pinout[offset]; ts5500_gpio_output() local
240 if (line.no_output) ts5500_gpio_output()
244 if (!line.no_input) ts5500_gpio_output()
245 ts5500_set_mask(line.control_mask, line.control_addr); ts5500_gpio_output()
248 ts5500_set_mask(line.value_mask, line.value_addr); ts5500_gpio_output()
250 ts5500_clear_mask(line.value_mask, line.value_addr); ts5500_gpio_output()
259 const struct ts5500_dio line = priv->pinout[offset]; ts5500_gpio_set() local
264 ts5500_set_mask(line.value_mask, line.value_addr); ts5500_gpio_set()
266 ts5500_clear_mask(line.value_mask, line.value_addr); ts5500_gpio_set()
274 const struct ts5500_dio line = block[offset]; ts5500_gpio_to_irq() local
277 if (line.irq) ts5500_gpio_to_irq()
278 return line.irq; ts5500_gpio_to_irq()
H A Dgpio-ep93xx.c68 int line = irq_to_gpio(irq); ep93xx_gpio_int_debounce() local
69 int port = line >> 3; ep93xx_gpio_int_debounce()
70 int port_mask = 1 << (line & 7); ep93xx_gpio_int_debounce()
119 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_ack() local
120 int port = line >> 3; ep93xx_gpio_irq_ack()
121 int port_mask = 1 << (line & 7); ep93xx_gpio_irq_ack()
133 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_mask_ack() local
134 int port = line >> 3; ep93xx_gpio_irq_mask_ack()
135 int port_mask = 1 << (line & 7); ep93xx_gpio_irq_mask_ack()
148 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_mask() local
149 int port = line >> 3; ep93xx_gpio_irq_mask()
151 gpio_int_unmasked[port] &= ~(1 << (line & 7)); ep93xx_gpio_irq_mask()
157 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_unmask() local
158 int port = line >> 3; ep93xx_gpio_irq_unmask()
160 gpio_int_unmasked[port] |= 1 << (line & 7); ep93xx_gpio_irq_unmask()
/linux-4.4.14/fs/ext4/
H A Dext4_jbd2.c62 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, __ext4_journal_start_sb() argument
77 type, line); __ext4_journal_start_sb()
80 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) __ext4_journal_stop() argument
103 __ext4_std_error(sb, where, line, err); __ext4_journal_stop()
107 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, __ext4_journal_start_reserved() argument
125 err = jbd2_journal_start_reserved(handle, type, line); __ext4_journal_start_reserved()
131 static void ext4_journal_abort_handle(const char *caller, unsigned int line, ext4_journal_abort_handle() argument
151 caller, line, errstr, err_fn); ext4_journal_abort_handle()
156 int __ext4_journal_get_write_access(const char *where, unsigned int line, __ext4_journal_get_write_access() argument
166 ext4_journal_abort_handle(where, line, __func__, bh, __ext4_journal_get_write_access()
184 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, __ext4_forget() argument
217 ext4_journal_abort_handle(where, line, __func__, __ext4_forget()
230 ext4_journal_abort_handle(where, line, __func__, __ext4_forget()
232 __ext4_abort(inode->i_sb, where, line, __ext4_forget()
239 int __ext4_journal_get_create_access(const char *where, unsigned int line, __ext4_journal_get_create_access() argument
247 ext4_journal_abort_handle(where, line, __func__, __ext4_journal_get_create_access()
253 int __ext4_handle_dirty_metadata(const char *where, unsigned int line, __ext4_handle_dirty_metadata() argument
267 ext4_journal_abort_handle(where, line, __func__, bh, __ext4_handle_dirty_metadata()
272 "line %u, credits %u/%u, errcode %d", __ext4_handle_dirty_metadata()
279 ext4_error_inode(inode, where, line, __ext4_handle_dirty_metadata()
282 "handle type %u started at line %u, " __ext4_handle_dirty_metadata()
302 ext4_error_inode(inode, where, line, __ext4_handle_dirty_metadata()
312 int __ext4_handle_dirty_super(const char *where, unsigned int line, __ext4_handle_dirty_super() argument
322 ext4_journal_abort_handle(where, line, __func__, __ext4_handle_dirty_super()
/linux-4.4.14/arch/m32r/mm/
H A Dpage.S21 * Cache line = 16-byte
27 ld r3, @r0 /* cache line allocate */
43 ld r3, @r0 /* cache line allocate */
59 * Cache line = 16-byte
66 ld r3, @r0 /* cache line allocate */
74 ld r3, @r0 /* cache line allocate */
/linux-4.4.14/drivers/s390/char/
H A Dtty3270.c58 * 1) describe line orientation & lines list concept against screen
60 * 3) describe line format.
116 #define TTY_UPDATE_INPUT 4 /* Update input line. */
117 #define TTY_UPDATE_STATUS 8 /* Update status line. */
132 * The input line are the two last lines of the screen.
137 struct string *line; tty3270_update_prompt() local
140 line = tp->prompt; tty3270_update_prompt()
142 line->string[5] = TF_INMDT; tty3270_update_prompt()
144 line->string[5] = tp->inattr; tty3270_update_prompt()
147 memcpy(line->string + 6, input, count); tty3270_update_prompt()
148 line->string[6 + count] = TO_IC; tty3270_update_prompt()
149 /* Clear to end of input line. */ tty3270_update_prompt()
151 line->string[7 + count] = TO_RA; tty3270_update_prompt()
152 line->string[10 + count] = 0; tty3270_update_prompt()
154 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); tty3270_update_prompt()
155 line->len = 11 + count; tty3270_update_prompt()
157 line->len = 7 + count; tty3270_update_prompt()
168 struct string *line; tty3270_create_prompt() local
171 line = alloc_string(&tp->freemem, tty3270_create_prompt()
173 tp->prompt = line; tty3270_create_prompt()
175 /* Copy blueprint to status line */ tty3270_create_prompt()
176 memcpy(line->string, blueprint, sizeof(blueprint)); tty3270_create_prompt()
177 line->len = sizeof(blueprint); tty3270_create_prompt()
180 raw3270_buffer_address(tp->view.dev, line->string + 1, offset); tty3270_create_prompt()
182 raw3270_buffer_address(tp->view.dev, line->string + 8, offset); tty3270_create_prompt()
189 * The status line is the last line of the screen. It shows the string
210 struct string *line; tty3270_create_status() local
213 line = alloc_string(&tp->freemem,sizeof(blueprint)); tty3270_create_status()
214 tp->status = line; tty3270_create_status()
215 /* Copy blueprint to status line */ tty3270_create_status()
216 memcpy(line->string, blueprint, sizeof(blueprint)); tty3270_create_status()
219 raw3270_buffer_address(tp->view.dev, line->string + 1, offset); tty3270_create_status()
227 tty3270_update_string(struct tty3270 *tp, struct string *line, int nr) tty3270_update_string() argument
231 raw3270_buffer_address(tp->view.dev, line->string + 1, tty3270_update_string()
233 cp = line->string + line->len - 4; tty3270_update_string()
246 int line, nr_up; tty3270_rebuild_update() local
254 line = tp->view.rows - 3; tty3270_rebuild_update()
261 tty3270_update_string(tp, s, line); tty3270_rebuild_update()
263 if (--line < 0) tty3270_rebuild_update()
302 * Add an empty line to the list.
376 * Update status line. tty3270_update()
384 * Write input line. tty3270_update()
401 * of this line. tty3270_update()
529 * Pass input line to tty.
541 * Two AID keys are special: For 0x7d (enter) the input line tty3270_read_tasklet()
964 /* Create blank line for every line in the tty output area. */ tty3270_install()
1042 struct tty3270_line *line; tty3270_put_character() local
1045 line = tp->screen + tp->cy; tty3270_put_character()
1046 if (line->len <= tp->cx) { tty3270_put_character()
1047 while (line->len < tp->cx) { tty3270_put_character()
1048 cell = line->cells + line->len; tty3270_put_character()
1052 line->len++; tty3270_put_character()
1054 line->len++; tty3270_put_character()
1056 cell = line->cells + tp->cx; tty3270_put_character()
1068 struct tty3270_line *line; tty3270_convert_line() local
1078 line = tp->screen + line_nr; tty3270_convert_line()
1079 flen += line->len; tty3270_convert_line()
1082 for (i = 0, cell = line->cells; i < line->len; i++, cell++) { tty3270_convert_line()
1096 if (line->len < tp->view.cols) tty3270_convert_line()
1099 /* Find the line in the list. */ tty3270_convert_line()
1105 * Check if the line needs to get reallocated. tty3270_convert_line()
1126 for (i = 0, cell = line->cells; i < line->len; i++, cell++) { tty3270_convert_line()
1151 if (line->len < tp->view.cols) { tty3270_convert_line()
1161 /* Add line to update list. */ tty3270_convert_line()
1179 * Do line feed.
1192 /* Last line just filled up. Add new, blank line. */ tty3270_lf()
1217 struct tty3270_line *line; tty3270_insert_characters() local
1220 line = tp->screen + tp->cy; tty3270_insert_characters()
1221 while (line->len < tp->cx) { tty3270_insert_characters()
1222 line->cells[line->len].character = tp->view.ascebc[' ']; tty3270_insert_characters()
1223 line->cells[line->len].highlight = TAX_RESET; tty3270_insert_characters()
1224 line->cells[line->len].f_color = TAC_RESET; tty3270_insert_characters()
1225 line->len++; tty3270_insert_characters()
1229 k = min_t(int, line->len - tp->cx, tp->view.cols - tp->cx - n); tty3270_insert_characters()
1231 line->cells[tp->cx + n + k] = line->cells[tp->cx + k]; tty3270_insert_characters()
1232 line->len += n; tty3270_insert_characters()
1233 if (line->len > tp->view.cols) tty3270_insert_characters()
1234 line->len = tp->view.cols; tty3270_insert_characters()
1236 line->cells[tp->cx + n].character = tp->view.ascebc[' ']; tty3270_insert_characters()
1237 line->cells[tp->cx + n].highlight = tp->highlight; tty3270_insert_characters()
1238 line->cells[tp->cx + n].f_color = tp->f_color; tty3270_insert_characters()
1248 struct tty3270_line *line; tty3270_delete_characters() local
1251 line = tp->screen + tp->cy; tty3270_delete_characters()
1252 if (line->len <= tp->cx) tty3270_delete_characters()
1254 if (line->len - tp->cx <= n) { tty3270_delete_characters()
1255 line->len = tp->cx; tty3270_delete_characters()
1258 for (i = tp->cx; i + n < line->len; i++) tty3270_delete_characters()
1259 line->cells[i] = line->cells[i + n]; tty3270_delete_characters()
1260 line->len -= n; tty3270_delete_characters()
1269 struct tty3270_line *line; tty3270_erase_characters() local
1272 line = tp->screen + tp->cy; tty3270_erase_characters()
1273 while (line->len > tp->cx && n-- > 0) { tty3270_erase_characters()
1274 cell = line->cells + tp->cx++; tty3270_erase_characters()
1284 * Erase line, 3 different cases:
1285 * Esc [ 0 K Erase from current position to end of line inclusive
1286 * Esc [ 1 K Erase from beginning of line to current position inclusive
1287 * Esc [ 2 K Erase entire line (without moving cursor)
1292 struct tty3270_line *line; tty3270_erase_line() local
1296 line = tp->screen + tp->cy; tty3270_erase_line()
1298 line->len = tp->cx; tty3270_erase_line()
1301 cell = line->cells + i; tty3270_erase_line()
1306 if (line->len <= tp->cx) tty3270_erase_line()
1307 line->len = tp->cx + 1; tty3270_erase_line()
1309 line->len = 0; tty3270_erase_line()
1565 case 'K': /* Erase line. */ tty3270_escape_sequence()
1653 /* Convert current line to 3270 data fragment. */ tty3270_do_write()
/linux-4.4.14/usr/
H A Dgen_init_cpio.c29 int (*handler)(const char *line);
133 static int cpio_mkslink_line(const char *line) cpio_mkslink_line() argument
142 if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) { cpio_mkslink_line()
143 fprintf(stderr, "Unrecognized dir format '%s'", line); cpio_mkslink_line()
205 static int cpio_mkgeneric_line(const char *line, enum generic_types gt) cpio_mkgeneric_line() argument
213 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { cpio_mkgeneric_line()
215 line, generic_type_table[gt].type); cpio_mkgeneric_line()
224 static int cpio_mkdir_line(const char *line) cpio_mkdir_line() argument
226 return cpio_mkgeneric_line(line, GT_DIR); cpio_mkdir_line()
229 static int cpio_mkpipe_line(const char *line) cpio_mkpipe_line() argument
231 return cpio_mkgeneric_line(line, GT_PIPE); cpio_mkpipe_line()
234 static int cpio_mksock_line(const char *line) cpio_mksock_line() argument
236 return cpio_mkgeneric_line(line, GT_SOCK); cpio_mksock_line()
273 static int cpio_mknod_line(const char *line) cpio_mknod_line() argument
284 if (7 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d %c %u %u", cpio_mknod_line()
286 fprintf(stderr, "Unrecognized nod format '%s'", line); cpio_mknod_line()
399 static int cpio_mkfile_line(const char *line) cpio_mkfile_line() argument
411 if (5 > sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) cpio_mkfile_line()
414 fprintf(stderr, "Unrecognized file format '%s'", line); cpio_mkfile_line()
417 if (end && isgraph(line[end])) { cpio_mkfile_line()
421 dname = malloc(strlen(line)); cpio_mkfile_line()
432 if (sscanf(line + end, "%" str(PATH_MAX) "s %n", cpio_mkfile_line()
440 } while (isgraph(line[end])); cpio_mkfile_line()
523 char line[LINE_SIZE]; main() local
567 while (fgets(line, LINE_SIZE, cpio_list)) { main()
569 size_t slen = strlen(line); main()
573 if ('#' == *line) { main()
574 /* comment - skip to next line */ main()
578 if (! (type = strtok(line, " \t"))) { main()
580 "ERROR: incorrect format, could not locate file type line %d: '%s'\n", main()
581 line_nr, line); main()
587 /* a blank line */ main()
592 /* must be an empty line */ main()
598 "ERROR: incorrect format, newline required line %d: '%s'\n", main()
599 line_nr, line); main()
605 if (! strcmp(line, file_handler_table[type_idx].type)) { main()
608 fprintf(stderr, " line %d\n", line_nr); main()
615 fprintf(stderr, "unknown file type line %d: '%s'\n", main()
616 line_nr, line); main()
/linux-4.4.14/scripts/kconfig/lxdialog/
H A Dtextbox.c172 case 'K': /* Previous line */ dialog_textbox()
192 case 'J': /* Next line */ dialog_textbox()
212 case '0': /* Beginning of line */ dialog_textbox()
278 * 'page' will be updated to point to the desired line in 'buf'.
339 * Print a new line of text.
343 char *line; print_line() local
345 line = get_line(); print_line()
346 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ print_line()
347 wmove(win, row, 0); /* move cursor to correct line */ print_line()
349 waddnstr(win, line, MIN(strlen(line), width - 2)); print_line()
351 /* Clear 'residue' of previous line */ print_line()
365 * Return current line of text. Called by dialog_textbox() and print_line().
366 * 'page' should point to start of current line before calling, and will be
367 * updated to point to start of next line.
372 static char line[MAX_LEN + 1]; get_line() local
380 line[i++] = *(page++); get_line()
384 line[i++] = '\0'; get_line()
389 line[i] = '\0'; get_line()
393 return line; get_line()
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_v110.c63 * the isdn line is the other way.
192 int line = 0; DecodeMatrix() local
199 while (line < len) { /* Are we done with all lines of the matrix? */ DecodeMatrix()
200 if ((line % 10) == 0) { /* the 0. line of the matrix is always 0 ! */ DecodeMatrix()
201 if (m[line] != 0x00) { /* not 0 ? -> error! */ DecodeMatrix()
207 line++; /* next line of matrix */ DecodeMatrix()
209 } else if ((line % 10) == 5) { /* in line 5 there's only e-bits ! */ DecodeMatrix()
210 if ((m[line] & 0x70) != 0x30) { /* 011 has to be at the beginning! */ DecodeMatrix()
212 printk(KERN_DEBUG "isdn_v110: DecodeMatrix, V110 Bad 5th line\n"); DecodeMatrix()
216 line++; /* next line */ DecodeMatrix()
219 introducer = (m[line] & mbit) ? 0 : 1; /* current bit of the matrix */ DecodeMatrix()
221 if (mbit > 2) { /* was it the last bit in this line ? */ DecodeMatrix()
224 } /* otherwise start with leftmost bit in the next line */ DecodeMatrix()
226 line++; DecodeMatrix()
229 if (m[line] & mbit) /* was that bit set in the matrix ? */ DecodeMatrix()
327 int line = 0; EncodeMatrix() local
334 while ((i < len) && (line < mlen)) { /* while we still have input data */ EncodeMatrix()
335 switch (line % 10) { /* in which line of the matrix are we? */ EncodeMatrix()
337 m[line++] = 0x00; /* line 0 is always 0 */ EncodeMatrix()
341 m[line++] = 0xbf; /* line 5 is always 10111111 */ EncodeMatrix()
345 if (line >= mlen) { EncodeMatrix()
347 return line; EncodeMatrix()
352 line++; /* rightmost -> go to next line */ EncodeMatrix()
353 if (line >= mlen) { EncodeMatrix()
355 return line; EncodeMatrix()
358 m[line] = 128; /* leftmost -> set byte to 1000000 */ EncodeMatrix()
359 mbit = 64; /* current bit in the matrix line */ EncodeMatrix()
364 m[line] |= ibit[introducer] ? mbit : 0; /* set corresponding bit */ EncodeMatrix()
365 mbit >>= 1; /* bit of matrix line >> 1 */ EncodeMatrix()
368 m[line] |= (buf[i] & dbit) ? mbit : 0; /* set data bit in matrix */ EncodeMatrix()
375 m[line] |= (mbit - 1) & 0xfe; /* set remaining bits in line to 1 */ EncodeMatrix()
385 if ((line) && ((line + 10) < mlen)) EncodeMatrix()
386 switch (++line % 10) { EncodeMatrix()
388 m[line++] = 0xfe; EncodeMatrix()
390 m[line++] = 0xfe; EncodeMatrix()
392 m[line++] = 0xfe; EncodeMatrix()
394 m[line++] = 0xfe; EncodeMatrix()
396 m[line++] = 0xbf; EncodeMatrix()
398 m[line++] = 0xfe; EncodeMatrix()
400 m[line++] = 0xfe; EncodeMatrix()
402 m[line++] = 0xfe; EncodeMatrix()
404 m[line++] = 0xfe; EncodeMatrix()
406 return line; /* that's how many lines we have */ EncodeMatrix()
/linux-4.4.14/arch/arm/mach-omap2/
H A Dprminst44xx.c91 * omap4_prminst_is_hardreset_asserted - read the HW reset line state of
94 * @shift: register bit shift corresponding to the reset line to check
96 * Returns 1 if the (sub)module hardreset line is currently asserted,
97 * 0 if the (sub)module hardreset line is not currently asserted, or
113 * omap4_prminst_assert_hardreset - assert the HW reset line of a submodule
115 * @shift: register bit shift corresponding to the reset line to assert
118 * reset line to be asserted / deasserted in order to fully enable the
135 * omap4_prminst_deassert_hardreset - deassert a submodule hardreset line and
137 * @shift: register bit shift corresponding to the reset line to deassert
138 * @st_shift: status bit offset corresponding to the reset line
145 * reset line to be asserted / deasserted in order to fully enable the
160 /* Check the current status to avoid de-asserting the line twice */ omap4_prminst_deassert_hardreset()
168 /* de-assert the reset control line */ omap4_prminst_deassert_hardreset()
H A Dprm33xx.c56 * am33xx_prm_is_hardreset_asserted - read the HW reset line state of
58 * @shift: register bit shift corresponding to the reset line to check
63 * Returns 1 if the (sub)module hardreset line is currently asserted,
64 * 0 if the (sub)module hardreset line is not currently asserted, or
80 * am33xx_prm_assert_hardreset - assert the HW reset line of a submodule
81 * @shift: register bit shift corresponding to the reset line to assert
87 * reset line to be asserted / deasserted in order to fully enable the
104 * am33xx_prm_deassert_hardreset - deassert a submodule hardreset line and
106 * @shift: register bit shift corresponding to the reset line to deassert
107 * @st_shift: reset status register bit shift corresponding to the reset line
114 * reset line to be asserted / deasserted in order to fully enable the
129 /* Check the current status to avoid de-asserting the line twice */ am33xx_prm_deassert_hardreset()
136 /* de-assert the reset control line */ am33xx_prm_deassert_hardreset()
H A Dprm2xxx_3xxx.c25 * omap2_prm_is_hardreset_asserted - read the HW reset line state of
27 * @shift: register bit shift corresponding to the reset line to check
32 * Returns 1 if the (sub)module hardreset line is currently asserted,
33 * 0 if the (sub)module hardreset line is not currently asserted, or
43 * omap2_prm_assert_hardreset - assert the HW reset line of a submodule
44 * @shift: register bit shift corresponding to the reset line to assert
50 * reset line to be asserted / deasserted in order to fully enable the
67 * omap2_prm_deassert_hardreset - deassert a submodule hardreset line and wait
69 * @rst_shift: register bit shift corresponding to the reset line to deassert
77 * reset line to be asserted / deasserted in order to fully enable the
94 /* Check the current status to avoid de-asserting the line twice */ omap2_prm_deassert_hardreset()
100 /* de-assert the reset control line */ omap2_prm_deassert_hardreset()
/linux-4.4.14/arch/arm/mm/
H A Dcopypage-feroceon.c33 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
37 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
41 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
45 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
49 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
53 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
57 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
61 mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_copy_user_page()
98 mcr p15, 0, %0, c7, c14, 1 @ clean and invalidate D line\n\ feroceon_clear_user_highpage()
H A Dcopypage-xscale.c66 mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\ mc_copy_user_page()
68 mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\ mc_copy_user_page()
77 mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\ mc_copy_user_page()
79 mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\ mc_copy_user_page()
122 mcr p15, 0, ip, c7, c10, 1 @ clean D line\n\ xscale_mc_clear_user_highpage()
124 mcr p15, 0, ip, c7, c6, 1 @ invalidate D line\n\ xscale_mc_clear_user_highpage()
H A Dcache-v6.S137 USER( mcr p15, 0, r0, c7, c10, 1 ) @ clean D line
180 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line
182 mcr p15, 0, r0, c7, c15, 1 @ clean & invalidate unified line
212 mcrne p15, 0, r0, c7, c10, 1 @ clean D line
214 mcrne p15, 0, r0, c7, c11, 1 @ clean unified line
223 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D line
225 mcrne p15, 0, r1, c7, c15, 1 @ clean & invalidate unified line
229 mcr p15, 0, r0, c7, c6, 1 @ invalidate D line
231 mcr p15, 0, r0, c7, c7, 1 @ invalidate unified line
256 mcr p15, 0, r0, c7, c10, 1 @ clean D line
258 mcr p15, 0, r0, c7, c11, 1 @ clean unified line
280 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line
282 mcr p15, 0, r0, c7, c15, 1 @ clean & invalidate line
H A Dcopypage-fa.c28 mcr p15, 0, r0, c7, c14, 1 @ 1 clean and invalidate D line\n\ fa_copy_user_page()
32 mcr p15, 0, r0, c7, c14, 1 @ 1 clean and invalidate D line\n\ fa_copy_user_page()
69 mcr p15, 0, %0, c7, c14, 1 @ 1 clean and invalidate D line\n\ fa_clear_user_highpage()
72 mcr p15, 0, %0, c7, c14, 1 @ 1 clean and invalidate D line\n\ fa_clear_user_highpage()
H A Dcopypage-v4mc.c39 * Note: We rely on all ARMv4 processors implementing the "invalidate D line"
50 1: mcr p15, 0, %1, c7, c6, 1 @ 1 invalidate D line\n\ mc_copy_user_page()
55 mcr p15, 0, %1, c7, c6, 1 @ 1 invalidate D line\n\ mc_copy_user_page()
98 1: mcr p15, 0, %0, c7, c6, 1 @ 1 invalidate D line\n\ v4_mc_clear_user_highpage()
101 mcr p15, 0, %0, c7, c6, 1 @ 1 invalidate D line\n\ v4_mc_clear_user_highpage()
H A Dcopypage-v4wb.c21 * Note: We rely on all ARMv4 processors implementing the "invalidate D line"
32 1: mcr p15, 0, r0, c7, c6, 1 @ 1 invalidate D line\n\ v4wb_copy_user_page()
37 mcr p15, 0, r0, c7, c6, 1 @ 1 invalidate D line\n\ v4wb_copy_user_page()
77 1: mcr p15, 0, %0, c7, c6, 1 @ 1 invalidate D line\n\ v4wb_clear_user_highpage()
80 mcr p15, 0, %0, c7, c6, 1 @ 1 invalidate D line\n\ v4wb_clear_user_highpage()
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dmspec.h41 * half of the cache line. The cache line _MUST NOT_ be used for anything
43 * addresses which reference the same physical cache line. One will
47 * cached cache-line is modified, when that line is flushed, it will
/linux-4.4.14/arch/arm64/include/asm/
H A Dbug.h27 #define _BUGVERBOSE_LOCATION(file, line) __BUGVERBOSE_LOCATION(file, line)
28 #define __BUGVERBOSE_LOCATION(file, line) \
34 ".short " #line "\n\t"
36 #define _BUGVERBOSE_LOCATION(file, line)
H A Dlse.h22 /* Move the ll/sc atomics out-of-line */
27 /* Macro for constructing calls to out-of-line ll/sc atomics */
30 /* In-line patching at runtime */
/linux-4.4.14/arch/x86/tools/
H A Dtest_get_len.c53 static void malformed_line(const char *line, int line_nr) malformed_line() argument
55 fprintf(stderr, "%s: malformed line %d:\n%s", prog, line_nr, line); malformed_line()
113 char line[BUFSIZE], sym[BUFSIZE] = "<unknown>"; main() local
121 while (fgets(line, BUFSIZE, stdin)) { main()
126 if (line[0] == '<') { main()
127 /* Symbol line */ main()
128 strcpy(sym, line); main()
134 strcpy(copy, line); main()
137 malformed_line(line, insns); main()
142 malformed_line(line, insns); main()
158 fprintf(stderr, "Warning: %s", line); main()
/linux-4.4.14/fs/xfs/
H A Dxfs_message.c101 asswarn(char *expr, char *file, int line) asswarn() argument
103 xfs_warn(NULL, "Assertion failed: %s, file: %s, line: %d", asswarn()
104 expr, file, line); asswarn()
109 assfail(char *expr, char *file, int line) assfail() argument
111 xfs_emerg(NULL, "Assertion failed: %s, file: %s, line: %d", assfail()
112 expr, file, line); assfail()
/linux-4.4.14/arch/sparc/include/asm/
H A Dcpudata_64.h12 /* Dcache line 1 */
20 /* Dcache line 2, rarely used */
H A Dbug.h8 void do_BUG(const char *file, int line);
H A Dcache.h2 * and direct tag/data line access.
/linux-4.4.14/arch/mips/lasat/
H A Dpicvue.h23 void pvc_write_string(const unsigned char *str, u8 addr, int line);
24 void pvc_write_string_centered(const unsigned char *str, int line);
H A Dpicvue.c110 void pvc_write_string(const unsigned char *str, u8 addr, int line) pvc_write_string() argument
114 if (line > 0 && (PVC_NLINES > 1)) pvc_write_string()
115 addr += 0x40 * line; pvc_write_string()
124 void pvc_write_string_centered(const unsigned char *str, int line) pvc_write_string_centered() argument
134 pvc_write_string(str, addr, line); pvc_write_string_centered()
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
H A Daudio.h14 * bug prevents correct operation of the reset line. If not specified,
16 * AC97 reset line, which is the default on most boards.
H A Dgumstix.h11 /* BTRESET - Reset line to Bluetooth module, active low signal. */
43 * ETH_RST provides a hardware reset line to the ethernet chip
44 * ETH is the IRQ line in from the ethernet chip to the PXA
59 /* CF reset line */
80 /* CF GPIO line modes */
/linux-4.4.14/tools/testing/selftests/powerpc/
H A Dutils.h30 "[FAIL] Test FAILED on line %d\n", __LINE__); \
42 "[SKIP] Test skipped on line %d\n", __LINE__); \
/linux-4.4.14/drivers/tty/serial/8250/
H A D8250_hp300.c30 int line; /* line (tty) number */ member in struct:hp300_port
120 add_preferred_console("ttyS", port.line, "9600n8"); hp300_setup_serial_console()
143 add_preferred_console("ttyS", port.line, "9600n8"); hp300_setup_serial_console()
161 int line; hpdca_init_one() local
180 line = serial8250_register_8250_port(&uart); hpdca_init_one()
182 if (line < 0) { hpdca_init_one()
190 dio_set_drvdata(d, (void *)line); hpdca_init_one()
206 int line; hp300_8250_init() local
261 line = serial8250_register_8250_port(&uart); hp300_8250_init()
263 if (line < 0) { hp300_8250_init()
270 port->line = line; hp300_8250_init()
288 int line; hpdca_remove_one() local
290 line = (int) dio_get_drvdata(d); hpdca_remove_one()
295 serial8250_unregister_port(line); hpdca_remove_one()
305 serial8250_unregister_port(port->line); hp300_8250_exit()
H A D8250_ingenic.c41 int line; member in struct:ingenic_uart_data
156 * receive line status interrupt */ ingenic_uart_serial_out()
208 int err, line; ingenic_uart_probe() local
240 /* Check for a fixed line number */ ingenic_uart_probe()
241 line = of_alias_get_id(pdev->dev.of_node, "serial"); ingenic_uart_probe()
242 if (line >= 0) ingenic_uart_probe()
243 uart.port.line = line; ingenic_uart_probe()
281 data->line = serial8250_register_8250_port(&uart); ingenic_uart_probe()
282 if (data->line < 0) { ingenic_uart_probe()
283 err = data->line; ingenic_uart_probe()
302 serial8250_unregister_port(data->line); ingenic_uart_remove()
H A D8250_fintek.c47 long line; member in struct:fintek_8250
221 pdata->line = serial8250_register_8250_port(&uart); fintek_8250_probe()
222 if (pdata->line < 0) fintek_8250_probe()
234 serial8250_unregister_port(pdata->line); fintek_8250_remove()
244 serial8250_suspend_port(pdata->line); fintek_8250_suspend()
254 serial8250_resume_port(pdata->line); fintek_8250_resume()
/linux-4.4.14/drivers/media/platform/vivid/
H A Dvivid-vbi-gen.c129 unsigned line = data->line; vivid_vbi_gen_raw() local
134 line += start_2nd_field; vivid_vbi_gen_raw()
135 line -= vbi_fmt->start[data->field]; vivid_vbi_gen_raw()
138 linebuf += (line * 2 + data->field) * vivid_vbi_gen_raw()
141 linebuf += (line + data->field * vbi_fmt->count[0]) * vivid_vbi_gen_raw()
228 static void vivid_vbi_gen_teletext(u8 *packet, unsigned line, unsigned frame) vivid_vbi_gen_teletext() argument
233 packet[0] = hamming[1 + ((line & 1) << 3)]; vivid_vbi_gen_teletext()
234 packet[1] = hamming[line >> 1]; vivid_vbi_gen_teletext()
236 if (line == 0) { vivid_vbi_gen_teletext()
252 packet[15] = '0' + line / 10; vivid_vbi_gen_teletext()
253 packet[16] = '0' + line % 10; vivid_vbi_gen_teletext()
272 data0->line = 7 + i; vivid_vbi_gen_sliced()
277 data0->line = 23; vivid_vbi_gen_sliced()
284 data0->line = 7 + i; vivid_vbi_gen_sliced()
292 data0->line = 21; vivid_vbi_gen_sliced()
295 data1->line = 21; vivid_vbi_gen_sliced()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dintel_cacheinfo.c40 { 0x06, LVL_1_INST, 8 }, /* 4-way set assoc, 32 byte line size */
41 { 0x08, LVL_1_INST, 16 }, /* 4-way set assoc, 32 byte line size */
42 { 0x09, LVL_1_INST, 32 }, /* 4-way set assoc, 64 byte line size */
43 { 0x0a, LVL_1_DATA, 8 }, /* 2 way set assoc, 32 byte line size */
44 { 0x0c, LVL_1_DATA, 16 }, /* 4-way set assoc, 32 byte line size */
45 { 0x0d, LVL_1_DATA, 16 }, /* 4-way set assoc, 64 byte line size */
46 { 0x0e, LVL_1_DATA, 24 }, /* 6-way set assoc, 64 byte line size */
47 { 0x21, LVL_2, 256 }, /* 8-way set assoc, 64 byte line size */
48 { 0x22, LVL_3, 512 }, /* 4-way set assoc, sectored cache, 64 byte line size */
49 { 0x23, LVL_3, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */
50 { 0x25, LVL_3, MB(2) }, /* 8-way set assoc, sectored cache, 64 byte line size */
51 { 0x29, LVL_3, MB(4) }, /* 8-way set assoc, sectored cache, 64 byte line size */
52 { 0x2c, LVL_1_DATA, 32 }, /* 8-way set assoc, 64 byte line size */
53 { 0x30, LVL_1_INST, 32 }, /* 8-way set assoc, 64 byte line size */
54 { 0x39, LVL_2, 128 }, /* 4-way set assoc, sectored cache, 64 byte line size */
55 { 0x3a, LVL_2, 192 }, /* 6-way set assoc, sectored cache, 64 byte line size */
56 { 0x3b, LVL_2, 128 }, /* 2-way set assoc, sectored cache, 64 byte line size */
57 { 0x3c, LVL_2, 256 }, /* 4-way set assoc, sectored cache, 64 byte line size */
58 { 0x3d, LVL_2, 384 }, /* 6-way set assoc, sectored cache, 64 byte line size */
59 { 0x3e, LVL_2, 512 }, /* 4-way set assoc, sectored cache, 64 byte line size */
60 { 0x3f, LVL_2, 256 }, /* 2-way set assoc, 64 byte line size */
61 { 0x41, LVL_2, 128 }, /* 4-way set assoc, 32 byte line size */
62 { 0x42, LVL_2, 256 }, /* 4-way set assoc, 32 byte line size */
63 { 0x43, LVL_2, 512 }, /* 4-way set assoc, 32 byte line size */
64 { 0x44, LVL_2, MB(1) }, /* 4-way set assoc, 32 byte line size */
65 { 0x45, LVL_2, MB(2) }, /* 4-way set assoc, 32 byte line size */
66 { 0x46, LVL_3, MB(4) }, /* 4-way set assoc, 64 byte line size */
67 { 0x47, LVL_3, MB(8) }, /* 8-way set assoc, 64 byte line size */
68 { 0x48, LVL_2, MB(3) }, /* 12-way set assoc, 64 byte line size */
69 { 0x49, LVL_3, MB(4) }, /* 16-way set assoc, 64 byte line size */
70 { 0x4a, LVL_3, MB(6) }, /* 12-way set assoc, 64 byte line size */
71 { 0x4b, LVL_3, MB(8) }, /* 16-way set assoc, 64 byte line size */
72 { 0x4c, LVL_3, MB(12) }, /* 12-way set assoc, 64 byte line size */
73 { 0x4d, LVL_3, MB(16) }, /* 16-way set assoc, 64 byte line size */
74 { 0x4e, LVL_2, MB(6) }, /* 24-way set assoc, 64 byte line size */
75 { 0x60, LVL_1_DATA, 16 }, /* 8-way set assoc, sectored cache, 64 byte line size */
76 { 0x66, LVL_1_DATA, 8 }, /* 4-way set assoc, sectored cache, 64 byte line size */
77 { 0x67, LVL_1_DATA, 16 }, /* 4-way set assoc, sectored cache, 64 byte line size */
78 { 0x68, LVL_1_DATA, 32 }, /* 4-way set assoc, sectored cache, 64 byte line size */
83 { 0x78, LVL_2, MB(1) }, /* 4-way set assoc, 64 byte line size */
84 { 0x79, LVL_2, 128 }, /* 8-way set assoc, sectored cache, 64 byte line size */
85 { 0x7a, LVL_2, 256 }, /* 8-way set assoc, sectored cache, 64 byte line size */
86 { 0x7b, LVL_2, 512 }, /* 8-way set assoc, sectored cache, 64 byte line size */
87 { 0x7c, LVL_2, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */
88 { 0x7d, LVL_2, MB(2) }, /* 8-way set assoc, 64 byte line size */
89 { 0x7f, LVL_2, 512 }, /* 2-way set assoc, 64 byte line size */
90 { 0x80, LVL_2, 512 }, /* 8-way set assoc, 64 byte line size */
91 { 0x82, LVL_2, 256 }, /* 8-way set assoc, 32 byte line size */
92 { 0x83, LVL_2, 512 }, /* 8-way set assoc, 32 byte line size */
93 { 0x84, LVL_2, MB(1) }, /* 8-way set assoc, 32 byte line size */
94 { 0x85, LVL_2, MB(2) }, /* 8-way set assoc, 32 byte line size */
95 { 0x86, LVL_2, 512 }, /* 4-way set assoc, 64 byte line size */
96 { 0x87, LVL_2, MB(1) }, /* 8-way set assoc, 64 byte line size */
97 { 0xd0, LVL_3, 512 }, /* 4-way set assoc, 64 byte line size */
98 { 0xd1, LVL_3, MB(1) }, /* 4-way set assoc, 64 byte line size */
99 { 0xd2, LVL_3, MB(2) }, /* 4-way set assoc, 64 byte line size */
100 { 0xd6, LVL_3, MB(1) }, /* 8-way set assoc, 64 byte line size */
101 { 0xd7, LVL_3, MB(2) }, /* 8-way set assoc, 64 byte line size */
102 { 0xd8, LVL_3, MB(4) }, /* 12-way set assoc, 64 byte line size */
103 { 0xdc, LVL_3, MB(2) }, /* 12-way set assoc, 64 byte line size */
104 { 0xdd, LVL_3, MB(4) }, /* 12-way set assoc, 64 byte line size */
105 { 0xde, LVL_3, MB(8) }, /* 12-way set assoc, 64 byte line size */
106 { 0xe2, LVL_3, MB(2) }, /* 16-way set assoc, 64 byte line size */
107 { 0xe3, LVL_3, MB(4) }, /* 16-way set assoc, 64 byte line size */
108 { 0xe4, LVL_3, MB(8) }, /* 16-way set assoc, 64 byte line size */
109 { 0xea, LVL_3, MB(12) }, /* 24-way set assoc, 64 byte line size */
110 { 0xeb, LVL_3, MB(18) }, /* 24-way set assoc, 64 byte line size */
111 { 0xec, LVL_3, MB(24) }, /* 24-way set assoc, 64 byte line size */
/linux-4.4.14/scripts/kconfig/
H A Dconf.c44 static char line[128]; variable
91 line[0] = '\n'; conf_askvalue()
92 line[1] = 0; conf_askvalue()
96 line[0] = '\n'; conf_askvalue()
97 line[1] = 0; conf_askvalue()
112 xfgets(line, 128, stdin); conf_askvalue()
129 printf("%s", line); conf_askvalue()
146 switch (line[0]) { conf_string()
151 if (line[1] == '\n') { conf_string()
158 line[strlen(line)-1] = 0; conf_string()
159 def = line; conf_string()
199 strip(line); conf_sym()
201 switch (line[0]) { conf_sym()
205 if (!line[1] || !strcmp(&line[1], "o")) conf_sym()
211 if (!line[1]) conf_sym()
217 if (!line[1] || !strcmp(&line[1], "es")) conf_sym()
272 line[0] = 0; conf_choice()
314 xfgets(line, 128, stdin); conf_choice()
315 strip(line); conf_choice()
316 if (line[0] == '?') { conf_choice()
320 if (!line[0]) conf_choice()
322 else if (isdigit(line[0])) conf_choice()
323 cnt = atoi(line); conf_choice()
340 if (line[0] && line[strlen(line) - 1] == '?') { conf_choice()
477 printf(" --oldaskconfig Start a new configuration using a line-oriented program\n"); conf_usage()
H A Dstreamline_config.pl21 # 1. Boot up the kernel that you want to stream line the config on.
161 my $line;
179 $_ = $line . " " . $_;
184 $line = $_;
273 my ($line, %vars) = @_;
277 while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
289 $process .= $line;
297 my $line = "";
302 # if this line ends with a backslash, continue
305 $line .= $1;
309 $line .= $_;
310 $_ = $line;
311 $line = "";
315 # Convert variables in a line (could define configs)
386 next if (/^Module/); # Skip the first line.
425 foreach my $line (@config_file) {
426 $_ = $line;
598 foreach my $line (@config_file) {
599 $_ = $line;
H A Dnconf.gui.c203 int get_line_length(const char *line) get_line_length() argument
206 while (*line != '\0' && *line != '\n') { get_line_length()
207 line++; get_line_length()
221 /* do not go over end of line */ fill_window()
225 const char *line = get_line(text, i); fill_window() local
226 int len = get_line_length(line); fill_window()
227 strncpy(tmp, line, min(len, x)); fill_window()
268 /* find the widest line of msg: */ btn_dialog()
271 const char *line = get_line(msg, i); btn_dialog() local
272 int len = get_line_length(line); btn_dialog()
378 /* find the widest line of msg: */ dialog_inputbox()
381 const char *line = get_line(prompt, i); dialog_inputbox() local
382 int len = get_line_length(line); dialog_inputbox()
561 /* find the widest line of msg: */ show_scroll_win()
564 const char *line = get_line(text, i); show_scroll_win() local
565 int len = get_line_length(line); show_scroll_win()
/linux-4.4.14/include/media/davinci/
H A Dvpbe_osd.h205 * @H_WIDTH_1: horizontal line width is 1 pixel
206 * @H_WIDTH_4: horizontal line width is 4 pixels
207 * @H_WIDTH_8: horizontal line width is 8 pixels
208 * @H_WIDTH_12: horizontal line width is 12 pixels
209 * @H_WIDTH_16: horizontal line width is 16 pixels
210 * @H_WIDTH_20: horizontal line width is 20 pixels
211 * @H_WIDTH_24: horizontal line width is 24 pixels
212 * @H_WIDTH_28: horizontal line width is 28 pixels
227 * @V_WIDTH_1: vertical line width is 1 line
228 * @V_WIDTH_2: vertical line width is 2 lines
229 * @V_WIDTH_4: vertical line width is 4 lines
230 * @V_WIDTH_6: vertical line width is 6 lines
231 * @V_WIDTH_8: vertical line width is 8 lines
232 * @V_WIDTH_10: vertical line width is 10 lines
233 * @V_WIDTH_12: vertical line width is 12 lines
234 * @V_WIDTH_14: vertical line width is 14 lines
254 * @h_width: horizontal line width
255 * @v_width: vertical line width
278 * @line_length: offset in bytes between start of each line in memory
279 * @xsize: number of horizontal pixels displayed per line
288 * @line_length must be a multiple of the cache line size (32 bytes).
/linux-4.4.14/tools/testing/selftests/vm/
H A Dmlock2-tests.c41 char line[1024] = {0}; get_vm_area() local
58 while(fgets(line, 1024, file)) { get_vm_area()
59 end_addr = strchr(line, '-'); get_vm_area()
73 sscanf(line, "%lx", &start); get_vm_area()
144 char *line = NULL; seek_to_smaps_entry() local
159 while (getline(&line, &size, file) > 0) { seek_to_smaps_entry()
160 if (sscanf(line, "%lx-%lx %s %lx %s %lu %s\n", seek_to_smaps_entry()
168 free(line); seek_to_smaps_entry()
169 line = NULL; seek_to_smaps_entry()
177 free(line); seek_to_smaps_entry()
185 char *line = NULL; is_vmflag_set() local
197 while (getline(&line, &size, smaps) > 0) { is_vmflag_set()
198 if (!strstr(line, VMFLAGS)) { is_vmflag_set()
199 free(line); is_vmflag_set()
200 line = NULL; is_vmflag_set()
205 flags = line + strlen(VMFLAGS); is_vmflag_set()
211 free(line); is_vmflag_set()
226 char *line = NULL; is_vma_lock_on_fault() local
240 while (getline(&line, &size, smaps) > 0) { is_vma_lock_on_fault()
241 if (!strstr(line, SIZE)) { is_vma_lock_on_fault()
242 free(line); is_vma_lock_on_fault()
243 line = NULL; is_vma_lock_on_fault()
248 value = line + strlen(SIZE); is_vma_lock_on_fault()
256 while (getline(&line, &size, smaps) > 0) { is_vma_lock_on_fault()
257 if (!strstr(line, RSS)) { is_vma_lock_on_fault()
258 free(line); is_vma_lock_on_fault()
259 line = NULL; is_vma_lock_on_fault()
264 value = line + strlen(RSS); is_vma_lock_on_fault()
274 free(line); is_vma_lock_on_fault()
/linux-4.4.14/arch/x86/include/asm/
H A Dcache.h6 /* L1 cache line size */
H A Dxor_64.h18 deals with a load to a line that is being prefetched. */
/linux-4.4.14/arch/alpha/include/asm/
H A Dcache.h8 /* Bytes per L1 (data) cache line. */
/linux-4.4.14/arch/cris/include/arch-v32/arch/
H A Dcache.h6 /* A cache-line is 32 bytes. */
/linux-4.4.14/fs/ncpfs/
H A DMakefile13 # If you want debugging output, please uncomment the following line
/linux-4.4.14/net/ceph/
H A Darmor.c39 int line = 0; ceph_armor() local
64 line += 4; ceph_armor()
65 if (line == 64) { ceph_armor()
66 line = 0; ceph_armor()
/linux-4.4.14/scripts/gdb/linux/
H A Ddmesg.py56 for line in memoryview(text).tobytes().splitlines():
57 gdb.write("[{time:12.6f}] {line}\n".format(
59 line=line))
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dcachectl.h6 #define FLUSH_SCOPE_LINE 1 /* Flush a cache line */
/linux-4.4.14/tools/cgroup/
H A Dcgroup_event_listener.c27 char line[LINE_MAX]; main() local
50 ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); main()
54 ret = write(event_control, line, strlen(line) + 1); main()
/linux-4.4.14/tools/power/x86/turbostat/
H A DMakefile6 ifeq ("$(origin O)", "command line")
/linux-4.4.14/drivers/media/pci/cx23885/
H A Dcx23885-f300.c35 static void f300_set_line(struct cx23885_dev *dev, u32 line, u8 lvl) f300_set_line() argument
37 cx23885_gpio_enable(dev, line, 1); f300_set_line()
39 cx23885_gpio_set(dev, line); f300_set_line()
41 cx23885_gpio_clear(dev, line); f300_set_line()
44 static u8 f300_get_line(struct cx23885_dev *dev, u32 line) f300_get_line() argument
46 cx23885_gpio_enable(dev, line, 0); f300_get_line()
48 return cx23885_gpio_get(dev, line); f300_get_line()
/linux-4.4.14/scripts/tracing/
H A Ddraw_functrace.py90 """If the last line is not complete because of the pipe breakage,
91 we want to stop the processing and ignore this line.
96 """ If the line is a comment (as in the beginning of the trace file),
102 def parseLine(line):
103 line = line.strip()
104 if line.startswith("#"):
106 m = re.match("[^]]+?\\] +([0-9.]+): (\\w+) <-(\\w+)", line)
116 for line in sys.stdin:
118 calltime, callee, caller = parseLine(line)
/linux-4.4.14/arch/arm64/mm/
H A Dcache.S57 USER(9f, dc cvau, x4 ) // clean D line to PoU
67 USER(9f, ic ivau, x4 ) // invalidate I line PoU
95 1: dc civac, x0 // clean & invalidate D line / unified line
119 tst x1, x3 // end cache line aligned?
122 dc civac, x1 // clean & invalidate D / U line
123 1: tst x0, x3 // start cache line aligned?
126 dc civac, x0 // clean & invalidate D / U line
128 2: dc ivac, x0 // invalidate D / U line
168 1: dc civac, x0 // clean & invalidate D / U line
/linux-4.4.14/tools/usb/usbip/libsrc/
H A Dnames.c322 /* remove line ends */ parse()
361 err("Invalid class spec at line %u", linectr); parse()
368 err("Invalid class spec at line %u", linectr); parse()
372 err("Duplicate class spec at line %u class %04x %s", parse()
374 dbg("line %5u class %02x %s", linectr, u, cp); parse()
394 err("Invalid vendor spec at line %u", linectr); parse()
398 err("Duplicate vendor spec at line %u vendor %04x %s", parse()
400 dbg("line %5u vendor %04x %s", linectr, u, cp); parse()
411 err("Invalid product/subclass spec at line %u", parse()
417 err("Duplicate product spec at line %u product %04x:%04x %s", parse()
419 dbg("line %5u product %04x:%04x %s", linectr, parse()
425 err("Duplicate subclass spec at line %u class %02x:%02x %s", parse()
427 dbg("line %5u subclass %02x:%02x %s", linectr, parse()
440 err("Product/Subclass spec without prior Vendor/Class spec at line %u", parse()
450 err("Invalid protocol spec at line %u", parse()
457 err("Duplicate protocol spec at line %u class %02x:%02x:%02x %s", parse()
460 dbg("line %5u protocol %02x:%02x:%02x %s", parse()
464 err("Protocol spec without prior Class and Subclass spec at line %u", parse()
488 err("Unknown line at line %u", linectr); parse()
/linux-4.4.14/drivers/acpi/acpica/
H A Duttrack.c50 * line number. acpi_ut_allocate and acpi_ut_allocate_zeroed call
72 u32 component, const char *module, u32 line);
76 u32 component, const char *module, u32 line);
119 * line - Line number of caller
128 u32 component, const char *module, u32 line) acpi_ut_allocate_and_track()
136 ACPI_WARNING((module, line, acpi_ut_allocate_and_track()
147 ACPI_WARNING((module, line, acpi_ut_allocate_and_track()
155 line); acpi_ut_allocate_and_track()
180 * line - Line number of caller
190 const char *module, u32 line) acpi_ut_allocate_zeroed_and_track()
198 ACPI_WARNING((module, line, acpi_ut_allocate_zeroed_and_track()
210 ACPI_ERROR((module, line, acpi_ut_allocate_zeroed_and_track()
217 line); acpi_ut_allocate_zeroed_and_track()
242 * line - Line number of caller
252 u32 component, const char *module, u32 line) acpi_ut_free_and_track()
260 ACPI_ERROR((module, line, "Attempt to delete a NULL address")); acpi_ut_free_and_track()
273 component, module, line); acpi_ut_free_and_track()
356 * line - Line number of caller
368 u32 component, const char *module, u32 line) acpi_ut_track_allocation()
403 allocation->line = line; acpi_ut_track_allocation()
446 * line - Line number of caller
456 u32 component, const char *module, u32 line) acpi_ut_remove_allocation()
472 ACPI_ERROR((module, line, acpi_ut_remove_allocation()
608 element->module, element->line); acpi_ut_dump_allocations()
617 element->module, element->line, acpi_ut_dump_allocations()
127 acpi_ut_allocate_and_track(acpi_size size, u32 component, const char *module, u32 line) acpi_ut_allocate_and_track() argument
188 acpi_ut_allocate_zeroed_and_track(acpi_size size, u32 component, const char *module, u32 line) acpi_ut_allocate_zeroed_and_track() argument
251 acpi_ut_free_and_track(void *allocation, u32 component, const char *module, u32 line) acpi_ut_free_and_track() argument
365 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) acpi_ut_track_allocation() argument
455 acpi_ut_remove_allocation(struct acpi_debug_mem_block *allocation, u32 component, const char *module, u32 line) acpi_ut_remove_allocation() argument
H A Dutxferror.c62 * line_number - Caller's line number (for error output)
67 * DESCRIPTION: Print "ACPI Error" message with module/line/version info
93 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL()
99 * DESCRIPTION: Print "ACPI Exception" message with module/line/version info ACPI_EXPORT_SYMBOL()
135 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL()
140 * DESCRIPTION: Print "ACPI Warning" message with module/line/version info ACPI_EXPORT_SYMBOL()
166 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL()
172 * module/line/version info in order to keep the message simple. ACPI_EXPORT_SYMBOL()
200 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL()
205 * DESCRIPTION: Print "ACPI Firmware Error" message with module/line/version ACPI_EXPORT_SYMBOL()
233 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL()
238 * DESCRIPTION: Print "ACPI Firmware Warning" message with module/line/version ACPI_EXPORT_SYMBOL()
/linux-4.4.14/include/linux/i2c/
H A Dsx150x.h35 * for each IO line in the expander. Setting the bit at
40 * resistor for each IO line in the expander. Setting the
45 * operation for each IO line in the expander. Setting the
51 * @io_polarity: A bit-mask which enables polarity inversion for each IO line
53 * the polarity of that IO line, while clearing it results
56 * @irq_summary: The 'summary IRQ' line to which the GPIO expander's INT line
59 * pre-existing IRQ line.
62 * @irq_base: The first 'virtual IRQ' line at which our block of GPIO-based
/linux-4.4.14/firmware/
H A Dihex2fw.c138 int line = 1; process_ihex() local
145 if (data[i] == '\n') line++; process_ihex()
151 fprintf(stderr, "Can't find valid record at line %d\n", line); process_ihex()
170 fprintf(stderr, "Not enough data to read complete record at line %d\n", process_ihex()
171 line); process_ihex()
185 fprintf(stderr, "CRC failure at line %d: got 0x%X, expected 0x%X\n", process_ihex()
186 line, crcbyte, (unsigned char)(crcbyte-crc)); process_ihex()
203 fprintf(stderr, "Bad EOF record (type 01) format at line %d", process_ihex()
204 line); process_ihex()
212 fprintf(stderr, "Bad HEX86/HEX386 record (type %02X) at line %d\n", process_ihex()
213 type, line); process_ihex()
226 fprintf(stderr, "Bad Start Address record (type %02X) at line %d\n", process_ihex()
227 type, line); process_ihex()
/linux-4.4.14/scripts/mod/
H A Dsumversion.c303 /* We have dir/file.o. Open dir/.file.o.cmd, look for source_ and deps_ line
307 char *cmd, *file, *line, *dir; parse_source_files() local
333 /* There will be a line like so: parse_source_files()
341 while ((line = get_next_line(&pos, file, flen)) != NULL) { parse_source_files()
342 char* p = line; parse_source_files()
344 if (strncmp(line, "source_", sizeof("source_")-1) == 0) { parse_source_files()
345 p = strrchr(line, ' '); parse_source_files()
347 warn("malformed line: %s\n", line); parse_source_files()
358 if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { parse_source_files()
365 /* Continue until line does not end with '\' */ parse_source_files()
368 /* Terminate line at first space, to get rid of final ' \' */ parse_source_files()
378 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) { parse_source_files()
379 if (!parse_file(line, md)) { parse_source_files()
381 line, strerror(errno)); parse_source_files()
414 after the first line. */ get_src_version()
/linux-4.4.14/arch/mips/cavium-octeon/
H A Docteon-irq.c40 u8 line; member in struct:octeon_ciu_chip_data::__anon1856::__anon1858
59 static int octeon_irq_set_ciu_mapping(int irq, int line, int bit, int gpio_line, octeon_irq_set_ciu_mapping() argument
71 cd->line = line; octeon_irq_set_ciu_mapping()
76 octeon_irq_ciu_to_irq[line][bit] = irq; octeon_irq_set_ciu_mapping()
90 int irq, int line, int bit) octeon_irq_force_ciu_mapping()
92 return irq_domain_associate(domain, irq, line << 6 | bit); octeon_irq_force_ciu_mapping()
267 if (cd->line == 0) { octeon_irq_ciu_enable()
299 if (cd->line == 0) { octeon_irq_ciu_enable_local()
331 if (cd->line == 0) { octeon_irq_ciu_disable_local()
366 if (cd->line == 0) for_each_online_cpu()
378 if (cd->line == 0) for_each_online_cpu()
399 if (cd->line == 0) for_each_online_cpu()
411 if (cd->line == 0) for_each_online_cpu()
436 if (cd->line == 0) { octeon_irq_ciu_enable_v2()
520 if (cd->line == 0) { octeon_irq_ciu_enable_local_v2()
539 if (cd->line == 0) { octeon_irq_ciu_disable_local_v2()
561 if (cd->line == 0) { octeon_irq_ciu_ack()
582 if (cd->line == 0) { for_each_online_cpu()
612 if (cd->line == 0) { for_each_online_cpu()
761 if (cd->line == 0) for_each_online_cpu()
778 if (cd->line == 0) for_each_online_cpu()
807 if (cd->line == 0) { for_each_online_cpu()
1056 static bool octeon_irq_ciu_is_edge(unsigned int line, unsigned int bit) octeon_irq_ciu_is_edge() argument
1060 if (line == 0) octeon_irq_ciu_is_edge()
1071 else /* line == 1 */ octeon_irq_ciu_is_edge()
1175 unsigned int line = hw >> 6; octeon_irq_ciu_map() local
1183 if (line == 0 && bit >= 16 && bit <32) octeon_irq_ciu_map()
1186 if (line >= dd->num_sum || octeon_irq_ciu_to_irq[line][bit] != 0) octeon_irq_ciu_map()
1189 if (line == 2) { octeon_irq_ciu_map()
1190 if (octeon_irq_ciu_is_edge(line, bit)) octeon_irq_ciu_map()
1191 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map()
1195 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map()
1199 if (octeon_irq_ciu_is_edge(line, bit)) octeon_irq_ciu_map()
1200 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map()
1204 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map()
1215 unsigned int line, bit; octeon_irq_gpio_map() local
1221 line = (hw + gpiod->base_hwirq) >> 6; octeon_irq_gpio_map()
1223 if (line > ARRAY_SIZE(octeon_irq_ciu_to_irq) || octeon_irq_gpio_map()
1224 octeon_irq_ciu_to_irq[line][bit] != 0) octeon_irq_gpio_map()
1232 r = octeon_irq_set_ciu_mapping(virq, line, bit, hw, octeon_irq_gpio_map()
1607 (0x1000ull * cd->line); octeon_irq_ciu2_wd_enable()
1624 (0x1000ull * cd->line); octeon_irq_ciu2_enable()
1639 (0x1000ull * cd->line); octeon_irq_ciu2_enable_local()
1655 (0x1000ull * cd->line); octeon_irq_ciu2_disable_local()
1670 en_addr = CVMX_CIU2_RAW_PPX_IP2_WRKQ(coreid) + (0x1000ull * cd->line); octeon_irq_ciu2_ack()
1686 octeon_coreid_for_cpu(cpu)) + (0x1000ull * cd->line); for_each_online_cpu()
1762 (0x1000ull * cd->line); for_each_online_cpu()
1766 (0x1000ull * cd->line); for_each_online_cpu()
1870 static bool octeon_irq_ciu2_is_edge(unsigned int line, unsigned int bit) octeon_irq_ciu2_is_edge() argument
1874 if (line == 3) /* MIO */ octeon_irq_ciu2_is_edge()
1884 else if (line == 6) /* PKT */ octeon_irq_ciu2_is_edge()
1899 unsigned int line = hw >> 6; octeon_irq_ciu2_map() local
1909 if (line == 7) octeon_irq_ciu2_map()
1912 if (line > 7 || octeon_irq_ciu_to_irq[line][bit] != 0) octeon_irq_ciu2_map()
1915 if (octeon_irq_ciu2_is_edge(line, bit)) octeon_irq_ciu2_map()
1916 octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu2_map()
1920 octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu2_map()
1935 int line; octeon_irq_ciu2() local
1946 line = fls64(sum) - 1; octeon_irq_ciu2()
1947 src_reg = CVMX_CIU2_SRC_PPX_IP2_WRKQ(core_id) + (0x1000 * line); octeon_irq_ciu2()
1954 irq = octeon_irq_ciu_to_irq[line][bit]; octeon_irq_ciu2()
1975 int line; octeon_irq_ciu2_mbox() local
1983 line = fls64(sum) - 1; octeon_irq_ciu2_mbox()
1985 do_IRQ(OCTEON_IRQ_MBOX0 + line); octeon_irq_ciu2_mbox()
89 octeon_irq_force_ciu_mapping(struct irq_domain *domain, int irq, int line, int bit) octeon_irq_force_ciu_mapping() argument
/linux-4.4.14/drivers/tty/
H A Dtty_ldisc.c38 * This guards the refcounted line discipline lists. The lock
48 * tty_register_ldisc - install a line discipline
52 * Installs a new line discipline into the kernel. The discipline
79 * tty_unregister_ldisc - unload a line discipline
83 * Remove a line discipline from the kernel providing it is not
142 * Takes a reference to a line discipline. Deals with refcounts and
249 * Dereference the line discipline for the terminal and take a
250 * reference to it. If the line discipline is in flux then
274 * Dereference the line discipline for the terminal and take a
275 * reference to it. If the line discipline is in flux then
394 * tty_ldisc_flush - flush line discipline queue
397 * Flush the line discipline queue (if any) and the tty flip buffers
414 * @num: line discipline number
431 * tty_ldisc_open - open a line discipline
458 * tty_ldisc_close - close a line discipline
480 * Restore the previous line discipline or N_TTY when a line discipline
511 * tty_set_ldisc - set line discipline
513 * @ldisc: the line discipline
515 * Set the discipline of a tty line. Must be called from a process
563 /* Now set up the new line discipline. */ tty_set_ldisc()
621 * @ldisc: line discipline to reinitialize
623 * Switch the tty to a line discipline and leave the ldisc
637 * Switch the line discipline back tty_ldisc_reinit()
685 * Shutdown the current line discipline, and reset it to tty_ldisc_hangup()
720 * tty_ldisc_setup - open line discipline
725 * line disciplines and bind them to the tty. This has no locking issues
763 * tty_ldisc_release - release line discipline
767 * down the line discpline layer. On exit, each ldisc assigned is N_TTY and
776 * Shutdown this line discipline. As this is the final close, tty_ldisc_release()
796 * Set up the line discipline objects for a newly allocated tty. Note that
823 /* Setup the default TTY line discipline. */ tty_ldisc_begin()
/linux-4.4.14/drivers/media/pci/mantis/
H A Dmantis_dma.c153 u32 line, step; mantis_risc_program() local
159 dprintk(MANTIS_DEBUG, 1, "risc len lines %u, bytes per line %u, bytes per DMA tr %u", mantis_risc_program()
162 for (line = 0; line < MANTIS_BLOCK_COUNT; line++) { mantis_risc_program()
164 dprintk(MANTIS_DEBUG, 1, "RISC PROG line=[%d], step=[%d]", line, step); mantis_risc_program()
168 RISC_STATUS(line) | mantis_risc_program()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dgpio.c86 .line = (info & 0x001f) >> 0, dcb_gpio_parse()
96 .line = (info & 0x0000001f) >> 0, dcb_gpio_parse()
106 .line = (info & 0x0000003f) >> 0, dcb_gpio_parse()
119 dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line, dcb_gpio_match() argument
126 if ((line == 0xff || line == gpio->line) && dcb_gpio_match()
139 .line = addr >> 4, dcb_gpio_match()
/linux-4.4.14/drivers/pcmcia/
H A Di82092aa.h8 #define enter(x) printk("Enter: %s, %s line %i\n",x,__FILE__,__LINE__)
9 #define leave(x) printk("Leave: %s, %s line %i\n",x,__FILE__,__LINE__)
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dgpio.h30 u8 line; member in struct:dcb_gpio_func
45 u16 dcb_gpio_match(struct nvkm_bios *, int idx, u8 func, u8 line,
/linux-4.4.14/lib/
H A Dbug.c10 CONFIG_DEBUG_BUGVERBOSE - emit full file+line information for each BUG
25 - NOTE: struct bug_entry does not have "file" or "line" entries
145 unsigned line, warning; report_bug() local
153 line = 0; report_bug()
163 line = bug->line; report_bug()
173 pr_warn("WARNING: at %s:%u\n", file, line); report_bug()
189 pr_crit("kernel BUG at %s:%u!\n", file, line); report_bug()
/linux-4.4.14/arch/sh/include/asm/
H A Dcache.h23 unsigned int linesz; /* Cache line size (bytes) */
25 unsigned int way_size; /* sets * line size */
/linux-4.4.14/arch/mn10300/unit-asb2305/
H A Dpci-irq.c30 u8 line, pin; pcibios_fixup_irqs() local
39 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); for_each_pci_dev()
/linux-4.4.14/arch/frv/mb93090-mb00/
H A Dpci-irq.c46 uint8_t line, pin; pcibios_fixup_irqs() local
54 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); for_each_pci_dev()
/linux-4.4.14/drivers/isdn/hysdn/
H A Dhysdn_procconf.c27 #define INFO_OUT_LEN 80 /* length of info line including lf */
42 unsigned char conf_line[CONF_LINE_LEN]; /* buffered conf line */
48 /* process_line parses one config line and transfers it to the card if */
59 hysdn_addlog(cnf->card, "conf line: %s", cp); process_line()
77 if (*cp == '*') { /* line to send */ process_line()
81 cnf->channel)); /* send the line without * */ process_line()
82 } /* line to send */ process_line()
91 /* write conf file -> boot or send cfg line to card */
166 /* search for end of line */ hysdn_conf_write()
168 break; /* end of line found */ hysdn_conf_write()
171 } /* search for end of line */ hysdn_conf_write()
183 if ((i = process_line(cnf)) < 0) /* handle the line */ hysdn_conf_write()
191 hysdn_addlog(cnf->card, "cnf line too long %d chars pos %d", cnf->buf_size, count); hysdn_conf_write()
200 hysdn_addlog(cnf->card, "cnf line too long"); hysdn_conf_write()
244 /* write only access -> write boot file or conf line */ hysdn_conf_open()
318 /* write only access -> write boot file or conf line */ hysdn_conf_close()
/linux-4.4.14/drivers/net/wireless/brcm80211/include/
H A Ddefs.h100 #define _PADLINE(line) pad ## line
101 #define _XSTR(line) _PADLINE(line)
/linux-4.4.14/fs/nfs/
H A Dnfsroot.c7 * option 17 and/or kernel command line options.
29 * Martin Mares : (2.2) "0.0.0.0" addresses from command line ignored.
39 * Gero Kuhlmann : "0.0.0.0" addresses from command line are
92 /* Parameters passed from the kernel command line */
109 * When the "nfsrootdebug" kernel command line option is specified,
123 * command line.
130 static int __init nfs_root_setup(char *line) nfs_root_setup() argument
134 if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) { nfs_root_setup()
135 strlcpy(nfs_root_parms, line, sizeof(nfs_root_parms)); nfs_root_setup()
137 size_t n = strlen(line) + sizeof(NFS_ROOT) - 1; nfs_root_setup()
139 line[sizeof(nfs_root_parms) - sizeof(NFS_ROOT) - 2] = '\0'; nfs_root_setup()
140 sprintf(nfs_root_parms, NFS_ROOT, line); nfs_root_setup()
211 * the kernel command line. This has to be done late in order to
/linux-4.4.14/sound/core/seq/
H A Dseq_lock.h20 void snd_use_lock_sync_helper(snd_use_lock_t *lock, const char *file, int line);
H A Dseq_lock.c29 void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) snd_use_lock_sync_helper() argument
34 pr_warn("ALSA: seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line); snd_use_lock_sync_helper()
39 pr_warn("ALSA: seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line); snd_use_lock_sync_helper()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dbug.h20 .macro EMIT_BUG_ENTRY addr,file,line,flags variable
23 .short \line, \flags
31 .macro EMIT_BUG_ENTRY addr,file,line,flags
120 .macro EMIT_BUG_ENTRY addr,file,line,flags
H A Dcache.h7 /* bytes per L1 cache line */
32 u32 dline_size; /* L1 d-cache line size */
36 u32 iline_size; /* L1 i-cache line size */
/linux-4.4.14/arch/mips/dec/prom/
H A Dcmdline.c2 * cmdline.c: read the command line passed to us by the PROM.
/linux-4.4.14/arch/mips/include/asm/mips-boards/
H A Dlaunch.h12 unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */
/linux-4.4.14/arch/sh/mm/
H A Dcache-debugfs.c68 unsigned int line; cache_seq_show() local
74 for (addr = addrstart, line = 0; cache_seq_show()
76 addr += cache->linesz, line++) { cache_seq_show()
85 line, data & 2 ? 'U' : ' ', cache_seq_show()
/linux-4.4.14/arch/ia64/include/asm/
H A Dcache.h10 /* Bytes per L1 (data) cache line. */
/linux-4.4.14/tools/power/cpupower/debug/x86_64/
H A DMakefile2 ifeq ("$(origin O)", "command line")
/linux-4.4.14/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c81 unsigned const char *line; mb86290fb_imageblit1() local
96 line = image->data; mb86290fb_imageblit1()
106 memcpy(&cmd[9 + i * step], line, step << 2); mb86290fb_imageblit1()
115 line += bytes; mb86290fb_imageblit1()
130 unsigned const char *line, *ptr; mb86290fb_imageblit8() local
139 line = ptr = image->data; mb86290fb_imageblit8()
143 ptr = line; mb86290fb_imageblit8()
154 line += bytes; mb86290fb_imageblit8()
169 unsigned const char *line; mb86290fb_imageblit16() local
173 line = image->data; mb86290fb_imageblit16()
182 memcpy(&cmd[3 + i * step], line, step); mb86290fb_imageblit16()
183 line += bytes; mb86290fb_imageblit16()
/linux-4.4.14/arch/cris/include/arch-v10/arch/
H A Dbug.h9 * It will cause a message with the file name and line number to be printed,
12 * the file name and line number is that we do not want to affect the registers
24 unsigned short line; member in struct:bug_frame
/linux-4.4.14/arch/mips/include/uapi/asm/
H A Dtermios.h36 char t_rprntc; /* reprint line */
58 char c_line; /* line discipline */
64 #define TIOCM_LE 0x001 /* line enable */
/linux-4.4.14/arch/ia64/lib/
H A Dclear_page.S16 # define L3_LINE_SIZE 64 // Itanium L3 line size
19 # define L3_LINE_SIZE 128 // McKinley L3 line size
50 mov ar.lc = r16 // one L3 line per iteration
H A Dcopy_page_mck.S20 * First, note that L1 has a line-size of 64 bytes and L2 a line-size of 128 bytes.
21 * To avoid secondary misses in L2, we prefetch both source and destination with a line-size
23 * source line is in L1, we start copying the remaining words. The second half of the
24 * source line is prefetched in an earlier iteration, so that by the time we start
30 * cache-lines, the last K stages are used to copy the cache-line words not copied by
32 * p[A] is TRUE if a source-line should be prefetched, p[B] is TRUE if a destination-line
33 * should be prefetched, p[C] is TRUE if the second half of an L2 line should be brought
52 * | n[y] | t9 | | (L2 cache line)
59 * to fetch the second-half of the L2 cache line into L1, and the tX words are copied in
/linux-4.4.14/arch/ia64/scripts/
H A Dunwcheck.py39 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])):
40 m = start_pattern.match(line)
51 m = rlen_pattern.match(line)
/linux-4.4.14/tools/perf/scripts/python/
H A Dnet_dropmonitor.py24 for line in f:
25 loc = int(line.split()[0], 16)
26 name = line.split()[2]
/linux-4.4.14/arch/tile/lib/
H A Dmemcpy_32.S140 * Prefetching multiple cache line copy handler (for large transfers).
144 /* Copy words until r1 is cache-line-aligned. */
155 * right before we copy a line.
168 * - r0 points to the start of dst line 0
169 * - r1 points to start of src line 0
171 * - r3 contains r1 + 128 + 60 [pointer to end of source line 2]
175 * - r5 contains *(r1 + 60) [i.e. last word of source line 0]
176 * - r6 contains *(r1 + 64 + 60) [i.e. last word of source line 1]
178 * [start of next dst cache line.]
185 /* Copy line 0, first stalling until r5 is ready. */
192 /* Copy line 1, first stalling until r6 is ready. */
199 /* Copy line 2, first stalling until r7 is ready. */
211 * - r0 points to the destination line.
212 * - r1 points to the source line.
234 * end of the last full destination cache line, in which
244 * to prefetch the last partial cache line (if any) just once, for the
246 * prefetch that line more than once, or subsequent prefetches
261 /* Fill second L1D line. */
264 /* Prepare destination line for writing. */
268 /* Load the three remaining words from the last L1D line, which
275 /* Load the three remaining words from the first L1D line, first
282 /* Load second word from the second L1D line, first
287 /* Store last word to the destination line, potentially dirtying it
296 /* Fill third L1D line. */
299 /* Store first L1D line. */
304 /* Store second L1D line. */
314 /* Store third L1D line. */
320 /* Store rest of fourth L1D line. */
399 /* Not a full cache line remains. */
414 /* Prefetch another line. */
/linux-4.4.14/drivers/usb/class/
H A Dcdc-acm.h38 * Input control lines and line errors.
56 * in line disciplines. They ask for empty space amount, receive our URB size,
105 struct usb_cdc_line_coding line; /* bits, stop, parity */ member in struct:acm
106 struct work_struct work; /* work queue entry for line discipline waking up */
109 struct async_icount iocount; /* counters for control line changes */
/linux-4.4.14/drivers/staging/lustre/lustre/include/linux/
H A Dobd.h66 int line; member in struct:__anon10498
70 const char *func, int line) __client_obd_list_lock()
79 lock->line = line; __client_obd_list_lock()
94 lock->func, lock->line, __client_obd_list_lock()
69 __client_obd_list_lock(client_obd_lock_t *lock, const char *func, int line) __client_obd_list_lock() argument
/linux-4.4.14/drivers/media/usb/pwc/
H A Dpwc-uncompress.c38 int n, line, col; pwc_decompress() local
78 for (line = 0; line < pdev->height; line++) { pwc_decompress()
82 if (line & 1) pwc_decompress()
/linux-4.4.14/arch/arm/mach-ixp4xx/
H A Dcommon.c111 static void gpio_line_config(u8 line, u32 direction) gpio_line_config() argument
114 *IXP4XX_GPIO_GPOER |= (1 << line); gpio_line_config()
116 *IXP4XX_GPIO_GPOER &= ~(1 << line); gpio_line_config()
119 static void gpio_line_get(u8 line, int *value) gpio_line_get() argument
121 *value = (*IXP4XX_GPIO_GPINR >> line) & 0x1; gpio_line_get()
124 static void gpio_line_set(u8 line, int value) gpio_line_set() argument
127 *IXP4XX_GPIO_GPOUTR |= (1 << line); gpio_line_set()
129 *IXP4XX_GPIO_GPOUTR &= ~(1 << line); gpio_line_set()
136 * (be it PCI or something else) configures that GPIO line
169 int line = irq2gpio[d->irq]; ixp4xx_set_irq_type() local
177 if (line < 0) ixp4xx_set_irq_type()
210 if (line >= 8) { /* pins 8-15 */ ixp4xx_set_irq_type()
211 line -= 8; ixp4xx_set_irq_type()
219 (line * IXP4XX_GPIO_STYLE_SIZE)); ixp4xx_set_irq_type()
221 *IXP4XX_GPIO_GPISR = (1 << line); ixp4xx_set_irq_type()
224 *int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE)); ixp4xx_set_irq_type()
226 /* Configure the line as an input */ ixp4xx_set_irq_type()
242 int line = (d->irq < 32) ? irq2gpio[d->irq] : -1; ixp4xx_irq_ack() local
244 if (line >= 0) ixp4xx_irq_ack()
245 *IXP4XX_GPIO_GPISR = (1 << line); ixp4xx_irq_ack()
/linux-4.4.14/sound/pci/hda/
H A Dhda_auto_parser.h54 INPUT_PIN_ATTR_INT, /* internal mic/line-in */
55 INPUT_PIN_ATTR_DOCK, /* docking mic/line-in */
56 INPUT_PIN_ATTR_NORMAL, /* mic/line-in jack */
57 INPUT_PIN_ATTR_REAR, /* mic/line-in jack in rear */
58 INPUT_PIN_ATTR_FRONT, /* mic/line-in jack in front */
/linux-4.4.14/drivers/media/pci/tw68/
H A Dtw68-risc.c36 * @bpl number of bytes per scan line
47 unsigned int line, todo, done; tw68_risc_field() local
63 for (line = 0; line < lines; line++) { tw68_risc_field()
82 todo = bpl; /* one full line to be done */ tw68_risc_field()
129 * first odd frame line
131 * first even frame line
132 * @bpl number of data bytes per scan line
133 * @padding number of extra bytes to add at end of line
155 * one write per scan line + syncs + 2 jumps (all 2 dwords). tw68_risc_buffer()
/linux-4.4.14/drivers/atm/
H A DuPD98402.h48 #define uPD98402_CMR_LFRF 0x02 /* Send line FERF */
50 #define uPD98402_CMR_LAIS 0x08 /* Send line AIS */
66 #define uPD98402_INT_ALM 0x02 /* line fault */
75 #define uPD98402_ALM_LFRF 0x02 /* line FERF */
77 #define uPD98402_ALM_LAIS 0x08 /* line AIS */
84 #define uPD98402_PFM_LFEB 0x02 /* line FEBE */
92 #define uPD98402_IACM_LFRF 0x02 /* don't generate line FERF */
/linux-4.4.14/arch/nios2/kernel/
H A Dcpuinfo.c61 "hardware system to have more than 4-byte line data " setup_cpuinfo()
90 cpuinfo.icache_line_size = fcpu(cpu, "icache-line-size"); setup_cpuinfo()
98 cpuinfo.dcache_line_size = fcpu(cpu, "dcache-line-size"); setup_cpuinfo()
100 pr_warn("Warning: dcache line size configuration mismatch " setup_cpuinfo()
102 "device tree dcache-line-size\n", setup_cpuinfo()
155 "Icache:\t\t%ukB, line length: %u\n", show_cpuinfo()
160 "Dcache:\t\t%ukB, line length: %u\n", show_cpuinfo()
/linux-4.4.14/tools/power/cpupower/bench/
H A Dparse.c161 char opt[16], val[32], *line = NULL; prepare_config() local
177 while (getline(&line, &len, configfile) != -1) { prepare_config()
178 if (line[0] == '#' || line[0] == ' ' || line[0] == '\n') prepare_config()
181 if (sscanf(line, "%14s = %30s", opt, val) < 2) prepare_config()
225 free(line); prepare_config()
/linux-4.4.14/arch/powerpc/kernel/
H A Dmisc_64.S77 * Different systems have different cache line sizes
78 * and in some cases i-cache and d-cache line sizes differ from
82 lwz r7,DCACHEL1LINESIZE(r10)/* Get cache line size */
84 andc r6,r3,r5 /* round low to line bdy */
87 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of cache line size */
88 srw. r8,r8,r9 /* compute line count */
98 lwz r7,ICACHEL1LINESIZE(r10) /* Get Icache line size */
100 andc r6,r3,r5 /* round low to line bdy */
103 lwz r9,ICACHEL1LOGLINESIZE(r10) /* Get log-2 of Icache line size */
104 srw. r8,r8,r9 /* compute line count */
125 * Different systems have different cache line sizes
128 lwz r7,DCACHEL1LINESIZE(r10) /* Get dcache line size */
130 andc r6,r3,r5 /* round low to line bdy */
133 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of dcache line size */
134 srw. r8,r8,r9 /* compute line count */
155 lwz r7,DCACHEL1LINESIZE(r10) /* Get dcache line size */
157 andc r6,r3,r5 /* round low to line bdy */
160 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of dcache line size */
161 srw. r8,r8,r9 /* compute line count */
183 lwz r7,DCACHEL1LINESIZE(r10) /* Get dcache line size */
185 andc r6,r3,r5 /* round low to line bdy */
188 lwz r9,DCACHEL1LOGLINESIZE(r10)/* Get log-2 of dcache line size */
189 srw. r8,r8,r9 /* compute line count */
213 * Different systems have different cache line sizes
225 lwz r5,DCACHEL1LINESIZE(r7) /* Get dcache line size */
236 lwz r5,ICACHEL1LINESIZE(r7) /* Get icache line size */
/linux-4.4.14/arch/nios2/mm/
H A Dtlb.c157 void dump_tlb_line(unsigned long line) dump_tlb_line() argument
162 pr_debug("dump tlb-entries for line=%#lx (addr %08lx)\n", line, dump_tlb_line()
163 line << (PAGE_SHIFT + cpuinfo.tlb_num_ways_log2)); dump_tlb_line()
168 WRCTL(CTL_PTEADDR, line << 2); dump_tlb_line()
208 unsigned int line; flush_tlb_pid() local
215 for (line = 0; line < cpuinfo.tlb_num_lines; line++) { flush_tlb_pid()
216 WRCTL(CTL_PTEADDR, line << 2); flush_tlb_pid()
/linux-4.4.14/arch/powerpc/boot/
H A Drs6000.h84 char s_lnnoptr[4]; /* file ptr to line numbers */
86 char s_nlnno[2]; /* number of line number entries*/
108 /* XCOFF handles line number or relocation overflow by creating
114 /* 1 line number entry for every "breakpointable" source line in a section.
122 char l_paddr[4]; /* (physical) address of line number */
124 char l_lnno[2]; /* line number */
167 char x_lnno[2]; /* declaration line number */
174 char x_lnnoptr[4]; /* ptr to fcn line # */
195 char x_nlinno[2]; /* # line numbers */
/linux-4.4.14/drivers/media/pci/zoran/
H A Dzoran_procfs.c142 char *line, *ldelim, *varname, *svar, *tdelim; zoran_write() local
164 line = strpbrk(sp, ldelim); zoran_write()
165 while (line) { zoran_write()
166 *line = 0; zoran_write()
174 sp = line + 1; zoran_write()
175 line = strpbrk(sp, ldelim); zoran_write()
/linux-4.4.14/arch/arm/mach-mmp/
H A Dpm-pxa910.c36 /* wakeup line 2 */ pxa910_set_wake()
41 /* wakeup line 3 */ pxa910_set_wake()
54 /* wakeup line 4 */ pxa910_set_wake()
83 /* wakeup line 5 */ pxa910_set_wake()
89 /* wakeup line 6 */ pxa910_set_wake()
96 /* wakeup line 7 */ pxa910_set_wake()
/linux-4.4.14/drivers/video/fbdev/core/
H A Dfb_cmdline.c29 * the boot parameter line
70 * video_setup - process command line options
73 * Process command line options for frame buffer subsystem.
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-l2c.h41 #define CVMX_L2C_IDX_ADDR_SHIFT 7 /* based on 128 byte cache line size */
247 * Locks a line in the L2 cache at the specified physical address
249 * @addr: physical address of line to lock
252 * 1 if line not locked.
275 * Unlock and flush a cache line from the L2 cache.
278 * Note that this function will flush a matching but unlocked cache line.
283 * Returns 0: line not unlocked
284 * 1: line unlocked
302 * Which association to read line from
305 * Returns l2c tag structure for line requested.
360 * Flush a line from the L2 cache
362 * sets the core to the 'debug' core in order to flush the line.
/linux-4.4.14/sound/pci/ca0106/
H A Dca0106_proc.c299 char line[64]; snd_ca0106_proc_reg_write32() local
301 while (!snd_info_get_line(buffer, line, sizeof(line))) { snd_ca0106_proc_reg_write32()
302 if (sscanf(line, "%x %x", &reg, &val) != 2) snd_ca0106_proc_reg_write32()
400 char line[64]; snd_ca0106_proc_reg_write() local
402 while (!snd_info_get_line(buffer, line, sizeof(line))) { snd_ca0106_proc_reg_write()
403 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) snd_ca0106_proc_reg_write()
414 char line[64]; snd_ca0106_proc_i2c_write() local
416 while (!snd_info_get_line(buffer, line, sizeof(line))) { snd_ca0106_proc_i2c_write()
417 if (sscanf(line, "%x %x", &reg, &val) != 2) snd_ca0106_proc_i2c_write()
/linux-4.4.14/drivers/usb/storage/
H A Dfreecom.c479 static char line[80]; pdump() local
489 offset += sprintf (line+offset, " - "); pdump()
492 line[offset++] = buffer[j]; pdump()
494 line[offset++] = '.'; pdump()
496 line[offset] = 0; pdump()
497 usb_stor_dbg(us, "%s\n", line); pdump()
500 offset += sprintf (line+offset, "%08x:", i); pdump()
502 offset += sprintf (line+offset, " -"); pdump()
504 offset += sprintf (line+offset, " %02x", buffer[i] & 0xff); pdump()
512 offset += sprintf (line+offset, " "); pdump()
514 offset += sprintf (line+offset, " "); pdump()
515 offset += sprintf (line+offset, " - "); pdump()
519 line[offset++] = buffer[base+i]; pdump()
521 line[offset++] = '.'; pdump()
523 line[offset] = 0; pdump()
524 usb_stor_dbg(us, "%s\n", line); pdump()
/linux-4.4.14/drivers/reset/
H A Dcore.c38 * of_reset_simple_xlate - translate reset_spec to the reset line number
40 * @reset_spec: reset line specifier as found in the device tree
103 * reset_control_assert - asserts the reset line
116 * reset_control_deassert - deasserts the reset line
130 * positive value if the reset line is asserted, or zero if the reset
131 * line is not asserted.
146 * @id: reset line name
210 * @id: reset line name
254 * @id: reset line name
/linux-4.4.14/drivers/media/common/
H A Dbtcx-risc.h26 void btcx_calc_skips(int line, int width, int *maxy,
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Dbtcx-risc.h24 void btcx_calc_skips(int line, int width, int *maxy,
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_nvm_defs.h59 #endif /* Don't add anything after this line */

Completed in 5649 milliseconds

1234567891011>>