Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 68) sorted by relevance

123

/utopia/UTPA2-700.0.x/modules/uart/drv/uart/
H A DdrvUART.c284 _uart_dev[E_UART_AEON].device.magic = DEVICE_MAGIC ; in MDrv_UART_Init()
285 _uart_dev[E_UART_AEON].device.refcnt = 0 ; in MDrv_UART_Init()
286 _uart_dev[E_UART_AEON].device.flags = 0 ; in MDrv_UART_Init()
287 _uart_dev[E_UART_AEON].device.devio = &aeon_uart_io ; in MDrv_UART_Init()
291 _uart_dev[E_UART_AEON_R2].device.magic = DEVICE_MAGIC ; in MDrv_UART_Init()
292 _uart_dev[E_UART_AEON_R2].device.refcnt = 0 ; in MDrv_UART_Init()
293 _uart_dev[E_UART_AEON_R2].device.flags = 1 ; in MDrv_UART_Init()
294 _uart_dev[E_UART_AEON_R2].device.devio = &aeon_uart_io ; in MDrv_UART_Init()
299 _uart_dev[E_UART_SECURE_R2].device.magic = DEVICE_MAGIC ; in MDrv_UART_Init()
300 _uart_dev[E_UART_SECURE_R2].device.refcnt = 0 ; in MDrv_UART_Init()
[all …]
/utopia/UTPA2-700.0.x/projects/build/scripts/mod/
H A Dfile2alias.c326 id->device = TO_NATIVE(id->device); in do_pci_entry()
334 ADD(alias, "d", id->device != PCI_ANY_ID, id->device); in do_pci_entry()
679 id->device = TO_NATIVE(id->device); in do_sdio_entry()
684 ADD(alias, "d", id->device != (__u16)SDIO_ANY_ID, id->device); in do_sdio_entry()
727 id->device = TO_NATIVE(id->device); in do_virtio_entry()
731 ADD(alias, "d", id->device != VIRTIO_DEV_ANY_ID, id->device); in do_virtio_entry()
/utopia/UTPA2-700.0.x/modules/uart/hal/k6lite/uart/
H A DhalUART.c538 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
540 u->device.refcnt--; in HAL_UART_Aeon_Close()
541 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
960 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
977 u->device.refcnt++; in HAL_UART_Aeon_Open()
988 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
990 u->device.refcnt--; in HAL_UART_PIU_Close()
991 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1479 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1496 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/curry/uart/
H A DhalUART.c538 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
540 u->device.refcnt--; in HAL_UART_Aeon_Close()
541 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
960 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
977 u->device.refcnt++; in HAL_UART_Aeon_Open()
988 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
990 u->device.refcnt--; in HAL_UART_PIU_Close()
991 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1449 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1466 u->device.refcnt++; in HAL_UART_PIU_Open()
H A DhalUART.h134 struct device device; member
/utopia/UTPA2-700.0.x/modules/uart/hal/kano/uart/
H A DhalUART.c538 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
540 u->device.refcnt--; in HAL_UART_Aeon_Close()
541 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
960 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
977 u->device.refcnt++; in HAL_UART_Aeon_Open()
988 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
990 u->device.refcnt--; in HAL_UART_PIU_Close()
991 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1449 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1466 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/k6/uart/
H A DhalUART.c538 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
540 u->device.refcnt--; in HAL_UART_Aeon_Close()
541 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
960 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
977 u->device.refcnt++; in HAL_UART_Aeon_Open()
988 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
990 u->device.refcnt--; in HAL_UART_PIU_Close()
991 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1498 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1515 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/mooney/uart/
H A DhalUART.c559 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
561 u->device.refcnt--; in HAL_UART_Aeon_Close()
562 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
981 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
998 u->device.refcnt++; in HAL_UART_Aeon_Open()
1009 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1011 u->device.refcnt--; in HAL_UART_PIU_Close()
1012 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1539 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1556 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/mustang/uart/
H A DhalUART.c554 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
556 u->device.refcnt--; in HAL_UART_Aeon_Close()
557 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
977 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
994 u->device.refcnt++; in HAL_UART_Aeon_Open()
1005 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1007 u->device.refcnt--; in HAL_UART_PIU_Close()
1008 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1503 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1524 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/maldives/uart/
H A DhalUART.c554 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
556 u->device.refcnt--; in HAL_UART_Aeon_Close()
557 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
977 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
994 u->device.refcnt++; in HAL_UART_Aeon_Open()
1005 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1007 u->device.refcnt--; in HAL_UART_PIU_Close()
1008 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1503 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1524 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/macan/uart/
H A DhalUART.c584 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
586 u->device.refcnt--; in HAL_UART_Aeon_Close()
587 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1006 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1023 u->device.refcnt++; in HAL_UART_Aeon_Open()
1034 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1036 u->device.refcnt--; in HAL_UART_PIU_Close()
1037 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1568 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1585 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/messi/uart/
H A DhalUART.c583 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
585 u->device.refcnt--; in HAL_UART_Aeon_Close()
586 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1005 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1022 u->device.refcnt++; in HAL_UART_Aeon_Open()
1033 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1035 u->device.refcnt--; in HAL_UART_PIU_Close()
1036 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1568 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1585 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/M7621/uart/
H A DhalUART.c587 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
589 u->device.refcnt--; in HAL_UART_Aeon_Close()
590 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1009 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1026 u->device.refcnt++; in HAL_UART_Aeon_Open()
1037 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1039 u->device.refcnt--; in HAL_UART_PIU_Close()
1040 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1665 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1682 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/maserati/uart/
H A DhalUART.c587 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
589 u->device.refcnt--; in HAL_UART_Aeon_Close()
590 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1009 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1026 u->device.refcnt++; in HAL_UART_Aeon_Open()
1037 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1039 u->device.refcnt--; in HAL_UART_PIU_Close()
1040 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1665 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1682 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/maxim/uart/
H A DhalUART.c587 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
589 u->device.refcnt--; in HAL_UART_Aeon_Close()
590 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1009 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1026 u->device.refcnt++; in HAL_UART_Aeon_Open()
1037 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1039 u->device.refcnt--; in HAL_UART_PIU_Close()
1040 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1665 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1682 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/manhattan/uart/
H A DhalUART.c586 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
588 u->device.refcnt--; in HAL_UART_Aeon_Close()
589 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1008 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1025 u->device.refcnt++; in HAL_UART_Aeon_Open()
1036 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1038 u->device.refcnt--; in HAL_UART_PIU_Close()
1039 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1620 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1637 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/M7821/uart/
H A DhalUART.c587 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
589 u->device.refcnt--; in HAL_UART_Aeon_Close()
590 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1009 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1026 u->device.refcnt++; in HAL_UART_Aeon_Open()
1037 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1039 u->device.refcnt--; in HAL_UART_PIU_Close()
1040 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1668 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1685 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/uart/hal/mainz/uart/
H A DhalUART.c629 if (u->device.refcnt > 0) in HAL_UART_Aeon_Close()
631 u->device.refcnt--; in HAL_UART_Aeon_Close()
632 if (u->device.refcnt == 0) in HAL_UART_Aeon_Close()
1051 if (u->device.refcnt == 0) in HAL_UART_Aeon_Open()
1068 u->device.refcnt++; in HAL_UART_Aeon_Open()
1079 if (u->device.refcnt > 0) in HAL_UART_PIU_Close()
1081 u->device.refcnt--; in HAL_UART_PIU_Close()
1082 if (u->device.refcnt == 0) in HAL_UART_PIU_Close()
1614 if (u->device.refcnt == 0) in HAL_UART_PIU_Open()
1631 u->device.refcnt++; in HAL_UART_PIU_Open()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMSC.c630 SCSI_DbgPrint("SCSI INQUIRY : SCSI Device ID <%s>\n",&pMass_stor->device.u8VendorID); in ms_bInit_USB_LUN()
631 SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ID <%s>\n",&pMass_stor->device.u8ProductID); in ms_bInit_USB_LUN()
632 … SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ver <%s>\n",&pMass_stor->device.u8ProductVer); in ms_bInit_USB_LUN()
638 LunDevice[uLunIdx].u8DevType = pMass_stor->device.u8DeviceType; in ms_bInit_USB_LUN()
714 pMass_stor->device.u8DeviceType = (pIngBuf[0] & 0x1F); in ms_bSCSI_Initial()
716 memcpy(pMass_stor->device.u8VendorID, &pIngBuf[8], 8); in ms_bSCSI_Initial()
718 memcpy(pMass_stor->device.u8ProductID, &pIngBuf[16], 16); in ms_bSCSI_Initial()
720 memcpy(pMass_stor->device.u8ProductVer, &pIngBuf[32], 4); in ms_bSCSI_Initial()
721 … SCSI_DbgPrint("SCSI INQUIRY : SCSI Device ID <%s>\n",&pMass_stor->device.u8VendorID); in ms_bSCSI_Initial()
722 … SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ID <%s>\n",&pMass_stor->device.u8ProductID); in ms_bSCSI_Initial()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvSCSI.c704 SCSI_DbgPrint("SCSI INQUIRY : SCSI Device ID <%s>\n",&pMass_stor->device.u8VendorID); in bInit_USB_LUN()
705 SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ID <%s>\n",&pMass_stor->device.u8ProductID); in bInit_USB_LUN()
706 SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ver <%s>\n",&pMass_stor->device.u8ProductVer); in bInit_USB_LUN()
768 pMass_stor->device.u8DeviceType = (pIngBuf[0] & 0x1F);
770 memcpy(pMass_stor->device.u8VendorID, &pIngBuf[8], 8);
772 memcpy(pMass_stor->device.u8ProductID, &pIngBuf[16], 16);
774 memcpy(pMass_stor->device.u8ProductVer, &pIngBuf[32], 4);
775 … SCSI_DbgPrint("SCSI INQUIRY : SCSI Device ID <%s>\n",&pMass_stor->device.u8VendorID);
776 … SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ID <%s>\n",&pMass_stor->device.u8ProductID);
777 … SCSI_DbgPrint("SCSI INQUIRY : SCSI Product ver <%s>\n",&pMass_stor->device.u8ProductVer);
H A DdrvMassStor.c418 else if (us->srb.device->id && in usb_stor_control_thread()
422 us->srb.device->id, us->srb.device->lun); in usb_stor_control_thread()
426 else if (us->srb.device->lun > us->max_lun) in usb_stor_control_thread()
429 us->srb.device->id, us->srb.device->lun); in usb_stor_control_thread()
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/
H A Dedd.h113 __u8 device; member
120 __u8 device; member
155 __u8 device; member
171 __u8 device; member
H A Dsoundcard.h471 short device; /* Synth# (0-4) */ member
478 int device; /* 0-N. INITIALIZE BEFORE CALLING */ member
513 int device; /* 0-N. INITIALIZE BEFORE CALLING */ member
1281 #define SEQ_MIDIOUT(device, byte) {_SEQ_NEEDBUF(4);\ argument
1284 _seqbuf[_seqbufptr+2] = (device);\
H A Dsound.h32 struct device;
34 …nt register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
H A Dx25.h72 char device[200-sizeof(unsigned long)]; member
94 char device[200]; member

123