/openbmc/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.h | 13 #include "line.h" 18 struct line *line; member 30 extern void chan_interrupt(struct line *line, int irq); 31 extern int parse_chan_pair(char *str, struct line *line, int device, 37 extern int console_open_chan(struct line *line, struct console *co); 40 extern int enable_chan(struct line *line); 41 extern void close_chan(struct line *line); 42 extern int chan_window_size(struct line *line, 45 extern int chan_config_string(struct line *line, char *str, int size,
|
H A D | chan_kern.c | 133 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local 135 if (!line->throttled) in line_timer_cb() 136 chan_interrupt(line, line->read_irq); in line_timer_cb() 139 int enable_chan(struct line *line) in enable_chan() argument 145 INIT_DELAYED_WORK(&line->task, line_timer_cb); in enable_chan() 147 list_for_each(ele, &line->chan_list) { in enable_chan() 159 err = line_setup_irq(chan->fd, chan->input, chan->output, line, in enable_chan() 170 close_chan(line); in enable_chan() 198 um_free_irq(chan->line->read_irq, chan); in free_irqs() 200 um_free_irq(chan->line->write_irq, chan); in free_irqs() [all …]
|
/openbmc/openbmc/meta-openembedded/contrib/ |
H A D | oe-stylize.py | 226 def respect_rule0(line): argument 227 return line.lstrip() == line 230 def conformTo_rule0(line): argument 231 return line.lstrip() 234 # No spaces are allowed behind the line continuation symbol '\' 237 def respect_rule1(line): argument 238 if line.rstrip().endswith('\\'): 239 return line.endswith('\\') 244 def conformTo_rule1(line): argument 245 return line.rstrip() [all …]
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | convert-srcuri.py | 22 def matchline(line): argument 23 if "MIRROR" in line or ".*" in line or "GNOME_GIT" in line: 34 for line in old_file: 35 … if ("git://" in line or "gitsm://" in line) and "branch=" not in line and matchline(line): 36 if line.endswith('"\n'): 37 line = line.replace('"\n', ';branch=master"\n') 38 elif re.search('\s*\\\\$', line): 39 line = re.sub('\s*\\\\$', ';branch=master \\\\', line) 41 …if ("git://" in line or "gitsm://" in line) and "github.com" in line and "protocol=https" not in l… 42 if "protocol=git" in line: [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/tools/patman/ |
H A D | patchstream.py | 20 # Lines which are allowed after a TEST= line 49 STATE_PATCH_SUBJECT = 1 # In patch subject (first line of log for a commit) 51 STATE_DIFFS = 3 # In the diff part (past --- line) 62 self.skip_blank = False # True to skip a single blank line 63 self.found_test = False # Found a TEST= line 66 self.linenum = 1 # Output line number we are up to 75 self.signoff = [] # Contents of signoff line 78 def AddToSeries(self, line, name, value): argument 85 line: Source line containing tag (useful for debug/error messages) 93 self.series.AddTag(self.commit, line, name, value) [all …]
|
/openbmc/qemu/scripts/ |
H A D | fix-multiline-comments.sh | 23 line = $0 26 if (line == "") { 27 line = sp " *" 28 } else if (substr(line, 1, indent + 2) == sp " ") { 29 line = sp " *" substr(line, indent + 3) 33 is_lead = (line ~ /^[ \t]*\/\*/) 34 is_trail = (line ~ /\*\//) 37 # single-line comments 38 match(line, /^[ \t]*\/\*/) 40 sp = substr(line, 1, indent) [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc-build-scripts/config/gitlint/ |
H A D | block_comment.py | 8 name = "body-max-line-length-with-exceptions" 11 options_spec = [IntOption("line-length", 80, "Max line length")] 12 line_length_violation_message = """Line exceeds max length ({0}>{1}). 18 Line that was too long: 20 tabs_violation_message = "Line contains hard tab characters (\\t)" 24 for line in commit.message.body: 25 # allow a quoted string to be over the line limit 27 line.startswith("'''") 28 or line.startswith('"""') 29 or line.startswith("```") [all …]
|
/openbmc/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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/goldmontplus/ |
H A D | frontend.json | 35 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo… 38 …Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach… 43 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event… 46 …Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis… 51 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This … 54 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line …
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/goldmont/ |
H A D | frontend.json | 35 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo… 38 …Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach… 43 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event… 46 …Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis… 51 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This … 54 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line …
|
/openbmc/openbmc/poky/scripts/ |
H A D | opkg-query-helper.py | 36 for line in fileinput.input(args): 37 line = line.rstrip() variable 38 if ': ' in line: 39 if line.startswith("Package:"): 40 pkg = line.split(": ")[1] 44 if line.startswith("Architecture:"): 45 arch = line.split(": ")[1] 48 if line.startswith("Version:"): 49 ver = line.split(": ")[1] 50 elif line.startswith("Architecture:"): [all …]
|
/openbmc/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 …]
|
/openbmc/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 looks like: [all …]
|
/openbmc/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 …]
|
/openbmc/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", 7 … "PublicDescription": "L3 Lookup any request that access cache and found line in E or S-state.", 12 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state", 16 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.", 21 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state", 25 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.", 30 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state", 34 … "PublicDescription": "L3 Lookup any request that access cache and found line in MESI-state.", 39 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state", 43 … "PublicDescription": "L3 Lookup read request that access cache and found line in E or S-state.", [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-thunderx.c | 48 unsigned int line; member 55 struct msix_entry *msix_entries; /* per line MSI-X */ 56 struct thunderx_line *line_entries; /* per line irq info */ 63 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument 65 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg() 68 static unsigned int intr_reg(unsigned int line) in intr_reg() argument 70 return 8 * line + GPIO_INTR; in intr_reg() 74 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 76 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 86 unsigned int line) in thunderx_gpio_is_gpio() argument [all …]
|
H A D | gpiolib-cdev.c | 107 * GPIO line handle management 276 * All line descriptors were created at once with the same in linehandle_ioctl_unlocked() 407 * or output, else the line will be treated "as is". in linehandle_create() 423 dev_dbg(&gdev->dev, "registered chardev handle for line %d\n", in linehandle_create() 469 * struct line - contains the state of a requested line 471 * @desc: the GPIO descriptor for this line. 472 * @req: the corresponding line request 479 * events for the corresponding line request. This is drawn from the @req. 481 * events for this line. 485 * @level: the current debounced physical level of the line [all …]
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | util.cpp | 18 line = gpiod::find_line(namedGpio); in GPIOInterface() 19 if (!line) in GPIOInterface() 21 throw std::runtime_error("Line does not exist: " + namedGpio); in GPIOInterface() 27 std::string("Failed to find line: ") + e.what()); in GPIOInterface() 39 return line.name(); in getName() 48 if (!line) in read() 50 log<level::ERR>("Failed line"); in read() 51 throw std::runtime_error{std::string{"Failed to find line"}}; in read() 56 line.request({__FUNCTION__, gpiod::line_request::DIRECTION_INPUT, in read() 60 value = line.get_value(); in read() [all …]
|
/openbmc/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", 7 … "PublicDescription": "L3 Lookup any request that access cache and found line in E or S-state.", 12 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state", 16 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.", 21 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state", 25 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.", 30 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state", 34 … "PublicDescription": "L3 Lookup any request that access cache and found line in MESI-state.", 39 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state", 43 … "PublicDescription": "L3 Lookup read request that access cache and found line in E or S-state.", [all …]
|
/openbmc/phosphor-mboxd/vpnor/test/ |
H A D | toc_flags.cpp | 19 std::string line; in main() local 24 line = "partition01=FOO,00001000,00002000,80,ECC"; in main() 25 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 29 line = "partition01=FOO,00001000,00002000,80,PRESERVED"; in main() 30 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 34 line = "partition01=FOO,00001000,00002000,80,READONLY"; in main() 35 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 40 line = "partition01=FOO,00001000,00002000,80,BACKUP"; in main() 41 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 45 line = "partition01=FOO,00001000,00002000,80,REPROVISION"; in main() [all …]
|
/openbmc/hiomapd/vpnor/test/ |
H A D | toc_flags.cpp | 21 std::string line; in main() local 26 line = "partition01=FOO,00001000,00002000,80,ECC"; in main() 27 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 31 line = "partition01=FOO,00001000,00002000,80,PRESERVED"; in main() 32 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 36 line = "partition01=FOO,00001000,00002000,80,READONLY"; in main() 37 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 42 line = "partition01=FOO,00001000,00002000,80,BACKUP"; in main() 43 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main() 47 line = "partition01=FOO,00001000,00002000,80,REPROVISION"; in main() [all …]
|