Home
last modified time | relevance | path

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

12345678910>>...160

/Linux-v5.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()
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.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()
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.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 …]
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_self_test.c115 /* lines start from 2 since line 1 is heading in csv */
118 /*line 2*/{(0x3), 1, 0x2114,
124 /*line 3*/{(0x3), 1, 0x2114,
130 /*line 4*/{(0x3), 1, 0x2120,
136 /*line 5*/{(0x3), 1, 0x2814,
142 /*line 6*/{(0x2), 1, 0x281c,
148 /*line 7*/{(0x2), 1, 0x2820,
154 /*line 8*/{(0x3), 1, PXP2_REG_PGL_EXP_ROM2,
160 /*line 9*/{(0x3), 2, 0x212c,
166 /*line 10*/{(0x1C), 1, 0x2104,
[all …]
/Linux-v5.10/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.10/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.10/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.10/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.10/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.10/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.10/drivers/gpio/
Dgpio-thunderx.c50 unsigned int line; member
57 struct msix_entry *msix_entries; /* per line MSI-X */
58 struct thunderx_line *line_entries; /* per line irq info */
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
[all …]
/Linux-v5.10/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.10/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.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 …]
/Linux-v5.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()
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.10/include/uapi/linux/
Dgpio.h48 * The maximum number of configuration attributes associated with a line
55 * @GPIO_V2_LINE_FLAG_USED: line is not available for request
56 * @GPIO_V2_LINE_FLAG_ACTIVE_LOW: line active state is physical low
57 * @GPIO_V2_LINE_FLAG_INPUT: line is an input
58 * @GPIO_V2_LINE_FLAG_OUTPUT: line is an output
59 * @GPIO_V2_LINE_FLAG_EDGE_RISING: line detects rising (inactive to active)
61 * @GPIO_V2_LINE_FLAG_EDGE_FALLING: line detects falling (active to
63 * @GPIO_V2_LINE_FLAG_OPEN_DRAIN: line is an open drain output
64 * @GPIO_V2_LINE_FLAG_OPEN_SOURCE: line is an open source output
65 * @GPIO_V2_LINE_FLAG_BIAS_PULL_UP: line has pull-up bias enabled
[all …]
/Linux-v5.10/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.10/Documentation/sphinx/
Dmaintainers_include.py63 for line in open(path):
65 line = unicode(line, 'utf-8')
67 if descriptions and line.startswith('Maintainers'):
69 # Ensure a blank line following the last "|"-prefixed line.
75 if re.search('^[A-Z0-9]', line):
79 line = line.rstrip()
83 m = re.search(pat, line)
86 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line)
92 output = "| %s" % (line.replace("\\", "\\\\"))
95 m = re.search("\s(\S):\s", line)
[all …]
/Linux-v5.10/scripts/coccinelle/misc/
Darray_size_dup.cocci43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
80 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
108 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
116 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
138 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
146 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
172 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line)
180 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line)
[all …]
/Linux-v5.10/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 …]

12345678910>>...160