/linux/arch/um/drivers/ |
A D | line.c | 22 struct line *line = chan->line; in line_interrupt() local 43 n = line->head - line->tail; in write_room() 97 line->head = line->buffer; in buffer_data() 98 line->tail = line->buffer; in buffer_data() 134 if ((line->buffer == NULL) || (line->head == line->tail)) in flush_buffer() 150 line->head = line->buffer; in flush_buffer() 233 struct line *line = chan->line; in line_write_interrupt() local 247 line->head = line->buffer; in line_write_interrupt() 327 struct line *line) in line_install() argument 481 struct line *line; in line_get_config() local [all …]
|
A D | chan_kern.c | 133 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local 136 chan_interrupt(line, line->driver->read_irq); in line_timer_cb() 139 int enable_chan(struct line *line) in enable_chan() argument 230 void close_chan(struct line *line) in close_chan() argument 278 int console_open_chan(struct line *line, struct console *co) in console_open_chan() argument 387 struct chan *in = line->chan_in, *out = line->chan_out; in chan_config_string() 476 .line = line, in parse_chan() 488 int parse_chan_pair(char *str, struct line *line, int device, in parse_chan_pair() argument 496 line->chan_in = line->chan_out = NULL; in parse_chan_pair() 533 line->chan_in = line->chan_out = new; in parse_chan_pair() [all …]
|
A D | chan.h | 18 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,
|
A D | line.h | 34 struct line { struct 62 struct line *line); argument 77 extern int line_setup_irq(int fd, int input, int output, struct line *line, 79 extern void line_close_chan(struct line *line); 82 struct line *lines, int nlines); 83 extern int setup_one_line(struct line *lines, int n, char *init, 85 extern void close_lines(struct line *lines, int nlines); 87 extern int line_config(struct line *lines, unsigned int sizeof_lines, 91 extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n, 93 extern int line_get_config(char *dev, struct line *lines,
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
A D | nv10.c | 32 if (line < 2) { in nv10_gpio_sense() 33 line = line * 16; in nv10_gpio_sense() 34 line = nvkm_rd32(device, 0x600818) >> line; in nv10_gpio_sense() 38 line = (line - 2) * 4; in nv10_gpio_sense() 39 line = nvkm_rd32(device, 0x60081c) >> line; in nv10_gpio_sense() 43 line = (line - 10) * 4; in nv10_gpio_sense() 44 line = nvkm_rd32(device, 0x600850) >> line; in nv10_gpio_sense() 58 line = line * 16; in nv10_gpio_drive() 64 line = (line - 2) * 4; in nv10_gpio_drive() 70 line = (line - 10) * 4; in nv10_gpio_drive() [all …]
|
/linux/scripts/ |
A D | checkpatch.pl | 1511 $line = expand_tabs($line); 1663 $line++; 1749 $line++; 1839 my $line; 1848 for ($line = $start; $remain > 0; $line++) { 1972 my $line; 1975 next if (defined($line) && $line =~ /^-/); 2659 my $line; 5320 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) { 5338 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ && [all …]
|
A D | markup_oops.pl | 48 my ($line) = @_; 97 my ($line, $cntr) = @_; 99 if (length($line) < 40) { 157 my $line = $_; 180 parse_x86_regs($line); 238 my $line = $_; 239 chomp($line); 336 my $line; 338 $line = "*$lines[$i] "; 340 $line = " $lines[$i] "; [all …]
|
A D | headers_check.pl | 29 my $line; 39 while ($line = <$fh>) { 53 if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) { 71 if ($line =~ m/^void seqbuf_dump\(void\);/) { 75 if ($line =~ m/^extern "C"/) { 103 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) { 132 my $line; 133 while ($line = <$fh>) { 134 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { 156 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { [all …]
|
A D | leaking_addresses.pl | 267 while (my $line = <$fh> ) { 268 if ($line =~ /^$option/) { 349 my ($line) = @_; 353 if ($line =~ '^SigBlk:' or 354 $line =~ '^SigIgn:' or 355 $line =~ '^SigCgt:') { 564 while (my $line = <$fh>) { 568 push @dmesg, $line; 572 cache_path(\%paths, $line); 618 my ($paths, $line) = @_; [all …]
|
A D | bpf_doc.py | 87 self.line = '' 105 capture = p.match(self.line) 124 capture = p.match(self.line) 132 capture = p.match(self.line) 142 if self.line == ' *\n': 155 capture = p.match(self.line) 165 if self.line == ' *\n': 289 print('{}{}'.format('\t\t' if line else '', line)) 294 print('{}{}'.format('\t\t' if line else '', line)) 664 print(' *{}{}'.format(' \t' if line else '', line)) [all …]
|
A D | get_maintainer.pl | 192 my $line = $_; 195 $line =~ s/^\s*//g; 196 $line =~ s/\s+/ /g; 217 my $line = $_; 219 $line =~ s/\s*\n?$//; 220 $line =~ s/^\s*//; 221 $line =~ s/\s+$//; 222 $line =~ s/#.*$//; 355 my $line = $_; 356 chomp $line; [all …]
|
/linux/Documentation/arm/samsung/ |
A D | clksrc-change-registers.awk | 70 if (line ~ /\#define.*_MASK/ && 71 !(line ~ /USB_SIG_MASK/)) { 72 splitdefine(line, fields) 98 if ((getline line) <= 0) { 103 if (line ~ /\.shift/) { 105 } else if (line ~ /\.mask/) { 113 } else if (line ~ /{/) { 115 print line 116 } else if (line ~ /}/) { 156 print line [all …]
|
/linux/drivers/gpio/ |
A D | gpio-thunderx.c | 50 unsigned int line; member 72 return 8 * line + GPIO_INTR; in intr_reg() 76 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 88 unsigned int line) in thunderx_gpio_is_gpio() argument 124 int bank = line / 64; in thunderx_gpio_set() 125 int bank_bit = line % 64; in thunderx_gpio_set() 180 unsigned int line, in thunderx_gpio_set_config() argument 186 int bank = line / 64; in thunderx_gpio_set_config() 187 int bank_bit = line % 64; in thunderx_gpio_set_config() 262 int bank = line / 64; in thunderx_gpio_get() [all …]
|
A D | gpio-ts5500.c | 204 if (line.no_input) in ts5500_gpio_input() 207 if (line.no_output) in ts5500_gpio_input() 211 ts5500_clear_mask(line.control_mask, line.control_addr); in ts5500_gpio_input() 222 return !!(inb(line.value_addr) & line.value_mask); in ts5500_gpio_get() 236 ts5500_set_mask(line.control_mask, line.control_addr); in ts5500_gpio_output() 239 ts5500_set_mask(line.value_mask, line.value_addr); in ts5500_gpio_output() 241 ts5500_clear_mask(line.value_mask, line.value_addr); in ts5500_gpio_output() 255 ts5500_set_mask(line.value_mask, line.value_addr); in ts5500_gpio_set() 257 ts5500_clear_mask(line.value_mask, line.value_addr); in ts5500_gpio_set() 268 if (line.irq) in ts5500_gpio_to_irq() [all …]
|
/linux/drivers/zorro/ |
A D | gen-devlist.c | 32 char line[1024], *c, *bra, manuf[8]; in main() local 45 while (fgets(line, sizeof(line)-1, stdin)) { in main() 47 if ((c = strchr(line, '\n'))) in main() 49 if (!line[0] || line[0] == '#') in main() 51 if (line[0] == '\t') { in main() 54 if (strlen(line) > 5 && line[5] == ' ') { in main() 55 c = line + 5; in main() 68 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main() 76 } else if (strlen(line) > 4 && line[4] == ' ') { in main() 77 c = line + 4; in main() [all …]
|
/linux/scripts/dtc/ |
A D | dt_to_config | 554 my $line; 573 $line = $line . $next_line; 579 $line = ""; 635 $line = ""; 695 $line = ""; 864 my $line; 883 chomp($line); 955 my @line; 959 chomp($line); 962 @line = split /=/, $line; [all …]
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss-vfe-gen1.c | 104 vfe_disable_output(line); in vfe_gen1_disable() 106 vfe_put_output(line); in vfe_gen1_disable() 122 struct vfe_line *line) in vfe_output_init_addrs() argument 291 output = &line->output; in vfe_get_output() 355 ret = vfe_get_output(line); in vfe_gen1_enable() 368 vfe_put_output(line); in vfe_gen1_enable() 385 struct vfe_line *line) in vfe_output_update_ping_addr() argument 404 struct vfe_line *line) in vfe_output_update_pong_addr() argument 544 struct vfe_line *line = &vfe->line[line_id]; in vfe_isr_reg_update() local 550 output = &line->output; in vfe_isr_reg_update() [all …]
|
A D | camss-vfe.c | 679 output = &line->output; in vfe_flush_buffers() 774 return &line->fmt[pad]; in __vfe_get_format() 794 return &line->compose; in __vfe_get_compose() 814 return &line->crop; in __vfe_get_crop() 843 if (i >= line->nformats) in vfe_try_format() 1432 struct vfe_line *line; in msm_vfe_get_vfe_id() local 1437 vfe = to_vfe(line); in msm_vfe_get_vfe_id() 1450 struct vfe_line *line; in msm_vfe_get_vfe_line_id() local 1455 *id = line->id; in msm_vfe_get_vfe_line_id() 1535 sd = &vfe->line[i].subdev; in msm_vfe_register_entities() [all …]
|
/linux/arch/arm/boot/dts/ |
A D | nuvoton-npcm750-runbmc-olympus.dts | 434 line-name = "TPM_BMC_ALERT_N"; 494 line-name = "PSU1_ALERT_N"; 500 line-name = "PSU2_ALERT_N"; 585 line-name = "FP_PWR_ID_LED_N"; 645 line-name = "RST_BMC_RTCRST"; 669 line-name = "FM_BMC_READY_N"; 681 line-name = "FM_SLOT4_CFG0"; 687 line-name = "FM_SLOT4_CFG1"; 705 line-name = "BMC_PCH_FNM"; 790 line-name = "PMB_ALERT_EN_N"; [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
A D | nv50.c | 32 if (*line == 0x04) { in pwm_info() 34 *line = 4; in pwm_info() 37 if (*line == 0x09) { in pwm_info() 39 *line = 9; in pwm_info() 42 if (*line == 0x10) { in pwm_info() 44 *line = 0; in pwm_info() 59 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_ctrl() 61 nvkm_mask(device, ctrl, 0x00010001 << line, data << line); in nv50_fan_pwm_ctrl() 69 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_get() 73 if (nvkm_rd32(device, ctrl) & (1 << line)) { in nv50_fan_pwm_get() [all …]
|
/linux/drivers/media/pci/ivtv/ |
A D | ivtv-vbi.c | 176 int line = 0; in copy_vbi_data() local 207 line++; in copy_vbi_data() 238 int line = 0; in ivtv_convert_ivtv_vbi() local 279 itv->vbi.sliced_dec_data[line].line = l; in ivtv_convert_ivtv_vbi() 283 line++; in ivtv_convert_ivtv_vbi() 289 itv->vbi.sliced_dec_data[line].line = 0; in ivtv_convert_ivtv_vbi() 291 line++; in ivtv_convert_ivtv_vbi() 340 return line; in compress_sliced_buf() 355 itv->vbi.sliced_data[line].line = vbi.line; in compress_sliced_buf() 357 line++; in compress_sliced_buf() [all …]
|
/linux/usr/ |
A D | gen_init_cpio.c | 30 int (*handler)(const char *line); 216 line, generic_type_table[gt].type); in cpio_mkgeneric_line() 424 if (end && isgraph(line[end])) { in cpio_mkfile_line() 428 dname = malloc(strlen(line)); in cpio_mkfile_line() 447 } while (isgraph(line[end])); in cpio_mkfile_line() 530 char line[LINE_SIZE]; in main() local 586 size_t slen = strlen(line); in main() 590 if ('#' == *line) { in main() 598 line_nr, line); in main() 616 line_nr, line); in main() [all …]
|
/linux/Documentation/sphinx/ |
A D | maintainers_include.py | 63 for line in open(path): 73 if re.search('^[A-Z0-9]', line): 77 line = line.rstrip() 81 m = re.search(pat, line) 84 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line) 93 m = re.search("\s(\S):\s", line) 102 if len(line) == 0: 105 if line[1] != ':': 144 output = line 152 if line.startswith('----------'): [all …]
|
/linux/drivers/crypto/vmx/ |
A D | ppc-xlate.pl | 68 my $line = join(",",@_); 69 if ($line =~ /^"(.*)"$/) 202 while($line=<>) { 204 $line =~ s|[#!;].*$||; # get rid of asm-style comments... 205 $line =~ s|/\*.*\*/||; # ... and C-style comments... 207 $line =~ s|\s+$||; # ... and at the end 211 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 215 $line =~ s|^\s*(\.?)(\w+)([\.\+\-]?)\s*||; 221 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); } 222 elsif ($mnemonic) { $line = $c.$mnemonic.$f."\t".$line; } [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
A D | cec-gpio.txt | 3 The HDMI CEC GPIO module supports CEC implementations where the CEC line 4 is hooked up to a pull-up GPIO line and - optionally - the HPD line is 5 hooked up to another GPIO line. 7 Please note: the maximum voltage for the CEC line is 3.63V, for the HPD and 9 when connecting them to a GPIO line. 13 - cec-gpios: gpio that the CEC line is connected to. The line should be 24 - hpd-gpios: gpio that the HPD line is connected to. 28 - v5-gpios: gpio that the 5V line is connected to. 30 Example for the Raspberry Pi 3 where the CEC line is connected to 31 pin 26 aka BCM7 aka CE1 on the GPIO pin header, the HPD line is [all …]
|