Home
last modified time | relevance | path

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

12345678910>>...80

/linux-5.10/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-5.10/tools/testing/kunit/
Dkunit_parser.py100 def consume_non_diagnositic(lines: List[str]) -> None:
101 while lines and not TAP_ENTRIES.match(lines[0]):
102 lines.pop(0)
104 def save_non_diagnositic(lines: List[str], test_case: TestCase) -> None:
105 while lines and not TAP_ENTRIES.match(lines[0]):
106 test_case.log.append(lines[0])
107 lines.pop(0)
115 def parse_ok_not_ok_test_case(lines: List[str], test_case: TestCase) -> bool:
116 save_non_diagnositic(lines, test_case)
117 if not lines:
[all …]
/linux-5.10/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.
36 * gpiotools_request_linehandle() - request gpio lines in a gpiochip
39 * @lines: An array desired lines, specified by offset
41 * @num_lines: The number of lines to request.
50 * Request gpio lines through the ioctl provided by chardev. User
53 * gpiotools_release_linehandle() to release these lines after that.
58 int gpiotools_request_linehandle(const char *device_name, unsigned int *lines, in gpiotools_request_linehandle() 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()
167 unsigned int lines[GPIO_V2_LINES_MAX]; in main() local
189 lines[num_lines] = strtoul(optarg, NULL, 10); in main()
231 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
/linux-5.10/include/uapi/linux/
Dgpio.h30 * @lines: number of GPIO lines on this chip
35 __u32 lines; member
39 * Maximum number of requested lines.
84 * struct gpio_v2_line_values - Values of GPIO lines
85 * @bits: a bitmap containing the value of the lines, set to 1 for active
87 * @mask: a bitmap identifying the lines to get or set, with each bit
119 * containing the values to which the lines will be set, with each bit
137 * associated with one or more of the requested lines.
139 * @mask: a bitmap identifying the lines to which the attribute applies,
149 * struct gpio_v2_line_config - Configuration for GPIO lines
[all …]
/linux-5.10/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-5.10/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-5.10/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()
137 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile()
138 if (!h->lines) in find_srcfile()
140 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-5.10/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-5.10/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-5.10/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 read card detect and write protect GPIO lines, and in the TTY serial subsystem
101 to emulate MCTRL (modem control) signals CTS/RTS by using two GPIO lines. The
[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-5.10/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-5.10/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-5.10/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-5.10/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()
162 bpl, padding, lines, true); in tw68_risc_buffer()
165 bpl, padding, lines, top_offset == UNSET); in tw68_risc_buffer()
/linux-5.10/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-5.10/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-5.10/arch/arm64/boot/dts/qcom/
Dmsm8916-pins.dtsi378 cdc-pdm-lines {
379 cdc_pdm_lines_act: pdm-lines-on {
387 cdc_pdm_lines_sus: pdm-lines-off {
397 ext-pri-tlmm-lines {
431 ext-mclk-tlmm-lines {
432 ext_mclk_tlmm_lines_act: mclk-lines-on {
439 ext_mclk_tlmm_lines_sus: mclk-lines-off {
449 ext-sec-tlmm-lines {
450 ext_sec_tlmm_lines_act: tlmm-lines-on {
457 ext_sec_tlmm_lines_sus: tlmm-lines-off {
[all …]
/linux-5.10/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-5.10/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-5.10/Documentation/sphinx/
Dkernel_abi.py112 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
113 nodeList = self.nestedParse(lines, self.arguments[0])
140 def nestedParse(self, lines, fname): argument
146 for l in lines.split("\n"):
148 lines = code_block + "\n\n"
155 for line in lines.split("\n"):
169 # sphinx counts lines from 0
174 kernellog.info(self.state.document.settings.env.app, "%s: parsed %i lines" % (fname, n))
/linux-5.10/Documentation/admin-guide/media/
Drcar-fdp1.rst26 - The current field is scaled vertically by averaging adjacent lines to
27 recover missing lines. This method is also known as blending or Line
30 - The previous and next fields are averaged to recover lines missing from
34 field is used to fill missing lines from the current field. This method
38 used to fill missing lines from the current field. This method is also

12345678910>>...80