Searched refs:output (Results 1 - 25 of 80) sorted by relevance

1234

/arch/hexagon/include/asm/
H A Datomic.h54 * and the output is the old value.
85 int output; local
92 : "=&r" (output)
96 return output;
104 int output; local
110 : "=&r" (output)
114 return output;
129 int output, __oldval; local
144 : "=&r" (__oldval), "=&r" (output)
148 return output;
[all...]
/arch/arm/mach-pxa/include/mach/
H A Dreset.h16 * @output: set gpio as output instead of input during normal work
17 * @level: output level
19 extern int init_gpio_reset(int gpio, int output, int level);
/arch/s390/boot/compressed/
H A Dmisc.c139 unsigned char *output; local
146 output = (unsigned char *) output_addr;
154 INITRD_START < (unsigned long) output + SZ__bss_start) {
155 check_ipl_parmblock(output + SZ__bss_start,
157 memmove(output + SZ__bss_start,
159 INITRD_START = (unsigned long) output + SZ__bss_start;
164 decompress(input_data, input_len, NULL, NULL, output, NULL, error);
166 return (unsigned long) output;
/arch/um/drivers/
H A Dnet_user.c50 void read_output(int fd, char *output, int len) argument
56 if (output == NULL) {
57 output = &c;
61 *output = '\0';
74 ret = read(fd, output, expected);
180 static int change_tramp(char **argv, char *output, int output_len) argument
196 read_output(fds[0], output, output_len);
214 char *output; local
223 output = uml_kmalloc(output_len, UM_GFP_KERNEL);
224 if (output
[all...]
H A Dtty.c39 static int tty_open(int input, int output, int primary, void *d, argument
45 if (input && output)
49 else if (output)
H A Dnull.c20 static int null_open(int input, int output, int primary, void *d, argument
H A Dslip_user.c77 char *output; local
97 output = uml_kmalloc(output_len, UM_GFP_KERNEL);
98 if (output == NULL) {
99 printk(UM_KERN_ERR "slip_tramp : failed to allocate output "
107 read_output(fds[0], output, output_len);
108 printk("%s", output);
113 kfree(output);
H A Dchan.h22 unsigned int output:1; member in struct:chan
H A Dchan_kern.c21 static int not_configged_open(int input, int output, int primary, void *data, argument
111 else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary,
177 err = line_setup_irq(chan->fd, chan->input, chan->output, line,
217 if (chan->output && chan->enabled)
238 if (chan->output && chan->enabled)
349 if (chan->primary && chan->output)
506 .output = 0,
549 new->output = 1;
559 new->output = 1;
H A Dpty.c40 static int pts_open(int input, int output, int primary, void *d, argument
113 static int pty_open(int input, int output, int primary, void *d, argument
H A Dfd.c50 static int fd_open(int input, int output, int primary, void *d, char **dev_out) argument
/arch/um/os-Linux/drivers/
H A Dethertap_user.c40 char *output; local
53 output = uml_kmalloc(UM_KERN_PAGE_SIZE, UM_GFP_KERNEL);
54 if (output == NULL)
55 printk(UM_KERN_ERR "etap_change : Failed to allocate output "
57 read_output(fd, output, UM_KERN_PAGE_SIZE);
58 if (output != NULL) {
59 printk("%s", output);
60 kfree(output);
140 char *output; local
166 output
[all...]
H A Dtuntap_user.c132 char *output, *buffer; local
175 output = buffer;
177 printk("%s", output);
185 output += IFNAMSIZ;
186 printk("%s", output);
/arch/arm/mach-pnx4008/
H A Dgpio.c226 /* Write Value to output */
227 int pnx4008_gpio_write_pin(unsigned short pin, int output) argument
235 gpio, output ? PIO_OUTP_SET : PIO_OUTP_CLR );
236 ret = gpio_set_bit(output ? PIO_OUTP_SET : PIO_OUTP_CLR, gpio);
239 ret = gpio_set_bit(output ? PIO_SDOUTP_SET :
243 ret = gpio_set_bit(output ? PIO_OUTP_SET :
252 /* Value = 1 : Set GPIO pin as output */
254 int pnx4008_gpio_set_pin_direction(unsigned short pin, int output) argument
261 ret = gpio_set_bit(output ? PIO_DRV_SET : PIO_DRV_CLR, gpio);
269 /* Read GPIO pin direction: 0= pin used as input, 1= pin used as output*/
287 pnx4008_gpio_set_pin_mux(unsigned short pin, int output) argument
[all...]
/arch/x86/boot/compressed/
H A Dmisc.c58 * The compressed data is placed at the end of the buffer. The output
61 * when the output pointer overruns the input pointer.
63 * The output pointer can only overrun the input pointer if the input
64 * pointer is moving faster than the output pointer. A condition only
276 static void parse_elf(void *output) argument
288 memcpy(&ehdr, output, sizeof(ehdr));
304 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum);
312 dest = output;
318 output + phdr->p_offset,
331 unsigned char *output)
328 decompress_kernel(void *rmode, memptr heap, unsigned char *input_data, unsigned long input_len, unsigned char *output) argument
[all...]
/arch/sh/boot/compressed/
H A Dmisc.c35 static unsigned char *output; variable
129 output = (unsigned char *)output_addr;
135 decompress(input_data, input_len, NULL, NULL, output, NULL, error);
/arch/x86/include/asm/
H A Dalternative.h132 /* Like alternative_input, but with a single output argument */
133 #define alternative_io(oldinstr, newinstr, feature, output, input...) \
135 : output : "i" (0), ## input)
138 #define alternative_call(oldfunc, newfunc, feature, output, input...) \
140 : output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input)
143 * use this macro(s) if you need more than one output parameter
/arch/arm/boot/compressed/
H A Ddecompress.c53 int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)) argument
55 return decompress(input, len, NULL, NULL, output, NULL, error);
H A Dmisc.c130 extern int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x));
/arch/arm/mach-pxa/
H A Dreset.c24 int init_gpio_reset(int gpio, int output, int level) argument
34 if (output)
/arch/x86/kvm/
H A Dirq.c54 return s->output;
77 s->output = 0; /* PIC */
/arch/parisc/kernel/
H A Ddrivers.c327 static char *print_hwpath(struct hardware_path *path, char *output) argument
333 output += sprintf(output, "%u/", (unsigned char) path->bc[i]);
335 output += sprintf(output, "%u", (unsigned char) path->mod);
336 return output;
342 * output: Pointer to a previously-allocated array to place the path in.
344 * This function fills in the output array with a human-readable path
348 char *print_pa_hwpath(struct parisc_device *dev, char *output) argument
354 return print_hwpath(&path, output);
383 print_pci_hwpath(struct pci_dev *dev, char *output) argument
398 char *output = name; local
[all...]
/arch/c6x/platforms/
H A Dmegamod-pic.c144 static void __init set_megamod_mux(struct megamod_pic *pic, int src, int output) argument
150 pic->output_to_irq[output] = IRQ_UNMAPPED;
155 index = output / 4;
156 offset = (output & 3) * 8;
169 * which is to me MUXed to the output corresponding to the cell position
/arch/x86/xen/
H A DKconfig50 Enable statistics output and various tuning options in debugfs.
/arch/powerpc/boot/dts/
H A Dtqm8xx.dts80 bosch,disconnect-tx1-output;
92 bosch,disconnect-tx1-output;

Completed in 515 milliseconds

1234