Searched refs:lines (Results 51 - 75 of 192) sorted by relevance

12345678

/linux-master/drivers/gpio/
H A Dgpio-mockup.c32 * of GPIO lines.
55 struct gpio_mockup_line_status *lines; member in struct:gpio_mockup_chip
89 return chip->lines[offset].value;
122 chip->lines[offset].value = !!value;
150 struct gpio_mockup_line_status *line = &chip->lines[offset];
187 chip->lines[offset].pull = value;
213 chip->lines[offset].dir = GPIO_LINE_DIRECTION_OUT;
225 chip->lines[offset].dir = GPIO_LINE_DIRECTION_IN;
236 direction = chip->lines[offset].dir;
253 chip->lines[offse
[all...]
H A Dgpio-virtio.c48 struct virtio_gpio_line *lines; member in struct:virtio_gpio
61 struct virtio_gpio_line *line = &vgpio->lines[gpio];
129 struct virtio_gpio_line *line = &vgpio->lines[gpio];
562 vgpio->lines = devm_kcalloc(dev, ngpio, sizeof(*vgpio->lines), GFP_KERNEL);
563 if (!vgpio->lines)
567 mutex_init(&vgpio->lines[i].lock);
568 init_completion(&vgpio->lines[i].completion);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_psr_regs.h169 #define EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(EDP_PSR2_IO_BUFFER_WAKE_MASK, \
170 EDP_PSR2_IO_BUFFER_WAKE_MAX_LINES - (lines))
173 #define TGL_EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(TGL_EDP_PSR2_IO_BUFFER_WAKE_MASK, \
174 (lines) - TGL_EDP_PSR2_IO_BUFFER_WAKE_MIN_LINES)
177 #define EDP_PSR2_FAST_WAKE(lines) REG_FIELD_PREP(EDP_PSR2_FAST_WAKE_MASK, \
178 EDP_PSR2_FAST_WAKE_MAX_LINES - (lines))
181 #define TGL_EDP_PSR2_FAST_WAKE(lines) REG_FIELD_PREP(TGL_EDP_PSR2_FAST_WAKE_MASK, \
182 (lines) - TGL_EDP_PSR2_FAST_WAKE_MIN_LINES)
319 #define ALPM_CTL_EXTENDED_FAST_WAKE_TIME(lines) REG_FIELD_PREP(ALPM_CTL_EXTENDED_FAST_WAKE_TIME_MASK, (lines)
[all...]
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-core.c421 unsigned int i, lines; local
434 lines = ch->fifo_size / bpl;
436 if (lines > 4)
437 lines = 4;
439 BUG_ON(lines < 2);
446 for (i = 0; i < lines; i++) {
465 cx_write(ch->cmds_start + 12, (lines * 16) >> 3);
479 cx_write(ch->cnt2_reg, (lines * 16) >> 3);
489 unsigned int i, lines; local
502 lines
988 cx25821_risc_field(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, bool jump) argument
1050 cx25821_risc_buffer(struct pci_dev *pci, struct cx25821_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) argument
1099 cx25821_risc_field_audio(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi) argument
1160 cx25821_risc_databuffer_audio(struct pci_dev *pci, struct cx25821_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) argument
[all...]
/linux-master/scripts/
H A Dget_maintainer.pl76 my @fixes = (); # If a patch description includes Fixes: lines
477 next if (/^\s*$/); #skip empty lines
1111 contain a thousand lines, 5 trivial commits may modify a single line.
1122 Multiple lines and # comments are allowed.
1552 my @lines = ();
1556 @lines = split("\n", $output);
1558 return @lines;
1563 my @lines = ();
1566 @lines = split("\n", $output);
1568 return @lines;
[all...]
H A Dcheckkconfigsymbols.py387 lines = []
394 lines = stream.readlines()
396 for line in lines:
434 lines = []
442 lines = stream.readlines()
444 for i in range(len(lines)):
445 line = lines[i]
458 line = lines[i]
H A Dmarkup_oops.pl215 my @lines;
232 # first, parse the input into the lines array, but to keep size down,
257 $lines[$counter] = $line;
285 my $line = $lines[$start];
305 my $line = $lines[$finish];
330 $reglines[$i] = process_x86_regs($lines[$i], $center - $i);
338 $line = "*$lines[$i] ";
340 $line = " $lines[$i] ";
/linux-master/drivers/media/pci/cx88/
H A Dcx88-core.c67 * @lpi: lines per IRQ, or 0 to not generate irqs. Note: IRQ to be
68 * generated _after_ lpi lines are transferred.
73 unsigned int lines, unsigned int lpi, bool jump)
87 /* scan lines */
89 for (line = 0; line < lines; line++) {
133 unsigned int bpl, unsigned int padding, unsigned int lines)
150 instructions = fields * (1 + ((bpl + padding) * lines) /
151 PAGE_SIZE + lines);
164 bpl, padding, lines, 0, true);
167 bpl, padding, lines,
70 cx88_risc_field(__le32 *rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi, bool jump) argument
130 cx88_risc_buffer(struct pci_dev *pci, struct cx88_riscmem *risc, struct scatterlist *sglist, unsigned int top_offset, unsigned int bottom_offset, unsigned int bpl, unsigned int padding, unsigned int lines) argument
177 cx88_risc_databuffer(struct pci_dev *pci, struct cx88_riscmem *risc, struct scatterlist *sglist, unsigned int bpl, unsigned int lines, unsigned int lpi) argument
346 unsigned int i, lines; local
[all...]
/linux-master/tools/testing/selftests/resctrl/
H A Dcache.c181 * @lines: @cache_span in lines or bytes
183 void show_cache_info(int no_of_bits, __u64 avg_llc_val, size_t cache_span, bool lines) argument
187 ksft_print_msg("Cache span (%s): %zu\n", lines ? "lines" : "bytes",
/linux-master/scripts/kconfig/
H A Dnconf.gui.c143 int lines = 0; local
148 for (i = 0; text[i] != '\0' && lines < line_no; i++)
150 lines++;
164 /* print all lines to the window. */
318 int i, x, y, lines, columns, win_lines, win_cols; local
324 getmaxyx(stdscr, lines, columns);
342 win_lines = min(prompt_lines+6, lines-2);
348 y = (lines-win_lines)/2;
514 int x, y, lines, columns; local
531 getmaxyx(stdscr, lines, column
[all...]
/linux-master/drivers/misc/sgi-gru/
H A Dgrukservices.c99 /* GRU cacheline size is always 64 bytes - even on arches with 128 byte lines */
130 char lines; member in struct:message_header
543 * qlines - message queue size in cache lines. Includes 2-line header.
583 .present = MQS_NOOP, .lines = 1};
638 void *mesg, int lines)
702 * lines might have successfully have been written. Before sending the
703 * message, "present" must be cleared in BOTH lines to prevent the receiver
707 void *mesg, int lines)
713 if (lines == 2) {
714 gru_vset(cb, m, 0, XTYPE_CL, lines,
637 send_message_queue_full(void *cb, struct gru_message_queue_desc *mqd, void *mesg, int lines) argument
706 send_message_put_nacked(void *cb, struct gru_message_queue_desc *mqd, void *mesg, int lines) argument
754 send_message_failure(void *cb, struct gru_message_queue_desc *mqd, void *mesg, int lines) argument
843 int lines = mhdr->lines; local
[all...]
/linux-master/arch/riscv/kvm/
H A Dvm.c92 int kvm_riscv_setup_default_irq_routing(struct kvm *kvm, u32 lines) argument
97 ents = kcalloc(lines, sizeof(*ents), GFP_KERNEL);
101 for (i = 0; i < lines; i++) {
107 rc = kvm_set_irq_routing(kvm, ents, lines, 0);
/linux-master/arch/x86/mm/
H A Ddump_pagetables.c36 unsigned long lines; member in struct:pg_state
303 st->lines = 0;
319 st->lines < st->marker->max_lines) {
335 st->lines++;
344 st->lines > st->marker->max_lines) {
346 st->lines - st->marker->max_lines;
353 st->lines = 0;
/linux-master/tools/perf/util/
H A Ddwarf-aux.c67 Dwarf_Lines *lines; local
72 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0 ||
80 line = dwarf_onesrcline(lines, n);
90 line = dwarf_onesrcline(lines, --l);
97 line = dwarf_onesrcline(lines, l++);
855 /* Walk on lines of blocks included in given DIE */
899 * die_walk_lines - Walk on lines inside given DIE
904 * Walk on all lines inside given @rt_die and call @callback on each line.
905 * If the @rt_die is a function, walk only on the lines inside the function,
912 Dwarf_Lines *lines; local
1790 die_search_idx(Dwarf_Lines *lines, unsigned long nr_lines, Dwarf_Addr addr, unsigned long *idx) argument
1819 die_get_postprologue_addr(unsigned long entrypc_idx, Dwarf_Lines *lines, unsigned long nr_lines, Dwarf_Addr highpc, Dwarf_Addr *postprologue_addr) argument
1893 Dwarf_Lines *lines = NULL; local
[all...]
/linux-master/drivers/s390/char/
H A Dcon3270.c76 * 1) describe line orientation & lines list concept against screen
77 * 2) describe conversion of screen to lines
86 int nr_up; /* # lines up in history. */
120 char **rcl_lines; /* Array of recallable lines */
132 #define TTY_UPDATE_LINES 0x4 /* Update visible screen lines */
214 * The input line are the two last lines of the screen.
894 int allocated, lines; local
900 for (lines = 0; lines < allocated; lines
917 char **lines; local
938 tty3270_free_recall(char **lines) argument
952 int lines; local
[all...]
/linux-master/tools/gpio/
H A Dlsgpio.c3 * lsgpio - example on how to list the GPIO lines on a system
127 fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n",
128 cinfo.name, cinfo.label, cinfo.lines);
130 /* Loop over the lines and print info */
131 for (i = 0; i < cinfo.lines; i++) {
172 "List GPIO chips, lines and states\n"
/linux-master/Documentation/sphinx/
H A Dkerneldoc.py129 lines = statemachine.string2lines(out, tab_width, convert_whitespace=True)
134 for line in lines:
137 # sphinx counts lines from 0
/linux-master/include/uapi/linux/
H A Dgpio.h30 * @lines: number of GPIO lines on this chip
35 __u32 lines; member in struct:gpiochip_info
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 t
419 __u32 lines; member in struct:gpiohandle_request
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dgf119.c74 .lines = 32,
H A Dg94.c62 .lines = 32,
H A Dgk104.c64 .lines = 32,
H A Dbase.c139 for (i = 0; (hi | lo) && i < gpio->func->lines; i++) {
150 u32 mask = (1ULL << gpio->func->lines) - 1;
236 return nvkm_event_init(&nvkm_gpio_intr_func, &gpio->subdev, 2, func->lines, &gpio->event);
/linux-master/kernel/kcsan/
H A Dkcsan_test.c56 char lines[3][512]; member in struct:__anon3312
94 * lines of interest.
118 strscpy(observed.lines[0], buf, min(len + 1, sizeof(observed.lines[0])));
121 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0])));
128 strcpy(observed.lines[nlines++], "<none>");
141 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines);
162 typeof(*observed.lines) *expect;
171 expect = kmalloc(sizeof(observed.lines), GFP_KERNE
[all...]
/linux-master/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c78 int ret, lines; local
91 "get input lines info returned: %d, %3ph\n", ret,
96 lines = dev->usbc_buf[1] << 8 | dev->usbc_buf[0];
98 return lines;
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dfib_notifications.sh64 lines=`wc -l $outfile | cut "-d " -f1`
65 test $lines -eq $expected_num_lines
66 check_err $? "$expected_num_lines notifications were expected but $lines were received"

Completed in 594 milliseconds

12345678