Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 62) sorted by relevance

123

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvUSB.c129 static int generic_probe (struct device_s *dev) in generic_probe()
133 static int generic_remove (struct device_s *dev) in generic_remove()
249 int usb_probe_interface(struct device_s *dev) in usb_probe_interface()
370 int usb_unbind_interface(struct device_s *dev) in usb_unbind_interface()
830 struct usb_interface *usb_ifnum_to_if(struct usb_device *dev, int ifnum) in usb_ifnum_to_if()
960 usb_epnum_to_ep_desc(struct usb_device *dev, U32 epnum) in usb_epnum_to_ep_desc()
1471 struct usb_device *dev; in usb_match_id() local
1997 struct device_s *dev; in usb_find_interface() local
2087 struct device_s *dev; in usb_find_dev_for_driver() local
2169 static int usb_device_match (struct device_s *dev, struct device_driver *drv) in usb_device_match()
[all …]
H A DdrvHub.c331 static __inline__ struct device_s *hubdev (struct usb_device *dev) in hubdev()
432 static int get_hub_descriptor(struct usb_device *dev, void *data, int size) in get_hub_descriptor()
502 int clear_hub_feature(struct usb_device *dev, int feature) in clear_hub_feature()
555 int clear_port_feature(struct usb_device *dev, int port, int feature) in clear_port_feature()
608 static int set_port_feature(struct usb_device *dev, int port, int feature) in set_port_feature()
666 static int get_hub_status(struct usb_device *dev, in get_hub_status()
734 static int get_port_status(struct usb_device *dev, int port, in get_port_status()
1192 struct usb_device *dev; in hub_tt_kevent() local
1269 void usb_hub_tt_clear_buffer (struct usb_device *dev, int pipe) in usb_hub_tt_clear_buffer()
1496 struct usb_device *dev; in hub_power_on() local
[all …]
H A DdrvMsg.c247 int usb_control_msg(struct usb_device *dev, unsigned int pipe, unsigned char request, unsigned char… in usb_control_msg()
290 int usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, … in usb_get_descriptor()
310 int usb_get_string(struct usb_device *dev, unsigned short langid, unsigned char index, void *buf, i… in usb_get_string()
319 int usb_get_device_descriptor(struct usb_device *dev) in usb_get_device_descriptor()
332 int usb_get_status(struct usb_device *dev, int type, int target, void *data) in usb_get_status()
339 int usb_clear_halt(struct usb_device *dev, int pipe) in usb_clear_halt()
360 void usb_disable_endpoint(struct usb_device *dev, U32 epaddr) in usb_disable_endpoint()
377 void usb_disable_interface(struct usb_device *dev, struct usb_interface *intf) in usb_disable_interface()
389 void usb_disable_device(struct usb_device *dev, int skip_ep0) in usb_disable_device()
401 void usb_enable_endpoint(struct usb_device *dev, in usb_enable_endpoint()
[all …]
H A DdrvBus.c89 void device_bind_driver(struct device_s * dev) in device_bind_driver()
97 static int bus_match(struct device_s * dev, struct device_driver * drv) in bus_match()
119 static int device_attach(struct device_s * dev) in device_attach()
149 struct device_s * dev; in driver_attach() local
166 void device_release_driver(struct device_s * dev) in device_release_driver()
183 struct device_s *dev; in driver_detach() local
196 int bus_add_device(struct device_s * dev) in bus_add_device()
209 void bus_remove_device(struct device_s * dev) in bus_remove_device()
H A DdrvCore.c89 void device_initialize(struct device_s *dev) in device_initialize()
98 int device_add(struct device_s *dev) in device_add()
120 void device_del(struct device_s * dev) in device_del()
131 void device_unregister(struct device_s * dev) in device_unregister()
H A DdrvConfig.c97 static int usb_parse_endpoint(struct usb_device *dev, struct usb_host_endpoint *endpoint, unsigned … in usb_parse_endpoint()
208 static void usb_release_intf(struct device_s *dev) in usb_release_intf()
235 static int usb_parse_interface(struct usb_device *dev, struct usb_interface *interface, unsigned ch… in usb_parse_interface()
415 int usb_parse_configuration(struct usb_device *dev, struct usb_host_config *config, char *buffer) in usb_parse_configuration()
519 void usb_destroy_configuration(struct usb_device *dev) in usb_destroy_configuration()
548 int usb_get_configuration(struct usb_device *dev) in usb_get_configuration()
/utopia/UTPA2-700.0.x/modules/uart/hal/k6/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
550 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
616 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
666 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
935 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
954 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
983 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1000 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1066 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/mustang/uart/
H A DhalUART.c259 int dev; in HAL_UART_Get_Connection() local
549 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
566 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
632 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
682 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
952 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
971 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1000 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1017 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1085 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/maldives/uart/
H A DhalUART.c259 int dev; in HAL_UART_Get_Connection() local
549 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
566 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
632 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
682 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
952 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
971 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1000 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1017 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1085 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/k6lite/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
550 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
616 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
666 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
935 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
954 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
983 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1000 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1066 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/curry/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
550 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
616 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
666 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
935 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
954 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
983 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1000 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1066 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/kano/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
550 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
616 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
666 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
935 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
954 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
983 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1000 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1066 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/mooney/uart/
H A DhalUART.c252 int dev; in HAL_UART_Get_Connection() local
554 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
571 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
637 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
687 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
956 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
975 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1004 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1021 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1087 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvDevice.h139 dev_set_drvdata (struct device_s *dev, void *data) in dev_set_drvdata()
145 dev_get_drvdata (struct device_s *dev) in dev_get_drvdata()
153 #define dev_printk(level, dev, format, ...) \ argument
157 #define dev_dbg(dev, format, ...) \ argument
160 #define dev_dbg(dev, format, ...) do {} while (0) argument
164 #define dev_err(dev, format, ...) \ argument
167 #define dev_err(dev, format, ...) do {} while (0) argument
171 #define dev_info(dev, format, ...) \ argument
174 #define dev_info(dev, format, ...) do {} while (0) argument
178 #define dev_warn(dev, format, ...) \ argument
[all …]
H A DdrvUSB.h128 struct device_s dev; member
224 struct device_s dev; member
457 struct usb_device *dev; member
490 struct usb_device *dev, in usb_fill_control_urb()
513 struct usb_device *dev, in usb_fill_bulk_urb()
534 struct usb_device *dev, in usb_fill_int_urb()
622 #define usb_maxpacket(dev, pipe, out) (out \ argument
654 #define usb_endpoint_running(dev, ep, out) ((dev)->halted[out] &= ~(1 << (ep))) argument
655 #define usb_endpoint_halted(dev, ep, out) ((dev)->halted[out] & (1 << (ep))) argument
658 static __inline__ U32 __create_pipe(struct usb_device *dev, U32 endpoint) in __create_pipe()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/M7621/uart/
H A DhalUART.c280 int dev; in HAL_UART_Get_Connection() local
582 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
599 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
665 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
715 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
984 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1003 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1032 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1049 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1115 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/maserati/uart/
H A DhalUART.c280 int dev; in HAL_UART_Get_Connection() local
582 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
599 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
665 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
715 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
984 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1003 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1032 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1049 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1115 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/maxim/uart/
H A DhalUART.c280 int dev; in HAL_UART_Get_Connection() local
582 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
599 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
665 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
715 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
984 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1003 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1032 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1049 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1115 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/manhattan/uart/
H A DhalUART.c279 int dev; in HAL_UART_Get_Connection() local
581 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
598 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
664 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
714 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
983 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1002 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1031 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1048 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1114 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/M7821/uart/
H A DhalUART.c280 int dev; in HAL_UART_Get_Connection() local
582 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
599 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
665 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
715 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
984 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1003 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1032 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1049 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1115 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/mainz/uart/
H A DhalUART.c276 int dev; in HAL_UART_Get_Connection() local
624 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
641 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
707 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
757 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
1026 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1045 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1074 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1091 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1157 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/macan/uart/
H A DhalUART.c277 int dev; in HAL_UART_Get_Connection() local
579 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
596 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
662 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
712 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
981 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
1000 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1029 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1046 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1112 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/messi/uart/
H A DhalUART.c276 int dev; in HAL_UART_Get_Connection() local
578 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close()
595 int HAL_UART_Aeon_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Write()
661 int HAL_UART_Aeon_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_Aeon_Read()
711 int HAL_UART_Aeon_Poll(device_t dev, int types) in HAL_UART_Aeon_Poll()
980 int HAL_UART_Aeon_Ioctl(device_t dev, int request, unsigned long arg) in HAL_UART_Aeon_Ioctl()
999 int HAL_UART_Aeon_Open(device_t dev, int mode) in HAL_UART_Aeon_Open()
1028 int HAL_UART_PIU_Close(device_t dev) in HAL_UART_PIU_Close()
1045 int HAL_UART_PIU_Write(device_t dev, const char *buf, MS_U32 len, int off) in HAL_UART_PIU_Write()
1111 int HAL_UART_PIU_Read(device_t dev, char *buf, MS_U32 len, int off) in HAL_UART_PIU_Read()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvConfig.c108 struct usb_device *dev, in ms_usb_parse_ept()
174 static void ms_usb_release_intf(struct device_s *dev) in ms_usb_release_intf()
205 struct usb_device *dev, in ms_usb_parse_interface()
336 struct usb_device *dev, in ms_usb_parse_config()
412 void ms_usb_destroy_config(struct usb_device *dev) in ms_usb_destroy_config()
446 int ms_usb_get_config(struct usb_device *dev) in ms_usb_get_config()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvUSBHost.h118 struct device_s dev; member
185 struct device_s dev; member
284 struct usb_device *dev; member
401 #define usb_maxpacket(dev, pipe, out) (out \ argument
417 static __inline__ MS_U32 __pack_pipe(struct usb_device *dev, MS_U32 endpoint) in __pack_pipe()
422 #define usb_gettoggle(dev, ms_ep, out) (((dev)->toggle[out] >> (ms_ep)) & 1) argument
423 #define usb_dotoggle(dev, ms_ep, out) ((dev)->toggle[out] ^= (1 << (ms_ep))) argument
424 #define usb_settoggle(dev, ms_ep, out, bit) ((dev)->toggle[out] = ((dev)->toggle[out] & ~(1 << (ms_… argument
426 #define usb_sndctrlpipe(dev,ms_ep) (((MS_U32)EP_CONTROL << 30) | __pack_pipe(dev,ms_ep)) argument
427 #define usb_rcvctrlpipe(dev,ms_ep) (((MS_U32)EP_CONTROL << 30) | __pack_pipe(dev,ms_ep) | USB_DIR_… argument
[all …]

123