Home
last modified time | relevance | path

Searched full:line (Results 1 – 25 of 4205) sorted by relevance

12345678910>>...169

/Linux-v5.4/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()
31 * Returns the free space inside the ring buffer of this line.
33 * Should be called while holding line->lock (this does not modify data).
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()
[all …]
Dchan.h13 #include "line.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,
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 …]
/Linux-v5.4/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()
42 pblk_err(pblk, "failed to mark bb, line:%d, pos:%d\n", 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()
63 pblk_err(pblk, "attempted to erase bb: line:%d, pos:%d\n", in pblk_mark_bb()
64 line->id, pos); in pblk_mark_bb()
[all …]
Dpblk-recovery.c18 * following the line sequence ID.
38 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()
[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()
76 * since right now current line is not on any of the 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()
[all …]
Dpblk.h216 struct pblk_line *line; member
303 /* Line Types */
308 /* Line state */
345 __le16 type; /* line type */
348 __le32 id; /* line id for current line */
355 /* Previous line metadata */
356 __le32 prev_id; /* Line id for previous line */
358 /* Current line metadata */
359 __le64 seq_nr; /* Sequence number for current line */
379 * 4. u32 valid sector count (vsc) for all lines (~0U: free line)
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/tools/perf/pmu-events/arch/x86/goldmont/
Dfrontend.json4Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis…
10 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event…
14Line and that cache line is not in the ICache (miss). The event strives to count on a cache line
20 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This …
24Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach…
30 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
/Linux-v5.4/Documentation/RCU/Design/Memory-Ordering/
Drcu_node-lock.svg80 <!-- Line: box -->
81 <!-- Line: box -->
82 <!-- Line: box -->
83 <!-- Line -->
85 <!-- Line -->
87 <!-- Line -->
89 <!-- Line -->
91 <!-- Line: box -->
92 <!-- Line: box -->
93 <!-- Line -->
[all …]
/Linux-v5.4/tools/perf/pmu-events/arch/x86/goldmontplus/
Dfrontend.json4Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis…
12 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event…
16Line and that cache line is not in the ICache (miss). The event strives to count on a cache line
24 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This …
28Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach…
36 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
/Linux-v5.4/drivers/tty/serial/
Ddz.h20 #define DZ_TLINE 0x0300 /* Transmitter Line Number */
31 #define DZ_LINE_MASK 0x0300 /* Line Mask */
39 #define LINE(x) ((x & DZ_LINE_MASK) >> 8) /* Get the line number macro
51 #define DZ_MODEM_RTS 0x0800 /* RTS for the modem line (2) */
52 #define DZ_MODEM_DTR 0x0400 /* DTR for the modem line (2) */
53 #define DZ_PRINT_RTS 0x0200 /* RTS for the prntr line (3) */
54 #define DZ_PRINT_DTR 0x0100 /* DTR for the prntr line (3) */
55 #define DZ_LNENB 0x000f /* Transmitter Line Enable */
60 #define DZ_MODEM_RI 0x0800 /* RI for the modem line (2) */
61 #define DZ_MODEM_CD 0x0400 /* CD for the modem line (2) */
[all …]
/Linux-v5.4/scripts/
Dshow_delta20 the kernel command line option "time" is specified. When run with no
22 each printk line and the next. When run with the '-b' option, all times
29 If it is a string, the first message line
31 line) is used as the time reference.
36 will show times relative to the line in the kernel output
41 # returns a tuple containing the seconds and text for each message line
44 def get_time(line): argument
45 if line[0]!="[":
49 (time_str, rest) = string.split(line[1:],']',1)
56 # average line looks like:
[all …]
/Linux-v5.4/tools/perf/pmu-events/arch/x86/haswell/
Duncore.json43 "BriefDescription": "An external snoop hits a non-modified line in some processor core.",
44 "PublicDescription": "An external snoop hits a non-modified line in some processor core.",
55 … this Cbox due to processor core memory request which hits a non-modified line in some processor c…
56 … this Cbox due to processor core memory request which hits a non-modified line in some processor c…
67 …: "A cross-core snoop resulted from L3 Eviction which hits a non-modified line in some processor c…
68 …: "A cross-core snoop resulted from L3 Eviction which hits a non-modified line in some processor c…
79 "BriefDescription": "An external snoop hits a modified line in some processor core.",
80 "PublicDescription": "An external snoop hits a modified line in some processor core.",
91 …d by this Cbox due to processor core memory request which hits a modified line in some processor c…
92 …d by this Cbox due to processor core memory request which hits a modified line in some processor c…
[all …]
/Linux-v5.4/drivers/gpio/
Dgpio-thunderx.c49 unsigned int line; member
56 struct msix_entry *msix_entries; /* per line MSI-X */
57 struct thunderx_line *line_entries; /* per line irq info */
64 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument
66 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg()
69 static unsigned int intr_reg(unsigned int line) in intr_reg() argument
71 return 8 * line + GPIO_INTR; in intr_reg()
75 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument
77 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn()
87 unsigned int line) in thunderx_gpio_is_gpio() argument
[all …]
/Linux-v5.4/tools/perf/pmu-events/arch/x86/tremontx/
Dfrontend.json4Line and that cache line is not in the ICache (miss). The event strives to count on a cache line
12 …quests to the Instruction Cache (ICache) for one or more bytes in a cache line and they do not hit…
16Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach…
24 …Description": "Counts requests to the Instruction Cache (ICache) for one or more bytes cache Line."
/Linux-v5.4/Documentation/devicetree/bindings/media/
Dcec-gpio.txt3 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
16 If the CEC line is associated with an HDMI receiver/transmitter, then the
21 If the CEC line is not associated with an HDMI receiver/transmitter, then
24 - hpd-gpios: gpio that the HPD line is connected to.
26 This property is optional and can be used for debugging changes on the 5V line:
[all …]
/Linux-v5.4/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-v5.4/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()
64 fprintf(stderr, "Line %d: Product name too long\n", lino); in main()
68 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main()
76 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
[all …]
/Linux-v5.4/fs/gfs2/
Dutil.c89 const char *function, char *file, unsigned int line) in gfs2_assert_withdraw_i() argument
94 " function = %s, file = %s, line = %u\n", in gfs2_assert_withdraw_i()
95 assertion, function, file, line); in gfs2_assert_withdraw_i()
107 const char *function, char *file, unsigned int line) in gfs2_assert_warn_i() argument
115 fs_warn(sdp, "warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i()
116 assertion, function, file, line); in gfs2_assert_warn_i()
125 "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i()
127 sdp->sd_fsname, function, file, line); in gfs2_assert_warn_i()
141 char *file, unsigned int line) in gfs2_consist_i() argument
145 "fatal: filesystem consistency error - function = %s, file = %s, line = %u\n", in gfs2_consist_i()
[all …]
/Linux-v5.4/drivers/media/platform/qcom/camss/
Dcamss-vfe.c33 container_of(vfe_line_array(ptr_line), struct vfe_device, line)
155 static u32 vfe_src_pad_code(struct vfe_line *line, u32 sink_code, in vfe_src_pad_code() argument
158 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code()
324 for (i = 0; i < ARRAY_SIZE(vfe->line); i++) { in vfe_init_outputs()
325 struct vfe_output *output = &vfe->line[i].output; in vfe_init_outputs()
582 static int vfe_get_output(struct vfe_line *line) in vfe_get_output() argument
584 struct vfe_device *vfe = to_vfe(line); in vfe_get_output()
586 struct v4l2_format *f = &line->video_out.active_fmt; in vfe_get_output()
593 output = &line->output; in vfe_get_output()
615 wm_idx = vfe_reserve_wm(vfe, line->id); in vfe_get_output()
[all …]
/Linux-v5.4/arch/arm64/boot/dts/hisilicon/
Dhi3670-hikey970.dts75 * Legend: proper name = the GPIO line is used as GPIO
84 * Line names are taken from "hikey970-schematics.pdf" from HiSilicon.
90 * When the 96Board naming of a line and the schematic name of
91 * the same line are in conflict, the 96Board specification
100 gpio-line-names =
113 gpio-line-names =
126 gpio-line-names =
139 gpio-line-names =
152 gpio-line-names =
170 gpio-line-names =
[all …]
/Linux-v5.4/tools/perf/pmu-events/arch/s390/cf_z13/
Dextended.json7 …e the line was originally in a Read-Only state in the cache but has been updated to be in the Excl…
42 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from th…
63 …write to the Level-1 Instruction cache directory where the returned cache line was sourced from th…
112 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
119 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
126 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
133 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
140 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
147 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
154 …ectory write to the Level-1 Data cache directory where the returned cache line was sourced from an…
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Ddev-sliced-vbi.rst24 packets of fixed size, covering one scan line each. The number of
72 services it can identify on a given line are limited. For example on PAL
73 line 16 the hardware may be able to look for a VPS or Teletext signal,
90 hardware must be told which VBI service to expect on each scan line. Not
93 other services can only be inserted in one specific line). In many
141 fields [#f1]_ to ``V4L2_SLICED_TELETEXT_B`` and line 23 of the first
155 driver shall look for or insert on the respective scan line.
158 When the hardware cannot handle multiple services on the same line
163 map to ITU-R line numbers\ [#f2]_ as follows:
167 - 525 line systems
[all …]
/Linux-v5.4/Documentation/admin-guide/
Ddynamic-debug-howto.rst30 - line number (including ranges of line numbers)
46 printing from source file ``svcsock.c``, line 1603 you simply do::
48 nullarbor:~ # echo 'file svcsock.c line 1603 +p' >
96 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
98 nullarbor:~ # echo -n ' file svcsock.c line 1603 +p ' >
100 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
137 'line' line-range
139 line-range ::= lineno |
148 ``line-range`` cannot contain space, e.g.
194 line
[all …]

12345678910>>...169