Home
last modified time | relevance | path

Searched refs:line (Results 1 – 200 of 1551) sorted by relevance

12345678

/linux-4.1.27/arch/um/drivers/
Dline.c21 struct line *line = chan->line; in line_interrupt() local
23 if (line) in line_interrupt()
24 chan_interrupt(line, irq); in line_interrupt()
34 static int write_room(struct line *line) in write_room() argument
38 if (line->buffer == NULL) in write_room()
42 n = line->head - line->tail; in write_room()
51 struct line *line = tty->driver_data; in line_write_room() local
55 spin_lock_irqsave(&line->lock, flags); in line_write_room()
56 room = write_room(line); in line_write_room()
57 spin_unlock_irqrestore(&line->lock, flags); in line_write_room()
[all …]
Dchan.h18 struct line *line; member
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,
Dchan_kern.c133 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local
135 if (!line->throttled) in line_timer_cb()
136 chan_interrupt(line, line->driver->read_irq); in line_timer_cb()
139 int enable_chan(struct line *line) in enable_chan() argument
145 INIT_DELAYED_WORK(&line->task, line_timer_cb); in enable_chan()
147 list_for_each(ele, &line->chan_list) { in enable_chan()
159 err = line_setup_irq(chan->fd, chan->input, chan->output, line, in enable_chan()
170 close_chan(line); in enable_chan()
198 um_free_irq(chan->line->driver->read_irq, chan); in free_irqs()
200 um_free_irq(chan->line->driver->write_irq, chan); in free_irqs()
[all …]
Dline.h34 struct line { struct
62 struct line *line); argument
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,
Dxterm.c47 static int __init xterm_setup(char *line, int *add) in xterm_setup() argument
50 terminal_emulator = line; in xterm_setup()
52 line = strchr(line, ','); in xterm_setup()
53 if (line == NULL) in xterm_setup()
56 *line++ = '\0'; in xterm_setup()
57 if (*line) in xterm_setup()
58 title_switch = line; in xterm_setup()
60 line = strchr(line, ','); in xterm_setup()
61 if (line == NULL) in xterm_setup()
64 *line++ = '\0'; in xterm_setup()
[all …]
Dstdio_console.c75 static struct line vts[MAX_TTYS];
119 struct line *line = &vts[console->index]; in uml_console_write() local
122 spin_lock_irqsave(&line->lock, flags); in uml_console_write()
123 console_write_chan(line->chan_out, string, len); in uml_console_write()
124 spin_unlock_irqrestore(&line->lock, flags); in uml_console_write()
135 struct line *line = &vts[co->index]; in uml_console_setup() local
137 return console_open_chan(line, co); in uml_console_setup()
Dssl.c70 static struct line serial_lines[NR_PORTS];
119 struct line *line = &serial_lines[c->index]; in ssl_console_write() local
122 spin_lock_irqsave(&line->lock, flags); in ssl_console_write()
123 console_write_chan(line->chan_out, string, len); in ssl_console_write()
124 spin_unlock_irqrestore(&line->lock, flags); in ssl_console_write()
135 struct line *line = &serial_lines[co->index]; in ssl_console_setup() local
137 return console_open_chan(line, co); in ssl_console_setup()
Dpty.c78 static int getmaster(char *line) in getmaster() argument
84 pty = &line[strlen("/dev/ptyp")]; in getmaster()
86 line[strlen("/dev/pty")] = *bank; in getmaster()
89 if ((stat(line, &buf) < 0) && (errno == ENOENT)) in getmaster()
94 master = open(line, O_RDWR); in getmaster()
96 char *tp = &line[strlen("/dev/")]; in getmaster()
100 err = access(line, R_OK | W_OK); in getmaster()
Dssl.h9 extern int ssl_read(int fd, int line);
10 extern void ssl_receive_char(int line, char ch);
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dnv10.c29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) in nv10_gpio_sense() argument
31 if (line < 2) { in nv10_gpio_sense()
32 line = line * 16; in nv10_gpio_sense()
33 line = nv_rd32(gpio, 0x600818) >> line; in nv10_gpio_sense()
34 return !!(line & 0x0100); in nv10_gpio_sense()
36 if (line < 10) { in nv10_gpio_sense()
37 line = (line - 2) * 4; in nv10_gpio_sense()
38 line = nv_rd32(gpio, 0x60081c) >> line; in nv10_gpio_sense()
39 return !!(line & 0x04); in nv10_gpio_sense()
41 if (line < 14) { in nv10_gpio_sense()
[all …]
Dnv50.c37 u8 line = (data & 0x0000001f); in nv50_gpio_reset() local
43 u32 reg = regs[line >> 4]; in nv50_gpio_reset()
44 u32 lsh = line & 0x0f; in nv50_gpio_reset()
50 gpio->set(gpio, 0, func, line, defs); in nv50_gpio_reset()
57 nv50_gpio_location(int line, u32 *reg, u32 *shift) in nv50_gpio_location() argument
61 if (line >= 32) in nv50_gpio_location()
64 *reg = nv50_gpio_reg[line >> 3]; in nv50_gpio_location()
65 *shift = (line & 7) << 2; in nv50_gpio_location()
70 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in nv50_gpio_drive() argument
74 if (nv50_gpio_location(line, &reg, &shift)) in nv50_gpio_drive()
[all …]
Dgf110.c36 u8 line = (data & 0x0000003f); in gf110_gpio_reset() local
46 gpio->set(gpio, 0, func, line, defs); in gf110_gpio_reset()
48 nv_mask(gpio, 0x00d610 + (line * 4), 0xff, unk0); in gf110_gpio_reset()
50 nv_mask(gpio, 0x00d740 + (unk1 * 4), 0xff, line); in gf110_gpio_reset()
55 gf110_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in gf110_gpio_drive() argument
58 nv_mask(gpio, 0x00d610 + (line * 4), 0x00003000, data); in gf110_gpio_drive()
64 gf110_gpio_sense(struct nvkm_gpio *gpio, int line) in gf110_gpio_sense() argument
66 return !!(nv_rd32(gpio, 0x00d610 + (line * 4)) & 0x00004000); in gf110_gpio_sense()
Dbase.c30 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) in nvkm_gpio_drive() argument
33 return impl->drive ? impl->drive(gpio, line, dir, out) : -ENODEV; in nvkm_gpio_drive()
37 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) in nvkm_gpio_sense() argument
40 return impl->sense ? impl->sense(gpio, line) : -ENODEV; in nvkm_gpio_sense()
44 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, in nvkm_gpio_find() argument
51 if (line == 0xff && tag == 0xff) in nvkm_gpio_find()
54 data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); in nvkm_gpio_find()
63 .line = 4, in nvkm_gpio_find()
75 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set() argument
80 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); in nvkm_gpio_set()
[all …]
/linux-4.1.27/scripts/kconfig/
Dzconf.hash.c31 #line 10 "scripts/kconfig/zconf.gperf"
185 #line 25 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
187 #line 36 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
190 #line 26 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
193 #line 29 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
195 #line 31 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
197 #line 20 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
200 #line 32 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
202 #line 35 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
204 #line 45 "scripts/kconfig/zconf.gperf" in kconf_id_lookup()
[all …]
Dzconf.hash.c_shipped2 /* Command-line: gperf -t --output-file scripts/kconfig/zconf.hash.c_shipped -a -C -E -g -k '1,3,$'…
31 #line 10 "scripts/kconfig/zconf.gperf"
185 #line 25 "scripts/kconfig/zconf.gperf"
187 #line 36 "scripts/kconfig/zconf.gperf"
190 #line 26 "scripts/kconfig/zconf.gperf"
193 #line 29 "scripts/kconfig/zconf.gperf"
195 #line 31 "scripts/kconfig/zconf.gperf"
197 #line 20 "scripts/kconfig/zconf.gperf"
200 #line 32 "scripts/kconfig/zconf.gperf"
202 #line 35 "scripts/kconfig/zconf.gperf"
[all …]
Dconf.c44 static char line[128]; variable
91 line[0] = '\n'; in conf_askvalue()
92 line[1] = 0; in conf_askvalue()
96 line[0] = '\n'; in conf_askvalue()
97 line[1] = 0; in conf_askvalue()
112 xfgets(line, 128, stdin); in conf_askvalue()
129 printf("%s", line); in conf_askvalue()
146 switch (line[0]) { in conf_string()
151 if (line[1] == '\n') { in conf_string()
158 line[strlen(line)-1] = 0; in conf_string()
[all …]
Dstreamline_config.pl161 my $line;
179 $_ = $line . " " . $_;
184 $line = $_;
273 my ($line, %vars) = @_;
277 while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
289 $process .= $line;
297 my $line = "";
305 $line .= $1;
309 $line .= $_;
310 $_ = $line;
[all …]
Dconfdata.c219 char *line = *lineptr; in compat_getline() local
227 if (add_byte(c, &line, slen, n) < 0) in compat_getline()
232 if (add_byte('\0', &line, slen, n) < 0) in compat_getline()
234 *lineptr = line; in compat_getline()
239 if (add_byte(c, &line, slen, n) < 0) in compat_getline()
246 line[slen-1] = '\0'; in compat_getline()
247 *lineptr = line; in compat_getline()
254 char *line = NULL; in conf_read_simple() local
317 while (compat_getline(&line, &line_asize, in) != -1) { in conf_read_simple()
320 if (line[0] == '#') { in conf_read_simple()
[all …]
Dnconf.gui.c203 int get_line_length(const char *line) in get_line_length() argument
206 while (*line != '\0' && *line != '\n') { in get_line_length()
207 line++; in get_line_length()
225 const char *line = get_line(text, i); in fill_window() local
226 int len = get_line_length(line); in fill_window()
227 strncpy(tmp, line, min(len, x)); in fill_window()
271 const char *line = get_line(msg, i); in btn_dialog() local
272 int len = get_line_length(line); in btn_dialog()
381 const char *line = get_line(prompt, i); in dialog_inputbox() local
382 int len = get_line_length(line); in dialog_inputbox()
[all …]
/linux-4.1.27/scripts/
Dcheckpatch.pl111 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);
469 my $line = $_;
471 $line =~ s/\s*\n?$//g;
472 $line =~ s/^\s*//g;
[all …]
Dmarkup_oops.pl51 my ($line) = @_;
52 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
58 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
63 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
68 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
73 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) {
77 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) {
82 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) {
100 my ($line, $cntr) = @_;
102 if (length($line) < 40) {
[all …]
Dheaders_check.pl27 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>/) {
[all …]
Ddocproc.c61 typedef void FILELINE(char * file, char * line);
183 static void adddep2(char * file, char * line) { line = line; adddep(file); } in adddep2() argument
184 static void noaction(char * line) { line = line; } in noaction() argument
185 static void noaction2(char * file, char * line) { file = file; line = line; } in noaction2() argument
188 static void printline(char * line) { printf("%s", line); } in printline() argument
199 char line[MAXLINESZ]; in find_export_symbols() local
214 while (fgets(line, MAXLINESZ, fp)) { in find_export_symbols()
217 if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) || in find_export_symbols()
218 ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) { in find_export_symbols()
291 static void singfunc(char * filename, char * line) in singfunc() argument
[all …]
Dcheckkconfigsymbols.py151 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): argument
228 return REGEX_FEATURE.findall(line)
240 line = lines[i]
241 line = line.strip('\n')
242 line = line.split("#")[0] # ignore comments
[all …]
Dshow_delta44 def get_time(line): argument
45 if line[0]!="[":
49 (time_str, rest) = string.split(line[1:],']',1)
61 def convert_line(line, base_time): argument
65 (time, rest) = get_time(line)
68 return line
109 for line in lines:
111 (time, rest) = get_time(line)
125 for line in lines:
126 print (convert_line(line, base_time),)
Dcleanfile137 while ( defined($line = <FILE>) ) {
139 $in_bytes += length($line);
140 $line =~ s/[ \t\r]*$//; # Remove trailing spaces
141 $line = clean_space_tabs($line);
143 if ( $line eq "\n" ) {
144 push(@blanks, $line);
145 $blank_bytes += length($line);
149 push(@lines, $line);
150 $out_bytes += length($line);
155 $l_width = strwidth($line);
Dget_maintainer.pl170 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);
284 my $line = $_;
286 if ($line =~ m/^(\C):\s*(.*)/) {
304 $line =~ s/\n$//g;
[all …]
Dcleanpatch138 while ( defined($line = <FILE>) ) {
140 $in_bytes += length($line);
143 if ($line =~
149 @hunk_lines = ($line);
152 push(@lines, $line);
153 $out_bytes += length($line);
158 if ($line =~ /^\+/) {
161 $text = substr($line, 1);
173 } elsif ($line =~ /^\-/) {
175 push(@hunk_lines, $line);
[all …]
Ddecode_stacktrace.sh114 while read line; do
116 if [[ $line =~ \[\<([^]]+)\>\] ]]; then
118 handle_line "$line"
120 elif [[ $line == *Code:* ]]; then
121 decode_code "$line"
124 echo "$line"
Ddiffconfig41 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"
Dcheckstack.pl120 while (my $line = <STDIN>) {
121 if ($line =~ m/$funcre/) {
124 elsif ($line =~ m/(.*):\s*file format/) {
132 elsif ($line =~ m/$re/) {
143 next if $line !~ m/^($xs*)/;
157 elsif (defined $dre && $line =~ m/$dre/) {
160 next if $line !~ m/^($xs*)/;
Dbootgraph.pl83 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/) {
Dprofile2linkerlist.pl13 my $line = $_;
18 unless ($line =~ /unknown/) || ($line =~ /total/);
Danalyze_suspend.py354 for line in cg.list:
355 line.time = self.trimTimeVal(line.time, t0, dT, left)
386 for line in cg.list:
387 line.time -= tZero
713 def setDepth(self, line): argument
714 if(line.fcall and not line.freturn):
715 line.depth = self.depth
717 elif(line.freturn and not line.fcall):
719 line.depth = self.depth
721 line.depth = self.depth
[all …]
/linux-4.1.27/scripts/genksyms/
Dkeywords.hash.c_shipped2 /* Command-line: gperf -t --output-file scripts/genksyms/keywords.hash.c_shipped -a -C -E -g -k '1,…
31 #line 4 "scripts/genksyms/keywords.gperf"
35 #line 8 "scripts/genksyms/keywords.gperf"
102 #line 35 "scripts/genksyms/keywords.gperf"
105 #line 15 "scripts/genksyms/keywords.gperf"
108 #line 16 "scripts/genksyms/keywords.gperf"
111 #line 27 "scripts/genksyms/keywords.gperf"
114 #line 19 "scripts/genksyms/keywords.gperf"
116 #line 18 "scripts/genksyms/keywords.gperf"
118 #line 20 "scripts/genksyms/keywords.gperf"
[all …]
/linux-4.1.27/Documentation/arm/Samsung/
Dclksrc-change-registers.awk69 while (getline line < ARGV[1] > 0) {
70 if (line ~ /\#define.*_MASK/ &&
71 !(line ~ /USB_SIG_MASK/)) {
72 splitdefine(line, fields)
75 printf "MASK " line "\n" > "/dev/stderr"
98 if ((getline line) <= 0) {
103 if (line ~ /\.shift/) {
104 shift = extract_value(line)
105 } else if (line ~ /\.mask/) {
106 mask = extract_value(line)
[all …]
/linux-4.1.27/drivers/zorro/
Dgen-devlist.c31 char line[1024], *c, *bra, manuf[8]; in main() local
44 while (fgets(line, sizeof(line)-1, stdin)) { in main()
46 if ((c = strchr(line, '\n'))) in main()
48 if (!line[0] || line[0] == '#') in main()
50 if (line[0] == '\t') { in main()
53 if (strlen(line) > 5 && line[5] == ' ') { in main()
54 c = line + 5; in main()
67 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main()
75 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
76 c = line + 4; in main()
[all …]
/linux-4.1.27/drivers/fmc/
Dfmc-dump.c24 static const uint8_t *dump_line(int addr, const uint8_t *line, in dump_line() argument
29 if (!prev || memcmp(line, prev, LINELEN)) { in dump_line()
32 printk(KERN_CONT "%02x", line[i]); in dump_line()
36 return line; in dump_line()
39 if (line == prev + LINELEN) in dump_line()
46 const uint8_t *line, *prev; in fmc_dump_eeprom() local
57 line = fmc->eeprom; in fmc_dump_eeprom()
59 for (i = 0; i < fmc->eeprom_len; i += LINELEN, line += LINELEN) in fmc_dump_eeprom()
60 prev = dump_line(i, line, prev); in fmc_dump_eeprom()
65 const uint8_t *line, *prev; in fmc_dump_sdb() local
[all …]
/linux-4.1.27/fs/gfs2/
Dutil.c88 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i() argument
94 assertion, function, file, line); in gfs2_assert_withdraw_i()
106 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i() argument
115 assertion, function, file, line); in gfs2_assert_warn_i()
126 sdp->sd_fsname, function, file, line); in gfs2_assert_warn_i()
140 char *file, unsigned int line) in gfs2_consist_i() argument
145 function, file, line); in gfs2_consist_i()
156 const char *function, char *file, unsigned int line) in gfs2_consist_inode_i() argument
166 function, file, line); in gfs2_consist_inode_i()
177 const char *function, char *file, unsigned int line) in gfs2_consist_rgrpd_i() argument
[all …]
Dutil.h43 const char *function, char *file, unsigned int line);
51 const char *function, char *file, unsigned int line);
59 const char *function, char *file, unsigned int line);
66 const char *function, char *file, unsigned int line);
73 const char *function, char *file, unsigned int line);
81 char *file, unsigned int line);
99 char *file, unsigned int line);
105 char *file, unsigned int line) in gfs2_metatype_check_i() argument
112 file, line); in gfs2_metatype_check_i()
115 file, line); in gfs2_metatype_check_i()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dnv50.c34 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument
36 if (*line == 0x04) { in pwm_info()
38 *line = 4; in pwm_info()
41 if (*line == 0x09) { in pwm_info()
43 *line = 9; in pwm_info()
46 if (*line == 0x10) { in pwm_info()
48 *line = 0; in pwm_info()
51 nv_error(therm, "unknown pwm ctrl for gpio %d\n", *line); in pwm_info()
59 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl() argument
62 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_ctrl()
[all …]
Dgf110.c33 pwm_info(struct nvkm_therm *therm, int line) in pwm_info() argument
35 u32 gpio = nv_rd32(therm, 0x00d610 + (line * 0x04)); in pwm_info()
52 nv_error(therm, "GPIO %d unknown PWM: 0x%08x\n", line, gpio); in pwm_info()
57 gf110_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gf110_fan_pwm_ctrl() argument
60 int indx = pwm_info(therm, line); in gf110_fan_pwm_ctrl()
64 nv_mask(therm, 0x00d610 + (line * 0x04), 0x000000c0, data); in gf110_fan_pwm_ctrl()
70 gf110_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gf110_fan_pwm_get() argument
72 int indx = pwm_info(therm, line); in gf110_fan_pwm_get()
76 if (nv_rd32(therm, 0x00d610 + (line * 0x04)) & 0x00000040) { in gf110_fan_pwm_get()
91 gf110_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gf110_fan_pwm_set() argument
[all …]
Dnv40.c114 nv40_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv40_fan_pwm_ctrl() argument
117 if (line == 2) nv_mask(therm, 0x0010f0, 0x80000000, mask); in nv40_fan_pwm_ctrl()
118 else if (line == 9) nv_mask(therm, 0x0015f4, 0x80000000, mask); in nv40_fan_pwm_ctrl()
120 nv_error(therm, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_ctrl()
127 nv40_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in nv40_fan_pwm_get() argument
129 if (line == 2) { in nv40_fan_pwm_get()
137 if (line == 9) { in nv40_fan_pwm_get()
145 nv_error(therm, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_get()
153 nv40_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in nv40_fan_pwm_set() argument
155 if (line == 2) { in nv40_fan_pwm_set()
[all …]
Dfanpwm.c48 ret = therm->pwm_get(therm, priv->func.line, &divs, &duty); in nvkm_fanpwm_get()
56 return gpio->get(gpio, 0, priv->func.func, priv->func.line) * 100; in nvkm_fanpwm_get()
72 divs = therm->pwm_clock(therm, priv->func.line); in nvkm_fanpwm_set()
80 ret = therm->pwm_set(therm, priv->func.line, divs, duty); in nvkm_fanpwm_set()
82 ret = therm->pwm_ctrl(therm, priv->func.line, true); in nvkm_fanpwm_set()
100 therm->pwm_get(therm, func->line, &divs, &duty) == -ENODEV) in nvkm_fanpwm_create()
Dgm107.c33 gm107_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in gm107_fan_pwm_ctrl() argument
40 gm107_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) in gm107_fan_pwm_get() argument
48 gm107_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) in gm107_fan_pwm_set() argument
56 gm107_fan_pwm_clock(struct nvkm_therm *therm, int line) in gm107_fan_pwm_clock() argument
/linux-4.1.27/usr/
Dgen_init_cpio.c29 int (*handler)(const char *line);
133 static int cpio_mkslink_line(const char *line) in cpio_mkslink_line() argument
142 …if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &ui… in cpio_mkslink_line()
143 fprintf(stderr, "Unrecognized dir format '%s'", line); in cpio_mkslink_line()
205 static int cpio_mkgeneric_line(const char *line, enum generic_types gt) in cpio_mkgeneric_line() argument
213 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { in cpio_mkgeneric_line()
215 line, generic_type_table[gt].type); in cpio_mkgeneric_line()
224 static int cpio_mkdir_line(const char *line) in cpio_mkdir_line() argument
226 return cpio_mkgeneric_line(line, GT_DIR); in cpio_mkdir_line()
229 static int cpio_mkpipe_line(const char *line) in cpio_mkpipe_line() argument
[all …]
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-vbi.c35 data.line = enabled ? 16 : 0; in ivtv_set_vps()
52 data.line = (mode & 1) ? 21 : 0; in ivtv_set_cc()
57 data.line = (mode & 2) ? 21 : 0; in ivtv_set_cc()
80 data.line = enabled ? 23 : 0; in ivtv_set_wss()
101 if (d->id == V4L2_SLICED_CAPTION_525 && d->line == 21) { in ivtv_write_vbi_line()
110 } else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) { in ivtv_write_vbi_line()
123 d->line == 23 && d->field == 0) { in ivtv_write_vbi_line()
188 int line = 0; in copy_vbi_data() local
208 l = itv->vbi.sliced_data[i].line - 6; in copy_vbi_data()
216 dst[sd + 12 + line * 43] = in copy_vbi_data()
[all …]
/linux-4.1.27/drivers/isdn/i4l/
Disdn_v110.c192 int line = 0; in DecodeMatrix() local
199 while (line < len) { /* Are we done with all lines of the matrix? */ in DecodeMatrix()
200 if ((line % 10) == 0) { /* the 0. line of the matrix is always 0 ! */ in DecodeMatrix()
201 if (m[line] != 0x00) { /* not 0 ? -> error! */ in DecodeMatrix()
207 line++; /* next line of matrix */ in DecodeMatrix()
209 } else if ((line % 10) == 5) { /* in line 5 there's only e-bits ! */ in DecodeMatrix()
210 if ((m[line] & 0x70) != 0x30) { /* 011 has to be at the beginning! */ in DecodeMatrix()
216 line++; /* next line */ in DecodeMatrix()
219 introducer = (m[line] & mbit) ? 0 : 1; /* current bit of the matrix */ in DecodeMatrix()
226 line++; in DecodeMatrix()
[all …]
/linux-4.1.27/drivers/crypto/vmx/
Dppc-xlate.pl67 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*||;
[all …]
/linux-4.1.27/drivers/tty/serial/
Dcrisv10.c114 #define DEBUG_LOG(line, string, value) argument
135 void debug_log_func(int line, const char *string, int value) in debug_log_func() argument
496 #define E100_STRUCT_PORT(line, pinname) \ argument
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) \ argument
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]))
[all …]
Dsb1250-duart.c57 #define SBD_CHANREGS(line) A_BCM1480_DUART_CHANREG((line), 0) argument
58 #define SBD_CTRLREGS(line) A_BCM1480_DUART_CTRLREG((line), 0) argument
59 #define SBD_INT(line) (K_BCM1480_INT_UART_0 + (line)) argument
63 #define R_DUART_IMRREG(line) R_BCM1480_DUART_IMRREG(line) argument
64 #define R_DUART_INCHREG(line) R_BCM1480_DUART_INCHREG(line) argument
65 #define R_DUART_ISRREG(line) R_BCM1480_DUART_ISRREG(line) argument
71 #define SBD_CHANREGS(line) A_DUART_CHANREG((line), 0) argument
72 #define SBD_CTRLREGS(line) A_DUART_CTRLREG(0) argument
73 #define SBD_INT(line) (K_INT_UART_0 + (line)) argument
254 status >>= (uport->line) % 2; in sbd_get_mctrl()
[all …]
Dsirfsoc_uart.h48 typedef u32 (*fifo_full_mask)(int line);
49 typedef u32 (*fifo_empty_mask)(int line);
108 u32 usp_ff_full(int line) in usp_ff_full() argument
112 u32 usp_ff_empty(int line) in usp_ff_empty() argument
116 u32 uart_ff_full(int line) in uart_ff_full() argument
118 return (line == 1) ? (0x20) : (0x80); in uart_ff_full()
120 u32 uart_ff_empty(int line) in uart_ff_empty() argument
122 return (line == 1) ? (0x40) : (0x100); in uart_ff_empty()
335 (((port)->line > 2) ? (x & 0xFFFF) : ((x) & 0xFFFF) << 16)
337 #define SIRFUART_FIFO_THD(port) ((port->line) == 1 ? 16 : 64)
[all …]
Dof_serial.c29 int line; member
109 port->line = ret; in of_platform_serial_setup()
221 info->line = ret; in of_platform_serial_probe()
239 serial8250_unregister_port(info->line); in of_platform_serial_remove()
244 nwpserial_unregister_port(info->line); in of_platform_serial_remove()
262 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_suspend_8250()
265 serial8250_suspend_port(info->line); in of_serial_suspend_8250()
272 struct uart_8250_port *port8250 = serial8250_get_port(info->line); in of_serial_resume_8250()
278 serial8250_resume_port(info->line); in of_serial_resume_8250()
Ddz.c129 u16 tmp, mask = 1 << dport->port.line; in dz_stop_tx()
139 u16 tmp, mask = 1 << dport->port.line; in dz_start_tx()
318 if (dport->port.line != DZ_MODEM) in check_modem_status()
368 if (dport->port.line == DZ_MODEM) { in dz_get_mctrl()
384 if (dport->port.line == DZ_MODEM) { in dz_set_mctrl()
480 unsigned short tmp, mask = 1 << dport->port.line; in dz_tx_empty()
496 unsigned short tmp, mask = 1 << dport->port.line; in dz_break_ctl()
572 cflag = dport->port.line; in dz_set_termios()
765 int line; in dz_init_ports() local
776 for (line = 0; line < DZ_NB_PORT; line++) { in dz_init_ports()
[all …]
D68328serial.c118 int line; member
197 unsigned short int baud = uart_addr[ss->line].ubaud; in get_baud()
215 m68328_uart *uart = &uart_addr[info->line]; in rs_stop()
247 m68328_uart *uart = &uart_addr[info->line]; in rs_start()
266 m68328_uart *uart = &uart_addr[info->line]; in receive_chars()
313 m68328_uart *uart = &uart_addr[info->line]; in transmit_chars()
355 uart = &uart_addr[info->line]; in rs_interrupt()
375 m68328_uart *uart = &uart_addr[info->line]; in startup()
429 m68328_uart *uart = &uart_addr[info->line]; in shutdown()
504 m68328_uart *uart = &uart_addr[info->line]; in change_speed()
[all …]
Defm32-uart.c694 efm_port->port.line = ret; in efm32_uart_probe_dt()
704 unsigned int line; in efm32_uart_probe() local
753 efm_port->port.line = pdev->id; in efm32_uart_probe()
760 line = efm_port->port.line; in efm32_uart_probe()
762 if (line >= 0 && line < ARRAY_SIZE(efm32_uart_ports)) in efm32_uart_probe()
763 efm32_uart_ports[line] = efm_port; in efm32_uart_probe()
769 if (line >= 0 && line < ARRAY_SIZE(efm32_uart_ports)) in efm32_uart_probe()
770 efm32_uart_ports[line] = NULL; in efm32_uart_probe()
787 unsigned int line = efm_port->port.line; in efm32_uart_remove() local
791 if (line >= 0 && line < ARRAY_SIZE(efm32_uart_ports)) in efm32_uart_remove()
[all …]
Dmpsc.c410 pi->port.line, burst_size); in mpsc_sdma_burstsize()
429 pr_debug("mpsc_sdma_init[%d]: burst_size: %d\n", pi->port.line, in mpsc_sdma_init()
441 pr_debug("mpsc_sdma_intr_mask[%d]: mask: 0x%x\n", pi->port.line, mask); in mpsc_sdma_intr_mask()
447 if (pi->port.line) in mpsc_sdma_intr_mask()
455 if (pi->port.line) in mpsc_sdma_intr_mask()
464 pr_debug("mpsc_sdma_intr_unmask[%d]: mask: 0x%x\n", pi->port.line,mask); in mpsc_sdma_intr_unmask()
470 if (pi->port.line) in mpsc_sdma_intr_unmask()
481 pr_debug("mpsc_sdma_intr_ack[%d]: Acknowledging IRQ\n", pi->port.line); in mpsc_sdma_intr_ack()
486 + pi->port.line); in mpsc_sdma_intr_ack()
493 pi->port.line, (u32)rxre_p); in mpsc_sdma_set_rx_ring()
[all …]
Dapbuart.c597 int line = 0; in grlib_apbuart_configure() local
616 grlib_apbuart_nodes[line] = np; in grlib_apbuart_configure()
620 port = &grlib_apbuart_ports[line]; in grlib_apbuart_configure()
628 port->line = line; in grlib_apbuart_configure()
630 port->fifosize = apbuart_scan_fifo_size((struct uart_port *) port, line); in grlib_apbuart_configure()
631 line++; in grlib_apbuart_configure()
634 if (line == UART_NR) in grlib_apbuart_configure()
638 grlib_apbuart_driver.nr = grlib_apbuart_port_nr = line; in grlib_apbuart_configure()
639 return line ? 0 : -ENODEV; in grlib_apbuart_configure()
Dsuncore.c56 struct uart_driver *drv, int line, bool ignore_line) in sunserial_console_match() argument
73 if ((line & 1) != off) in sunserial_console_match()
78 con->index = line; in sunserial_console_match()
79 add_preferred_console(con->name, line, NULL); in sunserial_console_match()
Dm32r_sio.h30 void m32r_sio_suspend_port(int line);
31 void m32r_sio_resume_port(int line);
Dmsm_serial.c483 "msm_serial%d", port->line); in msm_startup()
817 .line = 0,
826 .line = 1,
835 .line = 2,
842 static inline struct uart_port *get_port_from_line(unsigned int line) in get_port_from_line() argument
844 return &msm_uart_ports[line].uart; in get_port_from_line()
941 pr_info("msm_serial: console setup on port #%d\n", port->line); in msm_console_setup()
1031 int irq, line; in msm_serial_probe() local
1034 line = of_alias_get_id(pdev->dev.of_node, "serial"); in msm_serial_probe()
1036 line = pdev->id; in msm_serial_probe()
[all …]
Dsccnxp.c227 return sccnxp_read(port, (port->line << 3) + reg); in sccnxp_port_read()
232 sccnxp_write(port, (port->line << 3) + reg, v); in sccnxp_port_write()
327 s->imr |= mask << (port->line * 4); in sccnxp_enable_irq()
335 s->imr &= ~(mask << (port->line * 4)); in sccnxp_disable_irq()
344 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(sig)) { in sccnxp_set_bit()
345 bitmask = 1 << MCTRL_OBIT(s->pdata.mctrl_cfg[port->line], sig); in sccnxp_set_bit()
566 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DSR_IP)) { in sccnxp_get_mctrl()
567 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl()
572 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(CTS_IP)) { in sccnxp_get_mctrl()
573 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl()
[all …]
Dserial_txx9.c610 if (up->port.cons && up->port.line == up->port.cons->index) { in serial_txx9_shutdown()
836 if (up->port.line == up->port.cons->index) in serial_txx9_config_port()
880 up->port.line = i; in serial_txx9_register_ports()
997 if (port->line >= ARRAY_SIZE(serial_txx9_ports)) in early_serial_txx9_setup()
1000 serial_txx9_ports[port->line].port = *port; in early_serial_txx9_setup()
1001 serial_txx9_ports[port->line].port.ops = &serial_txx9_pops; in early_serial_txx9_setup()
1002 serial_txx9_ports[port->line].port.flags |= in early_serial_txx9_setup()
1055 ret = uart->port.line; in serial_txx9_register_port()
1068 static void serial_txx9_unregister_port(int line) in serial_txx9_unregister_port() argument
1070 struct uart_txx9_port *uart = &serial_txx9_ports[line]; in serial_txx9_unregister_port()
[all …]
Dvr41xx_siu.c172 if (port->line == 0) in siu_check_type()
174 if (port->line == 1 && port->irq) in siu_check_type()
328 lsr |= lsr_break_flag[port->line]; in receive_chars()
329 lsr_break_flag[port->line] = 0; in receive_chars()
725 port->line = i; in siu_init_ports()
746 lsr_break_flag[port->line] = UART_LSR_BI; in wait_for_xmitr()
846 siu_uart_ports[port->line].line = port->line; in vr41xx_siu_early_setup()
847 siu_uart_ports[port->line].type = port->type; in vr41xx_siu_early_setup()
848 siu_uart_ports[port->line].uartclk = SIU_BAUD_BASE * 16; in vr41xx_siu_early_setup()
849 siu_uart_ports[port->line].mapbase = port->mapbase; in vr41xx_siu_early_setup()
[all …]
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dtime.c32 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) in _dump_tm() argument
34 pr_debug("%s:%d tm_sec %d\n", func, line, tm->tm_sec); in _dump_tm()
35 pr_debug("%s:%d tm_min %d\n", func, line, tm->tm_min); in _dump_tm()
36 pr_debug("%s:%d tm_hour %d\n", func, line, tm->tm_hour); in _dump_tm()
37 pr_debug("%s:%d tm_mday %d\n", func, line, tm->tm_mday); in _dump_tm()
38 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon); in _dump_tm()
39 pr_debug("%s:%d tm_year %d\n", func, line, tm->tm_year); in _dump_tm()
40 pr_debug("%s:%d tm_wday %d\n", func, line, tm->tm_wday); in _dump_tm()
45 int line) in _dump_time() argument
51 pr_debug("%s:%d time %d\n", func, line, time); in _dump_time()
[all …]
Dos-area.c324 int line) in _dump_header() argument
329 pr_debug("%s:%d: h.magic_num: '%s'\n", func, line, in _dump_header()
331 pr_debug("%s:%d: h.hdr_version: %u\n", func, line, in _dump_header()
333 pr_debug("%s:%d: h.db_area_offset: %u\n", func, line, in _dump_header()
335 pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line, in _dump_header()
337 pr_debug("%s:%d: h.ldr_format: %u\n", func, line, in _dump_header()
339 pr_debug("%s:%d: h.ldr_size: %xh\n", func, line, in _dump_header()
345 int line) in _dump_params() argument
347 pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag); in _dump_params()
348 pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params); in _dump_params()
[all …]
Dmm.c119 const char *func, int line) in _debug_dump_map() argument
121 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map()
122 DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size); in _debug_dump_map()
123 DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id); in _debug_dump_map()
124 DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size); in _debug_dump_map()
125 DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base); in _debug_dump_map()
126 DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset); in _debug_dump_map()
127 DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size); in _debug_dump_map()
357 const char *func, int line) in _dma_dump_region() argument
359 DBG("%s:%d: dev %llu:%llu\n", func, line, r->dev->bus_id, in _dma_dump_region()
[all …]
Dinterrupt.c630 const char* func, int line) in _dump_64_bmp() argument
633 func, line, header, cpu, in _dump_64_bmp()
639 const u64 *p, unsigned cpu, const char* func, int line) in _dump_256_bmp() argument
642 func, line, header, cpu, p[0], p[1], p[2], p[3]); in _dump_256_bmp()
646 static void _dump_bmp(struct ps3_private* pd, const char* func, int line) in _dump_bmp() argument
651 _dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line); in _dump_bmp()
652 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_bmp()
658 const char* func, int line) in _dump_mask() argument
663 _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); in _dump_mask()
Drepository.c36 static void _dump_field(const char *hdr, u64 n, const char *func, int line) in _dump_field() argument
47 pr_devel("%s:%d: %s%016llx : %s\n", func, line, hdr, n, s); in _dump_field()
54 u64 n4, const char *func, int line) in _dump_node_name() argument
56 pr_devel("%s:%d: lpar: %u\n", func, line, lpar_id); in _dump_node_name()
57 _dump_field("n1: ", n1, func, line); in _dump_node_name()
58 _dump_field("n2: ", n2, func, line); in _dump_node_name()
59 _dump_field("n3: ", n3, func, line); in _dump_node_name()
60 _dump_field("n4: ", n4, func, line); in _dump_node_name()
66 u64 v1, u64 v2, const char *func, int line) in _dump_node() argument
68 pr_devel("%s:%d: lpar: %u\n", func, line, lpar_id); in _dump_node()
[all …]
/linux-4.1.27/fs/ext4/
Dext4_jbd2.c62 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb() argument
77 type, line); in __ext4_journal_start_sb()
80 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop() argument
103 __ext4_std_error(sb, where, line, err); in __ext4_journal_stop()
107 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved() argument
125 err = jbd2_journal_start_reserved(handle, type, line); in __ext4_journal_start_reserved()
131 static void ext4_journal_abort_handle(const char *caller, unsigned int line, in ext4_journal_abort_handle() argument
151 caller, line, errstr, err_fn); in ext4_journal_abort_handle()
156 int __ext4_journal_get_write_access(const char *where, unsigned int line, in __ext4_journal_get_write_access() argument
166 ext4_journal_abort_handle(where, line, __func__, bh, in __ext4_journal_get_write_access()
[all …]
Dext4_jbd2.h234 int __ext4_journal_get_write_access(const char *where, unsigned int line,
237 int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
241 int __ext4_journal_get_create_access(const char *where, unsigned int line,
244 int __ext4_handle_dirty_metadata(const char *where, unsigned int line,
248 int __ext4_handle_dirty_super(const char *where, unsigned int line,
264 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line,
266 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle);
309 unsigned int line, int type, in __ext4_journal_start() argument
312 return __ext4_journal_start_sb(inode->i_sb, line, type, blocks, in __ext4_journal_start()
322 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
/linux-4.1.27/drivers/gpio/
Dgpio-ts5500.c210 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_input() local
213 if (line.no_input) in ts5500_gpio_input()
216 if (line.no_output) in ts5500_gpio_input()
220 ts5500_clear_mask(line.control_mask, line.control_addr); in ts5500_gpio_input()
229 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_get() local
231 return !!(inb(line.value_addr) & line.value_mask); in ts5500_gpio_get()
237 const struct ts5500_dio line = priv->pinout[offset]; in ts5500_gpio_output() local
240 if (line.no_output) in ts5500_gpio_output()
244 if (!line.no_input) in ts5500_gpio_output()
245 ts5500_set_mask(line.control_mask, line.control_addr); in ts5500_gpio_output()
[all …]
Dgpio-iop.c38 static void gpio_line_config(int line, int direction) in gpio_line_config() argument
46 val |= BIT(line); in gpio_line_config()
48 val &= ~BIT(line); in gpio_line_config()
54 static int gpio_line_get(int line) in gpio_line_get() argument
56 return !!(readl(IOP3XX_GPID) & BIT(line)); in gpio_line_get()
59 static void gpio_line_set(int line, int value) in gpio_line_set() argument
67 val &= ~BIT(line); in gpio_line_set()
69 val |= BIT(line); in gpio_line_set()
Dgpio-ep93xx.c68 int line = irq_to_gpio(irq); in ep93xx_gpio_int_debounce() local
69 int port = line >> 3; in ep93xx_gpio_int_debounce()
70 int port_mask = 1 << (line & 7); in ep93xx_gpio_int_debounce()
118 int line = irq_to_gpio(d->irq); in ep93xx_gpio_irq_ack() local
119 int port = line >> 3; in ep93xx_gpio_irq_ack()
120 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_ack()
132 int line = irq_to_gpio(d->irq); in ep93xx_gpio_irq_mask_ack() local
133 int port = line >> 3; in ep93xx_gpio_irq_mask_ack()
134 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_mask_ack()
147 int line = irq_to_gpio(d->irq); in ep93xx_gpio_irq_mask() local
[all …]
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-vbi.c41 int line = 0; in copy_vbi_data() local
69 l = sdata->line - 6; in copy_vbi_data()
77 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id); in copy_vbi_data()
78 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data()
79 line++; in copy_vbi_data()
82 if (line == 36) { in copy_vbi_data()
87 memmove(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data()
88 size = 4 + ((43 * line + 3) & ~3); in copy_vbi_data()
94 size = 12 + ((43 * line + 3) & ~3); in copy_vbi_data()
147 u32 line = 0; in compress_sliced_buf() local
[all …]
/linux-4.1.27/drivers/tty/serial/8250/
D8250_pnp.c441 int ret, line, flags = dev_id->driver_data; in serial_pnp_probe() local
481 line = serial8250_register_8250_port(&uart); in serial_pnp_probe()
482 if (line < 0 || (flags & CIR_PORT)) in serial_pnp_probe()
485 port = serial8250_get_port(line); in serial_pnp_probe()
489 pnp_set_drvdata(dev, (void *)((long)line + 1)); in serial_pnp_probe()
495 long line = (long)pnp_get_drvdata(dev); in serial_pnp_remove() local
498 if (line) in serial_pnp_remove()
499 serial8250_unregister_port(line - 1); in serial_pnp_remove()
505 long line = (long)pnp_get_drvdata(dev); in serial_pnp_suspend() local
507 if (!line) in serial_pnp_suspend()
[all …]
D8250_hp300.c30 int line; /* line (tty) number */ member
120 add_preferred_console("ttyS", port.line, "9600n8"); in hp300_setup_serial_console()
143 add_preferred_console("ttyS", port.line, "9600n8"); in hp300_setup_serial_console()
161 int line; in hpdca_init_one() local
180 line = serial8250_register_8250_port(&uart); in hpdca_init_one()
182 if (line < 0) { in hpdca_init_one()
190 dio_set_drvdata(d, (void *)line); in hpdca_init_one()
206 int line; in hp300_8250_init() local
261 line = serial8250_register_8250_port(&uart); in hp300_8250_init()
263 if (line < 0) { in hp300_8250_init()
[all …]
D8250_fintek.c145 int line; in fintek_8250_probe() local
179 line = serial8250_register_8250_port(&uart); in fintek_8250_probe()
180 if (line < 0) in fintek_8250_probe()
183 pnp_set_drvdata(dev, (void *)((long)line + 1)); in fintek_8250_probe()
189 long line = (long)pnp_get_drvdata(dev); in fintek_8250_remove() local
191 if (line) in fintek_8250_remove()
192 serial8250_unregister_port(line - 1); in fintek_8250_remove()
198 long line = (long)pnp_get_drvdata(dev); in fintek_8250_suspend() local
200 if (!line) in fintek_8250_suspend()
202 serial8250_suspend_port(line - 1); in fintek_8250_suspend()
[all …]
D8250_mtk.c35 int line; member
198 data->line = serial8250_register_8250_port(&uart); in mtk8250_probe()
199 if (data->line < 0) in mtk8250_probe()
200 return data->line; in mtk8250_probe()
216 serial8250_unregister_port(data->line); in mtk8250_remove()
232 serial8250_suspend_port(data->line); in mtk8250_suspend()
241 serial8250_resume_port(data->line); in mtk8250_resume()
/linux-4.1.27/scripts/coccinelle/misc/
Ddoubleinit.cocci39 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
51 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
52 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/linux-4.1.27/tools/lib/symbol/
Dkallsyms.c9 char *line = NULL; in kallsyms__parse() local
25 line_len = getline(&line, &n, file); in kallsyms__parse()
26 if (line_len < 0 || !line) in kallsyms__parse()
29 line[--line_len] = '\0'; /* \n */ in kallsyms__parse()
31 len = hex2u64(line, &start); in kallsyms__parse()
37 symbol_type = line[len]; in kallsyms__parse()
39 symbol_name = line + len; in kallsyms__parse()
52 free(line); in kallsyms__parse()
/linux-4.1.27/arch/arm/mach-footbridge/
Dpersonal-pci.c24 unsigned char line; in personal_server_map_irq() local
26 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); in personal_server_map_irq()
28 if (line > 0x40 && line <= 0x5f) { in personal_server_map_irq()
33 return irqmap_personal_server[(line & 0x1f) - 8]; in personal_server_map_irq()
34 } else if (line == 0) { in personal_server_map_irq()
38 return irqmap_personal_server[(line - 1) & 3]; in personal_server_map_irq()
/linux-4.1.27/drivers/acpi/acpica/
Duttrack.c72 u32 component, const char *module, u32 line);
76 u32 component, const char *module, u32 line);
128 u32 component, const char *module, u32 line) in acpi_ut_allocate_and_track() argument
136 ACPI_WARNING((module, line, in acpi_ut_allocate_and_track()
147 ACPI_WARNING((module, line, in acpi_ut_allocate_and_track()
155 line); in acpi_ut_allocate_and_track()
190 const char *module, u32 line) in acpi_ut_allocate_zeroed_and_track() argument
198 ACPI_WARNING((module, line, in acpi_ut_allocate_zeroed_and_track()
210 ACPI_ERROR((module, line, in acpi_ut_allocate_zeroed_and_track()
217 line); in acpi_ut_allocate_zeroed_and_track()
[all …]
/linux-4.1.27/drivers/s390/char/
Dtty3270.c137 struct string *line; in tty3270_update_prompt() local
140 line = tp->prompt; in tty3270_update_prompt()
142 line->string[5] = TF_INMDT; in tty3270_update_prompt()
144 line->string[5] = tp->inattr; in tty3270_update_prompt()
147 memcpy(line->string + 6, input, count); in tty3270_update_prompt()
148 line->string[6 + count] = TO_IC; in tty3270_update_prompt()
151 line->string[7 + count] = TO_RA; in tty3270_update_prompt()
152 line->string[10 + count] = 0; in tty3270_update_prompt()
154 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); in tty3270_update_prompt()
155 line->len = 11 + count; in tty3270_update_prompt()
[all …]
/linux-4.1.27/arch/powerpc/xmon/
Dnonstdio.c36 static char line[256]; variable
45 lineptr = line; in xmon_getchar()
58 if (lineptr > line) { in xmon_getchar()
66 while (lineptr > line) { in xmon_getchar()
74 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar()
82 lineleft = lineptr - line; in xmon_getchar()
83 lineptr = line; in xmon_getchar()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vbi-gen.c129 unsigned line = data->line; in vivid_vbi_gen_raw() local
134 line += start_2nd_field; in vivid_vbi_gen_raw()
135 line -= vbi_fmt->start[data->field]; in vivid_vbi_gen_raw()
138 linebuf += (line * 2 + data->field) * in vivid_vbi_gen_raw()
141 linebuf += (line + data->field * vbi_fmt->count[0]) * in vivid_vbi_gen_raw()
228 static void vivid_vbi_gen_teletext(u8 *packet, unsigned line, unsigned frame) in vivid_vbi_gen_teletext() argument
233 packet[0] = hamming[1 + ((line & 1) << 3)]; in vivid_vbi_gen_teletext()
234 packet[1] = hamming[line >> 1]; in vivid_vbi_gen_teletext()
236 if (line == 0) { in vivid_vbi_gen_teletext()
252 packet[15] = '0' + line / 10; in vivid_vbi_gen_teletext()
[all …]
/linux-4.1.27/arch/x86/tools/
Dtest_get_len.c53 static void malformed_line(const char *line, int line_nr) in malformed_line() argument
55 fprintf(stderr, "%s: malformed line %d:\n%s", prog, line_nr, line); in malformed_line()
113 char line[BUFSIZE], sym[BUFSIZE] = "<unknown>"; in main() local
121 while (fgets(line, BUFSIZE, stdin)) { in main()
126 if (line[0] == '<') { in main()
128 strcpy(sym, line); in main()
134 strcpy(copy, line); in main()
137 malformed_line(line, insns); in main()
142 malformed_line(line, insns); in main()
158 fprintf(stderr, "Warning: %s", line); in main()
/linux-4.1.27/scripts/coccinelle/free/
Dpci_free_consistent.cocci42 …free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].l…
50 …free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].l…
Diounmap.cocci66 … = "ERROR: missing iounmap; ioremap on line %s and execution via conditional on line %s" % (p1[0].
Dclk_put.cocci66 … = "ERROR: missing clk_put; clk_get on line %s and execution via conditional on line %s" % (p1[0].
/linux-4.1.27/arch/arm/mach-ixp4xx/
Dcommon.c111 static void gpio_line_config(u8 line, u32 direction) in gpio_line_config() argument
114 *IXP4XX_GPIO_GPOER |= (1 << line); in gpio_line_config()
116 *IXP4XX_GPIO_GPOER &= ~(1 << line); in gpio_line_config()
119 static void gpio_line_get(u8 line, int *value) in gpio_line_get() argument
121 *value = (*IXP4XX_GPIO_GPINR >> line) & 0x1; in gpio_line_get()
124 static void gpio_line_set(u8 line, int value) in gpio_line_set() argument
127 *IXP4XX_GPIO_GPOUTR |= (1 << line); in gpio_line_set()
129 *IXP4XX_GPIO_GPOUTR &= ~(1 << line); in gpio_line_set()
169 int line = irq2gpio[d->irq]; in ixp4xx_set_irq_type() local
177 if (line < 0) in ixp4xx_set_irq_type()
[all …]
/linux-4.1.27/fs/nfs/
Dnfsroot.c130 static int __init nfs_root_setup(char *line) in nfs_root_setup() argument
134 if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) { in nfs_root_setup()
135 strlcpy(nfs_root_parms, line, sizeof(nfs_root_parms)); in nfs_root_setup()
137 size_t n = strlen(line) + sizeof(NFS_ROOT) - 1; in nfs_root_setup()
139 line[sizeof(nfs_root_parms) - sizeof(NFS_ROOT) - 2] = '\0'; in nfs_root_setup()
140 sprintf(nfs_root_parms, NFS_ROOT, line); in nfs_root_setup()
/linux-4.1.27/tools/perf/util/
Dfind-vdso-map.c4 char line[128]; in find_vdso_map() local
13 while (!found && fgets(line, sizeof(line), maps)) { in find_vdso_map()
17 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", in find_vdso_map()
23 if (!strncmp(&line[m], VDSO__MAP_NAME, in find_vdso_map()
Dtrace-event-parse.c143 char *line; in parse_proc_kallsyms() local
149 line = strtok_r(file, "\n", &next); in parse_proc_kallsyms()
150 while (line) { in parse_proc_kallsyms()
152 addr_str = strtok_r(line, " ", &fmt); in parse_proc_kallsyms()
164 line = strtok_r(NULL, "\n", &next); in parse_proc_kallsyms()
173 char *line; in parse_ftrace_printk() local
178 line = strtok_r(file, "\n", &next); in parse_ftrace_printk()
179 while (line) { in parse_ftrace_printk()
180 addr_str = strtok_r(line, ":", &fmt); in parse_ftrace_printk()
188 line = strtok_r(NULL, "\n", &next); in parse_ftrace_printk()
Dsrcline.c28 unsigned line; member
103 &a2l->line); in find_address_in_section()
151 char **file, unsigned int *line, struct dso *dso) in addr2line() argument
173 *line = a2l->line; in addr2line()
259 unsigned line = 0; in get_srcline() local
277 if (!addr2line(dso_name, addr, &file, &line, dso)) in get_srcline()
280 if (asprintf(&srcline, "%s:%u", basename(file), line) < 0) { in get_srcline()
Dannotate.c29 static int disasm_line__parse(char *line, char **namep, char **rawp);
550 static int disasm_line__parse(char *line, char **namep, char **rawp) in disasm_line__parse() argument
552 char *name = line, tmp; in disasm_line__parse()
587 static struct disasm_line *disasm_line__new(s64 offset, char *line, in disasm_line__new() argument
594 dl->line = strdup(line); in disasm_line__new()
596 if (dl->line == NULL) in disasm_line__new()
600 if (disasm_line__parse(dl->line, &dl->name, &dl->ops.raw) < 0) in disasm_line__new()
610 zfree(&dl->line); in disasm_line__new()
618 zfree(&dl->line); in disasm_line__free()
635 static void disasm__add(struct list_head *head, struct disasm_line *line) in disasm__add() argument
[all …]
Ddwarf-aux.c84 Dwarf_Line *line; in cu_find_lineinfo() local
87 line = dwarf_getsrc_die(cu_die, (Dwarf_Addr)addr); in cu_find_lineinfo()
88 if (line && dwarf_lineaddr(line, &laddr) == 0 && in cu_find_lineinfo()
89 addr == (unsigned long)laddr && dwarf_lineno(line, lineno) == 0) { in cu_find_lineinfo()
90 *fname = dwarf_linesrc(line, NULL, NULL); in cu_find_lineinfo()
682 Dwarf_Line *line; in die_walk_lines() local
708 line = dwarf_onesrcline(lines, i); in die_walk_lines()
709 if (line == NULL || in die_walk_lines()
710 dwarf_lineno(line, &lineno) != 0 || in die_walk_lines()
711 dwarf_lineaddr(line, &addr) != 0) { in die_walk_lines()
[all …]
/linux-4.1.27/arch/um/kernel/
Dkmsg_dump.c10 static char line[1024]; in kmsg_dumper_stdout() local
28 while (kmsg_dump_get_line(dumper, true, line, sizeof(line), &len)) { in kmsg_dumper_stdout()
29 line[len] = '\0'; in kmsg_dumper_stdout()
30 printf("%s", line); in kmsg_dumper_stdout()
Dum_arch.c125 static int __init uml_version_setup(char *line, int *add) in uml_version_setup() argument
138 static int __init uml_root_setup(char *line, int *add) in uml_root_setup() argument
153 static int __init no_skas_debug_setup(char *line, int *add) in no_skas_debug_setup() argument
166 static int __init Usage(char *line, int *add) in Usage() argument
185 static void __init uml_checksetup(char *line, int *add) in uml_checksetup() argument
194 if (!strncmp(line, p->str, n) && p->setup_func(line + n, add)) in uml_checksetup()
/linux-4.1.27/tools/perf/ui/browsers/
Dscripts.c22 char line[AVERAGE_LINE_LEN]; member
84 slsmg_write_nstring(sline->line, browser->width); in script_browser__write()
110 char *line = NULL; in script_browse() local
155 while ((retlen = getline(&line, &len, fp)) != -1) { in script_browse()
156 strncpy(sline->line, line, AVERAGE_LINE_LEN); in script_browse()
160 sline->line[AVERAGE_LINE_LEN - 1] = '\0'; in script_browse()
161 sline->line[AVERAGE_LINE_LEN - 2] = '\n'; in script_browse()
176 free(line); in script_browse()
/linux-4.1.27/arch/mips/cavium-octeon/
Docteon-irq.c40 u8 line; member
59 static int octeon_irq_set_ciu_mapping(int irq, int line, int bit, int gpio_line, in octeon_irq_set_ciu_mapping() argument
71 cd->line = line; in octeon_irq_set_ciu_mapping()
76 octeon_irq_ciu_to_irq[line][bit] = irq; in octeon_irq_set_ciu_mapping()
90 int irq, int line, int bit) in octeon_irq_force_ciu_mapping() argument
92 return irq_domain_associate(domain, irq, line << 6 | bit); in octeon_irq_force_ciu_mapping()
266 if (cd->line == 0) { in octeon_irq_ciu_enable()
298 if (cd->line == 0) { in octeon_irq_ciu_enable_local()
330 if (cd->line == 0) { in octeon_irq_ciu_disable_local()
365 if (cd->line == 0) in octeon_irq_ciu_disable_all()
[all …]
/linux-4.1.27/scripts/tracing/
Ddraw_functrace.py102 def parseLine(line): argument
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/Documentation/video4linux/cx2341x/
DREADME.hm1213 and from top to bottom. Each block is transmitted in turn, line-by-line.
15 So the first 16 bytes are the first line of the top-left block, the
16 second 16 bytes are the second line of the top-left block, etc. After
17 transmitting this block the first line of the block on the right to the
21 to right, top to bottom. Each block is transmitted in turn, line-by-line.
23 So the first 16 bytes are the first line of the top-left block and
25 second line of 8 UV pairs of the top-left block, etc. After transmitting
26 this block the first line of the block on the right to the first block is
57 // Each block in transmitted in turn, line-by-line.
76 // Each block in transmitted in turn, line-by-line.
/linux-4.1.27/drivers/usb/storage/
Dfreecom.c476 static char line[80]; in pdump() local
486 offset += sprintf (line+offset, " - "); in pdump()
489 line[offset++] = buffer[j]; in pdump()
491 line[offset++] = '.'; in pdump()
493 line[offset] = 0; in pdump()
494 usb_stor_dbg(us, "%s\n", line); in pdump()
497 offset += sprintf (line+offset, "%08x:", i); in pdump()
499 offset += sprintf (line+offset, " -"); in pdump()
501 offset += sprintf (line+offset, " %02x", buffer[i] & 0xff); in pdump()
509 offset += sprintf (line+offset, " "); in pdump()
[all …]
/linux-4.1.27/arch/arm/mm/
Dcache-v6.S137 USER( mcr p15, 0, r0, c7, c10, 1 ) @ clean D line
180 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line
182 mcr p15, 0, r0, c7, c15, 1 @ clean & invalidate unified line
212 mcrne p15, 0, r0, c7, c10, 1 @ clean D line
214 mcrne p15, 0, r0, c7, c11, 1 @ clean unified line
223 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D line
225 mcrne p15, 0, r1, c7, c15, 1 @ clean & invalidate unified line
229 mcr p15, 0, r0, c7, c6, 1 @ invalidate D line
231 mcr p15, 0, r0, c7, c7, 1 @ invalidate unified line
256 mcr p15, 0, r0, c7, c10, 1 @ clean D line
[all …]
Dcache-v7.S142 add r2, r2, #4 @ add 4 (line length offset)
281 USER( mcr p15, 0, r12, c7, c11, 1 ) @ clean D line to the point of unification
290 USER( mcr p15, 0, r12, c7, c5, 1 ) @ invalidate I line
334 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line / unified line
361 mcrne p15, 0, r0, c7, c14, 1 @ clean & invalidate D / U line
365 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D / U line
367 mcr p15, 0, r0, c7, c6, 1 @ invalidate D / U line
389 mcr p15, 0, r0, c7, c10, 1 @ clean D / U line
411 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D / U line
Dproc-xsc3.S71 1: mcr p15, 0, \rd, c7, c14, 2 @ clean/invalidate L1 D line
199 mcrne p15, 0, r0, c7, c5, 1 @ invalidate L1 I line
200 mcr p15, 0, r0, c7, c14, 1 @ clean/invalidate L1 D line
227 1: mcr p15, 0, r0, c7, c10, 1 @ clean L1 D line
248 1: mcr p15, 0, r0, c7, c14, 1 @ clean/invalidate L1 D line
272 mcrne p15, 0, r0, c7, c10, 1 @ clean L1 D line
274 mcrne p15, 0, r1, c7, c10, 1 @ clean L1 D line
275 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate L1 D line
292 1: mcr p15, 0, r0, c7, c10, 1 @ clean L1 D line
309 1: mcr p15, 0, r0, c7, c14, 1 @ clean/invalidate L1 D line
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dgpio.c86 .line = (info & 0x001f) >> 0, in dcb_gpio_parse()
96 .line = (info & 0x0000001f) >> 0, in dcb_gpio_parse()
106 .line = (info & 0x0000003f) >> 0, in dcb_gpio_parse()
119 dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line, in dcb_gpio_match() argument
126 if ((line == 0xff || line == gpio->line) && in dcb_gpio_match()
139 .line = addr >> 4, in dcb_gpio_match()
/linux-4.1.27/Documentation/
Ddynamic-debug-howto.txt27 - line number (including ranges of line numbers)
43 printing from source file 'svcsock.c', line 1603 you simply do:
45 nullarbor:~ # echo 'file svcsock.c line 1603 +p' >
94 nullarbor:~ # echo -c 'file svcsock.c line 1603 +p' >
96 nullarbor:~ # echo -c ' file svcsock.c line 1603 +p ' >
98 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
135 'line' line-range
137 line-range ::= lineno |
141 // Note: line-range cannot contain space, e.g.
188 line
[all …]
/linux-4.1.27/scripts/rt-tester/
Drt-tester.py136 line = fd.readline() variable
137 if not len(line):
140 line = line.strip() variable
141 parts = line.split(":")
151 progress(line)
157 progress(line)
/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23885-f300.c35 static void f300_set_line(struct cx23885_dev *dev, u32 line, u8 lvl) in f300_set_line() argument
37 cx23885_gpio_enable(dev, line, 1); in f300_set_line()
39 cx23885_gpio_set(dev, line); in f300_set_line()
41 cx23885_gpio_clear(dev, line); in f300_set_line()
44 static u8 f300_get_line(struct cx23885_dev *dev, u32 line) in f300_get_line() argument
46 cx23885_gpio_enable(dev, line, 0); in f300_get_line()
48 return cx23885_gpio_get(dev, line); in f300_get_line()
/linux-4.1.27/Documentation/trace/
Dfunction-graph-fold.vim4 " -S option to load from the command-line together with a trace. You can then
7 " as would normally appear on the line with the closing brace. Folded
15 let line = getline(a:lnum)
16 if line[-1:] == '{'
17 if line =~ 'finish_task_switch() {$'
21 elseif line[-1:] == '}'
/linux-4.1.27/drivers/dma/ipu/
Dipu_irq.c273 int i, line; in ipu_irq_err() local
287 while ((line = ffs(status))) { in ipu_irq_err()
290 line--; in ipu_irq_err()
291 status &= ~(1UL << line); in ipu_irq_err()
294 map = src2map(32 * i + line); in ipu_irq_err()
301 line, i); in ipu_irq_err()
314 int i, line; in ipu_irq_fn() local
324 while ((line = ffs(status))) { in ipu_irq_fn()
327 line--; in ipu_irq_fn()
328 status &= ~(1UL << line); in ipu_irq_fn()
[all …]
/linux-4.1.27/arch/mips/
DKconfig.debug36 bool "Built-in kernel command line"
40 by default specifies the kernel command line options. However,
42 default kernel command line or add a few extra options to it.
44 command line options directly into the kernel. For that, you
49 line if CMDLINE_OVERRIDE is set to 'N'. Otherwise, the default
50 command line will be ignored and replaced by the built-in string.
53 the command line from the firmware or the second-stage bootloader.
62 when you want to add some extra options to the command line or ignore
63 the default command line, you can supply some command-line options at
72 bool "Built-in command line overrides firmware arguments"
[all …]
/linux-4.1.27/drivers/staging/rts5208/
Dtrace.c9 int line) in _rtsx_trace() argument
14 dev_dbg(rtsx_dev(chip), "[%s][%s]:[%d]\n", file, func, line); in _rtsx_trace()
18 msg->line = (u16)line; in _rtsx_trace()
/linux-4.1.27/drivers/media/usb/pwc/
Dpwc-uncompress.c38 int n, line, col; in pwc_decompress() local
78 for (line = 0; line < pdev->height; line++) { in pwc_decompress()
82 if (line & 1) in pwc_decompress()
/linux-4.1.27/drivers/staging/lustre/lustre/include/linux/
Dobd.h66 int line; member
70 const char *func, int line) in __client_obd_list_lock() argument
78 lock->line = line; in __client_obd_list_lock()
93 lock->func, lock->line, in __client_obd_list_lock()
/linux-4.1.27/lib/
Dbug.c142 unsigned line, warning; in report_bug() local
150 line = 0; in report_bug()
160 line = bug->line; in report_bug()
170 pr_warn("WARNING: at %s:%u\n", file, line); in report_bug()
186 pr_crit("kernel BUG at %s:%u!\n", file, line); in report_bug()
/linux-4.1.27/tools/power/cpupower/bench/
Dparse.c161 char opt[16], val[32], *line = NULL; in prepare_config() local
177 while (getline(&line, &len, configfile) != -1) { in prepare_config()
178 if (line[0] == '#' || line[0] == ' ' || line[0] == '\n') in prepare_config()
181 if (sscanf(line, "%14s = %30s", opt, val) < 2) in prepare_config()
225 free(line); in prepare_config()
/linux-4.1.27/arch/nios2/mm/
Dtlb.c157 void dump_tlb_line(unsigned long line) in dump_tlb_line() argument
162 pr_debug("dump tlb-entries for line=%#lx (addr %08lx)\n", line, in dump_tlb_line()
163 line << (PAGE_SHIFT + cpuinfo.tlb_num_ways_log2)); in dump_tlb_line()
168 WRCTL(CTL_PTEADDR, line << 2); in dump_tlb_line()
208 unsigned int line; in flush_tlb_pid() local
215 for (line = 0; line < cpuinfo.tlb_num_lines; line++) { in flush_tlb_pid()
216 WRCTL(CTL_PTEADDR, line << 2); in flush_tlb_pid()
/linux-4.1.27/drivers/net/wireless/brcm80211/include/
Ddefs.h100 #define _PADLINE(line) pad ## line argument
101 #define _XSTR(line) _PADLINE(line) argument
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dgpio.h14 u8 line; member
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);
Dtherm.h29 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/tools/perf/tests/
Dcode-reading.c36 static void read_objdump_line(const char *line, size_t line_len, void **buf, in read_objdump_line() argument
43 p = strchr(line, ':'); in read_objdump_line()
46 i = p + 1 - line; in read_objdump_line()
54 if (!isspace(line[i])) in read_objdump_line()
58 if (i >= line_len || !isxdigit(line[i])) in read_objdump_line()
60 c1 = line[i++]; in read_objdump_line()
61 if (i >= line_len || !isxdigit(line[i])) in read_objdump_line()
63 c2 = line[i++]; in read_objdump_line()
65 if (i < line_len && line[i] && !isspace(line[i])) in read_objdump_line()
76 char *line = NULL; in read_objdump_output() local
[all …]
/linux-4.1.27/sound/pci/ca0106/
Dca0106_proc.c301 char line[64]; in snd_ca0106_proc_reg_write32() local
303 while (!snd_info_get_line(buffer, line, sizeof(line))) { in snd_ca0106_proc_reg_write32()
304 if (sscanf(line, "%x %x", &reg, &val) != 2) in snd_ca0106_proc_reg_write32()
402 char line[64]; in snd_ca0106_proc_reg_write() local
404 while (!snd_info_get_line(buffer, line, sizeof(line))) { in snd_ca0106_proc_reg_write()
405 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) in snd_ca0106_proc_reg_write()
416 char line[64]; in snd_ca0106_proc_i2c_write() local
418 while (!snd_info_get_line(buffer, line, sizeof(line))) { in snd_ca0106_proc_i2c_write()
419 if (sscanf(line, "%x %x", &reg, &val) != 2) in snd_ca0106_proc_i2c_write()
/linux-4.1.27/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c81 unsigned const char *line; in mb86290fb_imageblit1() local
96 line = image->data; in mb86290fb_imageblit1()
106 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1()
115 line += bytes; in mb86290fb_imageblit1()
130 unsigned const char *line, *ptr; in mb86290fb_imageblit8() local
139 line = ptr = image->data; in mb86290fb_imageblit8()
143 ptr = line; in mb86290fb_imageblit8()
154 line += bytes; in mb86290fb_imageblit8()
169 unsigned const char *line; in mb86290fb_imageblit16() local
173 line = image->data; in mb86290fb_imageblit16()
[all …]
/linux-4.1.27/scripts/kconfig/lxdialog/
Dtextbox.c343 char *line; in print_line() local
345 line = get_line(); in print_line()
346 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
349 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
372 static char line[MAX_LEN + 1]; in get_line() local
380 line[i++] = *(page++); in get_line()
384 line[i++] = '\0'; in get_line()
389 line[i] = '\0'; in get_line()
393 return line; in get_line()
/linux-4.1.27/tools/testing/selftests/vm/
Dthuge-gen.c77 char *line = NULL; in default_huge_page_size() local
82 while (getline(&line, &linelen, f) > 0) { in default_huge_page_size()
83 if (sscanf(line, "Hugepagesize: %lu kB", &hps) == 1) { in default_huge_page_size()
88 free(line); in default_huge_page_size()
107 char *line = NULL; in read_sysfs() local
124 if (getline(&line, &linelen, f) > 0) { in read_sysfs()
125 sscanf(line, "%lu", &val); in read_sysfs()
128 free(line); in read_sysfs()
/linux-4.1.27/firmware/
Dihex2fw.c138 int line = 1; in process_ihex() local
145 if (data[i] == '\n') line++; in process_ihex()
151 fprintf(stderr, "Can't find valid record at line %d\n", line); in process_ihex()
171 line); in process_ihex()
186 line, crcbyte, (unsigned char)(crcbyte-crc)); in process_ihex()
204 line); in process_ihex()
213 type, line); in process_ihex()
227 type, line); in process_ihex()
/linux-4.1.27/drivers/staging/speakup/
DDefaultKeyAssignments13 KeyPad-7 Say Previous Line (UP one line)
14 KeyPad-9 Say Next Line (down one line)
18 InsKeyPad-4 say from left edge of line to reading cursor.
20 InsKeyPad-6 Say from reading cursor to right edge of line.
26 InsKeyPad-plus Say from reading cursor line to bottom of screen.
29 KeyPad-period Say Position (current line, position and console)
35 ControlKeyPad-1 Move reading cursor to last character on current line.
38 InsKeyPad-star n<x|y> go to line (y) or column (x). Where 'n' is any
/linux-4.1.27/tools/cgroup/
Dcgroup_event_listener.c27 char line[LINE_MAX]; in main() local
50 ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); in main()
54 ret = write(event_control, line, strlen(line) + 1); in main()
/linux-4.1.27/kernel/
Dpanic.c434 static void warn_slowpath_common(const char *file, int line, void *caller, in warn_slowpath_common() argument
441 raw_smp_processor_id(), current->pid, file, line, caller); in warn_slowpath_common()
464 void warn_slowpath_fmt(const char *file, int line, const char *fmt, ...) in warn_slowpath_fmt() argument
470 warn_slowpath_common(file, line, __builtin_return_address(0), in warn_slowpath_fmt()
476 void warn_slowpath_fmt_taint(const char *file, int line, in warn_slowpath_fmt_taint() argument
483 warn_slowpath_common(file, line, __builtin_return_address(0), in warn_slowpath_fmt_taint()
489 void warn_slowpath_null(const char *file, int line) in warn_slowpath_null() argument
491 warn_slowpath_common(file, line, __builtin_return_address(0), in warn_slowpath_null()
/linux-4.1.27/tools/perf/Documentation/
Dperf-probe.txt19 'perf probe' [options] --line='LINE'
26 without debuginfo, or by C expressions (C line numbers, C function names,
71 --line=::
132 2) Define event based on source file with line number
140 …m function entry address in bytes, ':RLN' is the relative-line number from function entry line, an…
141 …by the source line number or lazy matching by using 'SRC:ALN' or 'SRC;PTN' syntax, where 'SRC' is …
162 FUNC specifies the function name of showing lines. 'RLN' is the start line
163 number from function entry line, and 'RLN2' is the end line number. As same as
164 probe syntax, 'SRC' means the source file path, 'ALN' is start line number,
165 and 'ALN2' is end line number in the file. It is also possible to specify how
[all …]
/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_procfs.c142 char *line, *ldelim, *varname, *svar, *tdelim; in zoran_write() local
164 line = strpbrk(sp, ldelim); in zoran_write()
165 while (line) { in zoran_write()
166 *line = 0; in zoran_write()
174 sp = line + 1; in zoran_write()
175 line = strpbrk(sp, ldelim); in zoran_write()
/linux-4.1.27/sound/core/seq/
Dseq_lock.c29 void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) in 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); in snd_use_lock_sync_helper()
39 pr_warn("ALSA: seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line); in snd_use_lock_sync_helper()
/linux-4.1.27/arch/arm/boot/dts/
Dtwl6030_omap4.dtsi11 * On most OMAP4 platforms, the twl6030 IRQ line is connected
12 * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is
13 * connected to the fref_clk0_out.sys_drm_msecure line.
Dste-nomadik-nhk15.dts28 pins = "GPIO76_B20"; // IRQ line
32 pins = "GPIO77_B8"; // reset line
40 pins = "GPIO78_A8"; // IRQ line
44 pins = "GPIO79_C9"; // reset line
/linux-4.1.27/arch/powerpc/boot/dts/
Diss4xx-mpic.dts40 i-cache-line-size = <32>;
41 d-cache-line-size = <32>;
54 i-cache-line-size = <32>;
55 d-cache-line-size = <32>;
70 i-cache-line-size = <32>;
71 d-cache-line-size = <32>;
86 i-cache-line-size = <32>;
87 d-cache-line-size = <32>;
/linux-4.1.27/arch/sparc/boot/
Dpiggyback.c82 static int start_line(const char *line) in start_line() argument
84 if (strcmp(line + 10, " _start\n") == 0) in start_line()
86 else if (strcmp(line + 18, " _start\n") == 0) in start_line()
91 static int end_line(const char *line) in end_line() argument
93 if (strcmp(line + 10, " _end\n") == 0) in end_line()
95 else if (strcmp (line + 18, " _end\n") == 0) in end_line()
/linux-4.1.27/include/linux/
Dkmsg_dump.h59 char *line, size_t size, size_t *len);
62 char *line, size_t size, size_t *len);
80 bool syslog, const char *line, in kmsg_dump_get_line_nolock() argument
87 const char *line, size_t size, size_t *len) in kmsg_dump_get_line() argument
Dtty_driver.h289 int (*poll_init)(struct tty_driver *driver, int line, char *options);
290 int (*poll_get_char)(struct tty_driver *driver, int line);
291 void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
337 extern struct tty_driver *tty_find_polling_driver(char *name, int *line);
Dserial_8250.h132 void serial8250_unregister_port(int line);
133 void serial8250_suspend_port(int line);
134 void serial8250_resume_port(int line);
Disicom.h59 #define BOARD(line) (((line) >> 4) & 0x3) argument
/linux-4.1.27/scripts/dtc/
Ddtc-parser.tab.c_shipped66 #line 21 "dtc-parser.y"
86 #line 87 "dtc-parser.tab.c"
152 #line 40 "dtc-parser.y"
175 #line 176 "dtc-parser.tab.c"
203 #line 204 "dtc-parser.tab.c"
530 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
925 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1508 Otherwise, the following line sets YYVAL to garbage.
1521 #line 110 "dtc-parser.y"
1530 #line 118 "dtc-parser.y"
[all …]
Ddtc-lexer.lex.c_shipped1 #line 2 "dtc-lexer.lex.c"
3 #line 4 "dtc-lexer.lex.c"
228 /* Whether we're considered to be at the beginning of a line.
234 int yy_bs_lineno; /**< The line count. */
610 #line 1 "dtc-lexer.l"
635 #line 38 "dtc-lexer.l"
663 #line 664 "dtc-lexer.lex.c"
855 #line 67 "dtc-lexer.l"
857 #line 858 "dtc-lexer.lex.c"
940 #line 68 "dtc-lexer.l"
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Dbug.h20 .macro EMIT_BUG_ENTRY addr,file,line,flags
23 .short \line, \flags
31 .macro EMIT_BUG_ENTRY addr,file,line,flags
120 .macro EMIT_BUG_ENTRY addr,file,line,flags
/linux-4.1.27/drivers/media/pci/mantis/
Dmantis_dma.c154 u32 line, step; in mantis_risc_program() local
163 for (line = 0; line < MANTIS_BLOCK_COUNT; line++) { in mantis_risc_program()
165 dprintk(MANTIS_DEBUG, 1, "RISC PROG line=[%d], step=[%d]", line, step); in mantis_risc_program()
169 RISC_STATUS(line) | in mantis_risc_program()
/linux-4.1.27/arch/sh/mm/
Dcache-debugfs.c68 unsigned int line; in cache_seq_show() local
74 for (addr = addrstart, line = 0; in cache_seq_show()
76 addr += cache->linesz, line++) { in cache_seq_show()
85 line, data & 2 ? 'U' : ' ', in cache_seq_show()
/linux-4.1.27/net/ceph/
Darmor.c39 int line = 0; in ceph_armor() local
64 line += 4; in ceph_armor()
65 if (line == 64) { in ceph_armor()
66 line = 0; in ceph_armor()
/linux-4.1.27/fs/xfs/
Dxfs_message.c94 asswarn(char *expr, char *file, int line) in asswarn() argument
97 expr, file, line); in asswarn()
102 assfail(char *expr, char *file, int line) in assfail() argument
105 expr, file, line); in assfail()
/linux-4.1.27/Documentation/networking/
Dcxacru.txt93 Changes in adsl/line state are reported via kernel log messages:
95 [4942243.663766] ATM dev 0: ADSL line: down
96 [4942249.665075] ATM dev 0: ADSL line: attempting to activate
97 [4942253.654954] ATM dev 0: ADSL line: training
98 [4942255.666387] ATM dev 0: ADSL line: channel analysis
99 [4942259.656262] ATM dev 0: ADSL line: exchange
100 [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)
/linux-4.1.27/Documentation/sound/alsa/
DHD-Audio-Controls.txt15 headphone and line-out jacks. If built-in speakers and headphone
16 and/or line-out jacks are available on a machine, this controls
18 When there are only either headphones or line-out jacks, it gives
22 When both headphone and line-out jacks are present, it gives
24 speaker-only is chosen, plugging into a headphone or a line-out jack
25 mutes the speakers, but not line-outs. When line-out+speaker is
27 line-outs.
46 When this control is ON, treat the headphone jacks as line-out
47 jacks. That is, the headphone won't auto-mute the other line-outs,
62 When it's ON, the corresponding input jacks (usually a line-in and a
/linux-4.1.27/Documentation/devicetree/bindings/nios2/
Dnios2.txt17 - dcache-line-size: Contains data cache line size.
18 - icache-line-size: Contains instruction line size.
46 dcache-line-size = <32>;
47 icache-line-size = <32>;
/linux-4.1.27/tools/testing/ktest/
Dktest.pl908 my $line;
925 $line = $2;
1525 my $line;
1537 $line = wait_for_input($monitor_fp, $time);
1538 last if (!defined($line));
1539 print "$line";
1540 $full_line .= $line;
1569 if ($line =~ /\n/) {
1844 my $line;
1869 $line = "";
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dgpio-pcf857x.txt5 the direction and output level into a single bit per line, which can't be read
6 back. We can't actually know at initialization time whether a line is configured
9 of reset (if any). The only reliable solution for setting up line direction is
40 line. When a bit is set to zero, the corresponding line will be initialized to
41 the input (pulled-up) state. When the bit is set to one, the line will be
46 an interrupt controller. When the expander interrupt line is connected all the
Dgpio-poweroff.txt1 Driver a GPIO line that can be used to turn the power off.
4 At driver load time, the driver will request the given gpio line and
6 not found, the GPIO line will be driven in the inactive
26 - input : Initially configure the GPIO line as an input. Only reconfigure
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_cs.h50 u16 line; member
52 u16 line;
111 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data) in __bfa_trc() argument
120 trc->line = (u16) line; in __bfa_trc()
131 __bfa_trc32(struct bfa_trc_mod_s *trcm, int fileno, int line, u32 data) in __bfa_trc32() argument
140 trc->line = (u16) line; in __bfa_trc32()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-risc.c53 u32 instructions,line,todo; in bttv_risc_packed() local
81 for (line = 0; line < store_lines; line++) { in bttv_risc_packed()
83 (line >= (store_lines - VCR_HACK_LINES))) in bttv_risc_packed()
134 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local
161 for (line = 0; line < ylines; line++) { in bttv_risc_planar()
163 (line >= (ylines - VCR_HACK_LINES))) in bttv_risc_planar()
171 chroma = ((line & 1) == 0); in bttv_risc_planar()
173 chroma = ((line & 1) == 1); in bttv_risc_planar()
177 chroma = ((line & 3) == 0); in bttv_risc_planar()
179 chroma = ((line & 3) == 2); in bttv_risc_planar()
[all …]
/linux-4.1.27/arch/ia64/scripts/
Dunwcheck.py39 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])):
40 m = start_pattern.match(line)
51 m = rlen_pattern.match(line)
/linux-4.1.27/net/irda/ircomm/
Dircomm_lmp.c135 int line; in ircomm_lmp_flow_control() local
141 line = cb->line; in ircomm_lmp_flow_control()
143 self = (struct ircomm_cb *) hashbin_lock_find(ircomm, line, NULL); in ircomm_lmp_flow_control()
180 cb->line = self->line; in ircomm_lmp_data_request()
Dircomm_core.c107 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line) in ircomm_open() argument
137 self->line = line; in ircomm_open()
139 hashbin_insert(ircomm, (irda_queue_t *) self, line, NULL); in ircomm_open()
190 entry = hashbin_remove(ircomm, self->line, NULL); in ircomm_close()
522 if(self->line < 0x10) in ircomm_seq_show()
523 seq_printf(seq, "ircomm%d", self->line); in ircomm_seq_show()
525 seq_printf(seq, "irlpt%d", self->line - 0x10); in ircomm_seq_show()
/linux-4.1.27/arch/unicore32/kernel/
Dtraps.c269 void __pte_error(const char *file, int line, unsigned long val) in __pte_error() argument
271 printk(KERN_DEFAULT "%s:%d: bad pte %08lx.\n", file, line, val); in __pte_error()
274 void __pmd_error(const char *file, int line, unsigned long val) in __pmd_error() argument
276 printk(KERN_DEFAULT "%s:%d: bad pmd %08lx.\n", file, line, val); in __pmd_error()
279 void __pgd_error(const char *file, int line, unsigned long val) in __pgd_error() argument
281 printk(KERN_DEFAULT "%s:%d: bad pgd %08lx.\n", file, line, val); in __pgd_error()
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
Dif.c100 char line[LINE_SIZE]; in mtrr_write() local
107 memset(line, 0, LINE_SIZE); in mtrr_write()
118 if (copy_from_user(line, buf, length)) in mtrr_write()
121 linelen = strlen(line); in mtrr_write()
122 ptr = line + linelen - 1; in mtrr_write()
126 if (!strncmp(line, "disable=", 8)) { in mtrr_write()
127 reg = simple_strtoul(line + 8, &ptr, 0); in mtrr_write()
134 if (strncmp(line, "base=", 5)) in mtrr_write()
137 base = simple_strtoull(line + 5, &ptr, 0); in mtrr_write()
/linux-4.1.27/drivers/media/i2c/
Dtvp5150.c592 int line; in tvp5150_g_sliced_vbi_cap() local
598 for (line=regs->type.ini_line;line<=regs->type.end_line;line++) { in tvp5150_g_sliced_vbi_cap()
599 cap->service_lines[0][line] |= regs->type.vbi_type; in tvp5150_g_sliced_vbi_cap()
623 unsigned int type,u8 flags, int line, in tvp5150_set_vbi() argument
636 line += 3; in tvp5150_set_vbi()
639 if (line<6||line>27) in tvp5150_set_vbi()
644 (line>=regs->type.ini_line) && in tvp5150_set_vbi()
645 (line<=regs->type.end_line)) { in tvp5150_set_vbi()
657 reg=((line-6)<<1)+TVP5150_LINE_MODE_INI; in tvp5150_set_vbi()
671 const struct i2c_vbi_ram_value *regs, int line) in tvp5150_get_vbi() argument
[all …]
/linux-4.1.27/tools/perf/scripts/python/
Dnet_dropmonitor.py24 for line in f:
25 loc = int(line.split()[0], 16)
26 name = line.split()[2]
/linux-4.1.27/tools/lib/api/fs/
Dfs.c173 char line[64]; in filename__read_int() local
179 if (read(fd, line, sizeof(line)) > 0) { in filename__read_int()
180 *value = atoi(line); in filename__read_int()
/linux-4.1.27/arch/arm64/kernel/
Dtraps.c443 void __pte_error(const char *file, int line, unsigned long val) in __pte_error() argument
445 pr_crit("%s:%d: bad pte %016lx.\n", file, line, val); in __pte_error()
448 void __pmd_error(const char *file, int line, unsigned long val) in __pmd_error() argument
450 pr_crit("%s:%d: bad pmd %016lx.\n", file, line, val); in __pmd_error()
453 void __pud_error(const char *file, int line, unsigned long val) in __pud_error() argument
455 pr_crit("%s:%d: bad pud %016lx.\n", file, line, val); in __pud_error()
458 void __pgd_error(const char *file, int line, unsigned long val) in __pgd_error() argument
460 pr_crit("%s:%d: bad pgd %016lx.\n", file, line, val); in __pgd_error()
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dspi-gpio.txt8 - gpio-sck: GPIO spec for the SCK line to use
9 - gpio-miso: GPIO spec for the MISO line to use
10 - gpio-mosi: GPIO spec for the MOSI line to use
/linux-4.1.27/drivers/mtd/tests/
Dreadtest.c94 char line[128]; in dump_eraseblock() local
100 char *p = line; in dump_eraseblock()
105 printk(KERN_CRIT "%s\n", line); in dump_eraseblock()
114 char *p = line; in dump_eraseblock()
120 printk(KERN_CRIT "%s\n", line); in dump_eraseblock()
/linux-4.1.27/arch/mips/lasat/
Dpicvue.c110 void pvc_write_string(const unsigned char *str, u8 addr, int line) in pvc_write_string() argument
114 if (line > 0 && (PVC_NLINES > 1)) in pvc_write_string()
115 addr += 0x40 * line; in pvc_write_string()
124 void pvc_write_string_centered(const unsigned char *str, int line) in pvc_write_string_centered() argument
134 pvc_write_string(str, addr, line); in pvc_write_string_centered()
Dpicvue.h23 void pvc_write_string(const unsigned char *str, u8 addr, int line);
24 void pvc_write_string_centered(const unsigned char *str, int line);
/linux-4.1.27/scripts/gdb/linux/
Ddmesg.py57 for line in memoryview(text).tobytes().splitlines():
60 line=line))
/linux-4.1.27/drivers/isdn/hysdn/
Dhysdn_sched.c150 hysdn_tx_cfgline(hysdn_card *card, unsigned char *line, unsigned short chan) in hysdn_tx_cfgline() argument
156 hysdn_addlog(card, "async tx-cfg chan=%d len=%d", chan, strlen(line) + 1); in hysdn_tx_cfgline()
169 strcpy(card->async_data, line); in hysdn_tx_cfgline()
170 card->async_len = strlen(line) + 1; in hysdn_tx_cfgline()
/linux-4.1.27/include/asm-generic/
Dbug.h30 unsigned short line; member
66 void warn_slowpath_fmt(const char *file, const int line,
69 void warn_slowpath_fmt_taint(const char *file, const int line, unsigned taint,
71 extern void warn_slowpath_null(const char *file, const int line);
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-devtrace-iwlwifi.h117 u32 data1, u32 data2, u32 line, u32 blink1,
121 TP_ARGS(dev, desc, tsf_low, data1, data2, line,
130 __field(u32, line)
150 __entry->line = line;
170 __entry->data2, __entry->line, __entry->blink1,
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00debug.c445 char line[16]; \
464 size = sprintf(line, __format, value); \
466 if (copy_to_user(buf, line, size)) \
481 char line[16]; \
492 if (length > sizeof(line)) \
495 if (copy_from_user(line, buf, length)) \
498 size = strlen(line); \
499 value = simple_strtoul(line, NULL, 0); \
538 char line[16]; in rt2x00debug_read_dev_flags() local
544 size = sprintf(line, "0x%.8x\n", (unsigned int)intf->rt2x00dev->flags); in rt2x00debug_read_dev_flags()
[all …]
/linux-4.1.27/scripts/mod/
Dsumversion.c307 char *cmd, *file, *line, *dir; in parse_source_files() local
341 while ((line = get_next_line(&pos, file, flen)) != NULL) { in parse_source_files()
342 char* p = line; in parse_source_files()
344 if (strncmp(line, "source_", sizeof("source_")-1) == 0) { in parse_source_files()
345 p = strrchr(line, ' '); in parse_source_files()
347 warn("malformed line: %s\n", line); in parse_source_files()
358 if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { in parse_source_files()
378 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) { in parse_source_files()
379 if (!parse_file(line, md)) { in parse_source_files()
381 line, strerror(errno)); in parse_source_files()
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Dk3dma.txt12 have specific request line
30 Use specific request line passing from dmax
31 For example, i2c0 read channel request line is 18, while write channel use 19
Dmoxa,moxart-dma.txt11 - #dma-cells : Should be 1, a single cell holding a line request number
34 Use specific request line passing from dma
35 For example, MMC request line is 5
Dsirfsoc-dma.txt26 Fill the specific dma request line in dmas. In the below example, spi0 read
27 channel request line is 9 of the 2nd dma controller, while write channel uses
28 4 of the 2nd dma controller; spi1 read channel request line is 12 of the 1st
/linux-4.1.27/Documentation/devicetree/bindings/power/reset/
Dltc2952-poweroff.txt11 chip's watchdog line
13 chip's kill line
17 chip's trigger line. If this property is not set, the
/linux-4.1.27/scripts/coccinelle/locks/
Dcall_kern.cocci104 msg = "ERROR: function %s called on line %s inside lock on line %s but uses GFP_KERNEL" % (fn,p2[0]…
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Doutpdp.c144 const struct nvkm_i2c_ntfy_rep *line = notify->data; in nvkm_output_dp_hpd() local
150 DBG("HPD: %d\n", line->mask); in nvkm_output_dp_hpd()
153 if (line->mask & NVKM_I2C_UNPLUG) in nvkm_output_dp_hpd()
155 if (line->mask & NVKM_I2C_PLUG) in nvkm_output_dp_hpd()
173 const struct nvkm_i2c_ntfy_rep *line = notify->data; in nvkm_output_dp_irq() local
179 DBG("IRQ: %d\n", line->mask); in nvkm_output_dp_irq()
Dconn.c38 const struct nvkm_gpio_ntfy_rep *line = notify->data; in nvkm_connector_hpd() local
42 DBG("HPD: %d\n", line->mask); in nvkm_connector_hpd()
131 .line = func.line, in nvkm_connector_create_()
Dnv04.c44 u32 line; in nv04_disp_scanoutpos() local
67 line = nv_rd32(priv, 0x600868 + hoff); in nv04_disp_scanoutpos()
69 args->v0.hline = (line & 0xffff0000) >> 16; in nv04_disp_scanoutpos()
70 args->v0.vline = (line & 0x0000ffff); in nv04_disp_scanoutpos()
/linux-4.1.27/drivers/media/pci/cx25821/
Dcx25821-video-upstream.c102 unsigned int line, i; in cx25821_update_riscprogram() local
113 for (line = 0; line < lines; line++) { in cx25821_update_riscprogram()
119 || (line < (NTSC_FIELD_HEIGHT - 1)) || !(out->is_60hz)) { in cx25821_update_riscprogram()
134 unsigned int line, i; in cx25821_risc_field_upstream() local
148 for (line = 0; line < lines; line++) { in cx25821_risc_field_upstream()
154 || (line < (NTSC_FIELD_HEIGHT - 1)) || !(out->is_60hz)) in cx25821_risc_field_upstream()
161 if (fifo_enable && line == 3) { in cx25821_risc_field_upstream()
/linux-4.1.27/drivers/tty/
Dcyclades.c826 int channel = info->line - card->first_line; in cyy_change_rts_dtr()
998 info->line])) in cyz_handle_rx()
999 mod_timer(&cyz_rx_full_timer[info->line], in cyz_handle_rx()
1207 __u32 channel = info->line - card->first_line; in cyz_rx_restart()
1214 info->line, retval); in cyz_rx_restart()
1274 channel = info->line - card->first_line; in cy_startup()
1350 "%x\n", info->line, retval); in cy_startup()
1357 "%x\n", info->line, retval); in cy_startup()
1394 int channel = info->line - card->first_line; in start_xmit()
1409 "%x\n", info->line, retval); in start_xmit()
[all …]
/linux-4.1.27/include/acpi/
Dacoutput.h302 #define ACPI_DO_DEBUG_PRINT(function, level, line, filename, modulename, component, ...) \ argument
306 function (level, line, filename, modulename, component, __VA_ARGS__); \
310 #define ACPI_ACTUAL_DEBUG(level, line, filename, modulename, component, ...) \ argument
311 ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
314 #define ACPI_ACTUAL_DEBUG_RAW(level, line, filename, modulename, component, ...) \ argument
315 ACPI_DO_DEBUG_PRINT (acpi_debug_print_raw, level, line, \
/linux-4.1.27/arch/mn10300/unit-asb2305/
Dpci-irq.c30 u8 line, pin; in pcibios_fixup_irqs() local
39 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); in pcibios_fixup_irqs()
/linux-4.1.27/include/linux/platform_data/
Dserial-sccnxp.h52 #define MCTRL_SIG(sig, line) ((line) << (sig)) argument
/linux-4.1.27/Documentation/serial/
Dtty.txt21 copy of the structure. You must not re-register over the top of the line
25 In order to remove a line discipline call tty_unregister_ldisc().
42 open() - Called when the line discipline is attached to
43 the terminal. No other call into the line
48 close() - This is called on a terminal when the line
53 hangup() - Called when the tty line is hung up.
54 The line discipline should cease I/O to the tty.
58 write() - A process is writing data through the line
63 open and close, and instructs the line discipline
75 read() - Move data from the line discipline to the user.
[all …]
/linux-4.1.27/drivers/media/pci/tw68/
Dtw68-risc.c47 unsigned int line, todo, done; in tw68_risc_field() local
63 for (line = 0; line < lines; line++) { in tw68_risc_field()
/linux-4.1.27/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c99 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty()
155 pr_debug("CPM uart[%d]:stop tx\n", port->line); in cpm_uart_stop_tx()
173 pr_debug("CPM uart[%d]:start tx\n", port->line); in cpm_uart_start_tx()
202 pr_debug("CPM uart[%d]:stop rx\n", port->line); in cpm_uart_stop_rx()
218 pr_debug("CPM uart[%d]:break ctrl, break_state: %d\n", port->line, in cpm_uart_break_ctl()
232 pr_debug("CPM uart[%d]:TX INT\n", port->line); in cpm_uart_int_tx()
256 pr_debug("CPM uart[%d]:RX INT\n", port->line); in cpm_uart_int_rx()
381 pr_debug("CPM uart[%d]:IRQ\n", port->line); in cpm_uart_int()
411 pr_debug("CPM uart[%d]:startup\n", port->line); in cpm_uart_startup()
457 pr_debug("CPM uart[%d]:shutdown\n", port->line); in cpm_uart_shutdown()
[all …]
/linux-4.1.27/arch/m68k/ifpsp060/
DREADME34 fpsp.doc Full FP Kernel Module - on-line documentation
41 fplsp.doc FP Library Module - on-line documentation
45 isp.doc Integer Unimplemented Kernel Module - on-line doc
49 ilsp.doc Integer Unimplemented Library Module - on-line doc
65 test.doc on-line documentation for {i,f}test.sa
/linux-4.1.27/arch/frv/mm/
Dtlb-flush.S69 # now, we assume that the TLB line step is page size in size
110 # now, we assume that the TLB line step is page size in size
142 # zap the matching TLB line and AMR values
170 # round the start down to beginning of TLB line and end up to beginning of next TLB line
/linux-4.1.27/Documentation/block/
Dcmdline-partition.txt1 Embedded device command line partition parsing
4 Support for reading the block device partition table from the command line.
10 The format for the command line is just like mtdparts:
/linux-4.1.27/drivers/net/wan/
Dwanxl.c345 sync_serial_settings line; in wanxl_ioctl() local
358 memset(&line, 0, sizeof(line)); in wanxl_ioctl()
359 line.clock_type = get_status(port)->clocking; in wanxl_ioctl()
360 line.clock_rate = 0; in wanxl_ioctl()
361 line.loopback = 0; in wanxl_ioctl()
363 if (copy_to_user(ifr->ifr_settings.ifs_ifsu.sync, &line, size)) in wanxl_ioctl()
373 if (copy_from_user(&line, ifr->ifr_settings.ifs_ifsu.sync, in wanxl_ioctl()
377 if (line.clock_type != CLOCK_EXT && in wanxl_ioctl()
378 line.clock_type != CLOCK_TXFROMRX) in wanxl_ioctl()
381 if (line.loopback != 0) in wanxl_ioctl()
[all …]
/linux-4.1.27/arch/frv/mb93090-mb00/
Dpci-irq.c46 uint8_t line, pin; in pcibios_fixup_irqs() local
54 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); in pcibios_fixup_irqs()
/linux-4.1.27/scripts/coccinelle/api/
Dkstrdup.cocci95 msg = "WARNING opportunity for kstrdep (strcpy on line %s)" % (p2[0].line)
103 msg = "WARNING opportunity for kstrdep (memcpy on line %s)" % (p2[0].line)
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Dhfc_multi_8xx.h19 const char *function, int line) in HFC_outb_embsd() argument
31 HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inb_embsd() argument
43 HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inw_embsd() argument
55 HFC_wait_embsd(struct hfc_multi *hc, const char *function, int line) in HFC_wait_embsd() argument

12345678