Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 136) sorted by relevance

123456

/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() argument
133 static int generic_remove (struct device_s *dev) in generic_remove() argument
249 int usb_probe_interface(struct device_s *dev) in usb_probe_interface() argument
251 struct usb_interface * intf = to_usb_interface(dev); in usb_probe_interface()
252 struct usb_driver * driver = to_usb_driver(dev->driver); in usb_probe_interface()
256 dev_dbg(dev, "%s\n", __FUNCTION__); in usb_probe_interface()
263 dev_dbg (dev, "%s - got id\n", __FUNCTION__); in usb_probe_interface()
370 int usb_unbind_interface(struct device_s *dev) in usb_unbind_interface() argument
372 struct usb_interface *intf = to_usb_interface(dev); in usb_unbind_interface()
373 struct usb_driver *driver = to_usb_driver(dev->driver); in usb_unbind_interface()
[all …]
H A DdrvHub.c331 static __inline__ struct device_s *hubdev (struct usb_device *dev) in hubdev() argument
333 return &dev->actconfig->interface[0]->dev; in hubdev()
432 static int get_hub_descriptor(struct usb_device *dev, void *data, int size) in get_hub_descriptor() argument
434 return usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), in get_hub_descriptor()
502 int clear_hub_feature(struct usb_device *dev, int feature) in clear_hub_feature() argument
504 return usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in clear_hub_feature()
555 int clear_port_feature(struct usb_device *dev, int port, int feature) in clear_port_feature() argument
557 return usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in clear_port_feature()
608 static int set_port_feature(struct usb_device *dev, int port, int feature) in set_port_feature() argument
610 return usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in set_port_feature()
[all …]
H A DdrvMsg.c199 struct usb_hcd * hcd = urb->dev->bus->hcpriv; in usb_start_wait_urb()
247 int usb_control_msg(struct usb_device *dev, unsigned int pipe, unsigned char request, unsigned char… in usb_control_msg() argument
264 ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); 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() argument
300 if ((relt = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), 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() argument
313 return usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), in usb_get_string()
319 int usb_get_device_descriptor(struct usb_device *dev) in usb_get_device_descriptor() argument
321 int ret = usb_get_descriptor(dev, USB_DT_DEVICE, 0, &dev->descriptor, in usb_get_device_descriptor()
322 sizeof(dev->descriptor)); in usb_get_device_descriptor()
[all …]
H A DdrvBus.c89 void device_bind_driver(struct device_s * dev) in device_bind_driver() argument
92 dev->bus_id,dev->driver->name); in device_bind_driver()
93 list_add_tail(&dev->driver_list,&dev->driver->devices); in device_bind_driver()
97 static int bus_match(struct device_s * dev, struct device_driver * drv) in bus_match() argument
102 if (dev->bus->match(dev,drv)) { in bus_match()
103 dev->driver = drv; in bus_match()
106 if ((error = drv->probe(dev))) { in bus_match()
107 dev->driver = NULL; in bus_match()
111 device_bind_driver(dev); in bus_match()
119 static int device_attach(struct device_s * dev) in device_attach() argument
[all …]
H A DdrvHCD.c526 urb->dev->maxchild); in rh_call_control()
589 int len = 1 + (urb->dev->maxchild / 8); in rh_status_urb()
645 if (!urb->dev in rh_report_status()
647 || (hcd = (struct usb_hcd*) urb->dev->bus->hcpriv) == 0) { in rh_report_status()
840 int len = 1 + (urb->dev->maxchild / 8); in rh_queue_status()
1151 USB_sprintf (&usb_dev->dev.bus_id[0], in usb_register_root_hub()
1162 usb_dev->dev.bus_id, retval); in usb_register_root_hub()
1186 usb_dev->dev.bus_id, retval); in register_root_hub()
1373 void usb_claim_bandwidth (struct usb_device *dev, struct urb *urb, int bustime, int isoc) in usb_claim_bandwidth() argument
1375 dev->bus->bandwidth_allocated += bustime; in usb_claim_bandwidth()
[all …]
H A DdrvEhciHcd.c1266 struct cpe_dev *dev; in ehci_hub_control() local
1268 dev = (struct cpe_dev *)( (char *)__mptr - offsetof(struct cpe_dev,dev) ); in ehci_hub_control()
1269 U32 regUTMI = dev->utmibase; in ehci_hub_control()
1814 if ( g_usb_phy_reset_flg && (hcd == cpe_ehci_dev.dev.driver_data) ) in ehci_hub_control()
1833 if ( g_usb_phy_reset_flg_Port2&& (hcd == cpe_ehci_dev_Port2.dev.driver_data) ) in ehci_hub_control()
2456 urb->dev->devpath, in qtd_copy_status()
2538 usb_endpoint_halt (urb->dev, in qtd_copy_status()
2592 } else if (urb->dev->tt && !usb_pipeint (urb->pipe) in qtd_copy_status()
2595 struct usb_device *tt = urb->dev->tt->hub; in qtd_copy_status()
2596 dev_dbg (&tt->dev, in qtd_copy_status()
[all …]
H A DdrvConfig.c97 static int usb_parse_endpoint(struct usb_device *dev, struct usb_host_endpoint *endpoint, unsigned … in usb_parse_endpoint() argument
136 if (dev->speed == USB_SPEED_HIGH in usb_parse_endpoint()
208 static void usb_release_intf(struct device_s *dev) in usb_release_intf() argument
214 intf = to_usb_interface(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() argument
245 device_initialize(&interface->dev); in usb_parse_interface()
246 interface->dev.release = usb_release_intf; in usb_parse_interface()
396 retval = usb_parse_endpoint(dev, ifp->endpoint + i, buffer, size); in usb_parse_interface()
415 int usb_parse_configuration(struct usb_device *dev, struct usb_host_config *config, char *buffer) in usb_parse_configuration() argument
504 retval = usb_parse_interface(dev, config->interface[i], (unsigned char*) buffer, size); in usb_parse_configuration()
[all …]
H A DdrvCore.c89 void device_initialize(struct device_s *dev) in device_initialize() argument
91 INIT_LIST_HEAD(&dev->node); in device_initialize()
92 INIT_LIST_HEAD(&dev->children); in device_initialize()
93 INIT_LIST_HEAD(&dev->driver_list); in device_initialize()
94 INIT_LIST_HEAD(&dev->bus_list); in device_initialize()
95 atomic_set(&dev->refcount,1); in device_initialize()
98 int device_add(struct device_s *dev) in device_add() argument
102 if (!dev || !strlen(dev->bus_id)) in device_add()
105 parent = dev->parent; in device_add()
108 dev->bus_id, dev->name); in device_add()
[all …]
H A DdrvHub_2.c99 extern int hub_port_status(struct usb_device *dev, int port,
102 extern void hub_start_disconnect(struct usb_device *dev);
105 extern int clear_port_feature(struct usb_device *dev, int port, int feature);
109 extern int clear_hub_feature(struct usb_device *dev, int feature);
120 struct usb_device *dev; in has_hub_events_Port2() local
136 dev = interface_to_usbdev(hub->intf); in has_hub_events_Port2()
142 hub_port_status(dev, 0, pPortStatus, &portchange); in has_hub_events_Port2()
159 struct usb_device *dev; in hub_events_Port2() local
182 dev = interface_to_usbdev(hub->intf); in hub_events_Port2()
194 dev_dbg (&hub->intf->dev, "resetting for error %d\n", in hub_events_Port2()
[all …]
H A DdrvEhciHcd_2.c114 extern void cpe_ehci_start_hc(struct cpe_dev *dev);
115 extern void usb_hcd_cpe_ehci_remove (struct usb_hcd *hcd, struct cpe_dev *dev);
116 extern void cpe_ehci_stop_hc(struct cpe_dev *dev);
127 extern void ehci_endpoint_disable (struct usb_hcd *hcd, struct hcd_dev *dev, int ep);
142 struct cpe_dev *dev) in usb_hcd_cpe_ehci_probe_Port2() argument
165 cpe_ehci_start_hc(dev); in usb_hcd_cpe_ehci_probe_Port2()
191 hcd->self.controller = &dev->dev; in usb_hcd_cpe_ehci_probe_Port2()
255 usb_hcd_cpe_ehci_remove(hcd, dev); in usb_hcd_cpe_ehci_probe_Port2()
268 cpe_ehci_stop_hc(dev); in usb_hcd_cpe_ehci_probe_Port2()
319 struct cpe_dev *dev; in ehci_hcd_cpe_ehci_drv_probe_Port2() local
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvUSB.h128 struct device_s dev; member
133 return dev_get_drvdata (&intf->dev); in usb_get_intfdata()
138 dev_set_drvdata(&intf->dev, data); in usb_set_intfdata()
153 usb_epnum_to_ep_desc(struct usb_device *dev, U32 epnum);
224 struct device_s dev; member
252 return (struct usb_device *)( (char *)__mptr - (char *)offsetof(struct usb_device,dev)); in to_usb_device()
259 return (struct usb_interface *)((char *)__mptr - (char *)offsetof(struct usb_interface,dev)); in to_usb_interface()
264 const struct usb_device *__mptr = (struct usb_device *)(ptr->dev.parent); in interface_to_usbdev()
265 return (struct usb_device *)((char *)__mptr - (char *)offsetof( struct usb_device, dev)); in interface_to_usbdev()
269 extern struct usb_device *usb_get_dev(struct usb_device *dev);
[all …]
H A DdrvDevice.h105 int (*probe) (struct device_s * dev);
106 int (*remove) (struct device_s * dev);
107 void (*shutdown) (struct device_s * dev);
108 int (*suspend) (struct device_s * dev, U32 state, U32 level);
109 int (*resume) (struct device_s * dev, U32 level);
135 void (*release)(struct device_s * dev);
139 dev_set_drvdata (struct device_s *dev, void *data) in dev_set_drvdata() argument
141 dev->driver_data = data; in dev_set_drvdata()
145 dev_get_drvdata (struct device_s *dev) in dev_get_drvdata() argument
147 return dev->driver_data; in dev_get_drvdata()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvUSBHost.h118 struct device_s dev; member
123 return ms_dev_get_drvdata (&intf->dev); in ms_usb_get_intfdata()
128 ms_dev_set_drvdata(&intf->dev, data); in ms_usb_set_intfdata()
185 struct device_s dev; member
210 return (struct usb_device *)( (char *)__mptr - (char *)offsetof(struct usb_device,dev)); in ms_to_usb_device()
216 return (struct usb_interface *)((char *)__mptr - (char *)offsetof(struct usb_interface,dev)); in get_usb_interface()
221 const struct usb_device *__mptr = (struct usb_device *)(ptr->dev.parent); in interface_to_usbdev()
222 return (struct usb_device *)((char *)__mptr - (char *)offsetof( struct usb_device, dev)); in interface_to_usbdev()
226 extern struct usb_device *ms_usb_get_dev(struct usb_device *dev);
227 extern void ms_usb_put_dev(struct usb_device *dev);
[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() argument
136 if (dev->eSpeed == USB_HIGH_SPEED in ms_usb_parse_ept()
174 static void ms_usb_release_intf(struct device_s *dev) in ms_usb_release_intf() argument
176 struct usb_interface *pIntf = get_usb_interface(dev); in ms_usb_release_intf()
205 struct usb_device *dev, in ms_usb_parse_interface() argument
218 ms_device_initialize(&pIntf->dev); in ms_usb_parse_interface()
219 pIntf->dev.release_func = ms_usb_release_intf; in ms_usb_parse_interface()
305 retval = ms_usb_parse_ept(dev, pIf->endpoint + i, pBuf, bufsize); in ms_usb_parse_interface()
336 struct usb_device *dev, in ms_usb_parse_config() argument
388 … retval = ms_usb_parse_interface(dev, pConfig->interface[i], (unsigned char*) pBuf, Desc_size); in ms_usb_parse_config()
[all …]
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/
H A Dsoundcard.h846 #define MIXER_READ(dev) _SIOR('M', dev, int) argument
876 #define MIXER_WRITE(dev) _SIOWR('M', dev, int) argument
1051 extern void OSS_patch_caching(int dev, int chn, int patch,
1053 extern void OSS_drum_caching(int dev, int chn, int patch,
1068 # define SEQ_LOAD_GMINSTR(dev, instr) \ argument
1069 OSS_patch_caching(dev, -1, instr, seqfd, _seqbuf, _seqbuflen)
1070 # define SEQ_LOAD_GMDRUM(dev, drum) \ argument
1071 OSS_drum_caching(dev, -1, drum, seqfd, _seqbuf, _seqbuflen)
1074 # define SEQ_LOAD_GMINSTR(dev, instr) argument
1075 # define SEQ_LOAD_GMDRUM(dev, drum) argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/drv/uart/
H A DdrvUART.c531 struct device *dev; in mdrv_uart_open() local
536 dev = &_uart_dev[uart_dev].device; in mdrv_uart_open()
542 _UartDisc[uart_dev-3].UartHandle = ((MS_U32)(dev->devio->open((device_t)dev, 0))); in mdrv_uart_open()
546 return ((MS_U32)(dev->devio->open((device_t)dev, 0))); in mdrv_uart_open()
551 struct device *dev; in mdrv_uart_close() local
563 dev = &(phUart->device); in mdrv_uart_close()
564 if (dev->devio->close) in mdrv_uart_close()
566 dev->devio->close((device_t)dev); in mdrv_uart_close()
584 struct device *dev; in mdrv_uart_set_rx_callback() local
603 dev =&(phUart->device); in mdrv_uart_set_rx_callback()
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/k6lite/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
236 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
239 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
242 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
245 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
248 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
254 switch (dev) in HAL_UART_Get_Connection()
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
537 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/curry/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
236 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
239 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
242 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
245 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
248 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
254 switch (dev) in HAL_UART_Get_Connection()
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
537 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/kano/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
236 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
239 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
242 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
245 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
248 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
254 switch (dev) in HAL_UART_Get_Connection()
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
537 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/k6/uart/
H A DhalUART.c231 int dev; in HAL_UART_Get_Connection() local
236 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
239 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
242 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
245 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
248 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
254 switch (dev) in HAL_UART_Get_Connection()
533 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
537 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/mooney/uart/
H A DhalUART.c252 int dev; in HAL_UART_Get_Connection() local
257 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
260 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
263 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
266 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
269 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
275 switch (dev) in HAL_UART_Get_Connection()
554 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
558 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/mustang/uart/
H A DhalUART.c259 int dev; in HAL_UART_Get_Connection() local
264 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
267 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
270 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
273 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
276 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
282 switch (dev) in HAL_UART_Get_Connection()
549 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
553 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/maldives/uart/
H A DhalUART.c259 int dev; in HAL_UART_Get_Connection() local
264 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
267 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
270 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
273 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
276 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
282 switch (dev) in HAL_UART_Get_Connection()
549 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
553 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/macan/uart/
H A DhalUART.c277 int dev; in HAL_UART_Get_Connection() local
282 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
285 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
288 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
291 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
294 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
300 switch (dev) in HAL_UART_Get_Connection()
579 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
583 u = UART_DEVICE(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() argument
[all …]
/utopia/UTPA2-700.0.x/modules/uart/hal/messi/uart/
H A DhalUART.c276 int dev; in HAL_UART_Get_Connection() local
281 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(3:0)); in HAL_UART_Get_Connection()
284 dev = (_HAL_REG_ReadByte(0x1EA6) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
287 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(3:0)); in HAL_UART_Get_Connection()
290 dev = (_HAL_REG_ReadByte(0x1EA7) & BITMASK(7:4)) >> 4; in HAL_UART_Get_Connection()
293 dev = (_HAL_REG_ReadByte(0x1EA8) & BITMASK(3:0)); in HAL_UART_Get_Connection()
299 switch (dev) in HAL_UART_Get_Connection()
578 int HAL_UART_Aeon_Close(device_t dev) in HAL_UART_Aeon_Close() argument
582 u = UART_DEVICE(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() argument
[all …]

123456