| /u-boot/drivers/usb/gadget/ |
| A D | core.c | 163 return (device->device_descriptor); in usbd_device_device_descriptor() 513 urb->device = device; in usbd_alloc_urb() 548 if (!device || !device->bus) { in usbd_device_event_irq() 553 state = device->device_state; in usbd_device_event_irq() 574 device->address = 0; in usbd_device_event_irq() 591 device->status = USBD_SUSPENDED; in usbd_device_event_irq() 596 device->status = USBD_OK; in usbd_device_event_irq() 625 device->name, event, state, in usbd_device_event_irq() 626 device->device_state, device->status, device->address); in usbd_device_event_irq() 629 if( device->event ) { in usbd_device_event_irq() [all …]
|
| A D | ep0.c | 352 (device, port, 0, bNumInterface, in ep0_get_descriptor() 377 device->qualifier_descriptor; in ep0_get_descriptor() 430 struct usb_device_instance *device; in ep0_recv_setup() local 434 if (!urb || !urb->device) { in ep0_recv_setup() 440 device = urb->device; in ep0_recv_setup() 467 switch (device->device_state) { in ep0_recv_setup() 535 return ep0_get_one (device, urb, in ep0_recv_setup() 536 device->configuration); in ep0_recv_setup() 539 return ep0_get_one (device, urb, device->alternate); in ep0_recv_setup() 605 device->address = address; in ep0_recv_setup() [all …]
|
| /u-boot/drivers/block/ |
| A D | ide.c | 221 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in atapi_issue() 236 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in atapi_issue() 247 device, c); in atapi_issue() 462 int device; in atapi_inquiry() local 464 device = dev_desc->devnum; in atapi_inquiry() 552 int device; in ide_ident() local 559 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_ident() 698 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_ident() 704 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_ident() 963 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_read() [all …]
|
| /u-boot/arch/arm/mach-uniphier/boot-device/ |
| A D | Makefile | 3 obj-y += boot-device.o 5 obj-$(CONFIG_ARCH_UNIPHIER_LD4) += boot-device-ld4.o 6 obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += boot-device-ld4.o 7 obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += boot-device-ld4.o 8 obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += boot-device-pro5.o 9 obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += boot-device-pxs2.o 10 obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += boot-device-pxs2.o 11 obj-$(CONFIG_ARCH_UNIPHIER_LD11) += boot-device-ld11.o 12 obj-$(CONFIG_ARCH_UNIPHIER_LD20) += boot-device-ld11.o 13 obj-$(CONFIG_ARCH_UNIPHIER_PXS3) += boot-device-pxs3.o
|
| /u-boot/arch/sandbox/cpu/ |
| A D | eth-raw-os.c | 70 struct sockaddr_ll *device; in _raw_packet_start() local 78 if (priv->device == NULL) in _raw_packet_start() 80 device = priv->device; in _raw_packet_start() 84 device->sll_family = AF_PACKET; in _raw_packet_start() 86 device->sll_halen = htons(6); in _raw_packet_start() 142 struct sockaddr_in *device; in _local_inet_start() local 151 if (priv->device == NULL) in _local_inet_start() 153 device = priv->device; in _local_inet_start() 155 device->sin_family = AF_INET; in _local_inet_start() 285 free(priv->device); in sandbox_eth_raw_os_stop() [all …]
|
| /u-boot/drivers/video/ |
| A D | sandbox_dsi_host.c | 19 struct mipi_dsi_device *device; member 26 struct mipi_dsi_device *device, in sandbox_dsi_host_init() argument 33 if (!device) in sandbox_dsi_host_init() 52 priv->device = device; in sandbox_dsi_host_init() 63 priv->phy_ops->init(priv->device); in sandbox_dsi_host_enable() 64 ret = priv->phy_ops->get_lane_mbps(priv->device, priv->timings, 2, in sandbox_dsi_host_enable() 69 priv->phy_ops->post_set_mode(priv->device, MIPI_DSI_MODE_VIDEO); in sandbox_dsi_host_enable()
|
| A D | orisetech_otm8009a.c | 83 struct mipi_dsi_device *device = plat->device; in otm8009a_dcs_write_buf() local 93 struct mipi_dsi_device *device = plat->device; in otm8009a_dcs_write_buf_hs() local 96 device->mode_flags &= ~MIPI_DSI_MODE_LPM; in otm8009a_dcs_write_buf_hs() 102 device->mode_flags |= MIPI_DSI_MODE_LPM; in otm8009a_dcs_write_buf_hs() 120 struct udevice *device = dev; \ 122 dcs_write_seq(device, (c) >> 8, seq); \ 128 struct mipi_dsi_device *device = plat->device; in otm8009a_init_sequence() local 209 ret = mipi_dsi_dcs_nop(device); in otm8009a_init_sequence() 246 ret = mipi_dsi_dcs_nop(device); in otm8009a_init_sequence() 259 struct mipi_dsi_device *device = plat->device; in otm8009a_panel_enable_backlight() local [all …]
|
| A D | dw_mipi_dsi.c | 222 struct mipi_dsi_device *device; member 282 dev_err(device->dev, in dw_mipi_dsi_host_attach() 284 device->lanes); in dw_mipi_dsi_host_attach() 445 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_video_mode_config() local 524 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_dpi_config() local 527 switch (device->format) { in dw_mipi_dsi_dpi_config() 692 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_dphy_interface_config() local 700 N_LANES(device->lanes)); in dw_mipi_dsi_dphy_interface_config() 747 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_bridge_set() local 750 ret = phy_ops->get_lane_mbps(dsi->device, timings, device->lanes, in dw_mipi_dsi_bridge_set() [all …]
|
| /u-boot/doc/ |
| A D | README.virtio | 26 device. The memory mapped virtio device behaviour is based on the PCI device 79 -device virtio-net-device,netdev=net0 \ 81 -device virtio-blk-device,drive=hd0 100 -device virtio-blk-device,drive=hd0 \ 121 virtio device [dev] - show or set current virtio block device 171 | virtio device drivers | 189 device ID is saved in the virtio uclass's private data of the transport device. 204 So the parameter 'vdev' indicates the device should be the real virtio device. 211 Here the parameter 'udev' indicates the device should be the transport device. 221 At present only VirtIO network card (device ID 1) and block device (device [all …]
|
| A D | README.power-framework | 94 - FG device (struct power_fg): 99 - Charger device (struct power_chrq): 107 - Battery device (struct power_battery): 109 hierarchy battery device 118 -- *fg_battery_check -> FG device (fg_max17042.c) 119 -- *fg_battery_update -> FG device (fg_max17042.c) 123 -- *battery_init -> BAT device (bat_trats.c) 124 -- *battery_charge -> BAT device (bat_trats.c) 129 How to add a new power device 132 1. Simple device should be added with creation of file [all …]
|
| /u-boot/board/xilinx/zynqmp/ |
| A D | zynqmp.c | 65 u8 device; member 70 .device = 2, 75 .device = 3, 80 .device = 4, 86 .device = 5, 92 .device = 6, 97 .device = 7, 103 .device = 9, 108 .device = 11, 113 .device = 15, [all …]
|
| /u-boot/doc/driver-model/ |
| A D | fdt-fixup.rst | 4 Pre-relocation device tree manipulation 19 addition of the daughter board to the device realizes the "extension" of 20 functionality to the device described previously. 28 device tree overlay mechanism: There exists one "base" device tree, which 42 device tree starts cropping up in U-Boot itself as well. 72 be used to manipulate the device tree using e.g. functions from 86 | WARNING: The actual manipulation of the device tree has | 89 | changes made to the device tree either, its references | 90 | into the device tree will be invalid after manipulating | 103 * Collect information about device's hardware and store [all …]
|
| A D | pci-info.rst | 11 Bus number 0 will need to be requested first, and the alias in the device 12 tree file will point to the correct device:: 24 If there is no alias the devices will be numbered sequentially in the device 32 After probing a bus, the available devices will appear in the device tree 38 PCI devices can appear in the flattened device tree. If they do, their node 40 PCI class of the device. Each PCI device node must have a <reg> property, as 100 device are on the PCI bus. Like other devices in the device tree, if we want 105 to specify the driver to use for the device. The device tree takes precedence 115 With sandbox we need a device emulator for each device on the bus since there 137 be scanned as a PCI device, causing confusion. [all …]
|
| A D | usb-info.rst | 93 handles that). Once the device is set up, you can find the device 103 device 'dev' with dev_get_parent_plat(dev). It holds the device 111 device address to use. 165 device's descriptor. 169 recipient (device number). 184 device. It does this by examining the device class, interface class, vendor 215 happen if the device is mentioned in the device tree, or if we previously 221 new device. 227 probe the device 390 'usb_mass_storage' device is not in the device tree. This is created by [all …]
|
| /u-boot/fs/btrfs/ |
| A D | volumes.c | 216 device = NULL; in device_list_add() 221 if (!device) { in device_list_add() 222 device = kzalloc(sizeof(*device), GFP_NOFS); in device_list_add() 241 } else if (!device->desc || !device->part) { in device_list_add() 284 free(device); in btrfs_close_devices() 321 if (!device->desc || !device->part) { in btrfs_open_devices() 365 if (device) in btrfs_find_device() 377 device = kzalloc(sizeof(*device), GFP_NOFS); in fill_missing_device() 378 return device; in fill_missing_device() 636 device = kzalloc(sizeof(*device), GFP_NOFS); in read_one_dev() [all …]
|
| /u-boot/doc/usage/ |
| A D | partitions.rst | 21 The interface used to access the partition's device, like ``mmc`` or 26 The device number. This defaults to 0. 31 device. On eMMC devices, hardware partition 0 is the user partition, 38 that the whole device is to be used as one "partition." 47 A device type like ``mmcsd`` or ``hd``. See the 52 The device number as an offset from ``a``. For example, device 53 number 2 would have a device letter of ``c``. 60 device is used as one "partition." If none of ``devnum``, ``hwpartnum``, 67 List the root directory contents on MMC device 2, hardware partition 1, 72 Load ``/kernel.itb`` to address ``0x80000000`` from SCSI device 0, hardware partition [all …]
|
| /u-boot/doc/device-tree-bindings/w1/ |
| A D | w1-gpio.txt | 1 W1 gpio device binding - one wire protocol over bitbanged gpio 5 Child nodes are required in device tree. The driver will detect 6 the devices serial number and then search in the child nodes in the device tree 7 for the proper node and try to match it with the device. 9 Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers 14 Software w1 device-tree node properties:
|
| /u-boot/lib/acpi/ |
| A D | acpi_table.c | 275 struct acpi_dbg2_device *device; in acpi_create_dbg2() local 297 device = (struct acpi_dbg2_device *)current; in acpi_create_dbg2() 301 device->revision = 0; in acpi_create_dbg2() 302 device->address_count = 1; in acpi_create_dbg2() 303 device->port_type = port_type; in acpi_create_dbg2() 304 device->port_subtype = port_subtype; in acpi_create_dbg2() 308 device->base_address_offset = current - (uintptr_t)device; in acpi_create_dbg2() 313 device->address_size_offset = current - (uintptr_t)device; in acpi_create_dbg2() 322 device->namespace_string_length = path_len; in acpi_create_dbg2() 323 device->namespace_string_offset = current - (uintptr_t)device; in acpi_create_dbg2() [all …]
|
| /u-boot/doc/device-tree-bindings/ |
| A D | chosen.txt | 3 The chosen node does not represent a real device, but serves as a place 4 for passing data like which serial device to used to print the logs etc 9 Device trees may specify the device to be used for boot console output 29 since device tree has all the timer nodes. Specify which timer to be 45 u-boot,bootcount-device property 50 device) managed by a device conforming to UCLASS_BOOTCOUNT. If 52 u-boot,bootcount-device property can select the preferred target. 58 u-boot,bootcount-device = &bootcount-rv3029; 80 device may be probed by reading the image and verifying an image 90 boot-order to direct U-Boot to insert the device the SPL was booted [all …]
|
| /u-boot/doc/device-tree-bindings/w1-eeprom/ |
| A D | ds2502.txt | 1 Maxim DS2502 driver device binding - one wire protocol add only memory from Maxim 5 The bus will read the device serial number and match this node with a found 6 device on the bus 7 Also check doc/device-tree-bindings/w1 for onewire bus drivers 12 Ds2502 device-tree node properties:
|
| A D | eep_sandbox.txt | 1 Onewire EEPROM sandbox driver device binding - one wire protocol sandbox EEPROM 5 The bus will read the device serial number and match this node with a found 6 device on the bus 7 Also check doc/device-tree-bindings/w1 for onewire bus drivers 12 Software ds24xxx device-tree node properties:
|
| A D | ds24xxx.txt | 1 Maxim DS24 families driver device binding - one wire protocol EEPROMS from Maxim 5 The bus will read the device serial number and match this node with a found 6 device on the bus 7 Also check doc/device-tree-bindings/w1 for onewire bus drivers 12 Software ds24xxx device-tree node properties:
|
| /u-boot/doc/device-tree-bindings/net/ |
| A D | mdio.txt | 6 - device-name - If present it is used to name the device and MDIO bus. 9 A list of child nodes, one per device on the bus is expected. These could be 11 binding for the device type. 15 RDB board. Note that this MDIO device is an integrated PCI function and 26 device-name = "emdio";
|
| /u-boot/arch/powerpc/cpu/mpc85xx/ |
| A D | fsl_corenet_serdes.c | 145 return (1 << device) & serdes_prtcl_map; in is_serdes_configured() 153 if (serdes_get_prtcl(prtcl, i) == device) in __serdes_get_first_lane() 180 return __serdes_get_first_lane(prtcl, device); in serdes_get_first_lane() 208 if (serdes_get_prtcl(prtcl, lane) != device) in __serdes_get_lane_count() 217 enum srds_prtcl device) in __serdes_reset_rx() argument 245 void serdes_reset_rx(enum srds_prtcl device) in serdes_reset_rx() argument 251 if (unlikely(device == NONE)) in serdes_reset_rx() 263 __serdes_reset_rx(regs, prtcl, device); in serdes_reset_rx() 424 enum srds_prtcl device; in p4080_erratum_serdes_a005() local 452 for (device = XAUI_FM1; device <= XAUI_FM2; device++) { in p4080_erratum_serdes_a005() [all …]
|
| /u-boot/doc/device-tree-bindings/i2c/ |
| A D | generic-acpi.txt | 1 I2C generic device 4 This is used only to generate ACPI tables for an I2C device. 10 - acpi,hid : HID name for the device 12 Optional properies in addition to device.txt: 14 - reset-gpios : GPIO used to assert reset to the device 16 - stop-gpios : GPIO used to stop the device 17 - interrupts-extended : Interrupt to use for the device
|