Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 45) sorted by relevance

12

/bsp/nuvoton/numaker-iot-ma35d1/nuwriter_scripts/
A Dxusbcom.py18 self.dev = _dev
21 self.attach = False
22 self.id = 0
23 self.info = b''
30 self.dev.write(self.write_addr, data, timeout=1000)
36 buf = self.dev.read(self.read_addr, size, timeout=1000)
54 self.info = self.dev.read(0x81, 76, timeout=1000)
63 self.id = i
66 return self.id
128 self.devices[0] = self.devices[0].device
[all …]
A DUnpackImage.py12 self.img_list = []
32 self.image_cnt = int.from_bytes(self.pack_data[8:12], byteorder='little')
37self.img_list.append([int.from_bytes(self.pack_data[index: index + 8], byteorder='little'),
45 def img_count(self): argument
46 return self.image_cnt
48 def img_attr(self, index): argument
49 if index < self.image_cnt:
52 return self.img_list[index][0], self.img_list[index][1], self.img_list[index][2]
58 if index >= self.image_cnt:
61 if offset > self.img_list[index][0] or offset + size > self.img_list[index][0]:
[all …]
/bsp/nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/
A Dxusbcom.py18 self.dev = _dev
21 self.attach = False
22 self.id = 0
23 self.info = b''
30 self.dev.write(self.write_addr, data, timeout=1000)
36 buf = self.dev.read(self.read_addr, size, timeout=1000)
54 self.info = self.dev.read(0x81, 76, timeout=1000)
63 self.id = i
66 return self.id
128 self.devices[0] = self.devices[0].device
[all …]
A DUnpackImage.py12 self.img_list = []
32 self.image_cnt = int.from_bytes(self.pack_data[8:12], byteorder='little')
37self.img_list.append([int.from_bytes(self.pack_data[index: index + 8], byteorder='little'),
45 def img_count(self): argument
46 return self.image_cnt
48 def img_attr(self, index): argument
49 if index < self.image_cnt:
52 return self.img_list[index][0], self.img_list[index][1], self.img_list[index][2]
58 if index >= self.image_cnt:
61 if offset > self.img_list[index][0] or offset + size > self.img_list[index][0]:
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_gen_hcd.c292 if (urb->dev == hcd->self.root_hub) in unlink1()
476 usb_bus_init(&hcd->self); in usb_create_hc_gen_dev()
477 hcd->self.hcpriv = hcd; in usb_create_hc_gen_dev()
478 hcd->self.bus_name = bus_name; in usb_create_hc_gen_dev()
479 hcd->self.point_gen_hcd = hcd; in usb_create_hc_gen_dev()
647 usb_disconnect(&hcd->self.root_hub); in usb_remove_hc_gen_dev()
675 if (hcd->self.root_hub) in usb_remove_hc_gen_dev()
677 usb_host_free_virt_dev(hcd->self.root_hub); in usb_remove_hc_gen_dev()
678 hcd->self.root_hub = NULL; in usb_remove_hc_gen_dev()
810 if (urb->dev == hcd->self.root_hub) in hcd_ops_submit_urb()
[all …]
A Dusb_gen_hcd.h92 struct usb_virt_bus self; /* hcd is-a bus */ member
138 return &hcd->self; in hcd_to_bus()
143 return container_of(bus, struct hc_gen_dev, self); in bus_to_hcd()
A Dusb_gen_hcd_rh.c336 strlcpy(buf, hcd->self.bus_name, sizeof buf); in rh_string()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/
A Dohci-q.c46 struct device *dev = ohci_to_hcd(ohci)->self.controller;
60 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--;
61 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) {
69 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--;
80 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0
81 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) {
597 struct device *dev = ohci_to_hcd(ohci)->self.controller;
649 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0
650 && ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0;
731 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) {
[all …]
A Dohci-hub.c114 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) {
201 usb_root_hub_lost_power(hcd->self.root_hub);
287 if (hcd->self.bandwidth_isoc_reqs || hcd->self.bandwidth_int_reqs)
372 ->self.root_hub->dev)) {
409 !ohci_to_hcd(ohci)->self.root_hub->
773 if (hcd->self.otg_port == (wIndex + 1)
774 && hcd->self.b_hnp_enable)
A Dohci-mem.c41 ohci_to_hcd(ohci)->self.controller,
48 ohci_to_hcd(ohci)->self.controller,
A Dohci.h492 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
494 dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
496 dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
498 dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
A Dehci-sched.c599 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period in qh_link_periodic()
637 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period in qh_unlink_periodic()
977 ehci_to_hcd(ehci)->self.bandwidth_int_reqs++; in intr_submit()
1776 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_link_urb()
1784 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in itd_link_urb()
1908 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in itd_complete()
1915 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_complete()
2182 ehci_to_hcd(ehci)->self.bandwidth_allocated in sitd_link_urb()
2190 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in sitd_link_urb()
2292 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in sitd_complete()
[all …]
A Dehci-hcd.c839 usb_hcd_start_port_resume(&hcd->self, i); in ehci_irq_handler()
1193 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_resume()
1206 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_resume()
A Dohci-hcd.c461 hcd->self.sg_tablesize = ~0;
519 ohci->hcca = dma_alloc_coherent (hcd->self.controller,
566 device_set_wakeup_capable(hcd->self.controller, 1);
1015 dma_free_coherent (hcd->self.controller,
A Dohci_sunxi.c180 DMSG_PANIC("can't start %s", hcd->self.bus_name);
342 device_wakeup_enable(hcd->self.controller);
/bsp/nxp/imx/imxrt/imxrt1021-nxp-evk/xip/
A Dfsl_flexspi_nor_boot.h60 uint32_t self; member
/bsp/nxp/imx/imxrt/imxrt1052-nxp-evk/xip/
A Dfsl_flexspi_nor_boot.h60 uint32_t self; member
/bsp/microchip/samc21/
A DREADME_zh.md18 - 32/64/128/256 KB in-system self-programmable Flash
19 - 1/2/4/8 KB independent self-programmable Flash for EEPROM emulation
A DREADME.md18 - 32/64/128/256 KB in-system self-programmable Flash
19 - 1/2/4/8 KB independent self-programmable Flash for EEPROM emulation
/bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/xip/
A Dfsl_flexspi_nor_boot.h45 uint32_t self; member
/bsp/nxp/imx/imxrt/libraries/templates/imxrt1064xxx/xip/
A Dfsl_flexspi_nor_boot.h35 uint32_t self; member
/bsp/nxp/imx/imxrt/imxrt1064-nxp-evk/xip/
A Dfsl_flexspi_nor_boot.h35 uint32_t self; member
/bsp/nxp/imx/imxrt/imxrt1170-nxp-evk/xip/
A Dfsl_flexspi_nor_boot.h43 uint32_t self; member
/bsp/loongson/ls1cdev/
A DKconfig33 bool "Debug self boot code"
/bsp/microchip/same54/
A DREADME_zh.md17 - 1 MB/512 KB/256 KB in-system self-programmable Flash with:

Completed in 52 milliseconds

12