Home
last modified time | relevance | path

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

12345678910>>...69

/linux/Documentation/fb/
H A 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/tools/gpio/
H A 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 …]
H A 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, "%u", lines[i]); in hammer_device()
72 /* Invert all lines so we blink */ in hammer_device()
92 fprintf(stdout, "%u: %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 …]
/linux/tools/testing/kunit/
H A Dkunit_parser.py34 log : List[str] - log of KTAP lines that correspond to the test
148 A class to represent the lines of kernel output.
157 def __init__(self, lines: Iterator[Tuple[int, str]]):
159 self._lines = lines
192 """Returns True if stream has more lines."""
198 """Empties all lines stored in LineStream object into
218 """Extracts KTAP lines from the kernel output."""
227 # start extracting KTAP lines and set prefix
234 # start extracting KTAP lines and set prefix
240 # stop extracting KTAP lines
[all …]
/linux/Documentation/dev-tools/
H A Dktap.rst18 lines -- and a final result. The test structure and results are
22 KTAP output is built from four different types of lines:
23 - Version lines
24 - Plan lines
25 - Test case result lines
26 - Diagnostic lines
34 Version lines
53 Plan lines
58 Plan lines must follow the format of "1..N" where N is the number of tests or subtests.
59 Plan lines follow version lines to indicate the number of nested tests.
[all …]
/linux/include/uapi/linux/
H A Dgpio.h30 * @lines: number of GPIO lines on this chip
35 __u32 lines; member
39 * Maximum number of requested lines.
89 * struct gpio_v2_line_values - Values of GPIO lines
90 * @bits: a bitmap containing the value of the lines, set to 1 for active
92 * @mask: a bitmap identifying the lines to get or set, with each bit
124 * containing the values to which the lines will be set, with each bit
142 * associated with one or more of the requested lines.
144 * @mask: a bitmap identifying the lines to which the attribute applies,
154 * struct gpio_v2_line_config - Configuration for GPIO lines
[all …]
/linux/include/asm-generic/
H A Dxor.h14 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() local
27 } while (--lines > 0); in xor_8regs_2()
35 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() local
49 } while (--lines > 0); in xor_8regs_3()
58 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() local
73 } while (--lines > 0); in xor_8regs_4()
83 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() local
99 } while (--lines > 0); in xor_8regs_5()
106 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() local
136 } while (--lines > 0); in xor_32regs_2()
[all …]
/linux/Documentation/userspace-api/gpio/
H A Dchardev.rst21 Similarly, for multi-function lines there may be other subsystems, such as
39 Each chip supports a number of GPIO lines,
40 :c:type:`chip.lines<gpiochip_info>`. Lines on the chip are identified by an
41 ``offset`` in the range from 0 to ``chip.lines - 1``, i.e. `[0,chip.lines)`.
43 Lines are requested from the chip using gpio-v2-get-line-ioctl.rst
44 and the resulting line request is used to access the GPIO chip's lines or
45 monitor the lines for edge events.
71 access to a set of requested lines. The line request is exposed to userspace
89 Reconfigure Lines <gpio-v2-line-set-config-ioctl>
H A Dgpio-v2-line-set-config-ioctl.rst12 GPIO_V2_LINE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines.
30 requested lines.
35 Update the configuration of previously requested lines, without releasing the
38 The new configuration must specify a configuration for all requested lines.
41 :ref:`gpio-v2-get-line-config-support` that apply when requesting the lines
48 bi-directional lines between input and output, but it may also be used to
49 dynamically control edge detection, or more generally move lines seamlessly
52 To only change the value of output lines, use
H A Dgpio-handle-set-config-ioctl.rst16 GPIOHANDLE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines.
34 requested lines.
39 Update the configuration of previously requested lines, without releasing the
42 The configuration applies to all requested lines.
46 lines also apply when updating the line configuration, with the additional
52 bi-directional lines between input and output, but it may be used more
53 generally to move lines seamlessly from one configuration state to another.
55 To only change the value of output lines, use
H A Dchardev_v1.rst34 Each chip supports a number of GPIO lines,
35 :c:type:`chip.lines<gpiochip_info>`. Lines on the chip are identified by an
36 ``offset`` in the range from 0 to ``chip.lines - 1``, i.e. `[0,chip.lines)`.
38 Lines are requested from the chip using either gpio-get-linehandle-ioctl.rst
39 and the resulting line handle is used to access the GPIO chip's lines, or
68 access to a set of requested lines. The line handle is exposed to userspace
85 Reconfigure Lines <gpio-handle-set-config-ioctl>
/linux/tools/mm/
H A 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/Documentation/driver-api/gpio/
H A 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.
54 (two wires, SDA and SCL lines) by hammering (bitbang) two GPIO lines. It will
59 of wires, at least SCK and optionally MISO, MOSI and chip select lines) using
84 to a set of simple GPIO lines: RDY, NCE, ALE, CLE, NWP. It interacts with the
89 bus, data and clock line, by bit banging two GPIO lines. It will appear as
100 nothing but GPIO lines, this driver provides that and also a clearly defined
105 n GPIO lines such that you can mux in 2^n different devices by activating
106 different GPIO lines. Often the GPIOs are on a SoC and the devices are
[all …]
/linux/drivers/staging/greybus/
H A Dgpio.c38 struct gb_gpio_line *lines; member
80 ggc->lines[which].active = true; in gb_gpio_activate_operation()
101 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
128 ggc->lines[which].direction = direction ? 1 : 0; in gb_gpio_get_direction_operation()
142 ggc->lines[which].direction = 1; in gb_gpio_direction_in_operation()
157 ggc->lines[which].direction = 0; in gb_gpio_direction_out_operation()
184 ggc->lines[which].value = value ? 1 : 0; in gb_gpio_get_value_operation()
195 if (ggc->lines[which].direction == 1) { in gb_gpio_set_value_operation()
210 ggc->lines[which].value = request.value; in gb_gpio_set_value_operation()
226 ggc->lines[which].debounce_usec = debounce_usec; in gb_gpio_set_debounce_operation()
[all …]
/linux/arch/hexagon/mm/
H A 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/arch/loongarch/lib/
H A Dxor_template.c20 unsigned long lines = bytes / LINE_WIDTH; variable
32 } while (--lines > 0);
40 unsigned long lines = bytes / LINE_WIDTH; variable
54 } while (--lines > 0);
63 unsigned long lines = bytes / LINE_WIDTH; variable
80 } while (--lines > 0);
90 unsigned long lines = bytes / LINE_WIDTH; variable
109 } while (--lines > 0);
/linux/Documentation/devicetree/bindings/gpio/
H A Dnxp,pcf8575.yaml13 The PCF857x-compatible chips have "quasi-bidirectional" I/O lines that can be
55 lines-initial-states:
63 If the property is not specified all lines will be initialized to the
85 Performing a reset makes all lines initialized to their input (pulled-up)
103 # lines-initial-states XOR reset-gpios
104 # Performing a reset reinitializes all lines to a known state which
105 # may not match passed lines-initial-states
108 - lines-initial-states
/linux/tools/perf/pmu-events/arch/x86/ivybridge/
H A Dcache.json7 "PublicDescription": "Counts the number of lines brought into the L1 data cache.",
51 "BriefDescription": "Not rejected writebacks from L1D to L2 cache lines in any state.",
59 "BriefDescription": "Not rejected writebacks from L1D to L2 cache lines in E state",
63 "PublicDescription": "Not rejected writebacks from L1D to L2 cache lines in E state.",
68 "BriefDescription": "Not rejected writebacks from L1D to L2 cache lines in M state",
72 "PublicDescription": "Not rejected writebacks from L1D to L2 cache lines in M state.",
77 …"BriefDescription": "Count the number of modified Lines evicted from L1 and missed L2. (Non-reject…
86 "BriefDescription": "L2 cache lines filling L2",
90 "PublicDescription": "L2 cache lines filling L2.",
95 "BriefDescription": "L2 cache lines in E state filling L2",
[all …]
/linux/drivers/media/pci/tw68/
H A 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/arch/powerpc/lib/
H A Dxor_vmx.c58 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_2() local
68 } while (--lines > 0); in __xor_altivec_2()
79 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_3() local
92 } while (--lines > 0); in __xor_altivec_3()
105 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_4() local
121 } while (--lines > 0); in __xor_altivec_4()
136 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_5() local
155 } while (--lines > 0); in __xor_altivec_5()
/linux/drivers/media/pci/cx18/
H A 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/arch/x86/include/asm/
H A Dxor.h63 unsigned long lines = bytes >> 8; in xor_sse_2() local
103 : [cnt] "+r" (lines), in xor_sse_2()
115 unsigned long lines = bytes >> 8; in xor_sse_2_pf64() local
138 : [cnt] "+r" (lines), in xor_sse_2_pf64()
151 unsigned long lines = bytes >> 8; in xor_sse_3() local
198 : [cnt] "+r" (lines), in xor_sse_3()
211 unsigned long lines = bytes >> 8; in xor_sse_3_pf64() local
236 : [cnt] "+r" (lines), in xor_sse_3_pf64()
250 unsigned long lines = bytes >> 8; in xor_sse_4() local
304 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Darm,malidp.yaml65 arm,malidp-output-port-lines:
68 Number of output lines/bits for each colour channel.
70 - description: number of output lines for the red channel (R)
71 - description: number of output lines for the green channel (G)
72 - description: number of output lines for the blue channel (B)
98 - arm,malidp-output-port-lines
110 arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
/linux/arch/arm64/lib/
H A Dxor-neon.c20 long lines = bytes / (sizeof(uint64x2_t) * 4); in xor_arm64_neon_2() local
37 } while (--lines > 0); in xor_arm64_neon_2()
49 long lines = bytes / (sizeof(uint64x2_t) * 4); in xor_arm64_neon_3() local
73 } while (--lines > 0); in xor_arm64_neon_3()
87 long lines = bytes / (sizeof(uint64x2_t) * 4); in xor_arm64_neon_4() local
118 } while (--lines > 0); in xor_arm64_neon_4()
134 long lines = bytes / (sizeof(uint64x2_t) * 4); in xor_arm64_neon_5() local
172 } while (--lines > 0); in xor_arm64_neon_5()
204 long lines = bytes / (sizeof(uint64x2_t) * 4); in xor_arm64_eor3_3() local
226 } while (--lines > 0); in xor_arm64_eor3_3()
[all …]
/linux/tools/testing/selftests/gpio/
H A Dgpio-sim.sh30 LINES=`ls $CONFIGFS_DIR/$CHIP/$BANK/ | grep -E ^line`
32 for LINE in $LINES; do
76 fail "Unable to set the number of lines"
128 $BASE_DIR/gpio-chip-info /dev/`configfs_chip_name $CHIP $BANK` num-lines || \
129 fail "unable to read the number of lines from the character device"
205 echo "2.1. Default number of lines is 1"
209 test "`get_chip_num_lines chip bank`" = "1" || fail "default number of lines is not 1"
213 echo "2.2. Number of lines can be specified"
218 test "`get_chip_num_lines chip bank`" = "16" || fail "number of lines is not 16"
251 echo "2.6. Line config can remain unused if offset is greater than number of lines"
[all …]

12345678910>>...69