Home
last modified time | relevance | path

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

12345678910>>...154

/linux/arch/um/drivers/
H A 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 unsigned 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 …]
H A Dchan_kern.c167 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local
169 if (!line->throttled) in line_timer_cb()
170 chan_interrupt(line, line->read_irq); in line_timer_cb()
173 int enable_chan(struct line *line) in enable_chan() argument
179 INIT_DELAYED_WORK(&line->task, line_timer_cb); in enable_chan()
181 list_for_each(ele, &line->chan_list) { in enable_chan()
195 line, chan); in enable_chan()
205 close_chan(line); in enable_chan()
233 um_free_irq(chan->line->read_irq, chan); in free_irqs()
236 um_free_irq(chan->line->write_irq, chan); in free_irqs()
[all …]
H A Dchan.h13 #include "line.h"
18 struct line *line; member
31 extern void chan_interrupt(struct line *line, int irq);
32 extern int parse_chan_pair(char *str, struct line *line, int device,
38 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,
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A 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/Documentation/userspace-api/gpio/
H A Dchardev_v1.rst21 :ref:`gpio-v1-line-handle`, and the :ref:`gpio-v1-line-event`.
23 Where "line event" is used in this document it refers to the request that can
24 monitor a line for edge events, not the edge events themselves.
39 and the resulting line handle is used to access the GPIO chip's lines, or
40 gpio-get-lineevent-ioctl.rst and the resulting line event is used to monitor
41 a GPIO line for edge events.
54 Get Line Handle <gpio-get-linehandle-ioctl>
55 Get Line Event <gpio-get-lineevent-ioctl>
57 Get Line Info <gpio-get-lineinfo-ioctl>
58 Watch Line Info <gpio-get-lineinfo-watch-ioctl>
[all …]
H A Dchardev.rst29 :ref:`gpio-v2-line-request`.
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
58 Get Line <gpio-v2-get-line-ioctl>
60 Get Line Info <gpio-v2-get-lineinfo-ioctl>
61 Watch Line Info <gpio-v2-get-lineinfo-watch-ioctl>
62 Unwatch Line Info <gpio-get-lineinfo-unwatch-ioctl>
63 Read Line Info Changed Events <gpio-v2-lineinfo-changed-read>
65 .. _gpio-v2-line-request:
67 Line Request
[all …]
H A Dgpio-v2-get-line-ioctl.rst12 GPIO_V2_GET_LINE_IOCTL - Request a line or lines from the kernel.
34 On success, the requesting process is granted exclusive access to the line
35 value, write access to the line configuration, and may receive events when
36 edges are detected on the line, all of which are described in more detail in
37 :ref:`gpio-v2-line-request`.
39 A number of lines may be requested in the one line request, and request
41 as possible. e.g. gpio-v2-line-get-values-ioctl.rst will read all the
44 The state of a line, including the value of output lines, is guaranteed to
46 file descriptor is closed, the state of the line becomes uncontrolled from
49 Requesting a line already in use is an error (**EBUSY**).
[all …]
H A Dgpio-v2-get-lineinfo-watch-ioctl.rst12 GPIO_V2_GET_LINEINFO_WATCH_IOCTL - Enable watching a line for changes to its
30 the ``offset`` set to indicate the line to watch
35 Enable watching a line for changes to its request state and configuration
36 information. Changes to line info include a line being requested, released
40 Watching line info is not generally required, and would typically only be
43 The line info does NOT include the line value.
44 The line must be requested using gpio-v2-get-line-ioctl.rst to access
45 its value, and the line request can monitor a line for events using
46 gpio-v2-line-event-read.rst.
52 Once a watch is set, any changes to line info will generate events which can be
[all …]
/linux/Documentation/RCU/Design/Memory-Ordering/
H A 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/scripts/dtc/
H A Dof_unittest_expect75 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n";
83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n";
103 --line-num report line number of CONSOLE_LOG
135 <<all>> matches: anything to end of line
139 A prefix is added to every line of output:
141 'ok ' Line matches an enclosing EXPECT begin/end pair
143 '** ' Line reports $script_name warning or error
145 '-> ' Line reports start or end of the unittests
147 '>> ' Line reports a unittest test FAIL
155 --line-num causes the CONSOLE_LOG line number to be printed in 4 columns.
[all …]
/linux/drivers/tty/serial/
H A 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/tools/perf/pmu-events/arch/x86/goldmont/
H A Dfrontend.json39 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
43Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach…
48 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event…
52Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis…
57 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This …
61Line and that cache line is not in the ICache (miss). The event strives to count on a cache line
/linux/tools/perf/pmu-events/arch/x86/goldmontplus/
H A Dfrontend.json39 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
43Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach…
48 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event…
52Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis…
57 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This …
61Line and that cache line is not in the ICache (miss). The event strives to count on a cache line
/linux/Documentation/networking/devlink/
H A Ddevlink-linecard.rst4 Devlink Line card
11 line cards that serve as a detachable PHY modules for modular switch
14 * Get a list of supported line card types.
15 * Provision of a slot with specific line card type.
16 * Get and monitor of line card state and its change.
18 Line card according to the type may contain one or more gearboxes
20 of different speed. Line card ensures N:M mapping between
26 Each line card devlink object is created by device driver,
27 according to the physical line card slots available on the device.
31 might not have a way to detect line card type. For that devices,
[all …]
/linux/scripts/
H A 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/tools/perf/pmu-events/arch/x86/broadwell/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state",
8 … "PublicDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
13 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state",
18 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.",
23 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state",
28 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
33 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state",
38 … "PublicDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
43 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state",
48 … "PublicDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
[all …]
/linux/tools/testing/kunit/
H A Dkunit_parser.py150 (line#, text).
165 """Advances the LineSteam to the next line, if necessary."""
176 """Returns the current line, without advancing the LineStream.
182 """Returns the current line and advances the LineStream to
183 the next line.
187 raise ValueError(f'LineStream: going past EOF, last line was {s}')
205 """Returns the line number of the current line."""
223 for line in kernel_output:
225 line = line.rstrip() # remove trailing \n
226 if not started and KTAP_START.search(line):
[all …]
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750-runbmc-olympus.dts434 line-name = "TPM_BMC_ALERT_N";
440 line-name = "FM_BIOS_TOP_SWAP";
446 line-name = "FM_BIOS_PREFRB2_GOOD";
452 line-name = "BMC_SATAXPCIE_0TO3_SEL";
458 line-name = "BMC_SATAXPCIE_4TO7_SEL";
464 line-name = "FM_UV_ADR_TRIGGER_EN_N";
470 line-name = "RM_THROTTLE_EN_N";
476 line-name = "FM_BMC_TPM_PRES_N";
482 line-name = "FM_CPU0_SKTOCC_LVT3_N";
488 line-name = "FM_CPU1_SKTOCC_LVT3_N";
[all …]
/linux/Documentation/arch/arm/samsung/
H A 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/tools/perf/pmu-events/arch/x86/skylake/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state",
8 … "PublicDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
13 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state",
18 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.",
23 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state",
28 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
33 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state",
38 … "PublicDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
43 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state",
48 … "PublicDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-gen1.c36 static int vfe_disable_output(struct vfe_line *line) in vfe_disable_output() argument
38 struct vfe_device *vfe = to_vfe(line); in vfe_disable_output()
39 struct vfe_output *output = &line->output; in vfe_disable_output()
58 ops->reg_update(vfe, line->id); in vfe_disable_output()
68 if (line->id != VFE_LINE_PIX) { in vfe_disable_output()
70 vfe->ops_gen1->bus_disconnect_wm_from_rdi(vfe, output->wm_idx[0], line->id); in vfe_disable_output()
71 vfe->ops_gen1->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 0); in vfe_disable_output()
80 vfe->ops_gen1->enable_irq_pix_line(vfe, 0, line->id, 0); in vfe_disable_output()
82 vfe->ops_gen1->set_realign_cfg(vfe, line, 0); in vfe_disable_output()
95 * vfe_gen1_disable - Disable streaming on VFE line
[all …]
/linux/drivers/zorro/
H A 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/include/uapi/linux/
H A 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/drivers/gpu/drm/xe/
H A Dxe_gen_wa_oob.c37 static void print_parse_error(const char *err_msg, const char *line, in print_parse_error() argument
41 err_msg, lineno, line); in print_parse_error()
44 static char *strip(char *line, size_t linelen) in strip() argument
46 while (isspace(*(line + linelen))) in strip()
49 line[linelen - 1] = '\0'; in strip()
51 return line + strspn(line, " \f\n\r\t\v"); in strip()
57 char line[MAX_LINE_LEN + 1]; in parse() local
61 while (fgets(line, sizeof(line), inpu in parse()
[all...]

12345678910>>...154