/linux-4.1.27/tools/perf/util/ |
H A D | find-vdso-map.c | 4 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 D | srcline.c | 28 unsigned line; member in struct:a2l_data 103 &a2l->line); find_address_in_section() 151 char **file, unsigned int *line, struct dso *dso) addr2line() 173 *line = a2l->line; addr2line() 259 unsigned line = 0; get_srcline() local 277 if (!addr2line(dso_name, addr, &file, &line, dso)) get_srcline() 280 if (asprintf(&srcline, "%s:%u", basename(file), line) < 0) { get_srcline() 150 addr2line(const char *dso_name, u64 addr, char **file, unsigned int *line, struct dso *dso) addr2line() argument
|
H A D | probe-event.h | 48 int line; /* Line number */ member in struct:perf_probe_point 85 int start; /* Start line number */ 86 int end; /* End line number */ 87 int offset; /* Start line offset */ 115 /* Command string to line-range */ 118 /* Release line range members */ 121 /* Initialize line range */
|
H A D | trace-event-parse.c | 143 char *line; parse_proc_kallsyms() local 149 line = strtok_r(file, "\n", &next); parse_proc_kallsyms() 150 while (line) { parse_proc_kallsyms() 152 addr_str = strtok_r(line, " ", &fmt); parse_proc_kallsyms() 164 line = strtok_r(NULL, "\n", &next); parse_proc_kallsyms() 173 char *line; parse_ftrace_printk() local 178 line = strtok_r(file, "\n", &next); parse_ftrace_printk() 179 while (line) { parse_ftrace_printk() 180 addr_str = strtok_r(line, ":", &fmt); parse_ftrace_printk() 188 line = strtok_r(NULL, "\n", &next); parse_ftrace_printk()
|
/linux-4.1.27/tools/lib/symbol/ |
H A D | kallsyms.c | 9 char *line = NULL; kallsyms__parse() local 25 line_len = getline(&line, &n, file); kallsyms__parse() 26 if (line_len < 0 || !line) kallsyms__parse() 29 line[--line_len] = '\0'; /* \n */ kallsyms__parse() 31 len = hex2u64(line, &start); kallsyms__parse() 37 symbol_type = line[len]; kallsyms__parse() 39 symbol_name = line + len; kallsyms__parse() 52 free(line); kallsyms__parse()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | nv10.c | 29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) nv10_gpio_sense() argument 31 if (line < 2) { nv10_gpio_sense() 32 line = line * 16; nv10_gpio_sense() 33 line = nv_rd32(gpio, 0x600818) >> line; nv10_gpio_sense() 34 return !!(line & 0x0100); nv10_gpio_sense() 36 if (line < 10) { nv10_gpio_sense() 37 line = (line - 2) * 4; nv10_gpio_sense() 38 line = nv_rd32(gpio, 0x60081c) >> line; nv10_gpio_sense() 39 return !!(line & 0x04); nv10_gpio_sense() 41 if (line < 14) { nv10_gpio_sense() 42 line = (line - 10) * 4; nv10_gpio_sense() 43 line = nv_rd32(gpio, 0x600850) >> line; nv10_gpio_sense() 44 return !!(line & 0x04); nv10_gpio_sense() 51 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv10_gpio_drive() argument 55 if (line < 2) { nv10_gpio_drive() 56 line = line * 16; nv10_gpio_drive() 61 if (line < 10) { nv10_gpio_drive() 62 line = (line - 2) * 4; nv10_gpio_drive() 67 if (line < 14) { nv10_gpio_drive() 68 line = (line - 10) * 4; nv10_gpio_drive() 76 nv_mask(gpio, reg, mask << line, data << line); nv10_gpio_drive()
|
H A D | nv50.c | 37 u8 line = (data & 0x0000001f); nv50_gpio_reset() local 43 u32 reg = regs[line >> 4]; nv50_gpio_reset() 44 u32 lsh = line & 0x0f; nv50_gpio_reset() 50 gpio->set(gpio, 0, func, line, defs); nv50_gpio_reset() 57 nv50_gpio_location(int line, u32 *reg, u32 *shift) nv50_gpio_location() argument 61 if (line >= 32) nv50_gpio_location() 64 *reg = nv50_gpio_reg[line >> 3]; nv50_gpio_location() 65 *shift = (line & 7) << 2; nv50_gpio_location() 70 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv50_gpio_drive() argument 74 if (nv50_gpio_location(line, ®, &shift)) nv50_gpio_drive() 82 nv50_gpio_sense(struct nvkm_gpio *gpio, int line) nv50_gpio_sense() argument 86 if (nv50_gpio_location(line, ®, &shift)) nv50_gpio_sense()
|
H A D | gf110.c | 36 u8 line = (data & 0x0000003f); gf110_gpio_reset() local 46 gpio->set(gpio, 0, func, line, defs); gf110_gpio_reset() 48 nv_mask(gpio, 0x00d610 + (line * 4), 0xff, unk0); gf110_gpio_reset() 50 nv_mask(gpio, 0x00d740 + (unk1 * 4), 0xff, line); gf110_gpio_reset() 55 gf110_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) gf110_gpio_drive() argument 58 nv_mask(gpio, 0x00d610 + (line * 4), 0x00003000, data); gf110_gpio_drive() 64 gf110_gpio_sense(struct nvkm_gpio *gpio, int line) gf110_gpio_sense() argument 66 return !!(nv_rd32(gpio, 0x00d610 + (line * 4)) & 0x00004000); gf110_gpio_sense()
|
H A D | base.c | 30 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) nvkm_gpio_drive() argument 33 return impl->drive ? impl->drive(gpio, line, dir, out) : -ENODEV; nvkm_gpio_drive() 37 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) nvkm_gpio_sense() argument 40 return impl->sense ? impl->sense(gpio, line) : -ENODEV; nvkm_gpio_sense() 44 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, nvkm_gpio_find() argument 51 if (line == 0xff && tag == 0xff) nvkm_gpio_find() 54 data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); nvkm_gpio_find() 63 .line = 4, nvkm_gpio_find() 75 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) nvkm_gpio_set() argument 80 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); nvkm_gpio_set() 84 ret = nvkm_gpio_drive(gpio, idx, func.line, dir, out); nvkm_gpio_set() 91 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) nvkm_gpio_get() argument 96 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); nvkm_gpio_get() 98 ret = nvkm_gpio_sense(gpio, idx, func.line); nvkm_gpio_get() 130 notify->index = req->line; nvkm_gpio_intr_ctor()
|
H A D | priv.h | 45 int (*drive)(struct nvkm_gpio *, int line, int dir, int out); 47 /* sense current state of given gpio line */ 48 int (*sense)(struct nvkm_gpio *, int line);
|
/linux-4.1.27/arch/um/drivers/ |
H A D | chan.h | 13 #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 D | line.c | 21 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 D | ssl.h | 9 extern int ssl_read(int fd, int line); 10 extern void ssl_receive_char(int line, char ch);
|
H A D | chan_kern.c | 133 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 D | line.h | 34 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 D | xterm.c | 47 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 D | ssl.c | 27 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 D | pty.c | 78 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 D | stdio_console.c | 75 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.1.27/Documentation/arm/Samsung/ |
H A D | clksrc-change-registers.awk | 69 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.1.27/include/linux/regulator/ |
H A D | userspace-consumer.h | 7 * 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.1.27/arch/m32r/include/asm/ |
H A D | cache.h | 4 /* L1 cache line size */
|
/linux-4.1.27/drivers/zorro/ |
H A D | gen-devlist.c | 31 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.1.27/arch/um/kernel/ |
H A D | kmsg_dump.c | 10 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.1.27/arch/arm/mach-footbridge/ |
H A D | personal-pci.c | 24 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.1.27/scripts/ |
H A D | show_delta | 20 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 D | headers_check.pl | 10 # 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 D | markup_oops.pl | 51 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 D | decode_stacktrace.sh | 47 # Pass it to addr2line to get filename and line number 66 # In the case of inlines, move everything to same line 69 # Replace old address with pretty line numbers 110 # Add up the line number to the symbol 114 while read line; do 115 # Let's see if we have an address in the line 116 if [[ $line =~ \[\<([^]]+)\>\] ]]; then 117 # Translate address to line numbers 118 handle_line "$line" 119 # Is it a code line? 120 elif [[ $line == *Code:* ]]; then 121 decode_code "$line" 123 # Nothing special in this line, show it as is 124 echo "$line"
|
H A D | checkpatch.pl | 63 --no-signoff do not check for 'Signed-off-by' line 66 --terse one line per report 71 --max-line-length=n set the maximum line length, if exceeded, warn 84 If correctable single-line errors exist, create 111 my $line = $_; 113 $line =~ s/\s*\n?$//g; 114 $line =~ s/^\s*//g; 115 $line =~ s/\s+/ /g; 117 next if ($line =~ m/^\s*#/); 118 next if ($line =~ m/^\s*$/); 120 my @words = split(" ", $line); 143 'max-line-length=i' => \$max_line_length, 469 my $line = $_; 471 $line =~ s/\s*\n?$//g; 472 $line =~ s/^\s*//g; 474 next if ($line =~ m/^\s*#/); 475 next if ($line =~ m/^\s*$/); 477 my ($suspect, $fix) = split(/\|\|/, $line); 489 my $line = $_; 491 $line =~ s/\s*\n?$//g; 492 $line =~ s/^\s*//g; 494 next if ($line =~ m/^\s*#/); 495 next if ($line =~ m/^\s*$/); 496 next if ($line =~ m/, disabled/i); 498 $line =~ s/,.*$//; 500 my ($suspect, $fix) = split(/->/, $line); 609 foreach my $line (@lines) { 610 next if ($line !~ /(?:[A-Z][a-z]|[a-z][A-Z])/); 611 if ($line =~ /^[ \t]*(?:#[ \t]*define|typedef\s+$Type)\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)/) { 613 } elsif ($line =~ /^\s*$Declare\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)\s*[\(\[,;]/) { 615 } elsif ($line =~ /^\s*(?:union|struct|enum)\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)\s*[;\{]/) { 696 # while read line ; do 697 # git log --format='%H %s' -1 $line | 890 my ($line) = @_; 892 # Drop the diff line leader and expand tabs 893 $line =~ s/^.//; 894 $line = expand_tabs($line); 896 # Pick the indent from the front of the line. 897 my ($white) = ($line =~ /^(\s*)/); 899 return (length($line), length($white)); 914 my ($line) = @_; 924 $res = substr($line, 0, 1); 926 for ($off = 1; $off < length($line); $off++) { 927 $c = substr($line, $off, 1); 931 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '/*') { 938 if ($sanitise_quote eq '*/' && substr($line, $off, 2) eq '*/') { 944 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '//') { 1002 my ($line, $rawline) = @_; 1004 return "" if ($line !~ m/(\"[X\t]+\")/g); 1010 my $line = $linenr - 1; 1033 for (; $remain > 0; $line++) { 1034 last if (!defined $lines[$line]); 1035 next if ($lines[$line] =~ /^-/); 1038 $blk .= $lines[$line] . "\n"; 1040 $line++; 1123 # We are truly at the end, so shuffle to the next line. 1126 $line++; 1139 $line, $remain + 1, $off - $loff + 1, $level); 1145 # Strip the diff line prefixes and rip blank lines at start and end. 1216 my $line; 1225 for ($line = $start; $remain > 0; $line++) { 1226 next if ($rawlines[$line] =~ /^-/); 1229 $blk .= $rawlines[$line]; 1232 if ($lines[$line] =~ /^.\s*#\s*(?:ifndef|ifdef|if)\s/) { 1234 } elsif ($lines[$line] =~ /^.\s*#\s*(?:else|elif)\b/) { 1236 } elsif ($lines[$line] =~ /^.\s*#\s*endif\b/) { 1240 foreach my $c (split(//, $lines[$line])) { 1256 push(@res, $rawlines[$line]); 1296 # Catch a comment on the end of the line itself. 1305 my $line = $rawlines[$linenr - 1]; 1306 #warn " $line\n"; 1307 if ($linenr == $first_line and $line =~ m@^.\s*\*@) { 1310 if ($line =~ m@/\*@) { 1316 $current_comment .= $line . "\n" if ($in_comment); 1317 if ($line =~ m@\*/@) { 1341 my $line; 1343 $line = $rawlines[$offset++]; 1344 next if (defined($line) && $line =~ /^-/); 1348 return $line; 1581 my ($possible, $line) = @_; 1601 warn "CHECK<$possible> ($line)\n" if ($dbg_possible > 2); 1612 warn "MODIFIER: $modifier ($possible) ($line)\n" if ($dbg_possible); 1618 warn "POSSIBLE: $possible ($line)\n" if ($dbg_possible); 1623 warn "NOTPOSS: $possible ($line)\n" if ($dbg_possible > 1); 1644 my $line; 1646 $line = "$prefix$level:$type: $msg\n"; 1648 $line = "$prefix$level: $msg\n"; 1650 $line = (split('\n', $line))[0] . "\n" if ($terse); 1652 push(our @report, $line); 1692 my $line = $old_line; #don't modify the array 1693 if ($line =~ /^(?:\+\+\+|\-\-\-)\s+\S+/) { #new filename 1695 } elsif ($line =~ /^\@\@ -\d+,\d+ \+\d+,\d+ \@\@/) { #new hunk 1697 fixup_current_range(\$line, $delta_offset, 0); 1714 push(@lines, $line); 1725 my ($linenr, $line) = @_; 1729 LINE => $line, 1735 my ($linenr, $line) = @_; 1739 LINE => $line, 1852 my ($line) = @_; 1856 my $opens = $line =~ tr/\(/\(/; 1857 my $closes = $line =~ tr/\)/\)/; 1865 my $len = length($line); 1868 my $string = substr($line, $pos); 1871 } elsif (substr($line, $pos, 1) eq '(') { 1878 return length(expand_tabs(substr($line, 0, $last_openparen))) + 1; 1914 # Trace the real file/line as we go. 1943 my $line; 1946 $line = $rawline; 1989 # is the start of a diff block and this line starts 2003 $line = sanitise_line($rawline); 2005 push(@lines, $line); 2008 $realcnt-- if ($line =~ /^(?:\+| |$)/); 2014 #print "-->$line\n"; 2016 if ($setup_docs && $line =~ /^\+/) { 2017 push(@setup_docs, $line); 2026 foreach my $line (@lines) { 2029 my $sline = $line; #copy of $line 2034 #extract the line range in the file after the patch is applied 2035 if ($line=~/^\@\@ -\d+(?:,\d+)? \+(\d+)(,(\d+))? \@\@/) { 2053 # track the line number as we move through the hunk, note that 2056 } elsif ($line =~ /^( |\+|$)/) { 2060 # Measure the line length and indent. 2063 # Track the previous line. 2064 ($prevline, $stashline) = ($stashline, $line); 2068 #warn "line<$line>\n"; 2076 #make up the handle for any error we report on this line 2085 if ($line =~ /^diff --git.*?(\S+)$/) { 2090 } elsif ($line =~ /^\+\+\+\s+(\S+)/) { 2127 if ($line =~ /^new (file )?mode.*[7531]\d{0,2}$/) { 2137 if ($line =~ /^\s*signed-off-by:/i) { 2144 if ($line =~ /^\s*MAINTAINERS\s*\|/) { 2150 $line =~ /^(\s*)([a-z0-9_-]+by:|$signature_tags)(\s*)(.*)/i) { 2207 my $sig_nospace = $line; 2220 $line =~ /^Subject:.*\b(?:checkpatch|sparse|smatch)\b[^:]/i) { 2222 "A patch subject line should describe the change not the tool that found it\n" . $herecurr); 2226 if ($line =~ /^\s*cc:\s*.*<?\bstable\@kernel\.org\b>?.*$/i) { 2232 if ($in_commit_log && $line =~ /^\s*change-id:/i) { 2237 # Check for line lengths > 75 in commit log, warn once 2239 length($line) > 75) { 2241 "Possible unwrapped commit description (prefer a maximum 75 chars per line)\n" . $herecurr); 2246 if ($in_commit_log && $line =~ /\b(c)ommit\s+([0-9a-f]{5,})/i) { 2259 $short = 0 if ($line =~ /\bcommit\s+[0-9a-f]{12,40}/i); 2260 $long = 1 if ($line =~ /\bcommit\s+[0-9a-f]{41,}/i); 2261 $space = 0 if ($line =~ /\bcommit [0-9a-f]/i); 2262 $case = 0 if ($line =~ /\b[Cc]ommit\s+[0-9a-f]{5,40}[^A-F]/); 2263 if ($line =~ /\bcommit\s+[0-9a-f]{5,}\s+\("([^"]+)"\)/i) { 2266 } elsif ($line =~ /\bcommit\s+[0-9a-f]{5,}\s*$/i && 2271 } elsif ($line =~ /\bcommit\s+[0-9a-f]{5,}\s+\("[^"]+$/i && 2274 $line =~ /\bcommit\s+[0-9a-f]{5,}\s+\("([^"]+)$/i; 2286 "Please use git commit description style 'commit <12+ chars of sha1> (\"<title line>\")' - ie: '${init_char}ommit $id (\"$description\")'\n" . $herecurr); 2292 ($line =~ /^(?:new|deleted) file mode\s*\d+\s*$/ || 2293 $line =~ /^rename (?:from|to) [\w\/\.\-]+\s*$/ || 2294 ($line =~ /\{\s*([\w\/\.\-]*)\s*\=\>\s*([\w\/\.\-]*)\s*\}/ && 2302 if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) { 2304 "patch seems to be corrupt (line wrapped?)\n" . 2310 while ($line =~ m{(?:^|\s)(/\S*)}g) { 2323 if (($realfile =~ /^$/ || $line =~ /^\+/) && 2336 # (not a header line and we haven't seen the patch filename) 2360 ($in_commit_log || $line =~ /^(?:\+|Subject:)/i)) { 2377 next if (!$hunk_line || $line =~ /^-/); 2380 if ($line =~ /^\+.*\015/) { 2383 "DOS line endings\n" . $herevet) && 2413 $line =~ /^\+\s*config\s+/) { 2453 $line =~ /.\s*depends on\s+.*\bEXPERIMENTAL\b/) { 2460 $line =~ /^\+\s*\bboolean\b/) { 2466 ($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) { 2481 (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) || 2482 ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) { 2513 #line length limit 2514 if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ && 2516 !($line =~ /^\+\s*$logFunctions\s*\(\s*(?:(KERN_\S+\s*|[^"]*))?$String\s*(?:|,|\)\s*;)\s*$/ || 2517 $line =~ /^\+\s*$String\s*(?:\s*|,|\)\s*;)\s*$/ || 2518 $line =~ /^\+\s*#\s*define\s+\w+\s+$String$/) && 2522 "line over $max_line_length characters\n" . $herecurr); 2526 if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file/) { 2528 "adding a line without newline at end of file\n" . $herecurr); 2533 if ($line =~ /\.[lL][[:space:]]*=.*&[[:space:]]*0x[fF][fF][fF][fF]/) { 2534 my $herevet = "$here\n" . cat_vet($line) . "\n"; 2538 if ($line =~ /\.[hH][[:space:]]*=.*>>[[:space:]]*16/) { 2539 my $herevet = "$here\n" . cat_vet($line) . "\n"; 2548 # at the beginning of a line any tabs must come first and anything 2574 # check for && or || at the start of a line 2577 "Logical continuations should be on the previous line\n" . $hereprev); 2580 # check multi-line statement indentation matches previous line 2589 $line =~ /^(\+| )([ \t]*)/; 2602 $fix && $line =~ /^\+/) { 2617 if ($line =~ /^\+(.*)\(\s*$Type\s*\)([ \t]++)((?![={]|\\$|$Attribute|__attribute__))/ && 2632 "networking block comments don't use an empty /* line, use /* Comment...\n" . $hereprev); 2638 $rawline =~ /^\+/ && #line is new 2650 "networking block comments put the trailing */ on a separate line\n" . $herecurr); 2656 $line =~ /^\+/ && 2657 !($line =~ /^\+\s*$/ || 2658 $line =~ /^\+\s*EXPORT_SYMBOL/ || 2659 $line =~ /^\+\s*MODULE_/i || 2660 $line =~ /^\+\s*\#\s*(?:end|elif|else)/ || 2661 $line =~ /^\+[a-z_]*init/ || 2662 $line =~ /^\+\s*(?:static\s+)?[A-Z_]*ATTR/ || 2663 $line =~ /^\+\s*DECLARE/ || 2664 $line =~ /^\+\s*__setup/)) { 2666 "Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) && 2674 $line =~ /^\+\s*$/ && 2699 # not starting a section or a macro "\" extended line 2717 # indentation of previous and current line are the same 2720 "Missing a blank line after declarations\n" . $hereprev) && 2726 # check for spaces at the beginning of a line. 2731 if ($rawline =~ /^\+ / && $line !~ /^\+ *(?:$;|#|$Ident:)/) { 2734 "please, no spaces at the start of a line\n" . $herevet) && 2743 # check indentation of any line with a bare else 2744 # (but not if it is a multiple line "if (foo) return bar; else return baz;") 2745 # if the previous line is a break or return and is indented 1 tab more... 2757 # check indentation of a line with a break; 2758 # if the previous line is a goto or return and is indented the same # of tabs 2768 if ($line =~ /^\+\s*\#\s*if.*\bCONFIG_EXPERIMENTAL\b/) { 2780 if ($line =~ /__builtin_bfin_csync/) { 2781 my $herevet = "$here\n" . cat_vet($line) . "\n"; 2785 if ($line =~ /__builtin_bfin_ssync/) { 2786 my $herevet = "$here\n" . cat_vet($line) . "\n"; 2792 if ($line =~ /\b(__dev(init|exit)(data|const|))\b/) { 2800 #print "LINE<$line>\n"; 2818 # Find the real next line. 2879 if ($line=~/\bswitch\s*\(.*\)/) { 2900 # if/while/etc brace do not go on next line, unless defining a do while loop, 2901 # or if that brace on the next line is for something else 2902 if ($line =~ /(.*)\b((?:if|while|for|switch|(?:[a-z_]+|)for_each[a-z_]+)\s*\(|do\b|else\b)/ && $line !~ /^.\s*\#/) { 2907 if ($line =~ /^\+\t{6,}/) { 2927 #print "pre<$pre_ctx>\nline<$line>\nctx<$ctx>\nnext<$lines[$ctx_ln - 1]>\n"; 2931 "that open brace { should be on the previous line\n" . 2948 if ($line =~ /\b(?:(?:if|while|for|(?:[a-z_]+|)for_each[a-z_]+)\s*\(|do\b)/ && $line !~ /^.\s*#/ && $line !~ /\}\s*while\s*/) { 2956 # Make sure we remove the line prefixes as we have 2957 # none on the first line, and are going to readd them 2965 # We want to check the first line inside the block 2967 # 1) any blank line termination 2968 # 2) any opening brace { on end of the line 3028 #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"; 3038 my $opline = $line; $opline =~ s/^./ /; 3051 next if ($line =~ /^[^\+]/); 3055 if ($line =~ /^.\s*$Declare\s*$/) { 3058 } elsif ($dbg_type > 1 && $line =~ /^.+($Declare)/) { 3066 if ($line =~ /^.\s*$Modifier\s*$/) { 3069 } elsif ($dbg_attr > 1 && $line =~ /^.+($Modifier)/) { 3076 # check for initialisation to aggregates open brace on the next line 3077 if ($line =~ /^.\s*{/ && 3080 "that open brace { should be on the previous line\n" . $hereprev) && 3081 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) { 3087 $fixedline = $line; 3094 # Checks which are anchored on the added line. 3097 # check for malformed paths in #include statements (uses RAW line) 3111 if ($line =~ m{//}) { 3115 my $line = $fixed[$fixlinenr]; 3116 if ($line =~ /\/\/(.*)$/) { 3123 $line =~ s@//.*@@; 3160 ($line =~ /EXPORT_SYMBOL.*\((.*)\)/ || 3161 $line =~ /EXPORT_UNUSED_SYMBOL.*\((.*)\)/)) { 3172 if ($line =~ /^\+$Type\s*$Ident(?:\s+$Modifier)*\s*=\s*(?:0|NULL|false)\s*;/) { 3181 if ($line =~ /^\+.*\bstatic\s.*=\s*(0|NULL|false)\s*;/) { 3198 if ($line =~ /\bstatic\s+const\s+char\s*\*\s*(\w+)\s*\[\s*\]\s*=\s*/) { 3205 if ($line =~ /\bstatic\s+char\s+(\w+)\s*\[\s*\]\s*=\s*"/) { 3224 if ($line =~ /^.\s+(?:static\s+|const\s+)?char\s+\*\s*\w+\s*\[\s*\]\s*=\s*\{/) { 3231 if ($line =~ m@\bsizeof\s*\(\s*($Lval)\s*\)@) { 3233 if ($line =~ m@\b(sizeof\s*\(\s*\Q$array\E\s*\)\s*/\s*sizeof\s*\(\s*\Q$array\E\s*\[\s*0\s*\]\s*\))@) { 3244 if ($line =~ /(\b$Type\s+$Ident)\s*\(\s*\)/) { 3253 if ($line =~ /\bDEFINE_PCI_DEVICE_TABLE\s*\(\s*(\w+)\s*\)\s*=/) { 3263 if ($line =~ /\btypedef\s/ && 3264 $line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ && 3265 $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ && 3266 $line !~ /\b$typeTypedefs\b/ && 3267 $line !~ /\b$typeOtherOSTypedefs\b/ && 3268 $line !~ /\b__bitwise(?:__|)\b/) { 3275 while ($line =~ m{(\($NonptrType(\s*(?:$Modifier\b\s*|\*\s*)+)\))}g) { 3300 while ($line =~ m{(\b$NonptrType(\s*(?:$Modifier\b\s*|\*\s*)+)($Ident))}g) { 3330 # if ($line =~ /\b(BUG|BUG_ON)\b/) { 3336 if ($line =~ /\bLINUX_VERSION_CODE\b/) { 3342 if ($line =~ /\bprintk_ratelimit\s*\(/) { 3348 # same line do not need a level, so we use the current block context 3352 if ($line =~ /\bprintk\((?!KERN_)\s*"/) { 3371 if ($line =~ /\bprintk\s*\(\s*KERN_([A-Z]+)/) { 3381 if ($line =~ /\bpr_warning\s*\(/) { 3390 if ($line =~ /\bdev_printk\s*\(\s*KERN_([A-Z]+)/) { 3402 if ($line =~ /\bENOSYS\b/) { 3407 # function brace can't be on same line, except for #defines of do while, 3408 # or if closed on same line 3409 if (($line=~/$Type\s*$Ident\(.*\).*\s*{/) and 3410 !($line=~/\#\s*define.*do\s{/) and !($line=~/}/)) { 3412 "open brace '{' following function declarations go on the next line\n" . $herecurr) && 3427 # open braces for enum, union and struct go on the same line. 3428 if ($line =~ /^.\s*{/ && 3431 "open brace '{' following $1 go on the same line\n" . $hereprev) && 3432 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) { 3446 if ($line =~ /^.\s*(?:typedef\s+)?(enum|union|struct)(?:\s+$Ident){1,2}[=\{]/) { 3458 if ($line =~ /^.\s*($Declare)\((\s*)\*(\s*)($Ident)(\s*)\)(\s*)\(/) { 3527 # 2. at the beginning of a line for slice initialisers -- [0...10] = 5, 3529 while ($line =~ /(.*?\s)\[/g) { 3544 while ($line =~ /($Ident)\s+\(/g) { 3546 my $ctx_before = substr($line, 0, $-[1]); 3579 if (!($line=~/\#\s*include/)) { 3668 # ; should have either the end of line or a space or \ after it 3890 if ($line =~ /^\+.*\S\s+;\s*$/) { 3900 if ($line =~ /^.\s*$Lval\s*=\s*$Lval\s*=(?!=)/) { 3907 ## if ($line =~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Ident.*/ && 3908 ## $line !~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Type\s*$Ident.*/) { 3912 ## my $ln = $line; 3922 if (($line =~ /\(.*\){/ && $line !~ /\($Type\){/) || 3923 $line =~ /do{/) { 3932 ## if ($line =~ /^.\t+$Type\s+$Ident(?:\s*=.*)?;/ && 3940 # on the line 3941 if ($line =~ /}(?!(?:,|;|\)))\S/) { 3951 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) { 3959 if ($line =~ /\s\]/) { 3969 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ && 3970 $line !~ /for\s*\(\s+;/) { 3978 if ($line =~ /(\s+)\)/ && $line !~ /^.\s*\)/ && 3979 $line !~ /for\s*\(.*;\s+\)/ && 3980 $line !~ /:\s+\)/) { 3992 while ($line =~ /(?:[^&]&\s*|\*)\(\s*($Ident\s*(?:$Member\s*)+)\s*\)/g) { 4004 if ($line =~ /(\bif\s*|)(\(\s*$Ident\s*(?:$Member\s*)+\))[ \t]*\(/ && $1 !~ /^if/) { 4016 if ($line=~/^.\s+[A-Za-z\d_]+:(?![0-9]+)/ and 4017 !($line=~/^. [A-Za-z\d_]+:/) and !($line=~/^.\s+default:/)) { 4044 # at end-of-function, with the previous line a single leading tab, then return; 4045 # and the line before that not a goto label target like "out:" 4057 $line =~ /\bif\s*((?:\(\s*){2,})/) { 4061 if ($line =~ /\bif\s*(?:\(\s*){$count,$count}$LvalOrFunc\s*($Compare)\s*$LvalOrFunc(?:\s*\)){$count,$count}/) { 4079 if ($line =~ /\b(if|while|for|switch)\(/) { 4090 if ($line =~ /do\s*(?!{)/) { 4113 $line =~ /\b(?:if|while|for)\s*\(/ && $line !~ /^.\s*#/) { 4121 # Find out what is on the end of the line after the 4141 "trailing statements should be on next line\n" . $herecurr . $stat_real); 4146 if ($line =~ / 4162 if ($line =~ /^.\s*(?:}\s*)?else\b(.*)/) { 4167 "trailing statements should be on next line\n" . $herecurr); 4171 if ($line =~ /}\s*if\b/) { 4173 "trailing statements should be on next line (or did you mean 'else if'?)\n" . 4177 if ($line =~ /^.\s*(?:case\s*.*|default\s*):/g && 4178 $line !~ /\G(?: 4184 "trailing statements should be on next line\n" . $herecurr); 4189 if ($prevline=~/}\s*$/ and $line=~/^.\s*else\s*/ && 4193 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) { 4207 if ($prevline=~/}\s*$/ and $line=~/^.\s*while\s*/ && 4211 # Find out what is on the end of the line after the 4219 $fix && $prevline =~ /^\+/ && $line =~ /^\+/) { 4233 while ($line =~ m{($Constant|$Lval)}g) { 4276 if ($line =~ /\#\s*define.*\\\s+$/) { 4285 # itself <asm/foo.h> (uses RAW line) 4310 $line =~ /^.\s*\#\s*define\s*$Ident(\()?/) { 4403 # check for line continuations outside of #defines, preprocessor #, and asm 4407 $line !~ /^\+\s*\#.*\\$/ && # preprocessor 4408 $line !~ /^\+.*\b(__asm__|asm)\b.*\\$/ && # asm 4409 $line =~ /^\+.*\\$/) { 4411 "Avoid unnecessary line continuations\n" . $herecurr); 4420 $line =~ /^.\s*\#\s*define\s+$Ident(\()?/) { 4472 if ($realfile eq 'vmlinux.lds.h' && $line =~ /(?:(?:^|\s)$Ident\s*=|=\s*$Ident(?:\s|$))/) { 4478 if ($line =~ /(^.*)\bif\b/ && $1 !~ /else\s*$/) { 4499 # We have looked at and allowed this specific line. 4541 $line =~ /\b(if|while|for|else)\b/) { 4545 if (substr($line, 0, $-[0]) =~ /(\}\s*)$/) { 4596 if (($line =~ /^.\s*}\s*$/ && $prevrawline =~ /^.\s*$/)) { 4613 if ($line =~ /\bvolatile\b/ && $line !~ /$asm_volatile/) { 4622 if ($line =~ /^\+\s*"[X\t]*"/ && 4630 my $extracted_string = get_quoted_string($line, $rawline); 4668 if ($line =~ /"X+"[A-Z_]+/ || $line =~ /[A-Z_]+"X+"/) { 4674 if ($line =~ /"X*"\s*"/) { 4681 while ($line =~ /(?:^|")([X\t]*)(?:"|$)/g) { 4691 # check for line continuations in quoted strings with odd counts of " 4694 "Avoid line continuations in quoted strings\n" . $herecurr); 4698 if ($line =~ /^.\s*\#\s*if\s+0\b/) { 4707 if ($line =~ /\b(kfree|usb_free_urb|debugfs_remove(?:_recursive)?)$expr/) { 4714 if ($line =~ /^\+.*\b$logFunctions\s*\(/ && 4722 # print("line: <$line>\nprevline: <$prevline>\ns: <$s>\nc: <$c>\n\n\n"); 4731 if ($line !~ /printk(?:_ratelimited|_once)?\s*\(/ && 4732 $line =~ /\b$logFunctions\s*\(.*\b(KERN_[A-Z]+)\b/) { 4743 $line =~ /$LvalOrFunc\s*\&\s*($LvalOrFunc)\s*>>/ && 4751 while ($line =~ /\b$LvalOrFunc\s*(==|\!=)\s*NULL\b/g) { 4764 if ($line =~ /(\b$InitAttribute\b)/) { 4766 if ($line =~ /^\+\s*static\s+(?:const\s+)?(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Ident(?:\[[^]]*\])?)\s*[=;]/) { 4782 if ($line =~ /\bconst\b/ && $line =~ /($InitAttributeData)/) { 4796 if ($line !~ /\bconst\b/ && $line =~ /($InitAttributeConst)/) { 4811 if ($line =~ /\b__read_mostly\b/ && 4812 $line =~ /($Type)\s*$Ident/ && $1 !~ /\*\s*$/ && $1 =~ /\bconst\b/) { 4822 $line =~ /(__constant_(?:htons|ntohs|[bl]e(?:16|32|64)_to_cpu|cpu_to_[bl]e(?:16|32|64)))\s*\(/) { 4834 if ($line =~ /\budelay\s*\(\s*(\d+)\s*\)/) { 4848 if ($line =~ /\bmsleep\s*\((\d+)\);/) { 4856 if ($line =~ /\bjiffies\s*$Compare|$Compare\s*jiffies\b/) { 4862 if ($line =~ /\bget_jiffies_64\s*\(\s*\)\s*$Compare|$Compare\s*get_jiffies_64\s*\(\s*\)/) { 4868 # if ($line =~ /^.\s*\#\s*if(|n)def/ && ($realfile =~ /\.c$/)) { 4875 if ($line =~ /^.\s*\#\s*(ifdef|ifndef|elif)\s\s+/) { 4886 if ($line =~ /^.\s*(struct\s+mutex|spinlock_t)\s+\S+;/ || 4887 $line =~ /^.\s*(DEFINE_MUTEX)\s*\(/) { 4895 if ($line =~ /\b(mb|rmb|wmb|read_barrier_depends|smp_mb|smp_rmb|smp_wmb|smp_read_barrier_depends)\(/) { 4902 if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@include/asm-@) { 4908 if ($line =~ /\b$Storage\b/ && $line !~ /^.\s*$Storage\b/) { 4915 if ($line =~ /\b$Type\s+$Inline\b/ || 4916 $line =~ /\b$Inline\s+$Storage\b/) { 4923 $line =~ /\b(__inline__|__inline)\b/) { 4934 $line =~ /\b__attribute__\s*\(\s*\(.*\bpacked\b/) { 4941 $line =~ /\b__attribute__\s*\(\s*\(.*aligned/) { 4948 $line =~ /\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf/) { 4959 $line =~ /\b__attribute__\s*\(\s*\(\s*format\s*\(\s*scanf\b/) { 4969 $line =~ /(?:$Declare|$DeclareMisordered)\s*$Ident\s*$balanced_parens\s*(?:$Attribute)?\s*;/ && 4970 ($line =~ /\b__attribute__\s*\(\s*\(.*\bweak\b/ || 4971 $line =~ /\b__weak\b/)) { 4977 if ($line =~ /\bsizeof\s*\(\s*\&/) { 4983 if ($line =~ /\bsizeof\s+((?:\*\s*|)$Lval|$Type(?:\s+$Lval|))/) { 4992 if ($line =~ /^.\s*\bstruct\s+spinlock\s+\w+\s*;/) { 4999 my $fmt = get_quoted_string($line, $rawline); 5030 $line =~ /^\+(?:.*?)\bmemcpy\s*\(\s*$FuncArg\s*,\s*$FuncArg\s*\,\s*ETH_ALEN\s*\)/s) { 5081 $line =~ /\bsscanf\b/ && 5098 $line =~ /\bsscanf\b/) { 5118 $line =~ /^\+\s*(extern\s+)$Type\s*$Ident\s*\(/s) { 5167 if ($line =~ /\*\s*\)\s*[kv][czm]alloc(_node){0,1}\b/) { 5175 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*([kv][mz]alloc(?:_node)?)\s*\(\s*(sizeof\s*\(\s*struct\s+$Lval\s*\))/) { 5182 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)\s*,/) { 5207 $line =~ /\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*krealloc\s*\(\s*\1\s*,/) { 5213 if ($line =~ /\b(kcalloc|kmalloc_array)\s*\(\s*sizeof\b/) { 5219 if ($line =~ /;\s*;\s*$/) { 5228 if ($line =~ /#\s*define\s+\w+\s+\(?\s*1\s*([ulUL]*)\s*\<\<\s*(?:\d+|$Ident)\s*\)?/) { 5239 if ($line =~ /^.\s*(?:case\s+(?:$Ident|$Constant)\s*|default):/) { 5278 if ($line =~ /\b__FUNCTION__\b/) { 5287 while ($line =~ /\b(__(?:DATE|TIME|TIMESTAMP)__)\b/g) { 5293 if ($line =~ /\byield\s*\(\s*\)/) { 5299 if ($line =~ /\+\s*(.*?)\b(true|false|$Lval)\s*(==|\!=)\s*(true|false|$Lval)\b(.*)$/i) { 5326 if ($line =~ /^.\s*sema_init.+,\W?0\W?\)/) { 5332 if ($line =~ /\b((simple|strict)_(strto(l|ll|ul|ull)))\s*\(/) { 5338 if ($line =~ /^.\s*__initcall\s*\(/) { 5384 if ($line !~ /\bconst\b/ && 5385 $line =~ /\bstruct\s+($const_structs)\b/) { 5393 if ($line =~ /\bNR_CPUS\b/ && 5394 $line !~ /^.\s*\s*#\s*if\b.*\bNR_CPUS\b/ && 5395 $line !~ /^.\s*\s*#\s*define\b.*\bNR_CPUS\b/ && 5396 $line !~ /^.\s*$Declare\s.*\[[^\]]*NR_CPUS[^\]]*\]/ && 5397 $line !~ /\[[^\]]*\.\.\.[^\]]*NR_CPUS[^\]]*\]/ && 5398 $line !~ /\[[^\]]*NR_CPUS[^\]]*\.\.\.[^\]]*\]/) 5405 if ($line =~ /\+\s*#\s*define\s+((?:__)?ARCH_(?:HAS|HAVE)\w*)\b/) { 5412 $line =~ /\b((?:un)?likely)\s*\(\s*$FuncArg\s*\)\s*$Compare/) { 5418 if ($line =~ /\bin_atomic\s*\(/) { 5429 if ($line =~ /^.\s*lockdep_set_novalidate_class\s*\(/ || 5430 $line =~ /__lockdep_no_validate__\s*\)/ ) { 5439 if ($line =~ /debugfs_create_\w+.*\b$mode_perms_world_writable\b/ || 5440 $line =~ /DEVICE_ATTR.*\b$mode_perms_world_writable\b/) { 5448 $line =~ /$mode_perms_search/) { 5459 if ($line =~ /$test/) { 5501 "Missing Signed-off-by: line(s)\n");
|
H A D | cleanfile | 137 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 D | checkkconfigsymbols.py | 151 for line in stdout: 152 if re.findall(r"[URMADC]{1}", line[:2]): 214 for line in lines: 215 if not "CONFIG_" in line: 217 features = REGEX_SOURCE_FEATURE.findall(line) 226 def get_features_in_line(line): 227 """Return mentioned Kconfig features in @line.""" 228 return REGEX_FEATURE.findall(line) 240 line = lines[i] 241 line = line.strip('\n') 242 line = line.split("#")[0] # ignore comments 244 if REGEX_KCONFIG_DEF.match(line): 245 feature_def = REGEX_KCONFIG_DEF.findall(line) 248 elif REGEX_KCONFIG_HELP.match(line): 253 elif REGEX_KCONFIG_STMT.match(line): 254 features = get_features_in_line(line) 255 # multi-line statements 256 while line.endswith("\\"): 258 line = lines[i] 259 line = line.strip('\n') 260 features.extend(get_features_in_line(line))
|
H A D | docproc.c | 61 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 D | cleanpatch | 138 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 D | diffconfig | 21 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 D | get_maintainer.pl | 170 my $line = $_; 172 $line =~ s/\s*\n?$//g; 173 $line =~ s/^\s*//g; 174 $line =~ s/\s+/ /g; 176 next if ($line =~ m/^\s*#/); 177 next if ($line =~ m/^\s*$/); 179 my @words = split(" ", $line); 240 # We're talking to a terminal, but have no command line arguments. 284 my $line = $_; 286 if ($line =~ m/^(\C):\s*(.*)/) { 304 $line =~ s/\n$//g; 305 push(@typevalue, $line); 389 ## use the filenames on the command line or find the filenames in the patchfiles 417 foreach my $line (keys %keyword_hash) { 418 if ($text =~ m/$keyword_hash{$line}/x) { 419 push(@keyword_tvi, $line); 456 foreach my $line (keys %keyword_hash) { 457 if ($patch_line =~ m/${patch_prefix}$keyword_hash{$line}/x) { 458 push(@keyword_tvi, $line); 520 my $line = $typevalue[$i]; 521 if ($line =~ m/^(\C):\s*(.*)/) { 538 my $line = $typevalue[$i]; 539 if ($line =~ m/^(\C):\s*(.*)/) { 587 my $line = $typevalue[$i]; 588 if ($line =~ m/^(\C):\s*(.*)/) { 602 my $line = $typevalue[$i]; 603 if ($line =~ m/^(\C):\s*(.*)/) { 633 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) { 634 add_categories($line); 637 my $start = find_starting_index($line); 638 my $end = find_ending_index($line); 640 my $line = $typevalue[$i]; 641 if ($line =~ /^[FX]:/) { ##Restore file patterns 642 $line =~ s/([^\\])\.([^\*])/$1\?$2/g; 643 $line =~ s/([^\\])\.$/$1\?/g; ##Convert . back to ? 644 $line =~ s/\\\./\./g; ##Convert \. to . 645 $line =~ s/\.\*/\*/g; ##Convert .* to * 647 $line =~ s/^([A-Z]):/$1:\t/g; 648 print("$line\n"); 657 foreach my $line (@keyword_tvi) { 658 add_categories($line); 770 --separator [, ] => separator for multiple entries on 1 line 772 --multiline => print 1 entry per line 803 contain a thousand lines, 5 trivial commits may modify a single line. 812 Entries in this file can be any command line argument. 813 This file is prepended to any additional command line arguments. 1109 my ($line, $role) = @_; 1111 my ($name, $address) = parse_email($line); 1148 my ($line, $role) = @_; 1150 my ($name, $address) = parse_email($line); 1204 my ($line) = @_; 1206 my ($name, $address) = parse_email($line); 1234 foreach my $line (@addresses) { 1235 push(@mapped_emails, mailmap_email($line)); 1348 foreach my $line (@lines) { 1349 if ($line =~ m/$VCS_cmds{"author_pattern"}/) { 1370 foreach my $line (@lines) { 1371 if ($line =~ m/$VCS_cmds{"blame_commit_pattern"}/) { 1697 history of files in the patch. Also, each line of the current file can 1780 foreach my $line (@lines) { 1781 if ($line =~ m/$VCS_cmds{"author_pattern"}/) { 1786 push(@commits, $1) if ($line =~ m/$VCS_cmds{"commit_pattern"}/); 1787 push(@subjects, $1) if ($line =~ m/$VCS_cmds{"subject_pattern"}/); 1812 foreach my $line (@lines) { 1813 $commit = $1 if ($line =~ m/$VCS_cmds{"commit_pattern"}/); 1814 $subject = $1 if ($line =~ m/$VCS_cmds{"subject_pattern"}/); 1815 if ($line =~ /^[ \t]*${signature_pattern}.*\@.*$/) { 1816 my @signatures = ($line); 1866 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) { 1867 my $sign_offs = $hash{$line}; 1875 push_email_address($line, ''); 1878 add_role($line, "$role:$sign_offs/$divisor=$fmt_percent%"); 1880 add_role($line, $role); 2040 foreach my $line (@lines) { 2041 if ($line =~ m/$VCS_cmds{"author_pattern"}/) { 2170 foreach my $line (@parms) { 2171 print("${line}\n");
|
H A D | bootgraph.pl | 34 # "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
|
/linux-4.1.27/drivers/staging/rts5208/ |
H A D | trace.c | 9 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.1.27/drivers/fmc/ |
H A D | fmc-dump.c | 24 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.1.27/Documentation/trace/ |
H A D | function-graph-fold.vim | 4 " -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.1.27/drivers/misc/ti-st/ |
H A D | Makefile | 2 # Makefile for TI's shared transport line discipline
|
/linux-4.1.27/arch/um/include/asm/ |
H A D | setup.h | 5 * command line, so this choice is ok.
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | cache.h | 7 /* bytes per L1 cache line */
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | time.c | 32 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 D | os-area.c | 324 int line) _dump_header() 329 pr_debug("%s:%d: h.magic_num: '%s'\n", func, line, _dump_header() 331 pr_debug("%s:%d: h.hdr_version: %u\n", func, line, _dump_header() 333 pr_debug("%s:%d: h.db_area_offset: %u\n", func, line, _dump_header() 335 pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line, _dump_header() 337 pr_debug("%s:%d: h.ldr_format: %u\n", func, line, _dump_header() 339 pr_debug("%s:%d: h.ldr_size: %xh\n", func, line, _dump_header() 345 int line) _dump_params() 347 pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag); _dump_params() 348 pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params); _dump_params() 349 pr_debug("%s:%d: p.rtc_diff %lld\n", func, line, p->rtc_diff); _dump_params() 350 pr_debug("%s:%d: p.av_multi_out %u\n", func, line, p->av_multi_out); _dump_params() 351 pr_debug("%s:%d: p.ctrl_button: %u\n", func, line, p->ctrl_button); _dump_params() 352 pr_debug("%s:%d: p.static_ip_addr: %u.%u.%u.%u\n", func, line, _dump_params() 355 pr_debug("%s:%d: p.network_mask: %u.%u.%u.%u\n", func, line, _dump_params() 358 pr_debug("%s:%d: p.default_gateway: %u.%u.%u.%u\n", func, line, _dump_params() 361 pr_debug("%s:%d: p.dns_primary: %u.%u.%u.%u\n", func, line, _dump_params() 364 pr_debug("%s:%d: p.dns_secondary: %u.%u.%u.%u\n", func, line, _dump_params() 544 int line) _dump_db() 549 pr_debug("%s:%d: db.magic_num: '%s'\n", func, line, _dump_db() 551 pr_debug("%s:%d: db.version: %u\n", func, line, _dump_db() 553 pr_debug("%s:%d: db.index_64: %u\n", func, line, _dump_db() 555 pr_debug("%s:%d: db.count_64: %u\n", func, line, _dump_db() 557 pr_debug("%s:%d: db.index_32: %u\n", func, line, _dump_db() 559 pr_debug("%s:%d: db.count_32: %u\n", func, line, _dump_db() 561 pr_debug("%s:%d: db.index_16: %u\n", func, line, _dump_db() 563 pr_debug("%s:%d: db.count_16: %u\n", func, line, _dump_db() 323 _dump_header(const struct os_area_header *h, const char *func, int line) _dump_header() argument 344 _dump_params(const struct os_area_params *p, const char *func, int line) _dump_params() argument 543 _dump_db(const struct os_area_db *db, const char *func, int line) _dump_db() argument
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | dz.h | 38 #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 D | sirfsoc_uart.h | 48 typedef u32 (*fifo_full_mask)(int line); 49 typedef u32 (*fifo_empty_mask)(int line); 108 u32 usp_ff_full(int line) usp_ff_full() argument 112 u32 usp_ff_empty(int line) usp_ff_empty() argument 116 u32 uart_ff_full(int line) uart_ff_full() argument 118 return (line == 1) ? (0x20) : (0x80); uart_ff_full() 120 u32 uart_ff_empty(int line) uart_ff_empty() argument 122 return (line == 1) ? (0x40) : (0x100); uart_ff_empty() 335 (((port)->line > 2) ? (x & 0xFFFF) : ((x) & 0xFFFF) << 16) 337 #define SIRFUART_FIFO_THD(port) ((port->line) == 1 ? 16 : 64) 342 ((port->line > 2) ? 0 : uint_st->sirfsoc_parity_err)) 350 ((port->line > 2) ? 0 : uint_en->sirfsoc_parity_err_en)) 361 ((port->line > 2) ? 0 : uint_en->sirfsoc_parity_err_en)) 382 #define SIRFUART_TX_FIFO_CHK_SC(line, value) ((((line) == 1) ? (value & 0x3) :\ 384 #define SIRFUART_TX_FIFO_CHK_LC(line, value) ((((line) == 1) ? (value & 0x3) :\ 386 #define SIRFUART_TX_FIFO_CHK_HC(line, value) ((((line) == 1) ? (value & 0x3) :\ 450 #define SIRFUART_FIFOLEVEL_MASK(port) ((port->line == 1) ? (0x1f) : (0x7f)) 451 #define SIRFUART_FIFOFULL_MASK(port) ((port->line == 1) ? (0x20) : (0x80)) 452 #define SIRFUART_FIFOEMPTY_MASK(port) ((port->line == 1) ? (0x40) : (0x100))
|
H A D | sb1250-duart.c | 57 #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 D | crisv10.c | 114 #define DEBUG_LOG(line, string, value) 120 // int line; 135 void debug_log_func(int line, const char *string, int value) debug_log_func() argument 140 // debug_log[debug_log_pos].line = line; debug_log_func() 496 #define E100_STRUCT_PORT(line, pinname) \ 497 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 499 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 500 (R_PORT_PB_DATA):&dummy_ser[line])) 502 #define E100_STRUCT_SHADOW(line, pinname) \ 503 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 505 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 506 (&port_pb_data_shadow):&dummy_ser[line])) 507 #define E100_STRUCT_MASK(line, pinname) \ 508 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 509 (1<<CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT): ( \ 510 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 511 (1<<CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT):DUMMY_##pinname##_MASK)) 747 #define CONTROL_PINS_PORT_NOT_USED(line) \ 748 &dummy_ser[line], &dummy_ser[line], \ 749 &dummy_ser[line], &dummy_ser[line], \ 750 &dummy_ser[line], &dummy_ser[line], \ 751 &dummy_ser[line], &dummy_ser[line], \ 841 #define CONTROL_PINS_PORT_NOT_USED(line) \ 842 &dummy_ser[line], &dummy_ser[line], \ 939 #define E100_DTR_GET(info) ((*e100_modem_pins[(info)->line].dtr_shadow) & e100_modem_pins[(info)->line].dtr_mask) 942 #define E100_RI_GET(info) ((*e100_modem_pins[(info)->line].ri_port) & e100_modem_pins[(info)->line].ri_mask) 943 #define E100_CD_GET(info) ((*e100_modem_pins[(info)->line].cd_port) & e100_modem_pins[(info)->line].cd_mask) 946 #define E100_DSR_GET(info) ((*e100_modem_pins[(info)->line].dsr_port) & e100_modem_pins[(info)->line].dsr_mask) 1026 /* Functions to set or clear DTR/RTS on the requested line */ 1036 unsigned char mask = e100_modem_pins[info->line].dtr_mask; e100_dtr() 1039 printk("ser%i dtr %i mask: 0x%02X\n", info->line, set, mask); e100_dtr() 1041 info->line, *e100_modem_pins[info->line].dtr_shadow, e100_dtr() 1049 *e100_modem_pins[info->line].dtr_shadow &= ~mask; e100_dtr() 1050 *e100_modem_pins[info->line].dtr_shadow |= (set ? 0 : mask); e100_dtr() 1051 *e100_modem_pins[info->line].dtr_port = *e100_modem_pins[info->line].dtr_shadow; e100_dtr() 1057 info->line, *e100_modem_pins[info->line].dtr_shadow, e100_dtr() 1075 printk("ser%i rts %i\n", info->line, set); e100_rts() 1086 unsigned char mask = e100_modem_pins[info->line].ri_mask; e100_ri_out() 1090 *e100_modem_pins[info->line].ri_shadow &= ~mask; e100_ri_out() 1091 *e100_modem_pins[info->line].ri_shadow |= (set ? 0 : mask); e100_ri_out() 1092 *e100_modem_pins[info->line].ri_port = *e100_modem_pins[info->line].ri_shadow; e100_ri_out() 1101 unsigned char mask = e100_modem_pins[info->line].cd_mask; e100_cd_out() 1105 *e100_modem_pins[info->line].cd_shadow &= ~mask; e100_cd_out() 1106 *e100_modem_pins[info->line].cd_shadow |= (set ? 0 : mask); e100_cd_out() 1107 *e100_modem_pins[info->line].cd_port = *e100_modem_pins[info->line].cd_shadow; e100_cd_out() 1134 printk("rxdma_irq(%d): 0\n",info->line); e100_disable_rxdma_irq() 1136 DINTR1(DEBUG_LOG(info->line,"IRQ disable_rxdma_irq %i\n", info->line)); e100_disable_rxdma_irq() 1144 printk("rxdma_irq(%d): 1\n",info->line); e100_enable_rxdma_irq() 1146 DINTR1(DEBUG_LOG(info->line,"IRQ enable_rxdma_irq %i\n", info->line)); e100_enable_rxdma_irq() 1155 printk("txdma_irq(%d): 0\n",info->line); e100_disable_txdma_irq() 1157 DINTR1(DEBUG_LOG(info->line,"IRQ disable_txdma_irq %i\n", info->line)); e100_disable_txdma_irq() 1164 printk("txdma_irq(%d): 1\n",info->line); e100_enable_txdma_irq() 1166 DINTR1(DEBUG_LOG(info->line,"IRQ enable_txdma_irq %i\n", info->line)); e100_enable_txdma_irq() 1178 DFLOW(DEBUG_LOG(info->line, "disable_txdma_channel %i\n", info->line)); e100_disable_txdma_channel() 1179 if (info->line == 0) { e100_disable_txdma_channel() 1185 } else if (info->line == 1) { e100_disable_txdma_channel() 1191 } else if (info->line == 2) { e100_disable_txdma_channel() 1197 } else if (info->line == 3) { e100_disable_txdma_channel() 1214 DFLOW(DEBUG_LOG(info->line, "enable_txdma_channel %i\n", info->line)); e100_enable_txdma_channel() 1216 if (info->line == 0) { e100_enable_txdma_channel() 1219 } else if (info->line == 1) { e100_enable_txdma_channel() 1222 } else if (info->line == 2) { e100_enable_txdma_channel() 1225 } else if (info->line == 3) { e100_enable_txdma_channel() 1241 if (info->line == 0) { e100_disable_rxdma_channel() 1247 } else if (info->line == 1) { e100_disable_rxdma_channel() 1253 } else if (info->line == 2) { e100_disable_rxdma_channel() 1259 } else if (info->line == 3) { e100_disable_rxdma_channel() 1277 if (info->line == 0) { e100_enable_rxdma_channel() 1280 } else if (info->line == 1) { e100_enable_rxdma_channel() 1283 } else if (info->line == 2) { e100_enable_rxdma_channel() 1286 } else if (info->line == 3) { e100_enable_rxdma_channel() 1302 printk("ser_irq(%d): 0\n",info->line); e100_disable_serial_data_irq() 1304 DINTR1(DEBUG_LOG(info->line,"IRQ disable data_irq %i\n", info->line)); e100_disable_serial_data_irq() 1305 *R_IRQ_MASK1_CLR = (1U << (8+2*info->line)); e100_disable_serial_data_irq() 1312 printk("ser_irq(%d): 1\n",info->line); e100_enable_serial_data_irq() 1314 (8+2*info->line), e100_enable_serial_data_irq() 1315 (1U << (8+2*info->line))); e100_enable_serial_data_irq() 1317 DINTR1(DEBUG_LOG(info->line,"IRQ enable data_irq %i\n", info->line)); e100_enable_serial_data_irq() 1318 *R_IRQ_MASK1_SET = (1U << (8+2*info->line)); e100_enable_serial_data_irq() 1326 printk("ser_tx_irq(%d): 0\n",info->line); e100_disable_serial_tx_ready_irq() 1328 DINTR1(DEBUG_LOG(info->line,"IRQ disable ready_irq %i\n", info->line)); e100_disable_serial_tx_ready_irq() 1329 *R_IRQ_MASK1_CLR = (1U << (8+1+2*info->line)); e100_disable_serial_tx_ready_irq() 1336 printk("ser_tx_irq(%d): 1\n",info->line); e100_enable_serial_tx_ready_irq() 1338 (8+1+2*info->line), e100_enable_serial_tx_ready_irq() 1339 (1U << (8+1+2*info->line))); e100_enable_serial_tx_ready_irq() 1341 DINTR2(DEBUG_LOG(info->line,"IRQ enable ready_irq %i\n", info->line)); e100_enable_serial_tx_ready_irq() 1342 *R_IRQ_MASK1_SET = (1U << (8+1+2*info->line)); e100_enable_serial_tx_ready_irq() 1422 fast_timers_rs485[info->line].function = NULL; rs485_toggle_rts_timer_function() 1450 DFLOW(DEBUG_LOG(info->line, "XOFF rs_stop xmit %i\n", rs_stop() 1475 DFLOW(DEBUG_LOG(info->line, "XOFF rs_start xmit %i\n", rs_start() 1549 if (info->line == SERIAL_DEBUG_LINE) transmit_chars_dma() 1570 DFLOW(DEBUG_LOG(info->line, "TX %i done\n", sentl)); transmit_chars_dma() 1603 start_one_shot_timer(&fast_timers_rs485[info->line], transmit_chars_dma() 1615 DFLOW(DEBUG_LOG(info->line, "TX %i\n", c)); transmit_chars_dma() 1631 if (info->line == SERIAL_DEBUG_LINE) start_transmit() 1652 if (fast_timers[info->line].function == NULL) { \ 1654 TIMERD(DEBUG_LOG(info->line, "start_timer %i ", info->line)); \ 1655 TIMERD(DEBUG_LOG(info->line, "num started: %i\n", serial_fast_timer_started)); \ 1656 start_one_shot_timer(&fast_timers[info->line], \ 1663 TIMERD(DEBUG_LOG(info->line, "timer %i already running\n", info->line)); \ 1790 DFLOW( DEBUG_LOG(info->line, "RX %lu\n", recvl); handle_all_descr_data() 1793 DEBUG_LOG(info->line, "rx 0x%02X\n", buf[0]); handle_all_descr_data() 1794 DEBUG_LOG(info->line, "rx 0x%02X\n", buf[1]); handle_all_descr_data() 1795 DEBUG_LOG(info->line, "rx 0x%02X\n", buf[2]); handle_all_descr_data() 1835 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat)); receive_chars_dma() 1844 PROCSTAT(ser_stat[info->line].errors_cnt++); receive_chars_dma() 1845 DEBUG_LOG(info->line, "#dERR: s d 0x%04X\n", receive_chars_dma() 1930 /* find out the line that caused this irq and get it from rs_table */ tr_interrupt() 1942 DINTR2(DEBUG_LOG(info->line, "tr_interrupt %i\n", i)); tr_interrupt() 1946 PROCSTAT(ser_stat[info->line].tx_dma_ints++); tr_interrupt() 1968 /* find out the line that caused this irq and get it from rs_table */ rec_interrupt() 2003 DEBUG_LOG(info->line, "timeout err: rstat 0x%03X\n", force_eop_if_needed() 2004 rstat | (info->line << 8)); force_eop_if_needed() 2010 TIMERD(DEBUG_LOG(info->line, "timeout: rstat 0x%03X\n", force_eop_if_needed() 2011 rstat | (info->line << 8))); force_eop_if_needed() 2025 PROCSTAT(ser_stat[info->line].timeout_flush_cnt++); force_eop_if_needed() 2026 TIMERD(DEBUG_LOG(info->line, "timeout EOP %i\n", info->line)); force_eop_if_needed() 2087 fast_timers[info->line].function = NULL; flush_timeout_function() 2089 TIMERD(DEBUG_LOG(info->line, "flush_timeout %i ", info->line)); flush_timeout_function() 2090 TIMERD(DEBUG_LOG(info->line, "num expired: %i\n", serial_fast_timer_expired)); flush_timeout_function() 2198 DFLOW(DEBUG_LOG(info->line, "XOFF detect\n", 0)); handle_ser_rx_interrupt_no_dma() 2200 DINTR2(DEBUG_LOG(info->line, "ser_rx %c\n", IO_EXTRACT(R_SERIAL0_READ, data_in, data_read))); handle_ser_rx_interrupt_no_dma() 2208 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat_data %04X\n", data_read)); handle_ser_rx_interrupt_no_dma() 2224 DEBUG_LOG(info->line, "#BRK start\n", 0); handle_ser_rx_interrupt_no_dma() 2234 DEBUG_LOG(info->line, "# BL BRK\n", 0); handle_ser_rx_interrupt_no_dma() 2243 DEBUG_LOG(info->line, "EBRK %i\n", info->break_detected_cnt); handle_ser_rx_interrupt_no_dma() 2284 DEBUG_LOG(info->line, "ser_rx int but no data_avail %08lX\n", data_read); handle_ser_rx_interrupt_no_dma() 2291 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() 2305 /* DEBUG_LOG(info->line, "ser_interrupt stat %03X\n", rstat | (i << 8)); */ handle_ser_rx_interrupt() 2313 DFLOW(DEBUG_LOG(info->line, "XOFF detect\n", 0)); handle_ser_rx_interrupt() 2325 DINTR1(DEBUG_LOG(info->line, "ser_rx! %c\n", data)); handle_ser_rx_interrupt() 2326 DINTR1(DEBUG_LOG(info->line, "ser_rx err stat %02X\n", rstat)); handle_ser_rx_interrupt() 2333 DEBUG_LOG(info->line, "#BRK start\n", 0); handle_ser_rx_interrupt() 2343 DEBUG_LOG(info->line, "# BL BRK\n", 0); handle_ser_rx_interrupt() 2352 DEBUG_LOG(info->line, "EBRK %i\n", info->break_detected_cnt); handle_ser_rx_interrupt() 2374 DEBUG_LOG(info->line, "#iERR s d %04X\n", handle_ser_rx_interrupt() 2377 PROCSTAT(ser_stat[info->line].early_errors_cnt++); handle_ser_rx_interrupt() 2392 DEBUG_LOG(info->line, "FBRK %i\n", info->line); handle_ser_rx_interrupt() 2398 DEBUG_LOG(info->line, "Not end of BRK (V)%i\n", info->line); handle_ser_rx_interrupt() 2400 DEBUG_LOG(info->line, "num brk %i\n", info->break_detected_cnt); handle_ser_rx_interrupt() 2407 DINTR2(DEBUG_LOG(info->line, "ser_rx OK %d\n", info->line)); handle_ser_rx_interrupt() 2410 PROCSTAT(ser_stat[info->line].ser_ints_ok_cnt++); handle_ser_rx_interrupt() 2423 DFLOW(DEBUG_LOG(info->line, "tx_int: xchar 0x%02X\n", info->x_char)); handle_ser_tx_interrupt() 2426 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); handle_ser_tx_interrupt() 2440 DFLOW(DEBUG_LOG(info->line, "tx_int: xchar sent\n", 0)); handle_ser_tx_interrupt() 2443 DFLOW(DEBUG_LOG(info->line, "stat %x\n", rstat)); handle_ser_tx_interrupt() 2460 DFLOW(DEBUG_LOG(info->line, "tx_int: stopped %i\n", handle_ser_tx_interrupt() 2466 DINTR2(DEBUG_LOG(info->line, "tx_int %c\n", info->xmit.buf[info->xmit.tail])); handle_ser_tx_interrupt() 2476 start_one_shot_timer(&fast_timers_rs485[info->line], handle_ser_tx_interrupt() 2487 DFLOW(DEBUG_LOG(info->line, "tx_int: stop2\n", 0)); handle_ser_tx_interrupt() 2523 /* Which line caused the data irq? */ ser_interrupt() 2566 /* Which line caused the ready irq? */ ser_interrupt() 2658 printk("starting up ttyS%d (xmit_buf 0x%p)...\n", info->line, info->xmit.buf); startup() 2769 DFLOW(DEBUG_LOG(info->line, "shutdown %i\n", info->line)); shutdown() 2796 printk("Shutting down serial port %d (irq %d)....\n", info->line, shutdown() 2850 u32 mask = 0xFF << (info->line*8); /* Each port has 8 bits */ change_speed() 2892 r_alt_ser_baudrate_shadow |= (alt_source << (info->line*8)); change_speed() 2897 u32 mask = 0xFF << (info->line*8); /* Each port has 8 bits */ change_speed() 2902 r_alt_ser_baudrate_shadow |= (alt_source << (info->line*8)); change_speed() 2953 DFLOW(DEBUG_LOG(info->line, "FLOW auto_cts enabled\n", 0)); change_speed() 2969 DFLOW(DEBUG_LOG(info->line, "FLOW XOFF enabled 0x%02X\n", change_speed() 3019 if (info->line == SERIAL_DEBUG_LINE) rs_raw_write() 3025 DFLOW(DEBUG_LOG(info->line, "write count %i ", count)); rs_raw_write() 3026 DFLOW(DEBUG_LOG(info->line, "ldisc %i\n", tty->ldisc.chars_in_buffer(tty))); rs_raw_write() 3060 DFLOW(DEBUG_LOG(info->line, "write ret %i\n", ret)); rs_raw_write() 3085 fast_timers_rs485[info->line].function = NULL; rs_write() 3086 del_fast_timer(&fast_timers_rs485[info->line]); rs_write() 3200 DFLOW(DEBUG_LOG(info->line, "rs_send_xchar 0x%02X\n", ch)); rs_send_xchar() 3224 DFLOW(DEBUG_LOG(info->line,"rs_throttle %lu\n", tty->ldisc.chars_in_buffer(tty))); rs_throttle() 3228 /* Turn off RTS line */ rs_throttle() 3246 DFLOW(DEBUG_LOG(info->line,"rs_unthrottle ldisc %d\n", tty->ldisc.chars_in_buffer(tty))); rs_unthrottle() 3247 DFLOW(DEBUG_LOG(info->line,"rs_unthrottle flip.count: %i\n", tty->flip.count)); rs_unthrottle() 3250 /* Assert RTS line */ rs_unthrottle() 3284 tmp.line = info->line; get_serial_info() 3347 * get_lsr_info - get line status register info 3489 info->line, result, result); rs_tiocmget() 3522 case TIOCSERGETLSR: /* Get line status register */ rs_ioctl() 3653 info->line, info->count); rs_close() 3670 info->line, info->port.count); rs_close() 3680 * the line discipline to only process XON/XOFF characters. rs_close() 3862 * Block waiting for the carrier detect and the line to become block_til_ready() 3872 info->line, info->port.count); block_til_ready() 3906 info->line, info->port.count); block_til_ready() 3919 info->line, info->port.count); block_til_ready() 4074 printk("rs_open ttyS%d successful...\n", info->line); rs_open() 4078 DFLIP( if (info->line == SERIAL_DEBUG_LINE) { rs_open() 4095 info->line, (unsigned long)info->ioport, info->irq); seq_line_info() 4310 info->line = i; rs_init() 4337 serial_driver->name, info->line, info->ioport); rs_init()
|
H A D | m32r_sio.h | 30 void m32r_sio_suspend_port(int line); 31 void m32r_sio_resume_port(int line);
|
H A D | of_serial.c | 29 int line; member in struct:of_serial_info 106 /* Check for a fixed line number */ of_platform_serial_setup() 109 port->line = ret; of_platform_serial_setup() 221 info->line = ret; of_platform_serial_probe() 231 * Release a line 239 serial8250_unregister_port(info->line); of_platform_serial_remove() 244 nwpserial_unregister_port(info->line); of_platform_serial_remove() 262 struct uart_8250_port *port8250 = serial8250_get_port(info->line); of_serial_suspend_8250() 265 serial8250_suspend_port(info->line); of_serial_suspend_8250() 272 struct uart_8250_port *port8250 = serial8250_get_port(info->line); of_serial_resume_8250() 278 serial8250_resume_port(info->line); of_serial_resume_8250()
|
H A D | dz.c | 129 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.1.27/arch/powerpc/xmon/ |
H A D | nonstdio.c | 36 static char line[256]; variable 45 lineptr = line; xmon_getchar() 58 if (lineptr > line) { xmon_getchar() 66 while (lineptr > line) { xmon_getchar() 74 if (lineptr >= &line[sizeof(line) - 1]) xmon_getchar() 82 lineleft = lineptr - line; xmon_getchar() 83 lineptr = line; xmon_getchar()
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | cache.h | 4 /* L1 cache line size (64 bytes) */ 13 * buffers have cache line alignment.
|
/linux-4.1.27/fs/gfs2/ |
H A D | util.c | 88 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 D | util.h | 43 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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | nv50.c | 34 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) pwm_info() argument 36 if (*line == 0x04) { pwm_info() 38 *line = 4; pwm_info() 41 if (*line == 0x09) { pwm_info() 43 *line = 9; pwm_info() 46 if (*line == 0x10) { pwm_info() 48 *line = 0; pwm_info() 51 nv_error(therm, "unknown pwm ctrl for gpio %d\n", *line); pwm_info() 59 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) nv50_fan_pwm_ctrl() argument 62 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); nv50_fan_pwm_ctrl() 64 nv_mask(therm, ctrl, 0x00010001 << line, data << line); nv50_fan_pwm_ctrl() 69 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) nv50_fan_pwm_get() argument 71 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); nv50_fan_pwm_get() 75 if (nv_rd32(therm, ctrl) & (1 << line)) { nv50_fan_pwm_get() 85 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) nv50_fan_pwm_set() argument 87 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); nv50_fan_pwm_set() 97 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) nv50_fan_pwm_clock() argument
|
H A D | gf110.c | 33 pwm_info(struct nvkm_therm *therm, int line) pwm_info() argument 35 u32 gpio = nv_rd32(therm, 0x00d610 + (line * 0x04)); pwm_info() 52 nv_error(therm, "GPIO %d unknown PWM: 0x%08x\n", line, gpio); pwm_info() 57 gf110_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) gf110_fan_pwm_ctrl() argument 60 int indx = pwm_info(therm, line); gf110_fan_pwm_ctrl() 64 nv_mask(therm, 0x00d610 + (line * 0x04), 0x000000c0, data); gf110_fan_pwm_ctrl() 70 gf110_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) gf110_fan_pwm_get() argument 72 int indx = pwm_info(therm, line); gf110_fan_pwm_get() 76 if (nv_rd32(therm, 0x00d610 + (line * 0x04)) & 0x00000040) { gf110_fan_pwm_get() 91 gf110_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) gf110_fan_pwm_set() argument 93 int indx = pwm_info(therm, line); gf110_fan_pwm_set() 107 gf110_fan_pwm_clock(struct nvkm_therm *therm, int line) gf110_fan_pwm_clock() argument 109 int indx = pwm_info(therm, line); gf110_fan_pwm_clock() 131 nv_mask(priv, 0x00d79c, 0x000000ff, priv->base.fan->tach.line); gf110_therm_init()
|
H A D | fanpwm.c | 48 ret = therm->pwm_get(therm, priv->func.line, &divs, &duty); nvkm_fanpwm_get() 56 return gpio->get(gpio, 0, priv->func.func, priv->func.line) * 100; nvkm_fanpwm_get() 72 divs = therm->pwm_clock(therm, priv->func.line); nvkm_fanpwm_set() 80 ret = therm->pwm_set(therm, priv->func.line, divs, duty); nvkm_fanpwm_set() 82 ret = therm->pwm_ctrl(therm, priv->func.line, true); nvkm_fanpwm_set() 100 therm->pwm_get(therm, func->line, &divs, &duty) == -ENODEV) nvkm_fanpwm_create()
|
H A D | nv40.c | 114 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) nv40_fan_pwm_ctrl() argument 117 if (line == 2) nv_mask(therm, 0x0010f0, 0x80000000, mask); nv40_fan_pwm_ctrl() 118 else if (line == 9) nv_mask(therm, 0x0015f4, 0x80000000, mask); nv40_fan_pwm_ctrl() 120 nv_error(therm, "unknown pwm ctrl for gpio %d\n", line); nv40_fan_pwm_ctrl() 127 nv40_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) nv40_fan_pwm_get() argument 129 if (line == 2) { nv40_fan_pwm_get() 137 if (line == 9) { nv40_fan_pwm_get() 145 nv_error(therm, "unknown pwm ctrl for gpio %d\n", line); nv40_fan_pwm_get() 153 nv40_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) nv40_fan_pwm_set() argument 155 if (line == 2) { nv40_fan_pwm_set() 158 if (line == 9) { nv40_fan_pwm_set() 162 nv_error(therm, "unknown pwm ctrl for gpio %d\n", line); nv40_fan_pwm_set()
|
/linux-4.1.27/include/linux/ |
H A D | gpio_mouse.h | 30 * @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 D | kern_levels.h | 19 * 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 D | tty_ldisc.h | 5 * 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 D | reset-controller.h | 13 * @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 D | isicom.h | 59 #define BOARD(line) (((line) >> 4) & 0x3)
|
H A D | nwpserial.h | 16 void nwpserial_unregister_port(int line);
|
H A D | kmsg_dump.h | 59 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 D | c2port.h | 49 /* Set C2D data line as input/output */ 52 /* Read/write C2D data line */ 56 /* Write C2CK clock line */
|
H A D | acpi_dma.h | 25 * @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.1.27/tools/lib/lockdep/uinclude/linux/ |
H A D | kern_levels.h | 19 * 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.1.27/tools/perf/ui/browsers/ |
H A D | scripts.c | 17 /* 160 bytes for one output line */ 22 char line[AVERAGE_LINE_LEN]; member in struct:script_line 84 slsmg_write_nstring(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.1.27/drivers/crypto/vmx/ |
H A D | ppc-xlate.pl | 67 my $line = join(",",@_); 68 if ($line =~ /^"(.*)"$/) 180 while($line=<>) { 182 $line =~ s|[#!;].*$||; # get rid of asm-style comments... 183 $line =~ s|/\*.*\*/||; # ... and C-style comments... 184 $line =~ s|^\s+||; # ... and skip white spaces in beginning... 185 $line =~ s|\s+$||; # ... and at the end 188 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel 189 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 193 $line =~ s|^\s*(\.?)(\w+)([\.\+\-]?)\s*||; 198 $line =~ s/\b(c?[rf]|v|vs)([0-9]+)\b/$2/g if ($c ne "." and $flavour !~ /osx/); 199 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); } 200 elsif ($mnemonic) { $line = $c.$mnemonic.$f."\t".$line; } 203 print $line if ($line);
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-vbi.c | 32 * 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 D | cx18-av-core.h | 112 * 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.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-vbi.c | 35 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.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | gpio.h | 14 u8 line; member in struct:nvkm_gpio_ntfy_req 27 int (*find)(struct nvkm_gpio *, int idx, u8 tag, u8 line, 29 int (*set)(struct nvkm_gpio *, int idx, u8 tag, u8 line, int state); 30 int (*get)(struct nvkm_gpio *, int idx, u8 tag, u8 line);
|
H A D | therm.h | 29 int (*pwm_ctrl)(struct nvkm_therm *, int line, bool); 30 int (*pwm_get)(struct nvkm_therm *, int line, u32 *, u32 *); 31 int (*pwm_set)(struct nvkm_therm *, int line, u32, u32); 32 int (*pwm_clock)(struct nvkm_therm *, int line);
|
/linux-4.1.27/fs/coda/ |
H A D | Makefile | 10 # If you want debugging output, please uncomment the following line.
|
/linux-4.1.27/include/asm-generic/ |
H A D | cache.h | 4 * 32 bytes appears to be the most common cache line size,
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-iop.c | 38 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 D | gpio-ts5500.c | 210 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 D | gpio-ep93xx.c | 68 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() 118 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_ack() local 119 int port = line >> 3; ep93xx_gpio_irq_ack() 120 int port_mask = 1 << (line & 7); ep93xx_gpio_irq_ack() 132 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_mask_ack() local 133 int port = line >> 3; ep93xx_gpio_irq_mask_ack() 134 int port_mask = 1 << (line & 7); ep93xx_gpio_irq_mask_ack() 147 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_mask() local 148 int port = line >> 3; ep93xx_gpio_irq_mask() 150 gpio_int_unmasked[port] &= ~(1 << (line & 7)); ep93xx_gpio_irq_mask() 156 int line = irq_to_gpio(d->irq); ep93xx_gpio_irq_unmask() local 157 int port = line >> 3; ep93xx_gpio_irq_unmask() 159 gpio_int_unmasked[port] |= 1 << (line & 7); ep93xx_gpio_irq_unmask()
|
H A D | gpio-ks8695.c | 37 * Configure a GPIO line for either GPIO function, or its internal 97 * Configure the GPIO line as an input. 123 * Configure the GPIO line as an output, with default state. 138 /* set line state */ ks8695_gpio_direction_output() 158 * Set the state of an output GPIO line. 170 /* set output line state */ ks8695_gpio_set_value() 183 * Read the state of a GPIO line. 198 * Map GPIO line to IRQ number. 209 * Map IRQ number to GPIO line.
|
/linux-4.1.27/include/net/netfilter/ |
H A D | xt_rateest.h | 5 /* 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.1.27/include/linux/platform_data/ |
H A D | mtd-orion_nand.h | 17 u8 ale; /* address line number connected to ALE */ 18 u8 cle; /* address line number connected to CLE */
|
H A D | serial-sccnxp.h | 51 /* Routing control signal 'sig' to line 'line' */ 52 #define MCTRL_SIG(sig, line) ((line) << (sig)) 80 /* Shift for A0 line */
|
H A D | mmc-sdhci-s3c.h | 7 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 D | davinci_asp.h | 54 * first line : WordSelect 55 * second line : ContinuousSerialClock 56 * third line: SerialData
|
H A D | spi-s3c64xx.h | 21 * @line: Custom 'identity' of the CS line. 29 unsigned line; member in struct:s3c64xx_spi_csinfo
|
/linux-4.1.27/include/uapi/linux/ |
H A D | if_slip.h | 26 #define SIOCSLEASE (SIOCDEVPRIVATE+4) /* Set "leased" line type */ 27 #define SIOCGLEASE (SIOCDEVPRIVATE+5) /* Get line type */
|
H A D | sonet.h | 11 __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.1.27/arch/m32r/mm/ |
H A D | page.S | 21 * 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.1.27/fs/ext4/ |
H A D | ext4_jbd2.c | 62 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.1.27/drivers/s390/char/ |
H A D | tty3270.c | 58 * 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() 960 /* Create blank line for every line in the tty output area. */ tty3270_install() 1038 struct tty3270_line *line; tty3270_put_character() local 1041 line = tp->screen + tp->cy; tty3270_put_character() 1042 if (line->len <= tp->cx) { tty3270_put_character() 1043 while (line->len < tp->cx) { tty3270_put_character() 1044 cell = line->cells + line->len; tty3270_put_character() 1048 line->len++; tty3270_put_character() 1050 line->len++; tty3270_put_character() 1052 cell = line->cells + tp->cx; tty3270_put_character() 1064 struct tty3270_line *line; tty3270_convert_line() local 1074 line = tp->screen + line_nr; tty3270_convert_line() 1075 flen += line->len; tty3270_convert_line() 1078 for (i = 0, cell = line->cells; i < line->len; i++, cell++) { tty3270_convert_line() 1092 if (line->len < tp->view.cols) tty3270_convert_line() 1095 /* Find the line in the list. */ tty3270_convert_line() 1101 * Check if the line needs to get reallocated. tty3270_convert_line() 1122 for (i = 0, cell = line->cells; i < line->len; i++, cell++) { tty3270_convert_line() 1147 if (line->len < tp->view.cols) { tty3270_convert_line() 1157 /* Add line to update list. */ tty3270_convert_line() 1175 * Do line feed. 1188 /* Last line just filled up. Add new, blank line. */ tty3270_lf() 1213 struct tty3270_line *line; tty3270_insert_characters() local 1216 line = tp->screen + tp->cy; tty3270_insert_characters() 1217 while (line->len < tp->cx) { tty3270_insert_characters() 1218 line->cells[line->len].character = tp->view.ascebc[' ']; tty3270_insert_characters() 1219 line->cells[line->len].highlight = TAX_RESET; tty3270_insert_characters() 1220 line->cells[line->len].f_color = TAC_RESET; tty3270_insert_characters() 1221 line->len++; tty3270_insert_characters() 1225 k = min_t(int, line->len - tp->cx, tp->view.cols - tp->cx - n); tty3270_insert_characters() 1227 line->cells[tp->cx + n + k] = line->cells[tp->cx + k]; tty3270_insert_characters() 1228 line->len += n; tty3270_insert_characters() 1229 if (line->len > tp->view.cols) tty3270_insert_characters() 1230 line->len = tp->view.cols; tty3270_insert_characters() 1232 line->cells[tp->cx + n].character = tp->view.ascebc[' ']; tty3270_insert_characters() 1233 line->cells[tp->cx + n].highlight = tp->highlight; tty3270_insert_characters() 1234 line->cells[tp->cx + n].f_color = tp->f_color; tty3270_insert_characters() 1244 struct tty3270_line *line; tty3270_delete_characters() local 1247 line = tp->screen + tp->cy; tty3270_delete_characters() 1248 if (line->len <= tp->cx) tty3270_delete_characters() 1250 if (line->len - tp->cx <= n) { tty3270_delete_characters() 1251 line->len = tp->cx; tty3270_delete_characters() 1254 for (i = tp->cx; i + n < line->len; i++) tty3270_delete_characters() 1255 line->cells[i] = line->cells[i + n]; tty3270_delete_characters() 1256 line->len -= n; tty3270_delete_characters() 1265 struct tty3270_line *line; tty3270_erase_characters() local 1268 line = tp->screen + tp->cy; tty3270_erase_characters() 1269 while (line->len > tp->cx && n-- > 0) { tty3270_erase_characters() 1270 cell = line->cells + tp->cx++; tty3270_erase_characters() 1280 * Erase line, 3 different cases: 1281 * Esc [ 0 K Erase from current position to end of line inclusive 1282 * Esc [ 1 K Erase from beginning of line to current position inclusive 1283 * Esc [ 2 K Erase entire line (without moving cursor) 1288 struct tty3270_line *line; tty3270_erase_line() local 1292 line = tp->screen + tp->cy; tty3270_erase_line() 1294 line->len = tp->cx; tty3270_erase_line() 1297 cell = line->cells + i; tty3270_erase_line() 1302 if (line->len <= tp->cx) tty3270_erase_line() 1303 line->len = tp->cx + 1; tty3270_erase_line() 1305 line->len = 0; tty3270_erase_line() 1561 case 'K': /* Erase line. */ tty3270_escape_sequence() 1649 /* Convert current line to 3270 data fragment. */ tty3270_do_write()
|
/linux-4.1.27/usr/ |
H A D | gen_init_cpio.c | 29 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.1.27/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 172 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.1.27/drivers/isdn/i4l/ |
H A D | isdn_v110.c | 63 * 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.1.27/drivers/tty/serial/8250/ |
H A D | 8250_fintek.c | 145 int line; fintek_8250_probe() local 179 line = serial8250_register_8250_port(&uart); fintek_8250_probe() 180 if (line < 0) fintek_8250_probe() 183 pnp_set_drvdata(dev, (void *)((long)line + 1)); fintek_8250_probe() 189 long line = (long)pnp_get_drvdata(dev); fintek_8250_remove() local 191 if (line) fintek_8250_remove() 192 serial8250_unregister_port(line - 1); fintek_8250_remove() 198 long line = (long)pnp_get_drvdata(dev); fintek_8250_suspend() local 200 if (!line) fintek_8250_suspend() 202 serial8250_suspend_port(line - 1); fintek_8250_suspend() 208 long line = (long)pnp_get_drvdata(dev); fintek_8250_resume() local 210 if (!line) fintek_8250_resume() 212 serial8250_resume_port(line - 1); fintek_8250_resume()
|
H A D | 8250_hp300.c | 30 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()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | prminst44xx.c | 91 * 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 D | prm33xx.c | 56 * 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 D | prm2xxx_3xxx.c | 25 * 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.1.27/arch/arm/mm/ |
H A D | copypage-feroceon.c | 33 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 D | copypage-xscale.c | 66 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 D | cache-v6.S | 137 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 D | copypage-fa.c | 28 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 D | copypage-v4mc.c | 39 * 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 D | copypage-v4wb.c | 21 * 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.1.27/arch/ia64/include/asm/sn/ |
H A D | mspec.h | 41 * 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.1.27/arch/x86/tools/ |
H A D | test_get_len.c | 53 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.1.27/fs/xfs/ |
H A D | xfs_message.c | 94 asswarn(char *expr, char *file, int line) asswarn() argument 96 xfs_warn(NULL, "Assertion failed: %s, file: %s, line: %d", asswarn() 97 expr, file, line); asswarn() 102 assfail(char *expr, char *file, int line) assfail() argument 104 xfs_emerg(NULL, "Assertion failed: %s, file: %s, line: %d", assfail() 105 expr, file, line); assfail()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | cpudata_64.h | 12 /* Dcache line 1 */ 20 /* Dcache line 2, rarely used */
|
H A D | bug.h | 8 void do_BUG(const char *file, int line);
|
H A D | cache.h | 2 * and direct tag/data line access.
|
/linux-4.1.27/arch/mips/lasat/ |
H A D | picvue.h | 23 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 D | picvue.c | 110 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.1.27/arch/arm/mach-pxa/include/mach/ |
H A D | audio.h | 14 * bug prevents correct operation of the reset line. If not specified, 16 * AC97 reset line, which is the default on most boards.
|
H A D | gumstix.h | 11 /* 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.1.27/tools/testing/selftests/powerpc/ |
H A D | utils.h | 30 "[FAIL] Test FAILED on line %d\n", __LINE__); \ 42 "[SKIP] Test skipped on line %d\n", __LINE__); \
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-vbi-gen.c | 129 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.1.27/arch/x86/kernel/cpu/ |
H A D | intel_cacheinfo.c | 40 { 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.1.27/scripts/kconfig/ |
H A D | conf.c | 44 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 D | streamline_config.pl | 21 # 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 D | nconf.gui.c | 203 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.1.27/include/media/davinci/ |
H A D | vpbe_osd.h | 205 * @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.1.27/arch/x86/include/asm/ |
H A D | cache.h | 6 /* L1 cache line size */
|
H A D | xor_64.h | 18 deals with a load to a line that is being prefetched. */
|
H A D | processor-cyrix.h | 6 * When using the old macros a line like
|
/linux-4.1.27/fs/ncpfs/ |
H A D | Makefile | 13 # If you want debugging output, please uncomment the following line
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | cache.h | 6 /* A cache-line is 32 bytes. */
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
H A D | cachectl.h | 6 #define FLUSH_SCOPE_LINE 1 /* Flush a cache line */
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | cache.h | 8 /* Bytes per L1 (data) cache line. */
|
/linux-4.1.27/net/ceph/ |
H A D | armor.c | 39 int line = 0; ceph_armor() local 64 line += 4; ceph_armor() 65 if (line == 64) { ceph_armor() 66 line = 0; ceph_armor()
|
/linux-4.1.27/scripts/gdb/linux/ |
H A D | dmesg.py | 57 for line in memoryview(text).tobytes().splitlines(): 58 gdb.write("[{time:12.6f}] {line}\n".format( 60 line=line))
|
/linux-4.1.27/tools/cgroup/ |
H A D | cgroup_event_listener.c | 27 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.1.27/tools/power/x86/turbostat/ |
H A D | Makefile | 6 ifeq ("$(origin O)", "command line")
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-f300.c | 35 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.1.27/scripts/tracing/ |
H A D | draw_functrace.py | 90 """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.1.27/tools/usb/usbip/libsrc/ |
H A D | names.c | 322 /* 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.1.27/drivers/acpi/acpica/ |
H A D | uttrack.c | 50 * 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 D | utxferror.c | 62 * 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() 128 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL() 133 * DESCRIPTION: Print "ACPI Warning" message with module/line/version info ACPI_EXPORT_SYMBOL() 159 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL() 165 * module/line/version info in order to keep the message simple. ACPI_EXPORT_SYMBOL() 193 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL() 198 * DESCRIPTION: Print "ACPI Firmware Error" message with module/line/version ACPI_EXPORT_SYMBOL() 226 * line_number - Caller's line number (for error output) ACPI_EXPORT_SYMBOL() 231 * DESCRIPTION: Print "ACPI Firmware Warning" message with module/line/version ACPI_EXPORT_SYMBOL()
|
/linux-4.1.27/scripts/rt-tester/ |
H A D | rt-tester.py | 136 line = fd.readline() variable 137 if not len(line): 140 line = line.strip() variable 141 parts = line.split(":") 151 progress(line) 157 progress(line) 193 sys.stderr.write("Test failed in line %d\n" %(linenr)) 211 sys.stderr.write("\nSyntax error in line %d\n" %(linenr))
|
/linux-4.1.27/include/linux/i2c/ |
H A D | sx150x.h | 35 * 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.1.27/firmware/ |
H A D | ihex2fw.c | 138 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.1.27/scripts/mod/ |
H A D | sumversion.c | 303 /* 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.1.27/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 40 u8 line; member in struct:octeon_ciu_chip_data::__anon1863::__anon1865 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() 266 if (cd->line == 0) { octeon_irq_ciu_enable() 298 if (cd->line == 0) { octeon_irq_ciu_enable_local() 330 if (cd->line == 0) { octeon_irq_ciu_disable_local() 365 if (cd->line == 0) for_each_online_cpu() 377 if (cd->line == 0) for_each_online_cpu() 398 if (cd->line == 0) for_each_online_cpu() 410 if (cd->line == 0) for_each_online_cpu() 435 if (cd->line == 0) { octeon_irq_ciu_enable_v2() 519 if (cd->line == 0) { octeon_irq_ciu_enable_local_v2() 538 if (cd->line == 0) { octeon_irq_ciu_disable_local_v2() 560 if (cd->line == 0) { octeon_irq_ciu_ack() 581 if (cd->line == 0) { for_each_online_cpu() 611 if (cd->line == 0) { for_each_online_cpu() 762 if (cd->line == 0) for_each_online_cpu() 779 if (cd->line == 0) for_each_online_cpu() 808 if (cd->line == 0) { for_each_online_cpu() 1057 static bool octeon_irq_ciu_is_edge(unsigned int line, unsigned int bit) octeon_irq_ciu_is_edge() argument 1061 if (line == 0) octeon_irq_ciu_is_edge() 1072 else /* line == 1 */ octeon_irq_ciu_is_edge() 1176 unsigned int line = hw >> 6; octeon_irq_ciu_map() local 1184 if (line == 0 && bit >= 16 && bit <32) octeon_irq_ciu_map() 1187 if (line >= dd->num_sum || octeon_irq_ciu_to_irq[line][bit] != 0) octeon_irq_ciu_map() 1190 if (line == 2) { octeon_irq_ciu_map() 1191 if (octeon_irq_ciu_is_edge(line, bit)) octeon_irq_ciu_map() 1192 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map() 1196 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map() 1200 if (octeon_irq_ciu_is_edge(line, bit)) octeon_irq_ciu_map() 1201 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map() 1205 rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu_map() 1216 unsigned int line, bit; octeon_irq_gpio_map() local 1222 line = (hw + gpiod->base_hwirq) >> 6; octeon_irq_gpio_map() 1224 if (line > ARRAY_SIZE(octeon_irq_ciu_to_irq) || octeon_irq_gpio_map() 1225 octeon_irq_ciu_to_irq[line][bit] != 0) octeon_irq_gpio_map() 1228 r = octeon_irq_set_ciu_mapping(virq, line, bit, hw, octeon_irq_gpio_map() 1603 (0x1000ull * cd->line); octeon_irq_ciu2_wd_enable() 1620 (0x1000ull * cd->line); octeon_irq_ciu2_enable() 1635 (0x1000ull * cd->line); octeon_irq_ciu2_enable_local() 1651 (0x1000ull * cd->line); octeon_irq_ciu2_disable_local() 1666 en_addr = CVMX_CIU2_RAW_PPX_IP2_WRKQ(coreid) + (0x1000ull * cd->line); octeon_irq_ciu2_ack() 1682 octeon_coreid_for_cpu(cpu)) + (0x1000ull * cd->line); for_each_online_cpu() 1758 (0x1000ull * cd->line); for_each_online_cpu() 1762 (0x1000ull * cd->line); for_each_online_cpu() 1866 static bool octeon_irq_ciu2_is_edge(unsigned int line, unsigned int bit) octeon_irq_ciu2_is_edge() argument 1870 if (line == 3) /* MIO */ octeon_irq_ciu2_is_edge() 1880 else if (line == 6) /* PKT */ octeon_irq_ciu2_is_edge() 1895 unsigned int line = hw >> 6; octeon_irq_ciu2_map() local 1905 if (line == 7) octeon_irq_ciu2_map() 1908 if (line > 7 || octeon_irq_ciu_to_irq[line][bit] != 0) octeon_irq_ciu2_map() 1911 if (octeon_irq_ciu2_is_edge(line, bit)) octeon_irq_ciu2_map() 1912 octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu2_map() 1916 octeon_irq_set_ciu_mapping(virq, line, bit, 0, octeon_irq_ciu2_map() 1931 int line; octeon_irq_ciu2() local 1942 line = fls64(sum) - 1; octeon_irq_ciu2() 1943 src_reg = CVMX_CIU2_SRC_PPX_IP2_WRKQ(core_id) + (0x1000 * line); octeon_irq_ciu2() 1950 irq = octeon_irq_ciu_to_irq[line][bit]; octeon_irq_ciu2() 1971 int line; octeon_irq_ciu2_mbox() local 1979 line = fls64(sum) - 1; octeon_irq_ciu2_mbox() 1981 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.1.27/drivers/media/pci/mantis/ |
H A D | mantis_dma.c | 154 u32 line, step; mantis_risc_program() local 160 dprintk(MANTIS_DEBUG, 1, "risc len lines %u, bytes per line %u, bytes per DMA tr %u", mantis_risc_program() 163 for (line = 0; line < MANTIS_BLOCK_COUNT; line++) { mantis_risc_program() 165 dprintk(MANTIS_DEBUG, 1, "RISC PROG line=[%d], step=[%d]", line, step); mantis_risc_program() 169 RISC_STATUS(line) | mantis_risc_program()
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | i82092aa.h | 8 #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.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | gpio.h | 29 u8 line; member in struct:dcb_gpio_func 44 u16 dcb_gpio_match(struct nvkm_bios *, int idx, u8 func, u8 line,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | gpio.c | 86 .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.1.27/drivers/tty/ |
H A D | tty_ldisc.c | 41 * This guards the refcounted line discipline lists. The lock 51 * tty_register_ldisc - install a line discipline 55 * Installs a new line discipline into the kernel. The discipline 82 * tty_unregister_ldisc - unload a line discipline 86 * Remove a line discipline from the kernel providing it is not 145 * Takes a reference to a line discipline. Deals with refcounts and 252 * Dereference the line discipline for the terminal and take a 253 * reference to it. If the line discipline is in flux then 277 * Dereference the line discipline for the terminal and take a 278 * reference to it. If the line discipline is in flux then 397 * tty_ldisc_flush - flush line discipline queue 400 * Flush the line discipline queue (if any) and the tty flip buffers 417 * @num: line discipline number 434 * tty_ldisc_open - open a line discipline 459 * tty_ldisc_close - close a line discipline 480 * Restore the previous line discipline or N_TTY when a line discipline 512 * tty_set_ldisc - set line discipline 514 * @ldisc: the line discipline 516 * Set the discipline of a tty line. Must be called from a process 564 /* Now set up the new line discipline. */ tty_set_ldisc() 622 * @ldisc: line discipline to reinitialize 624 * Switch the tty to a line discipline and leave the ldisc 638 * Switch the line discipline back tty_ldisc_reinit() 686 * Shutdown the current line discipline, and reset it to tty_ldisc_hangup() 721 * tty_ldisc_setup - open line discipline 726 * line disciplines and bind them to the tty. This has no locking issues 764 * tty_ldisc_release - release line discipline 768 * down the line discpline layer. On exit, each ldisc assigned is N_TTY and 777 * Shutdown this line discipline. As this is the final close, tty_ldisc_release() 799 * Set up the line discipline objects for a newly allocated tty. Note that 826 /* Setup the default TTY line discipline. */ tty_ldisc_begin()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | cache.h | 23 unsigned int linesz; /* Cache line size (bytes) */ 25 unsigned int way_size; /* sets * line size */
|
/linux-4.1.27/arch/mn10300/unit-asb2305/ |
H A D | pci-irq.c | 30 u8 line, pin; pcibios_fixup_irqs() local 39 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); for_each_pci_dev()
|
/linux-4.1.27/arch/frv/mb93090-mb00/ |
H A D | pci-irq.c | 46 uint8_t line, pin; pcibios_fixup_irqs() local 54 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); for_each_pci_dev()
|
/linux-4.1.27/lib/ |
H A D | bug.c | 10 CONFIG_DEBUG_BUGVERBOSE - emit full file+line information for each BUG 25 - NOTE: struct bug_entry does not have "file" or "line" entries 142 unsigned line, warning; report_bug() local 150 line = 0; report_bug() 160 line = bug->line; report_bug() 170 pr_warn("WARNING: at %s:%u\n", file, line); report_bug() 186 pr_crit("kernel BUG at %s:%u!\n", file, line); report_bug()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | hysdn_procconf.c | 27 #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.1.27/drivers/net/wireless/brcm80211/include/ |
H A D | defs.h | 100 #define _PADLINE(line) pad ## line 101 #define _XSTR(line) _PADLINE(line)
|
/linux-4.1.27/arch/sh/mm/ |
H A D | cache-debugfs.c | 68 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.1.27/arch/mips/dec/prom/ |
H A D | cmdline.c | 2 * cmdline.c: read the command line passed to us by the PROM.
|
/linux-4.1.27/arch/mips/include/asm/mips-boards/ |
H A D | launch.h | 12 unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */
|
/linux-4.1.27/fs/nfs/ |
H A D | nfsroot.c | 7 * 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.1.27/arch/powerpc/include/asm/ |
H A D | bug.h | 20 .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 D | cache.h | 8 /* bytes per L1 cache line */ 33 u32 dline_size; /* L1 d-cache line size */ 37 u32 iline_size; /* L1 i-cache line size */
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | cache.h | 10 /* Bytes per L1 (data) cache line. */
|
/linux-4.1.27/sound/core/seq/ |
H A D | seq_lock.h | 20 void snd_use_lock_sync_helper(snd_use_lock_t *lock, const char *file, int line);
|
H A D | seq_lock.c | 29 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.1.27/tools/power/cpupower/debug/x86_64/ |
H A D | Makefile | 2 ifeq ("$(origin O)", "command line")
|
/linux-4.1.27/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 81 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.1.27/arch/mips/include/uapi/asm/ |
H A D | termios.h | 36 char t_rprntc; /* reprint line */ 58 char c_line; /* line discipline */ 64 #define TIOCM_LE 0x001 /* line enable */
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
H A D | bug.h | 9 * 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.1.27/arch/ia64/lib/ |
H A D | clear_page.S | 16 # 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 D | copy_page_mck.S | 20 * 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.1.27/arch/ia64/scripts/ |
H A D | unwcheck.py | 39 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.1.27/tools/perf/scripts/python/ |
H A D | net_dropmonitor.py | 24 for line in f: 25 loc = int(line.split()[0], 16) 26 name = line.split()[2]
|
/linux-4.1.27/arch/tile/lib/ |
H A D | memcpy_32.S | 140 * 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. */
|
H A D | memset_32.c | 46 /* Strangely, combining these into one line memset() 78 * pointer becomes aligned modulo the cache line size. memset() 84 * one full cache line to process. This check also prevents memset() 90 /* Align out32 mod the cache line size so we can use wh64. */ memset()
|
H A D | memset_64.c | 46 /* Strangely, combining these into one line memset() 77 * pointer becomes aligned modulo the cache line size. memset() 83 * one full cache line to process. This check also prevents memset() 89 /* Align out64 mod the cache line size so we can use wh64. */ memset()
|
/linux-4.1.27/drivers/media/usb/pwc/ |
H A D | pwc-uncompress.c | 38 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.1.27/drivers/staging/lustre/lustre/include/linux/ |
H A D | obd.h | 66 int line; member in struct:__anon10001 70 const char *func, int line) __client_obd_list_lock() 78 lock->line = line; __client_obd_list_lock() 93 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.1.27/drivers/usb/class/ |
H A D | cdc-acm.h | 38 * 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.1.27/arch/arm/mach-ixp4xx/ |
H A D | common.c | 111 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.1.27/sound/pci/hda/ |
H A D | hda_auto_parser.h | 54 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.1.27/drivers/media/pci/tw68/ |
H A D | tw68-risc.c | 36 * @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.1.27/arch/arm64/mm/ |
H A D | cache.S | 55 add x2, x2, #4 // add 4 (line length offset) 130 USER(9f, dc cvau, x4 ) // clean D line to PoU 140 USER(9f, ic ivau, x4 ) // invalidate I line PoU 168 1: dc civac, x0 // clean & invalidate D line / unified line 192 tst x1, x3 // end cache line aligned? 195 dc civac, x1 // clean & invalidate D / U line 196 1: tst x0, x3 // start cache line aligned? 199 dc civac, x0 // clean & invalidate D / U line 201 2: dc ivac, x0 // invalidate D / U line 236 1: dc civac, x0 // clean & invalidate D / U line
|
/linux-4.1.27/drivers/atm/ |
H A D | uPD98402.h | 48 #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.1.27/arch/nios2/kernel/ |
H A D | cpuinfo.c | 61 "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.1.27/tools/power/cpupower/bench/ |
H A D | parse.c | 161 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.1.27/tools/perf/tests/ |
H A D | code-reading.c | 36 static void read_objdump_line(const char *line, size_t line_len, void **buf, read_objdump_line() argument 43 p = strchr(line, ':'); read_objdump_line() 46 i = p + 1 - line; read_objdump_line() 54 if (!isspace(line[i])) read_objdump_line() 58 if (i >= line_len || !isxdigit(line[i])) read_objdump_line() 60 c1 = line[i++]; read_objdump_line() 61 if (i >= line_len || !isxdigit(line[i])) read_objdump_line() 63 c2 = line[i++]; read_objdump_line() 65 if (i < line_len && line[i] && !isspace(line[i])) read_objdump_line() 76 char *line = NULL; read_objdump_output() local 82 ret = getline(&line, &line_len, f); read_objdump_output() 90 read_objdump_line(line, ret, buf, len); read_objdump_output() 93 free(line); read_objdump_output()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | misc_64.S | 76 * Different systems have different cache line sizes 77 * and in some cases i-cache and d-cache line sizes differ from 81 lwz r7,DCACHEL1LINESIZE(r10)/* Get cache line size */ 83 andc r6,r3,r5 /* round low to line bdy */ 86 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of cache line size */ 87 srw. r8,r8,r9 /* compute line count */ 97 lwz r7,ICACHEL1LINESIZE(r10) /* Get Icache line size */ 99 andc r6,r3,r5 /* round low to line bdy */ 102 lwz r9,ICACHEL1LOGLINESIZE(r10) /* Get log-2 of Icache line size */ 103 srw. r8,r8,r9 /* compute line count */ 124 * Different systems have different cache line sizes 127 lwz r7,DCACHEL1LINESIZE(r10) /* Get dcache line size */ 129 andc r6,r3,r5 /* round low to line bdy */ 132 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of dcache line size */ 133 srw. r8,r8,r9 /* compute line count */ 154 lwz r7,DCACHEL1LINESIZE(r10) /* Get dcache line size */ 156 andc r6,r3,r5 /* round low to line bdy */ 159 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of dcache line size */ 160 srw. r8,r8,r9 /* compute line count */ 182 lwz r7,DCACHEL1LINESIZE(r10) /* Get dcache line size */ 184 andc r6,r3,r5 /* round low to line bdy */ 187 lwz r9,DCACHEL1LOGLINESIZE(r10)/* Get log-2 of dcache line size */ 188 srw. r8,r8,r9 /* compute line count */ 212 * Different systems have different cache line sizes 224 lwz r5,DCACHEL1LINESIZE(r7) /* Get dcache line size */ 235 lwz r5,ICACHEL1LINESIZE(r7) /* Get icache line size */
|
/linux-4.1.27/arch/nios2/mm/ |
H A D | tlb.c | 157 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.1.27/arch/powerpc/boot/ |
H A D | rs6000.h | 84 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.1.27/drivers/dma/ipu/ |
H A D | ipu_irq.c | 163 * @irq: interrupt line to get status for. 273 int i, line; ipu_irq_err() local 287 while ((line = ffs(status))) { ipu_irq_err() 290 line--; ipu_irq_err() 291 status &= ~(1UL << line); ipu_irq_err() 294 map = src2map(32 * i + line); ipu_irq_err() 301 line, i); ipu_irq_err() 314 int i, line; ipu_irq_fn() local 324 while ((line = ffs(status))) { ipu_irq_fn() 327 line--; ipu_irq_fn() 328 status &= ~(1UL << line); ipu_irq_fn() 331 map = src2map(32 * i + line); ipu_irq_fn() 338 line, i); ipu_irq_fn()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zoran_procfs.c | 142 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.1.27/arch/arm/mach-mmp/ |
H A D | pm-pxa910.c | 35 /* wakeup line 2 */ pxa910_set_wake() 40 /* wakeup line 3 */ pxa910_set_wake() 53 /* wakeup line 4 */ pxa910_set_wake() 82 /* wakeup line 5 */ pxa910_set_wake() 88 /* wakeup line 6 */ pxa910_set_wake() 95 /* wakeup line 7 */ pxa910_set_wake()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-l2c.h | 41 #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.1.27/drivers/video/fbdev/core/ |
H A D | fb_cmdline.c | 29 * the boot parameter line 70 * video_setup - process command line options 73 * Process command line options for frame buffer subsystem.
|
/linux-4.1.27/sound/pci/ca0106/ |
H A D | ca0106_proc.c | 301 char line[64]; snd_ca0106_proc_reg_write32() local 303 while (!snd_info_get_line(buffer, line, sizeof(line))) { snd_ca0106_proc_reg_write32() 304 if (sscanf(line, "%x %x", ®, &val) != 2) snd_ca0106_proc_reg_write32() 402 char line[64]; snd_ca0106_proc_reg_write() local 404 while (!snd_info_get_line(buffer, line, sizeof(line))) { snd_ca0106_proc_reg_write() 405 if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) snd_ca0106_proc_reg_write() 416 char line[64]; snd_ca0106_proc_i2c_write() local 418 while (!snd_info_get_line(buffer, line, sizeof(line))) { snd_ca0106_proc_i2c_write() 419 if (sscanf(line, "%x %x", ®, &val) != 2) snd_ca0106_proc_i2c_write()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | btcx-risc.h | 24 void btcx_calc_skips(int line, int width, int *maxy,
|
/linux-4.1.27/drivers/reset/ |
H A D | core.c | 38 * 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.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | firmware.c | 45 * @line: current line. 46 * @column: current column in line. 55 u32 line; member in struct:nvram_parser 92 nvp->line, nvp->column); brcmf_nvram_handle_idle() 113 nvp->line, nvp->column); brcmf_nvram_handle_key() 158 /* eat all moving to next line */ brcmf_nvram_handle_comment() 159 nvp->line++; brcmf_nvram_handle_comment() 190 nvp->line = 1; brcmf_init_nvram_parser()
|