Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 3491) sorted by relevance

12345678910>>...140

/kernel/linux/linux-5.10/arch/um/drivers/
Dline.c22 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 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 …]
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 …]
/kernel/linux/linux-4.19/arch/um/drivers/
Dline.c22 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 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 …]
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 …]
/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-core.c36 struct pblk_line *line; in pblk_line_mark_bb() local
39 line = pblk_ppa_to_line(pblk, *ppa); in pblk_line_mark_bb()
43 line->id, pos); in pblk_line_mark_bb()
50 static void pblk_mark_bb(struct pblk *pblk, struct pblk_line *line, in pblk_mark_bb() argument
58 pblk_debug(pblk, "erase failed: line:%d, pos:%d\n", line->id, pos); in pblk_mark_bb()
61 atomic_dec(&line->blk_in_line); in pblk_mark_bb()
62 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb()
64 line->id, pos); in pblk_mark_bb()
84 struct pblk_line *line; in __pblk_end_io_erase() local
87 line = pblk_ppa_to_line(pblk, rqd->ppa_addr); in __pblk_end_io_erase()
[all …]
Dpblk-recovery.c38 static int pblk_recov_l2p_from_emeta(struct pblk *pblk, struct pblk_line *line) in pblk_recov_l2p_from_emeta() argument
43 struct pblk_emeta *emeta = line->emeta; in pblk_recov_l2p_from_emeta()
54 data_start = pblk_line_smeta_start(pblk, line) + lm->smeta_sec; in pblk_recov_l2p_from_emeta()
55 data_end = line->emeta_ssec; in pblk_recov_l2p_from_emeta()
62 ppa = addr_to_gen_ppa(pblk, i, line->id); in pblk_recov_l2p_from_emeta()
66 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta()
70 spin_lock(&line->lock); in pblk_recov_l2p_from_emeta()
71 if (test_and_set_bit(i, line->invalid_bitmap)) in pblk_recov_l2p_from_emeta()
74 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta()
75 spin_unlock(&line->lock); in pblk_recov_l2p_from_emeta()
[all …]
Dpblk-gc.c50 kref_put(&gc_rq->line->ref, pblk_line_put); in pblk_gc_write()
62 void pblk_put_line_back(struct pblk *pblk, struct pblk_line *line) in pblk_put_line_back() argument
68 spin_lock(&line->lock); in pblk_put_line_back()
69 WARN_ON(line->state != PBLK_LINESTATE_GC); in pblk_put_line_back()
70 line->state = PBLK_LINESTATE_CLOSED; in pblk_put_line_back()
71 trace_pblk_line_state(pblk_disk_name(pblk), line->id, in pblk_put_line_back()
72 line->state); in pblk_put_line_back()
79 line->gc_group = PBLK_LINEGC_NONE; in pblk_put_line_back()
80 move_list = pblk_line_gc_list(pblk, line); in pblk_put_line_back()
81 spin_unlock(&line->lock); in pblk_put_line_back()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dnv10.c29 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dnv10.c29 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 …]
/kernel/linux/linux-4.19/drivers/lightnvm/
Dpblk-core.c32 struct pblk_line *line; in pblk_line_mark_bb() local
35 line = &pblk->lines[pblk_ppa_to_line(*ppa)]; in pblk_line_mark_bb()
39 line->id, pos); in pblk_line_mark_bb()
46 static void pblk_mark_bb(struct pblk *pblk, struct pblk_line *line, in pblk_mark_bb() argument
54 pblk_debug(pblk, "erase failed: line:%d, pos:%d\n", line->id, pos); in pblk_mark_bb()
57 atomic_dec(&line->blk_in_line); in pblk_mark_bb()
58 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb()
60 line->id, pos); in pblk_mark_bb()
80 struct pblk_line *line; in __pblk_end_io_erase() local
83 line = &pblk->lines[pblk_ppa_to_line(rqd->ppa_addr)]; in __pblk_end_io_erase()
[all …]
Dpblk-recovery.c33 static int pblk_recov_l2p_from_emeta(struct pblk *pblk, struct pblk_line *line) in pblk_recov_l2p_from_emeta() argument
38 struct pblk_emeta *emeta = line->emeta; in pblk_recov_l2p_from_emeta()
49 data_start = pblk_line_smeta_start(pblk, line) + lm->smeta_sec; in pblk_recov_l2p_from_emeta()
50 data_end = line->emeta_ssec; in pblk_recov_l2p_from_emeta()
57 ppa = addr_to_gen_ppa(pblk, i, line->id); in pblk_recov_l2p_from_emeta()
61 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta()
65 spin_lock(&line->lock); in pblk_recov_l2p_from_emeta()
66 if (test_and_set_bit(i, line->invalid_bitmap)) in pblk_recov_l2p_from_emeta()
69 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta()
70 spin_unlock(&line->lock); in pblk_recov_l2p_from_emeta()
[all …]
Dpblk-gc.c47 kref_put(&gc_rq->line->ref, pblk_line_put); in pblk_gc_write()
59 static void pblk_put_line_back(struct pblk *pblk, struct pblk_line *line) in pblk_put_line_back() argument
64 spin_lock(&line->lock); in pblk_put_line_back()
65 WARN_ON(line->state != PBLK_LINESTATE_GC); in pblk_put_line_back()
66 line->state = PBLK_LINESTATE_CLOSED; in pblk_put_line_back()
67 move_list = pblk_line_gc_list(pblk, line); in pblk_put_line_back()
68 spin_unlock(&line->lock); in pblk_put_line_back()
72 list_add_tail(&line->list, move_list); in pblk_put_line_back()
85 struct pblk_line *line = gc_rq_ws->line; in pblk_gc_line_ws() local
94 line->id, *line->vsc, gc_rq->nr_secs); in pblk_gc_line_ws()
[all …]
/kernel/linux/linux-4.19/scripts/
Dcheckpatch.pl171 my $line = $_;
173 $line =~ s/\s*\n?$//g;
174 $line =~ s/^\s*//g;
175 $line =~ s/\s+/ /g;
177 next if ($line =~ m/^\s*#/);
178 next if ($line =~ m/^\s*$/);
180 my @words = split(" ", $line);
655 my $line = $_;
657 $line =~ s/\s*\n?$//g;
658 $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 …]
/kernel/linux/linux-5.10/scripts/
Dcheckpatch.pl182 my $line = $_;
184 $line =~ s/\s*\n?$//g;
185 $line =~ s/^\s*//g;
186 $line =~ s/\s+/ /g;
188 next if ($line =~ m/^\s*#/);
189 next if ($line =~ m/^\s*$/);
191 my @words = split(" ", $line);
707 my $line = $_;
709 $line =~ s/\s*\n?$//g;
710 $line =~ s/^\s*//g;
[all …]
Dmarkup_oops.pl48 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 …]
Dheaders_check.pl29 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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/drivers/gpio/
Dgpio-thunderx.c49 unsigned int line; member
65 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument
67 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg()
70 static unsigned int intr_reg(unsigned int line) in intr_reg() argument
72 return 8 * line + GPIO_INTR; in intr_reg()
76 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument
78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn()
88 unsigned int line) in thunderx_gpio_is_gpio() argument
90 bool rv = thunderx_gpio_is_gpio_nowarn(txgpio, line); in thunderx_gpio_is_gpio()
92 WARN_RATELIMIT(!rv, "Pin %d not available for GPIO\n", line); in thunderx_gpio_is_gpio()
[all …]
/kernel/linux/linux-4.19/drivers/zorro/
Dgen-devlist.c32 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 …]
/kernel/linux/linux-5.10/drivers/zorro/
Dgen-devlist.c32 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 …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-thunderx.c50 unsigned int line; member
65 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument
67 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg()
70 static unsigned int intr_reg(unsigned int line) in intr_reg() argument
72 return 8 * line + GPIO_INTR; in intr_reg()
76 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument
78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn()
88 unsigned int line) in thunderx_gpio_is_gpio() argument
90 bool rv = thunderx_gpio_is_gpio_nowarn(txgpio, line); in thunderx_gpio_is_gpio()
92 WARN_RATELIMIT(!rv, "Pin %d not available for GPIO\n", line); in thunderx_gpio_is_gpio()
[all …]

12345678910>>...140