Home
last modified time | relevance | path

Searched full:lines (Results 1 – 25 of 2169) sorted by relevance

12345678910>>...87

/Linux-v5.15/Documentation/fb/
Dviafb.modes16 # 12 chars 2 lines
18 # 2 chars 10 lines
20 # 6 chars 33 lines
22 # 80 chars 480 lines
24 # 20 chars 45 lines
41 # 8 chars 3 lines
43 # 2 chars 1 lines
45 # 15 chars 16 lines
47 # 80 chars 480 lines
49 # 25 chars 20 lines
[all …]
/Linux-v5.15/tools/testing/kunit/
Dkunit_parser.py57 def __init__(self, lines: Iterator[Tuple[int, str]]):
58 self._lines = lines
107 return LineStream(lines=isolate_kunit_output(kernel_output))
138 def consume_non_diagnostic(lines: LineStream) -> None:
139 while lines and not TAP_ENTRIES.match(lines.peek()):
140 lines.pop()
142 def save_non_diagnostic(lines: LineStream, test_case: TestCase) -> None:
143 while lines and not TAP_ENTRIES.match(lines.peek()):
144 test_case.log.append(lines.peek())
145 lines.pop()
[all …]
/Linux-v5.15/tools/gpio/
Dgpio-utils.c27 * ioctl, including request and release for lines of gpio, read/write
29 * lines of gpio, user should use this type of api.
32 * following api will request gpio lines, do the operation and then
33 * release these lines.
37 * gpiotools_request_line() - request gpio lines in a gpiochip
40 * @lines: An array desired lines, specified by offset
42 * @num_lines: The number of lines to request.
49 * Request gpio lines through the ioctl provided by chardev. User
52 * gpiotools_release_line() to release these lines after that.
57 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument
[all …]
Dgpio-hammer.c3 * gpio-hammer - example swiss army knife to shake GPIO lines on a system
25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument
39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device()
55 fprintf(stdout, "Hammer lines ["); in hammer_device()
57 fprintf(stdout, "%d", lines[i]); in hammer_device()
72 /* Invert all lines so we blink */ in hammer_device()
92 fprintf(stdout, "%d: %d", lines[i], in hammer_device()
116 "Hammer GPIO lines, 0->1->0->1...\n" in print_usage()
130 unsigned int lines[GPIOHANDLES_MAX]; in main() local
152 lines[i] = strtoul(optarg, NULL, 10); in main()
[all …]
Dgpio-event-mon.c29 unsigned int *lines, in monitor_device() argument
51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device()
72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name); in monitor_device()
76 fprintf(stdout, "Monitoring lines %d", lines[0]); in monitor_device()
78 fprintf(stdout, ", %d", lines[i]); in monitor_device()
79 fprintf(stdout, " and %d on %s\n", lines[i], device_name); in monitor_device()
144 "Listen to events on GPIO lines, 0->1 1->0\n" in print_usage()
168 unsigned int lines[GPIO_V2_LINES_MAX]; in main() local
190 lines[num_lines] = strtoul(optarg, NULL, 10); in main()
235 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
/Linux-v5.15/include/uapi/linux/
Dgpio.h30 * @lines: number of GPIO lines on this chip
35 __u32 lines; member
39 * Maximum number of requested lines.
86 * struct gpio_v2_line_values - Values of GPIO lines
87 * @bits: a bitmap containing the value of the lines, set to 1 for active
89 * @mask: a bitmap identifying the lines to get or set, with each bit
121 * containing the values to which the lines will be set, with each bit
139 * associated with one or more of the requested lines.
141 * @mask: a bitmap identifying the lines to which the attribute applies,
151 * struct gpio_v2_line_config - Configuration for GPIO lines
[all …]
/Linux-v5.15/include/asm-generic/
Dxor.h13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() local
26 } while (--lines > 0); in xor_8regs_2()
33 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() local
47 } while (--lines > 0); in xor_8regs_3()
54 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() local
69 } while (--lines > 0); in xor_8regs_4()
76 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() local
92 } while (--lines > 0); in xor_8regs_5()
98 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() local
128 } while (--lines > 0); in xor_32regs_2()
[all …]
/Linux-v5.15/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst11 lines, giving you the LED sysfs interface
26 mouse cable and connect the wires to GPIO lines or solder a mouse connector
27 to the lines for a more permanent solution of this type.
49 (two wires, SDA and SCL lines) by hammering (bitbang) two GPIO lines. It will
54 of wires, at least SCK and optionally MISO, MOSI and chip select lines) using
79 to a set of simple GPIO lines: RDY, NCE, ALE, CLE, NWP. It interacts with the
84 bus, data and clock line, by bit banging two GPIO lines. It will appear as
95 nothing but GPIO lines, this driver provides that and also a clearly defined
100 n GPIO lines such that you can mux in 2^n different devices by activating
101 different GPIO lines. Often the GPIOs are on a SoC and the devices are
[all …]
Dusing-gpio.rst2 Using GPIO Lines in Linux
5 The Linux kernel exists to abstract and present hardware to users. GPIO lines
7 and preferred way to use GPIO lines is to let kernel hardware drivers deal
20 In Linux GPIO lines also have a userspace ABI.
23 factory lines, maker community projects, workshop specimen, production tools,
33 from userspace will likely be a good fit for using GPIO lines from userspace as
/Linux-v5.15/tools/vm/
Dslabinfo-gnuplot.sh56 local lines=2000000
64 lines=$((xmax-xmin))
69 wc_lines=$lines
72 if [ "$wc_lines" -lt "$lines" ]; then
73 lines=$wc_lines
76 if [ $((width / lines)) -gt $min_slab_name_size ]; then
118 '$i Memory usage' with lines,"
120 '$i Loss' with lines,"
144 local lines
150 let lines=3
[all …]
/Linux-v5.15/tools/perf/util/
Dsrccode.c3 * Manage printing of source lines
29 char **lines; member
58 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines() argument
67 lines[l++] = map; in fill_lines()
71 lines[l++] = ++p; in fill_lines()
74 lines[l] = p; in fill_lines()
83 zfree(&sf->lines); in free_srcfile()
136 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile()
137 if (!h->lines) in find_srcfile()
139 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile()
[all …]
Ddwarf-aux.c66 Dwarf_Lines *lines; in cu_getsrc_die() local
71 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0 || in cu_getsrc_die()
75 /* Lines are sorted by address, use binary search */ in cu_getsrc_die()
79 line = dwarf_onesrcline(lines, n); in cu_getsrc_die()
89 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die()
96 line = dwarf_onesrcline(lines, l++); in cu_getsrc_die()
805 /* Walk on lines of blocks included in given DIE */
849 * die_walk_lines - Walk on lines inside given DIE
854 * Walk on all lines inside given @rt_die and call @callback on each line.
855 * If the @rt_die is a function, walk only on the lines inside the function,
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dqcom,q6afe.txt48 - qcom,sd-lines
51 Definition: Must be list of serial data lines used by this dai.
52 should be one or more of the 0-3 sd lines.
158 qcom,sd-lines = <0 2>;
163 qcom,sd-lines = <1>;
168 qcom,sd-lines = <0 3>;
173 qcom,sd-lines = <1>;
178 qcom,sd-lines = <1 3>;
183 qcom,sd-lines = <0>;
188 qcom,sd-lines = <0>;
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/
Duncore-l3c.json40 …"BriefDescription": "Count of the number of read lines that come from this cluster of CPU core in …
41 …"PublicDescription": "Count of the number of read lines that come from this cluster of CPU core in…
47 …"BriefDescription": "Count of the number of write lines that come from this cluster of CPU core in…
48 …"PublicDescription": "Count of the number of write lines that come from this cluster of CPU core i…
54 "BriefDescription": "Count of the number of read lines that hits in spipe of this L3C",
55 "PublicDescription": "Count of the number of read lines that hits in spipe of this L3C",
61 "BriefDescription": "Count of the number of write lines that hits in spipe of this L3C",
62 "PublicDescription": "Count of the number of write lines that hits in spipe of this L3C",
/Linux-v5.15/arch/hexagon/mm/
Dcache.c17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() local
24 for (i = 0; i < lines; i++) { in flush_dcache_range()
37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() local
44 for (i = 0; i < lines; i++) { in flush_icache_range()
62 unsigned long lines = spanlines(start, end-1); in hexagon_clean_dcache_range() local
69 for (i = 0; i < lines; i++) { in hexagon_clean_dcache_range()
82 unsigned long lines = spanlines(start, end-1); in hexagon_inv_dcache_range() local
89 for (i = 0; i < lines; i++) { in hexagon_inv_dcache_range()
/Linux-v5.15/drivers/staging/greybus/
Dgpio.c38 struct gb_gpio_line *lines; member
78 ggc->lines[which].active = true; in gb_gpio_activate_operation()
99 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
126 ggc->lines[which].direction = direction ? 1 : 0; in gb_gpio_get_direction_operation()
140 ggc->lines[which].direction = 1; in gb_gpio_direction_in_operation()
155 ggc->lines[which].direction = 0; in gb_gpio_direction_out_operation()
182 ggc->lines[which].value = value ? 1 : 0; in gb_gpio_get_value_operation()
193 if (ggc->lines[which].direction == 1) { in gb_gpio_set_value_operation()
208 ggc->lines[which].value = request.value; in gb_gpio_set_value_operation()
222 ggc->lines[which].debounce_usec = debounce_usec; in gb_gpio_set_debounce_operation()
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dpixfmt-yuv-planar.rst20 tiled. Padding may be supported at the end of the lines, and the line stride of
41 chroma lines is identical to the padding of the luma lines. Without horizontal
179 direction. Chroma lines contain half the number of pixels and the same number
180 of bytes as luma lines, and the chroma plane contains half the number of lines
262 subsampled by 2 in each direction. Chroma lines contain half the number of
263 pixels and the same number of bytes as luma lines, and the chroma plane
264 contains half the number of lines of the luma plane.
305 horizontal direction. Chroma lines contain half the number of pixels and the
306 same number of bytes as luma lines, and the chroma plane contains the same
307 number of lines as the luma plane.
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt4 The matrix keypad supports multiple row and column lines, a key can be
6 keypad can sense a key-press and key-release by means of GPIO lines and
11 - row-gpios: List of gpios used as row lines. The gpio specifier
13 which these row lines are connected.
14 - col-gpios: List of gpios used as column lines. The gpio specifier
16 which these column lines are connected.
/Linux-v5.15/arch/powerpc/lib/
Dxor_vmx.c57 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_2() local
67 } while (--lines > 0); in __xor_altivec_2()
76 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_3() local
89 } while (--lines > 0); in __xor_altivec_3()
100 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_4() local
116 } while (--lines > 0); in __xor_altivec_4()
128 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_5() local
147 } while (--lines > 0); in __xor_altivec_5()
/Linux-v5.15/drivers/media/pci/tw68/
Dtw68-risc.c30 * @lines: number of lines in field
36 unsigned int lines, bool jump) in tw68_risc_field() argument
53 /* scan lines */ in tw68_risc_field()
55 for (line = 0; line < lines; line++) { in tw68_risc_field()
126 * @lines: number of scan lines
135 unsigned int lines) in tw68_risc_buffer() argument
151 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer()
152 PAGE_SIZE) + lines) + 4; in tw68_risc_buffer()
163 bpl, padding, lines, true); in tw68_risc_buffer()
166 bpl, padding, lines, top_offset == UNSET); in tw68_risc_buffer()
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dmsm8916-pins.dtsi394 cdc-pdm-lines {
395 cdc_pdm_lines_act: pdm-lines-on {
403 cdc_pdm_lines_sus: pdm-lines-off {
413 ext-pri-tlmm-lines {
447 ext-mclk-tlmm-lines {
448 ext_mclk_tlmm_lines_act: mclk-lines-on {
455 ext_mclk_tlmm_lines_sus: mclk-lines-off {
465 ext-sec-tlmm-lines {
466 ext_sec_tlmm_lines_act: tlmm-lines-on {
473 ext_sec_tlmm_lines_sus: tlmm-lines-off {
[all …]
/Linux-v5.15/drivers/media/pci/cx18/
Dcx18-vbi.c25 static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp) in copy_vbi_data() argument
48 for (i = 0; i < lines; i++) { in copy_vbi_data()
69 /* All lines are used, so there is no space for the linemask in copy_vbi_data()
98 u32 lines = cx->vbi.count * 2; in compress_raw_buf() local
106 for (i = 0; i < lines; i++) { in compress_raw_buf()
114 if (i == lines - 1) { in compress_raw_buf()
125 return lines * (line_size - 4); in compress_raw_buf()
190 int lines; in _cx18_process_vbi_data() local
220 lines = compress_sliced_buf(cx, p, size, sizeof(struct vbi_data_hdr)); in _cx18_process_vbi_data()
223 if (lines == 0) { in _cx18_process_vbi_data()
[all …]
/Linux-v5.15/drivers/net/ppp/
DKconfig12 serial) lines. Ask your access provider if they support it, because
23 asynchronous lines, such as regular analog phone lines, and
24 synchronous PPP which can be used over digital ISDN lines for
25 example. If you want to use PPP over phone lines or other
26 asynchronous serial lines, you need to say Y (or M) here and also to
28 synchronous lines, you should say Y (or M) here and to "Support
103 to combine several (logical or physical) lines into one logical PPP
172 are often used for high-speed leased lines like T1/E1.
/Linux-v5.15/arch/x86/include/asm/
Dxor.h62 unsigned long lines = bytes >> 8; in xor_sse_2() local
102 : [cnt] "+r" (lines), in xor_sse_2()
113 unsigned long lines = bytes >> 8; in xor_sse_2_pf64() local
136 : [cnt] "+r" (lines), in xor_sse_2_pf64()
148 unsigned long lines = bytes >> 8; in xor_sse_3() local
195 : [cnt] "+r" (lines), in xor_sse_3()
207 unsigned long lines = bytes >> 8; in xor_sse_3_pf64() local
232 : [cnt] "+r" (lines), in xor_sse_3_pf64()
244 unsigned long lines = bytes >> 8; in xor_sse_4() local
298 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4()
[all …]
/Linux-v5.15/Documentation/sphinx/
Dkernel_abi.py102 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
103 nodeList = self.nestedParse(lines, self.arguments[0])
130 def nestedParse(self, lines, fname): argument
136 for l in lines.split("\n"):
138 lines = code_block + "\n\n"
145 for line in lines.split("\n"):
159 # sphinx counts lines from 0
164 kernellog.info(self.state.document.settings.env.app, "%s: parsed %i lines" % (fname, n))

12345678910>>...87