| /linux-6.15/arch/um/drivers/ |
| H 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() 331 struct line *line) in line_install() argument 487 struct line *line; in line_get_config() local [all …]
|
| H A D | chan.h | 18 struct line *line; member 31 extern void chan_interrupt(struct line *line, int irq); 32 extern int parse_chan_pair(char *str, struct line *line, int device, 38 extern int console_open_chan(struct line *line, struct console *co); 41 extern int enable_chan(struct line *line); 42 extern void close_chan(struct line *line); 43 extern int chan_window_size(struct line *line, 46 extern int chan_config_string(struct line *line, char *str, int size,
|
| H A D | chan_kern.c | 167 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local 170 chan_interrupt(line, line->read_irq); in line_timer_cb() 173 int enable_chan(struct line *line) in enable_chan() argument 270 void close_chan(struct line *line) in close_chan() argument 317 int console_open_chan(struct line *line, struct console *co) in console_open_chan() argument 426 struct chan *in = line->chan_in, *out = line->chan_out; in chan_config_string() 515 .line = line, in parse_chan() 528 int parse_chan_pair(char *str, struct line *line, int device, in parse_chan_pair() argument 536 line->chan_in = line->chan_out = NULL; in parse_chan_pair() 573 line->chan_in = line->chan_out = new; in parse_chan_pair() [all …]
|
| H A D | line.h | 32 struct line { struct 62 struct line *line); argument 76 extern int line_setup_irq(int fd, int input, int output, struct line *line, 78 extern void line_close_chan(struct line *line); 81 struct line *lines, int nlines); 82 extern int setup_one_line(struct line *lines, int n, char *init, 84 extern void close_lines(struct line *lines, int nlines); 86 extern int line_config(struct line *lines, unsigned int sizeof_lines, 90 extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n, 92 extern int line_get_config(char *dev, struct line *lines,
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
| H 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-6.15/scripts/ |
| H A D | checkpatch.pl | 1545 $line = expand_tabs($line); 1697 $line++; 1783 $line++; 1873 my $line; 1882 for ($line = $start; $remain > 0; $line++) { 2006 my $line; 2009 next if (defined($line) && $line =~ /^-/); 2696 my $line; 5429 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) { 5447 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ && [all …]
|
| H 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 …]
|
| H A D | bpf_doc.py | 100 self.line = '' 125 capture = p.match(self.line) 144 capture = p.match(self.line) 152 capture = p.match(self.line) 161 if self.line == ' *\n': 187 if self.line == ' *\n': 218 if self.line != ' *\n': 430 print('{}{}'.format('\t\t' if line else '', line)) 435 print('{}{}'.format('\t\t' if line else '', line)) 865 print(' *{}{}'.format(' \t' if line else '', line)) [all …]
|
| /linux-6.15/scripts/dtc/ |
| H A D | of_unittest_expect | 254 while ($line = <ARGV>) { 256 chomp $line; 265 $timestamp = $line; 281 if ($line =~ /^\s*$exp_begin/) { 282 $data = $line; 299 if ($line =~ /^\s*$exp_end/) { 300 $data = $line; 356 $data = $line; 374 $data = $line; 449 if (compare($begin, $line)) { [all …]
|
| H 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-6.15/Documentation/arch/arm/samsung/ |
| H 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-6.15/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-transform.sh | 86 line = ""; 88 if (line == "") { 89 line = $i; 91 line = line " " $i; 95 line = line " file:" consolelog; 98 line = line " " image; 124 if (line == "") 127 line = line " " lq arg; 130 line = line " " bootarg[j]; 131 line = line rq; [all …]
|
| /linux-6.15/drivers/zorro/ |
| H 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-6.15/drivers/gpio/ |
| H A D | gpio-thunderx.c | 49 unsigned int line; member 71 return 8 * line + GPIO_INTR; in intr_reg() 75 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 87 unsigned int line) in thunderx_gpio_is_gpio() argument 123 int bank = line / 64; in thunderx_gpio_set() 124 int bank_bit = line % 64; in thunderx_gpio_set() 179 unsigned int line, in thunderx_gpio_set_config() argument 185 int bank = line / 64; in thunderx_gpio_set_config() 186 int bank_bit = line % 64; in thunderx_gpio_set_config() 261 int bank = line / 64; in thunderx_gpio_get() [all …]
|
| H A D | gpio-realtek-otto.c | 127 unsigned int port_pin = line % 8; in realtek_gpio_line_imr_pos_swapped() 128 unsigned int port = line / 8; in realtek_gpio_line_imr_pos_swapped() 153 return 2 * line; in realtek_gpio_line_imr_pos() 172 u32 irq_type = ctrl->intr_type[line]; in realtek_gpio_update_line_imr() 173 u32 irq_mask = ctrl->intr_mask[line]; in realtek_gpio_update_line_imr() 212 ctrl->intr_mask[line] = 0; in realtek_gpio_irq_mask() 243 ctrl->intr_type[line] = type; in realtek_gpio_irq_set_type() 292 v |= BIT(line); in realtek_gpio_irq_set_affinity() 294 v &= ~BIT(line); in realtek_gpio_irq_set_affinity() 310 unsigned int line; in realtek_gpio_irq_init() local [all …]
|
| H A D | gpiolib-cdev.c | 640 struct line *line; in process_hw_ts_thread() local 688 struct line *line; in process_hw_ts() local 759 struct line *line = p; in edge_irq_thread() local 805 struct line *line = p; in edge_irq_handler() local 812 line->timestamp_ns = line_event_timestamp(line); in edge_irq_handler() 823 static bool debounced_value(struct line *line) in debounced_value() argument 842 struct line *line = p; in debounce_irq_handler() local 853 struct line *line = container_of(work, struct line, work.work); in debounce_work_func() local 901 line->line_seqno = line->last_seqno - line->total_discard_seq; in debounce_work_func() 1002 free_irq_label(free_irq(line->irq, line)); in edge_detector_stop() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_gen_wa_oob.c | 41 err_msg, lineno, line); in print_parse_error() 46 while (isspace(*(line + linelen))) in strip() 49 line[linelen - 1] = '\0'; in strip() 51 return line + strspn(line, " \f\n\r\t\v"); in strip() 57 char line[MAX_LINE_LEN + 1]; in parse() local 61 while (fgets(line, sizeof(line), input)) { in parse() 65 if (line[0] == '\0' || line[0] == '#' || line[0] == '\n') { in parse() 70 linelen = strlen(line); in parse() 76 is_continuation = isspace(line[0]); in parse() 77 name = strip(line, linelen); in parse() [all …]
|
| /linux-6.15/usr/include/ |
| H A D | headers_check.pl | 28 my $line; 38 while ($line = <$fh>) { 52 if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) { 66 if ($line =~ m/^void seqbuf_dump\(void\);/) { 70 if ($line =~ m/^extern "C"/) { 98 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) { 127 my $line; 128 while ($line = <$fh>) { 129 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { 151 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { [all …]
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H 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-6.15/Documentation/sphinx/ |
| H 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(r"\s(\S):\s", line) 102 if len(line) == 0: 105 if line[1] != ':': 144 output = line 152 if line.startswith('----------'): [all …]
|
| /linux-6.15/drivers/media/platform/qcom/camss/ |
| H 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 292 output = &line->output; in vfe_get_output() 356 ret = vfe_get_output(line); in vfe_gen1_enable() 369 vfe_put_output(line); in vfe_gen1_enable() 386 struct vfe_line *line) in vfe_output_update_ping_addr() argument 405 struct vfe_line *line) in vfe_output_update_pong_addr() argument 545 struct vfe_line *line = &vfe->line[line_id]; in vfe_isr_reg_update() local 551 output = &line->output; in vfe_isr_reg_update() [all …]
|
| H A D | camss-vfe.c | 444 struct vfe_line *line = &vfe->line[vfe->wm_output_map[wm]]; in vfe_buf_done() local 481 line); in vfe_buf_done() 574 output = &line->output; in vfe_queue_buffer_v2() 627 vfe_put_output(line); in vfe_enable_v2() 653 output = &line->output; in vfe_get_output_v2() 666 vfe->wm_output_map[line->id] = line->id; in vfe_get_output_v2() 834 vfe_put_output(line); in vfe_disable() 1162 output = &line->output; in vfe_flush_buffers() 1257 return &line->fmt[pad]; in __vfe_get_format() 1277 return &line->compose; in __vfe_get_compose() [all …]
|
| /linux-6.15/arch/arm/boot/dts/nuvoton/ |
| H 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-6.15/drivers/media/pci/ivtv/ |
| H 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-6.15/tools/perf/tests/shell/ |
| H A D | daemon.sh | 7 local line=$1 15 line_name=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $2 }'` 53 local line=$1 117 local line 118 line=`perf daemon --config ${config} -x: | head -1` 184 local line 185 line=`perf daemon --config ${config} -x: | head -1` 190 local line 198 local line 239 local line [all …]
|