Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/arch/um/drivers/
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()
35 static 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()
57 room = write_room(line); in line_write_room()
58 spin_unlock_irqrestore(&line->lock, flags); in line_write_room()
[all …]
Dchan.h18 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);
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,
Dchan_kern.c133 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->driver->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->driver->read_irq, chan); in free_irqs()
200 um_free_irq(chan->line->driver->write_irq, chan); in free_irqs()
[all …]
Dline.h34 struct line { struct
62 struct line *line); argument
79 extern int line_setup_irq(int fd, int input, int output, struct line *line,
81 extern void line_close_chan(struct line *line);
84 struct line *lines, int nlines);
85 extern int setup_one_line(struct line *lines, int n, char *init,
87 extern void close_lines(struct line *lines, int nlines);
89 extern int line_config(struct line *lines, unsigned int sizeof_lines,
93 extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n,
95 extern int line_get_config(char *dev, struct line *lines,
Dxterm.c47 static int __init xterm_setup(char *line, int *add) in xterm_setup() argument
50 terminal_emulator = line; in xterm_setup()
52 line = strchr(line, ','); in xterm_setup()
53 if (line == NULL) in xterm_setup()
56 *line++ = '\0'; in xterm_setup()
57 if (*line) in xterm_setup()
58 title_switch = line; in xterm_setup()
60 line = strchr(line, ','); in xterm_setup()
61 if (line == NULL) in xterm_setup()
64 *line++ = '\0'; in xterm_setup()
[all …]
Dssl.c69 static struct line serial_lines[NR_PORTS];
118 struct line *line = &serial_lines[c->index]; in ssl_console_write() local
121 spin_lock_irqsave(&line->lock, flags); in ssl_console_write()
122 console_write_chan(line->chan_out, string, len); in ssl_console_write()
123 spin_unlock_irqrestore(&line->lock, flags); in ssl_console_write()
134 struct line *line = &serial_lines[co->index]; in ssl_console_setup() local
136 return console_open_chan(line, co); in ssl_console_setup()
Dstdio_console.c75 static struct line vts[MAX_TTYS];
119 struct line *line = &vts[console->index]; in uml_console_write() local
122 spin_lock_irqsave(&line->lock, flags); in uml_console_write()
123 console_write_chan(line->chan_out, string, len); in uml_console_write()
124 spin_unlock_irqrestore(&line->lock, flags); in uml_console_write()
135 struct line *line = &vts[co->index]; in uml_console_setup() local
137 return console_open_chan(line, co); in uml_console_setup()
Dpty.c78 static int getmaster(char *line) in getmaster() argument
84 pty = &line[strlen("/dev/ptyp")]; in getmaster()
86 line[strlen("/dev/pty")] = *bank; in getmaster()
89 if ((stat(line, &buf) < 0) && (errno == ENOENT)) in getmaster()
94 master = open(line, O_RDWR); in getmaster()
96 char *tp = &line[strlen("/dev/")]; in getmaster()
100 err = access(line, R_OK | W_OK); in getmaster()
/arch/arm/mach-footbridge/
Dpersonal-pci.c25 unsigned char line; in personal_server_map_irq() local
27 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); in personal_server_map_irq()
29 if (line > 0x40 && line <= 0x5f) { in personal_server_map_irq()
34 return irqmap_personal_server[(line & 0x1f) - 8]; in personal_server_map_irq()
35 } else if (line == 0) { in personal_server_map_irq()
39 return irqmap_personal_server[(line - 1) & 3]; in personal_server_map_irq()
/arch/um/kernel/
Dkmsg_dump.c11 static char line[1024]; in kmsg_dumper_stdout() local
29 while (kmsg_dump_get_line(dumper, true, line, sizeof(line), &len)) { in kmsg_dumper_stdout()
30 line[len] = '\0'; in kmsg_dumper_stdout()
31 printf("%s", line); in kmsg_dumper_stdout()
/arch/arm/boot/dts/
Daspeed-bmc-lenovo-hr855xg2.dts429 line-name = "BMC_EMMC_RST_N";
436 line-name = "PCH_PWROK_BMC_FPGA";
443 line-name = "IRQ_BMC_PCH_SMI_LPC_N";
450 line-name = "CPU_SM_WP";
457 line-name = "PDB_PSU_SEL";
464 line-name = "LOCATOR_LED_N";
471 line-name = "FM_BMC_DBP_PRESENT_R1_N";
478 line-name = "BMC_ME_SECURITY_OVERRIDE_N";
485 line-name = "IRQ_BMC_PCH_NMI_R";
492 line-name = "CPU2_PROCDIS_BMC_N";
[all …]
Daspeed-bmc-opp-palmetto.dts214 line-name = "func_mode0";
221 line-name = "func_mode1";
228 line-name = "func_mode2";
235 line-name = "BMC_FAN_RESERVED_N";
242 line-name = "APSS_WDT_N";
249 line-name = "APSS_BOOT_MODE";
256 line-name = "APSS_RESET_N";
263 line-name = "SPIVID_STBY_RESET_N";
270 line-name = "BMC_POWER_UP";
277 line-name = "BMC_BATTERY_TEST";
[all …]
Daspeed-bmc-lenovo-hr630.dts409 line-name = "IRQ_BMC_PCH_SMI_LPC_N";
416 line-name = "IRQ_BMC_PCH_NMI_R";
423 line-name = "I2C_BUS0_RST_OUT_N";
430 line-name = "FM_SKT0_FAULT_LED";
437 line-name = "FM_SKT1_FAULT_LED";
444 line-name = "FAN_PWR_CTL_N";
451 line-name = "RST_BMC_PCIE_I2CMUX_N";
458 line-name = "PSU1_FFS_N_R";
465 line-name = "PSU2_FFS_N_R";
472 line-name = "BMC_INTRUDED_COVER";
[all …]
/arch/arm64/boot/dts/hisilicon/
Dhi3670-hikey970.dts75 * Legend: proper name = the GPIO line is used as GPIO
90 * When the 96Board naming of a line and the schematic name of
91 * the same line are in conflict, the 96Board specification
100 gpio-line-names =
113 gpio-line-names =
126 gpio-line-names =
139 gpio-line-names =
152 gpio-line-names =
170 gpio-line-names =
183 gpio-line-names =
[all …]
/arch/arm64/include/asm/
Dasm-bug.h11 #define _BUGVERBOSE_LOCATION(file, line) __BUGVERBOSE_LOCATION(file, line) argument
12 #define __BUGVERBOSE_LOCATION(file, line) \ argument
18 .short line;
20 #define _BUGVERBOSE_LOCATION(file, line) argument
/arch/x86/tools/
Dinsn_decoder_test.c42 static void malformed_line(const char *line, int line_nr) in malformed_line() argument
45 prog, line_nr, line); in malformed_line()
113 char line[BUFSIZE], sym[BUFSIZE] = "<unknown>"; in main() local
121 while (fgets(line, BUFSIZE, stdin)) { in main()
126 if (line[0] == '<') { in main()
128 strcpy(sym, line); in main()
134 strcpy(copy, line); in main()
137 malformed_line(line, insns); in main()
142 malformed_line(line, insns); in main()
158 pr_warn("%s", line); in main()
/arch/powerpc/xmon/
Dnonstdio.c92 static char line[256]; variable
101 lineptr = line; in xmon_getchar()
114 if (lineptr > line) { in xmon_getchar()
122 while (lineptr > line) { in xmon_getchar()
130 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar()
138 lineleft = lineptr - line; in xmon_getchar()
139 lineptr = line; in xmon_getchar()
/arch/arm64/boot/dts/ti/
Dk3-am654.dtsi42 i-cache-line-size = <64>;
45 d-cache-line-size = <64>;
56 i-cache-line-size = <64>;
59 d-cache-line-size = <64>;
70 i-cache-line-size = <64>;
73 d-cache-line-size = <64>;
84 i-cache-line-size = <64>;
87 d-cache-line-size = <64>;
97 cache-line-size = <64>;
106 cache-line-size = <64>;
/arch/nios2/mm/
Dtlb.c168 void dump_tlb_line(unsigned long line) in dump_tlb_line() argument
173 pr_debug("dump tlb-entries for line=%#lx (addr %08lx)\n", line, in dump_tlb_line()
174 line << (PAGE_SHIFT + cpuinfo.tlb_num_ways_log2)); in dump_tlb_line()
179 WRCTL(CTL_PTEADDR, line << 2); in dump_tlb_line()
220 unsigned int line; in flush_tlb_pid() local
227 for (line = 0; line < cpuinfo.tlb_num_lines; line++) { in flush_tlb_pid()
269 unsigned int line; in flush_tlb_all() local
281 for (line = 0; line < cpuinfo.tlb_num_lines; line++) { in flush_tlb_all()
/arch/powerpc/platforms/ps3/
Dos-area.c307 int line) in _dump_header() argument
312 pr_debug("%s:%d: h.magic_num: '%s'\n", func, line, in _dump_header()
314 pr_debug("%s:%d: h.hdr_version: %u\n", func, line, in _dump_header()
316 pr_debug("%s:%d: h.db_area_offset: %u\n", func, line, in _dump_header()
318 pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line, in _dump_header()
320 pr_debug("%s:%d: h.ldr_format: %u\n", func, line, in _dump_header()
322 pr_debug("%s:%d: h.ldr_size: %xh\n", func, line, in _dump_header()
328 int line) in _dump_params() argument
330 pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag); in _dump_params()
331 pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params); in _dump_params()
[all …]
/arch/openrisc/mm/
Dcache.c22 unsigned long line = paddr & ~(L1_CACHE_BYTES - 1); in cache_loop() local
24 while (line < paddr + PAGE_SIZE) { in cache_loop()
25 mtspr(reg, line); in cache_loop()
26 line += L1_CACHE_BYTES; in cache_loop()
/arch/x86/kernel/
Djump_label.c27 static void bug_at(unsigned char *ip, int line) in bug_at() argument
34 pr_crit("jump_label: Fatal kernel bug, unexpected op at %pS [%p] (%5ph) %d\n", ip, ip, ip, line); in bug_at()
46 int line; in __jump_label_set_jump_code() local
53 expect = default_nop; line = __LINE__; in __jump_label_set_jump_code()
55 expect = ideal_nop; line = __LINE__; in __jump_label_set_jump_code()
57 expect = code->code; line = __LINE__; in __jump_label_set_jump_code()
61 bug_at((void *)jump_entry_code(entry), line); in __jump_label_set_jump_code()
/arch/arm64/boot/dts/arm/
Djuno.dts92 i-cache-line-size = <64>;
95 d-cache-line-size = <64>;
110 i-cache-line-size = <64>;
113 d-cache-line-size = <64>;
128 i-cache-line-size = <64>;
131 d-cache-line-size = <64>;
146 i-cache-line-size = <64>;
149 d-cache-line-size = <64>;
164 i-cache-line-size = <64>;
167 d-cache-line-size = <64>;
[all …]
Djuno-r1.dts93 i-cache-line-size = <64>;
96 d-cache-line-size = <64>;
110 i-cache-line-size = <64>;
113 d-cache-line-size = <64>;
127 i-cache-line-size = <64>;
130 d-cache-line-size = <64>;
144 i-cache-line-size = <64>;
147 d-cache-line-size = <64>;
161 i-cache-line-size = <64>;
164 d-cache-line-size = <64>;
[all …]
/arch/arm/mm/
Dcache-v6.S134 USER( mcr p15, 0, r0, c7, c10, 1 ) @ clean D line
177 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line
179 mcr p15, 0, r0, c7, c15, 1 @ clean & invalidate unified line
209 mcrne p15, 0, r0, c7, c10, 1 @ clean D line
211 mcrne p15, 0, r0, c7, c11, 1 @ clean unified line
220 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D line
222 mcrne p15, 0, r1, c7, c15, 1 @ clean & invalidate unified line
226 mcr p15, 0, r0, c7, c6, 1 @ invalidate D line
228 mcr p15, 0, r0, c7, c7, 1 @ invalidate unified line
253 mcr p15, 0, r0, c7, c10, 1 @ clean D line
[all …]

12345678910>>...19