/linux-6.6.21/arch/um/drivers/ |
D | line.c | 22 struct line *line = chan->line; in line_interrupt() local 24 if (line) in line_interrupt() 25 chan_interrupt(line, irq); in line_interrupt() 35 static unsigned int write_room(struct line *line) in write_room() argument 39 if (line->buffer == NULL) in write_room() 43 n = line->head - line->tail; in write_room() 52 struct line *line = tty->driver_data; in line_write_room() local 56 spin_lock_irqsave(&line->lock, flags); in line_write_room() 57 room = write_room(line); in line_write_room() 58 spin_unlock_irqrestore(&line->lock, flags); in line_write_room() [all …]
|
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); 40 extern int enable_chan(struct line *line); 41 extern void close_chan(struct line *line); 42 extern int chan_window_size(struct line *line, 45 extern int chan_config_string(struct line *line, char *str, int size,
|
D | chan_kern.c | 133 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->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->read_irq, chan); in free_irqs() 200 um_free_irq(chan->line->write_irq, chan); in free_irqs() [all …]
|
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.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
D | nv10.c | 29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) in nv10_gpio_sense() argument 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() 35 return !!(line & 0x0100); in nv10_gpio_sense() 37 if (line < 10) { in nv10_gpio_sense() 38 line = (line - 2) * 4; in nv10_gpio_sense() 39 line = nvkm_rd32(device, 0x60081c) >> line; in nv10_gpio_sense() 40 return !!(line & 0x04); in nv10_gpio_sense() 42 if (line < 14) { in nv10_gpio_sense() [all …]
|
/linux-6.6.21/scripts/ |
D | checkpatch.pl | 226 my $line = $_; 228 $line =~ s/\s*\n?$//g; 229 $line =~ s/^\s*//g; 230 $line =~ s/\s+/ /g; 232 next if ($line =~ m/^\s*#/); 233 next if ($line =~ m/^\s*$/); 235 my @words = split(" ", $line); 255 my $line = $_; 256 $line =~ s/\s+$//; 258 if ($line =~ /^\s*\*\*(.+)\*\*$/) { [all …]
|
D | markup_oops.pl | 48 my ($line) = @_; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { 79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { 97 my ($line, $cntr) = @_; 99 if (length($line) < 40) { [all …]
|
D | leaking_addresses.pl | 268 while (my $line = <$fh> ) { 269 if ($line =~ /^$option/) { 270 ($str, $val) = split /=/, $line; 350 my ($line) = @_; 354 if ($line =~ '^SigBlk:' or 355 $line =~ '^SigIgn:' or 356 $line =~ '^SigCgt:') { 360 if ($line =~ '\bKEY=[[:xdigit:]]{14} [[:xdigit:]]{16} [[:xdigit:]]{16}\b' or 361 $line =~ '\b[[:xdigit:]]{14} [[:xdigit:]]{16} [[:xdigit:]]{16}\b') { 366 while ($line =~ /($address_re)/g) { [all …]
|
/linux-6.6.21/scripts/dtc/ |
D | of_unittest_expect | 254 while ($line = <ARGV>) { 256 chomp $line; 265 $timestamp = $line; 268 ($timestamp, $null) = split(/]/, $line); 276 $line =~ s/^\[\s*[0-9]+\.[0-9]*\] //; 281 if ($line =~ /^\s*$exp_begin/) { 282 $data = $line; 290 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 299 if ($line =~ /^\s*$exp_end/) { 300 $data = $line; [all …]
|
D | dt_to_config | 554 my $line; 573 $line = $line . $next_line; 575 $line =~ s/\\$/ /; 578 if ($line =~ /^\s*#/) { 579 $line = ""; 585 if ($line =~ /^([ ]\s*|)else\b/) { 589 $line =~ s/^([ ]\s*|)else\b//; 592 …($null, $ifeq_config, $ifeq_config_val ) = $line =~ /^([ ]\s*|)ifeq\b.*\b(CONFIG_[A-Za-z0-9_]*)(… 593 …($null, $ifneq_config, $ifneq_config_val) = $line =~ /^([ ]\s*|)ifneq\b.*\b(CONFIG_[A-Za-z0-9_]*)… 594 …($null, $ifdef_config) = $line =~ /^([ ]\s*|)ifdef\b.*\b(CONFIG_[A-Za-z0-9_]*)… [all …]
|
/linux-6.6.21/Documentation/arch/arm/samsung/ |
D | clksrc-change-registers.awk | 69 while (getline line < ARGV[1] > 0) { 70 if (line ~ /\#define.*_MASK/ && 71 !(line ~ /USB_SIG_MASK/)) { 72 splitdefine(line, fields) 75 printf "MASK " line "\n" > "/dev/stderr" 98 if ((getline line) <= 0) { 103 if (line ~ /\.shift/) { 104 shift = extract_value(line) 105 } else if (line ~ /\.mask/) { 106 mask = extract_value(line) [all …]
|
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/ |
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 == "") 125 line = lq arg; 127 line = line " " lq arg; 130 line = line " " bootarg[j]; [all …]
|
/linux-6.6.21/drivers/zorro/ |
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.6.21/drivers/gpio/ |
D | gpio-thunderx.c | 48 unsigned int line; member 63 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument 65 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg() 68 static unsigned int intr_reg(unsigned int line) in intr_reg() argument 70 return 8 * line + GPIO_INTR; in intr_reg() 74 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 76 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 86 unsigned int line) in thunderx_gpio_is_gpio() argument 88 bool rv = thunderx_gpio_is_gpio_nowarn(txgpio, line); in thunderx_gpio_is_gpio() 90 WARN_RATELIMIT(!rv, "Pin %d not available for GPIO\n", line); in thunderx_gpio_is_gpio() [all …]
|
D | gpio-realtek-otto.c | 76 unsigned int (*line_imr_pos)(unsigned int line); 125 static unsigned int realtek_gpio_line_imr_pos_swapped(unsigned int line) in realtek_gpio_line_imr_pos_swapped() argument 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() 151 static unsigned int realtek_gpio_line_imr_pos(unsigned int line) in realtek_gpio_line_imr_pos() argument 153 return 2 * line; in realtek_gpio_line_imr_pos() 167 static void realtek_gpio_update_line_imr(struct realtek_gpio_ctrl *ctrl, unsigned int line) in realtek_gpio_update_line_imr() argument 170 unsigned int line_shift = ctrl->line_imr_pos(line); in realtek_gpio_update_line_imr() 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() [all …]
|
D | gpiolib-cdev.c | 483 struct line { struct 575 struct line lines[]; 641 static u64 line_event_timestamp(struct line *line) in line_event_timestamp() argument 643 if (test_bit(FLAG_EVENT_CLOCK_REALTIME, &line->desc->flags)) in line_event_timestamp() 646 test_bit(FLAG_EVENT_CLOCK_HTE, &line->desc->flags)) in line_event_timestamp() 647 return line->timestamp_ns; in line_event_timestamp() 662 struct line *line; in process_hw_ts_thread() local 671 line = p; in process_hw_ts_thread() 672 lr = line->req; in process_hw_ts_thread() 676 le.timestamp_ns = line->timestamp_ns; in process_hw_ts_thread() [all …]
|
/linux-6.6.21/usr/include/ |
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"/) { 78 if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) { 87 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 103 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) { 132 my $line; 133 while ($line = <$fh>) { [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | nv50.c | 28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument 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() 47 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", *line); in pwm_info() 55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl() argument 59 int ctrl, id, ret = pwm_info(therm, &line, &ctrl, &id); in nv50_fan_pwm_ctrl() [all …]
|
/linux-6.6.21/drivers/media/platform/qcom/camss/ |
D | camss-vfe-gen1.c | 36 static int vfe_disable_output(struct vfe_line *line) in vfe_disable_output() argument 38 struct vfe_device *vfe = to_vfe(line); in vfe_disable_output() 39 struct vfe_output *output = &line->output; in vfe_disable_output() 58 ops->reg_update(vfe, line->id); in vfe_disable_output() 68 if (line->id != VFE_LINE_PIX) { in vfe_disable_output() 70 vfe->ops_gen1->bus_disconnect_wm_from_rdi(vfe, output->wm_idx[0], line->id); in vfe_disable_output() 71 vfe->ops_gen1->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 0); in vfe_disable_output() 80 vfe->ops_gen1->enable_irq_pix_line(vfe, 0, line->id, 0); in vfe_disable_output() 82 vfe->ops_gen1->set_realign_cfg(vfe, line, 0); in vfe_disable_output() 100 int vfe_gen1_disable(struct vfe_line *line) in vfe_gen1_disable() argument [all …]
|
/linux-6.6.21/Documentation/sphinx/ |
D | maintainers_include.py | 63 for line in open(path): 65 if descriptions and line.startswith('Maintainers'): 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) 90 output = "| %s" % (line.replace("\\", "\\\\")) 93 m = re.search(r"\s(\S):\s", line) 97 m = re.search(r"\*([^\*]+)\*", line) 102 if len(line) == 0: [all …]
|
/linux-6.6.21/arch/arm/boot/dts/nuvoton/ |
D | nuvoton-npcm750-runbmc-olympus.dts | 434 line-name = "TPM_BMC_ALERT_N"; 440 line-name = "FM_BIOS_TOP_SWAP"; 446 line-name = "FM_BIOS_PREFRB2_GOOD"; 452 line-name = "BMC_SATAXPCIE_0TO3_SEL"; 458 line-name = "BMC_SATAXPCIE_4TO7_SEL"; 464 line-name = "FM_UV_ADR_TRIGGER_EN_N"; 470 line-name = "RM_THROTTLE_EN_N"; 476 line-name = "FM_BMC_TPM_PRES_N"; 482 line-name = "FM_CPU0_SKTOCC_LVT3_N"; 488 line-name = "FM_CPU1_SKTOCC_LVT3_N"; [all …]
|
/linux-6.6.21/drivers/media/pci/ivtv/ |
D | ivtv-vbi.c | 23 data.line = enabled ? 16 : 0; in ivtv_set_vps() 40 data.line = (mode & 1) ? 21 : 0; in ivtv_set_cc() 45 data.line = (mode & 2) ? 21 : 0; in ivtv_set_cc() 68 data.line = enabled ? 23 : 0; in ivtv_set_wss() 89 if (d->id == V4L2_SLICED_CAPTION_525 && d->line == 21) { in ivtv_write_vbi_line() 98 } else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) { in ivtv_write_vbi_line() 111 d->line == 23 && d->field == 0) { in ivtv_write_vbi_line() 176 int line = 0; in copy_vbi_data() local 196 l = itv->vbi.sliced_data[i].line - 6; in copy_vbi_data() 204 dst[sd + 12 + line * 43] = in copy_vbi_data() [all …]
|
/linux-6.6.21/tools/perf/tests/shell/ |
D | daemon.sh | 7 local line=$1 15 line_name=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $2 }'` 17 line_base=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $3 }'` 19 line_output=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $4 }'` 21 line_lock=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $5 }'` 23 line_up=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $6 }'` 53 local line=$1 63 line_name=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $2 }'` 65 line_run=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $3 }'` 67 line_base=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $4 }'` [all …]
|
/linux-6.6.21/arch/powerpc/crypto/ |
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... 206 $line =~ s|^\s+||; # ... and skip white spaces in beginning... 207 $line =~ s|\s+$||; # ... and at the end 210 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel 211 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 215 $line =~ s|^\s*(\.?)(\w+)([\.\+\-]?)\s*||; [all …]
|
/linux-6.6.21/usr/ |
D | gen_init_cpio.c | 34 int (*handler)(const char *line); 138 static int cpio_mkslink_line(const char *line) in cpio_mkslink_line() argument 147 …if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &ui… in cpio_mkslink_line() 148 fprintf(stderr, "Unrecognized dir format '%s'", line); in cpio_mkslink_line() 210 static int cpio_mkgeneric_line(const char *line, enum generic_types gt) in cpio_mkgeneric_line() argument 218 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { in cpio_mkgeneric_line() 220 line, generic_type_table[gt].type); in cpio_mkgeneric_line() 229 static int cpio_mkdir_line(const char *line) in cpio_mkdir_line() argument 231 return cpio_mkgeneric_line(line, GT_DIR); in cpio_mkdir_line() 234 static int cpio_mkpipe_line(const char *line) in cpio_mkpipe_line() argument [all …]
|