| /linux/arch/um/drivers/ |
| H A D | line.c | 22 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 D | chan_kern.c | 167 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 D | chan.h | 13 #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 D | bnx2x_self_test.c | 115 /* 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 D | nv10.c | 29 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 D | chardev_v1.rst | 21 :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 D | chardev.rst | 29 :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 D | gpio-v2-get-line-ioctl.rst | 12 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 …]
|
| /linux/Documentation/RCU/Design/Memory-Ordering/ |
| H A D | rcu_node-lock.svg | 80 <!-- 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 D | of_unittest_expect | 75 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/gpio/ |
| H A D | gpio-thunderx.c | 49 unsigned int line; member 56 struct msix_entry *msix_entries; /* per line MSI-X */ 57 struct thunderx_line *line_entries; /* per line irq info */ 64 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument 66 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg() 69 static unsigned int intr_reg(unsigned int line) in intr_reg() argument 71 return 8 * line + GPIO_INTR; in intr_reg() 75 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 77 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 87 unsigned int line) in thunderx_gpio_is_gpio() argument [all …]
|
| H A D | gpio-aggregator.c | 62 /* Line index within the aggregator device */ 65 /* Custom name for the virtual line */ 67 /* GPIO chip label or line name */ 69 /* Can be negative to indicate lookup by line name */ 158 struct gpio_aggregator_line *line; in gpio_aggregator_line_alloc() 160 line = kzalloc_obj(*line); in gpio_aggregator_line_alloc() local 161 if (!line) in gpio_aggregator_line_alloc() 165 line->key = kstrdup(key, GFP_KERNEL); in gpio_aggregator_line_alloc() 166 if (!line in gpio_aggregator_line_alloc() 184 gpio_aggregator_line_add(struct gpio_aggregator * aggr,struct gpio_aggregator_line * line) gpio_aggregator_line_add() argument 200 gpio_aggregator_line_del(struct gpio_aggregator * aggr,struct gpio_aggregator_line * line) gpio_aggregator_line_del() argument 209 struct gpio_aggregator_line *line, *tmp; gpio_aggregator_free_lines() local 458 u32 line; gpiochip_fwd_delay_of_xlate() local 882 struct gpio_aggregator_line *line; gpio_aggregator_make_device_sw_node() local 911 struct gpio_aggregator_line *line; gpio_aggregator_activate() local 994 struct gpio_aggregator_line *line; gpio_aggregator_lockup_configfs() local 1014 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_key_show() local 1026 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_key_store() local 1052 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_name_show() local 1064 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_name_store() local 1090 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_offset_show() local 1102 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_offset_store() local 1217 struct gpio_aggregator_line *line = to_gpio_aggregator_line(item); gpio_aggregator_line_release() local 1257 struct gpio_aggregator_line *line; gpio_aggregator_device_make_group() local 1354 struct gpio_aggregator_line *line; gpio_aggregator_parse() local [all...] |
| H A D | gpiolib-cdev.c | 63 * GPIO line handle management 238 * All line descriptors were created at once with the same in linehandle_ioctl() 357 * or output, else the line will be treated "as is". in linehandle_create() 373 dev_dbg(&gdev->dev, "registered chardev handle for line %d\n", in linehandle_create() 398 * struct line - contains the state of a requested line 399 * @desc: the GPIO descriptor for this line. 400 * @req: the corresponding line request 407 * events for the corresponding line request. This is drawn from the @req. 409 * events for this line 418 struct line { global() struct 423 reqline global() argument 428 irqline global() argument 443 req_seqnoline global() argument 447 line_seqnoline global() argument 467 hdescline global() argument 472 raw_levelline global() argument 477 total_discard_seqline global() argument 485 last_seqnoline global() argument 576 line_event_timestamp(struct line * line) line_event_timestamp() argument 616 struct line *line; process_hw_ts_thread() local 664 struct line *line; process_hw_ts() local 697 hte_edge_setup(struct line * line,u64 eflags) hte_edge_setup() argument 727 hte_edge_setup(struct line * line,u64 eflags) hte_edge_setup() argument 735 struct line *line = p; edge_irq_thread() local 781 struct line *line = p; edge_irq_handler() local 799 debounced_value(struct line * line) debounced_value() argument 818 struct line *line = p; debounce_irq_handler() local 829 struct line *line = container_of(work, struct line, work.work); debounce_work_func() local 895 debounce_setup(struct line * line,unsigned int debounce_period_us) debounce_setup() argument 975 edge_detector_stop(struct line * line) edge_detector_stop() argument 1003 edge_detector_setup(struct line * line,struct gpio_v2_line_config * lc,unsigned int line_idx,u64 edflags) edge_detector_setup() argument 1063 edge_detector_update(struct line * line,struct gpio_v2_line_config * lc,unsigned int line_idx,u64 edflags) edge_detector_update() argument 1380 struct line *line; linereq_set_config() local [all...] |
| /linux/drivers/tty/serial/ |
| H A D | dz.h | 20 #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 D | frontend.json | 39 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo… 43 …Line. 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… 52 …Line 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 … 61 …Line 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 D | frontend.json | 39 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo… 43 …Line. 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… 52 …Line 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 … 61 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line …
|
| /linux/tools/testing/selftests/gpio/ |
| H A D | gpio-aggregator.sh | 78 local LINE=$2 80 mkdir "$CONFIGFS_AGG_DIR/$CHIP/$LINE" 85 local LINE=$2 87 rmdir "$CONFIGFS_AGG_DIR/$CHIP/$LINE" 92 local LINE=$2 95 echo "$KEY" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/key" || fail "Unable to set the lookup key" 100 local LINE=$2 103 echo "$OFFSET" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/offset" || \ 109 local LINE=$2 112 echo "$NAME" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/name" || fail "Unable to set the line name" [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-linecard.rst | 4 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 D | show_delta | 20 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 look 61 convert_line(line, base_time) global() argument [all...] |
| /linux/tools/perf/pmu-events/arch/x86/broadwell/ |
| H A D | uncore-cache.json | 3 … "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/Documentation/arch/arm/samsung/ |
| H A D | clksrc-change-registers.awk | 69 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/include/uapi/linux/ |
| H A D | gpio.h | 48 * 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/tools/testing/kunit/ |
| H A D | kunit_parser.py | 150 (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 [all...] |
| /linux/tools/perf/pmu-events/arch/x86/skylake/ |
| H A D | uncore-cache.json | 3 … "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/zorro/ |
| H A D | gen-devlist.c | 32 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 …]
|