Searched refs:rio (Results 1 - 29 of 29) sorted by relevance

/linux-4.4.14/drivers/rapidio/
H A DMakefile5 rapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o
7 obj-$(CONFIG_RAPIDIO_ENUM_BASIC) += rio-scan.o
H A Drio.h15 #include <linux/rio.h>
H A Drio-driver.c15 #include <linux/rio.h>
18 #include "rio.h"
H A Drio-sysfs.c14 #include <linux/rio.h>
19 #include "rio.h"
H A Drio-access.c13 #include <linux/rio.h>
H A Drio-scan.c27 #include <linux/rio.h>
38 #include "rio.h"
H A Drio.c22 #include <linux/rio.h>
31 #include "rio.h"
/linux-4.4.14/drivers/usb/misc/
H A Drio500.c55 /* stall/wait timeout for rio */
60 /* Size of the rio buffer */
79 struct rio_usb_data *rio = &rio_instance; open_rio() local
83 mutex_lock(&(rio->lock)); open_rio()
85 if (rio->isopen || !rio->present) { open_rio()
86 mutex_unlock(&(rio->lock)); open_rio()
90 rio->isopen = 1; open_rio()
92 init_waitqueue_head(&rio->wait_q); open_rio()
94 mutex_unlock(&(rio->lock)); open_rio()
96 dev_info(&rio->rio_dev->dev, "Rio opened.\n"); open_rio()
104 struct rio_usb_data *rio = &rio_instance; close_rio() local
106 rio->isopen = 0; close_rio()
108 dev_info(&rio->rio_dev->dev, "Rio closed.\n"); close_rio()
115 struct rio_usb_data *rio = &rio_instance; ioctl_rio() local
122 mutex_lock(&(rio->lock)); ioctl_rio()
123 /* Sanity check to make sure rio is connected, powered, etc */ ioctl_rio()
124 if (rio->present == 0 || rio->rio_dev == NULL) { ioctl_rio()
155 dev_dbg(&rio->rio_dev->dev, ioctl_rio()
159 /* Send rio control message */ ioctl_rio()
162 result = usb_control_msg(rio->rio_dev, ioctl_rio()
163 usb_rcvctrlpipe(rio-> rio_dev, 0), ioctl_rio()
173 dev_err(&rio->rio_dev->dev, ioctl_rio()
178 dev_dbg(&rio->rio_dev->dev, ioctl_rio()
191 data which has been returned from rio. Data is ioctl_rio()
226 dev_dbg(&rio->rio_dev->dev, ioctl_rio()
230 /* Send rio control message */ ioctl_rio()
233 result = usb_control_msg(rio->rio_dev, ioctl_rio()
234 usb_sndctrlpipe(rio-> rio_dev, 0), ioctl_rio()
244 dev_err(&rio->rio_dev->dev, ioctl_rio()
249 dev_dbg(&rio->rio_dev->dev, ioctl_rio()
266 mutex_unlock(&(rio->lock)); ioctl_rio()
275 struct rio_usb_data *rio = &rio_instance; write_rio() local
286 intr = mutex_lock_interruptible(&(rio->lock)); write_rio()
289 /* Sanity check to make sure rio is connected, powered, etc */ write_rio()
290 if (rio->present == 0 || rio->rio_dev == NULL) { write_rio()
291 mutex_unlock(&(rio->lock)); write_rio()
299 char *obuf = rio->obuf; write_rio()
303 if (copy_from_user(rio->obuf, buffer, copy_size)) { write_rio()
309 if (!rio->rio_dev) { write_rio()
314 mutex_unlock(&(rio->lock)); write_rio()
318 result = usb_bulk_msg(rio->rio_dev, write_rio()
319 usb_sndbulkpipe(rio->rio_dev, 2), write_rio()
322 dev_dbg(&rio->rio_dev->dev, write_rio()
331 prepare_to_wait(&rio->wait_q, &wait, TASK_INTERRUPTIBLE); write_rio()
333 finish_wait(&rio->wait_q, &wait); write_rio()
342 dev_err(&rio->rio_dev->dev, "Write Whoops - %x\n", write_rio()
352 mutex_unlock(&(rio->lock)); write_rio()
357 mutex_unlock(&(rio->lock)); write_rio()
365 struct rio_usb_data *rio = &rio_instance; read_rio() local
374 intr = mutex_lock_interruptible(&(rio->lock)); read_rio()
377 /* Sanity check to make sure rio is connected, powered, etc */ read_rio()
378 if (rio->present == 0 || rio->rio_dev == NULL) { read_rio()
379 mutex_unlock(&(rio->lock)); read_rio()
383 ibuf = rio->ibuf; read_rio()
390 mutex_unlock(&(rio->lock)); read_rio()
393 if (!rio->rio_dev) { read_rio()
394 mutex_unlock(&(rio->lock)); read_rio()
399 result = usb_bulk_msg(rio->rio_dev, read_rio()
400 usb_rcvbulkpipe(rio->rio_dev, 1), read_rio()
404 dev_dbg(&rio->rio_dev->dev, read_rio()
412 mutex_unlock(&(rio->lock)); read_rio()
413 dev_err(&rio->rio_dev->dev, read_rio()
417 prepare_to_wait(&rio->wait_q, &wait, TASK_INTERRUPTIBLE); read_rio()
419 finish_wait(&rio->wait_q, &wait); read_rio()
422 mutex_unlock(&(rio->lock)); read_rio()
423 dev_err(&rio->rio_dev->dev, read_rio()
428 mutex_unlock(&(rio->lock)); read_rio()
434 mutex_unlock(&(rio->lock)); read_rio()
442 mutex_unlock(&(rio->lock)); read_rio()
466 struct rio_usb_data *rio = &rio_instance; probe_rio() local
478 rio->rio_dev = dev; probe_rio()
480 if (!(rio->obuf = kmalloc(OBUF_SIZE, GFP_KERNEL))) { probe_rio()
486 dev_dbg(&intf->dev, "obuf address:%p\n", rio->obuf); probe_rio()
488 if (!(rio->ibuf = kmalloc(IBUF_SIZE, GFP_KERNEL))) { probe_rio()
492 kfree(rio->obuf); probe_rio()
495 dev_dbg(&intf->dev, "ibuf address:%p\n", rio->ibuf); probe_rio()
497 mutex_init(&(rio->lock)); probe_rio()
499 usb_set_intfdata (intf, rio); probe_rio()
500 rio->present = 1; probe_rio()
507 struct rio_usb_data *rio = usb_get_intfdata (intf); disconnect_rio() local
511 if (rio) { disconnect_rio()
514 mutex_lock(&(rio->lock)); disconnect_rio()
515 if (rio->isopen) { disconnect_rio()
516 rio->isopen = 0; disconnect_rio()
518 rio->rio_dev = NULL; disconnect_rio()
519 mutex_unlock(&(rio->lock)); disconnect_rio()
523 kfree(rio->ibuf); disconnect_rio()
524 kfree(rio->obuf); disconnect_rio()
528 rio->present = 0; disconnect_rio()
529 mutex_unlock(&(rio->lock)); disconnect_rio()
/linux-4.4.14/drivers/pcmcia/
H A Dsa1100_nanoengine.c8 * http://cambuca.ldhs.cetuc.puc-rio.br/nanoengine/
10 * Copyright (C) 2010 Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
13 * Miguel Freitas <miguel@cpti.cetuc.puc-rio.br>
/linux-4.4.14/arch/x86/crypto/
H A Dcamellia-aesni-avx-asm_64.S482 y6, y7, rio, key) \
486 vpxor 0 * 16(rio), x0, y7; \
487 vpxor 1 * 16(rio), x0, y6; \
488 vpxor 2 * 16(rio), x0, y5; \
489 vpxor 3 * 16(rio), x0, y4; \
490 vpxor 4 * 16(rio), x0, y3; \
491 vpxor 5 * 16(rio), x0, y2; \
492 vpxor 6 * 16(rio), x0, y1; \
493 vpxor 7 * 16(rio), x0, y0; \
494 vpxor 8 * 16(rio), x0, x7; \
495 vpxor 9 * 16(rio), x0, x6; \
496 vpxor 10 * 16(rio), x0, x5; \
497 vpxor 11 * 16(rio), x0, x4; \
498 vpxor 12 * 16(rio), x0, x3; \
499 vpxor 13 * 16(rio), x0, x2; \
500 vpxor 14 * 16(rio), x0, x1; \
501 vpxor 15 * 16(rio), x0, x0;
555 y6, y7, rio) \
556 vmovdqu x0, 0 * 16(rio); \
557 vmovdqu x1, 1 * 16(rio); \
558 vmovdqu x2, 2 * 16(rio); \
559 vmovdqu x3, 3 * 16(rio); \
560 vmovdqu x4, 4 * 16(rio); \
561 vmovdqu x5, 5 * 16(rio); \
562 vmovdqu x6, 6 * 16(rio); \
563 vmovdqu x7, 7 * 16(rio); \
564 vmovdqu y0, 8 * 16(rio); \
565 vmovdqu y1, 9 * 16(rio); \
566 vmovdqu y2, 10 * 16(rio); \
567 vmovdqu y3, 11 * 16(rio); \
568 vmovdqu y4, 12 * 16(rio); \
569 vmovdqu y5, 13 * 16(rio); \
570 vmovdqu y6, 14 * 16(rio); \
571 vmovdqu y7, 15 * 16(rio);
H A Dcamellia-aesni-avx2-asm_64.S521 y6, y7, rio, key) \
525 vpxor 0 * 32(rio), x0, y7; \
526 vpxor 1 * 32(rio), x0, y6; \
527 vpxor 2 * 32(rio), x0, y5; \
528 vpxor 3 * 32(rio), x0, y4; \
529 vpxor 4 * 32(rio), x0, y3; \
530 vpxor 5 * 32(rio), x0, y2; \
531 vpxor 6 * 32(rio), x0, y1; \
532 vpxor 7 * 32(rio), x0, y0; \
533 vpxor 8 * 32(rio), x0, x7; \
534 vpxor 9 * 32(rio), x0, x6; \
535 vpxor 10 * 32(rio), x0, x5; \
536 vpxor 11 * 32(rio), x0, x4; \
537 vpxor 12 * 32(rio), x0, x3; \
538 vpxor 13 * 32(rio), x0, x2; \
539 vpxor 14 * 32(rio), x0, x1; \
540 vpxor 15 * 32(rio), x0, x0;
594 y6, y7, rio) \
595 vmovdqu x0, 0 * 32(rio); \
596 vmovdqu x1, 1 * 32(rio); \
597 vmovdqu x2, 2 * 32(rio); \
598 vmovdqu x3, 3 * 32(rio); \
599 vmovdqu x4, 4 * 32(rio); \
600 vmovdqu x5, 5 * 32(rio); \
601 vmovdqu x6, 6 * 32(rio); \
602 vmovdqu x7, 7 * 32(rio); \
603 vmovdqu y0, 8 * 32(rio); \
604 vmovdqu y1, 9 * 32(rio); \
605 vmovdqu y2, 10 * 32(rio); \
606 vmovdqu y3, 11 * 32(rio); \
607 vmovdqu y4, 12 * 32(rio); \
608 vmovdqu y5, 13 * 32(rio); \
609 vmovdqu y6, 14 * 32(rio); \
610 vmovdqu y7, 15 * 32(rio);
/linux-4.4.14/arch/arm/mach-sa1100/include/mach/
H A Dnanoengine.h7 * Copyright (C) 2010 Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
/linux-4.4.14/drivers/rapidio/switches/
H A Didtcps.c13 #include <linux/rio.h>
17 #include "../rio.h"
H A Dtsi568.c18 #include <linux/rio.h>
23 #include "../rio.h"
H A Dtsi57x.c18 #include <linux/rio.h>
23 #include "../rio.h"
H A Didt_gen2.c15 #include <linux/rio.h>
21 #include "../rio.h"
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dnanoengine.c6 * Copyright (C) 2010 Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
H A Dpci-nanoengine.c6 * Copyright (C) 2010 Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
/linux-4.4.14/drivers/pci/hotplug/
H A Dibmphp_ebda.c292 /* check if it is hot swap block or rio block */ ibmphp_access_ebda()
365 /* found rio table, blk_id == 0x4752 */ ibmphp_access_ebda()
367 debug ("rio blk id: %x\n", blk_id); ibmphp_access_ebda()
379 debug("info about rio table hdr ---\n"); ibmphp_access_ebda()
380 debug("ver_num: %x\nscal_count: %x\nriodev_count: %x\noffset of rio table: %x\n ", ibmphp_access_ebda()
412 * map info of scalability details and rio details from physical address
423 // we do concern about rio details ebda_rio_table()
/linux-4.4.14/arch/powerpc/sysdev/
H A Dfsl_rio.h30 #include <linux/rio.h>
H A Dfsl_rio.c465 dev_err(&dev->dev, "Unable to map rio register window\n"); fsl_rio_setup()
779 .name = "fsl-of-rio",
/linux-4.4.14/arch/x86/kernel/
H A Dpci-calgary_64.c48 #include <asm/rio.h>
1096 struct rio_detail *rio = rio_devs[rioidx]; calgary_locate_bbars() local
1098 if ((rio->type != COMPAT_CALGARY) && (rio->type != ALT_CALGARY)) calgary_locate_bbars()
1102 bbar = ioremap_nocache(rio->BBAR, 1024 * 1024); calgary_locate_bbars()
/linux-4.4.14/drivers/net/
H A Drionet.c17 #include <linux/rio.h>
/linux-4.4.14/include/linux/
H A Drio_drv.h21 #include <linux/rio.h>
/linux-4.4.14/drivers/rapidio/devices/
H A Dtsi721_dma.c28 #include <linux/rio.h>
H A Dtsi721.c30 #include <linux/rio.h>
/linux-4.4.14/block/
H A Dgenhd.c1160 " rio rmerge rsect ruse wio wmerge " diskstats_show()
/linux-4.4.14/arch/powerpc/kernel/
H A Dtraps.c58 #include <asm/rio.h>
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Dbttv-cards.c1503 /* Miguel Freitas <miguel@cetuc.puc-rio.br> */

Completed in 1456 milliseconds