Home
last modified time | relevance | path

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

12345678910>>...53

/u-boot/drivers/usb/gadget/
A Dcore.c163 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 Dep0.c352 (device, port, 0, bNumInterface, in ep0_get_descriptor()
411 struct usb_device_instance *device; in ep0_recv_setup() local
415 if (!urb || !urb->device) { in ep0_recv_setup()
421 device = urb->device; in ep0_recv_setup()
448 switch (device->device_state) { in ep0_recv_setup()
509 return ep0_get_descriptor (device, urb, in ep0_recv_setup()
516 return ep0_get_one (device, urb, in ep0_recv_setup()
517 device->configuration); in ep0_recv_setup()
520 return ep0_get_one (device, urb, device->alternate); in ep0_recv_setup()
586 device->address = address; in ep0_recv_setup()
[all …]
/u-boot/drivers/soc/
A Dsoc_xilinx_zynqmp.c49 u8 device; member
62 .device = 1,
67 .device = 2,
72 .device = 3,
77 .device = 4,
83 .device = 5,
89 .device = 6,
94 .device = 7,
100 .device = 9,
220 if (!device) in soc_xilinx_zynqmp_detect_machine()
[all …]
/u-boot/drivers/block/
A Dide.c220 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in atapi_issue()
234 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in atapi_issue()
245 device, c); in atapi_issue()
455 int device; in atapi_inquiry() local
457 device = desc->devnum; in atapi_inquiry()
543 desc->devnum = device; in ide_ident()
551 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_ident()
653 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_ident()
659 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_ident()
766 ide_outb(device, ATA_DEV_HD, ATA_LBA | ATA_DEVICE(device)); in ide_read()
[all …]
/u-boot/arch/arm/mach-uniphier/boot-device/
A DMakefile3 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 Deth-raw-os.c72 struct sockaddr_ll *device; in _raw_packet_start() local
80 if (priv->device == NULL) in _raw_packet_start()
82 device = priv->device; in _raw_packet_start()
86 device->sll_family = AF_PACKET; in _raw_packet_start()
88 device->sll_halen = htons(6); in _raw_packet_start()
144 struct sockaddr_in *device; in _local_inet_start() local
153 if (priv->device == NULL) in _local_inet_start()
155 device = priv->device; in _local_inet_start()
157 device->sin_family = AF_INET; in _local_inet_start()
287 free(priv->device); in sandbox_eth_raw_os_stop()
[all …]
/u-boot/drivers/video/
A Dsandbox_dsi_host.c19 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 Dorisetech_otm8009a.c83 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 Ddw_mipi_dsi.c221 struct mipi_dsi_device *device; member
281 dev_err(device->dev, in dw_mipi_dsi_host_attach()
283 device->lanes); in dw_mipi_dsi_host_attach()
444 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_video_mode_config() local
523 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_dpi_config() local
526 switch (device->format) { in dw_mipi_dsi_dpi_config()
691 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_dphy_interface_config() local
699 N_LANES(device->lanes)); in dw_mipi_dsi_dphy_interface_config()
746 struct mipi_dsi_device *device = dsi->device; in dw_mipi_dsi_bridge_set() local
749 ret = phy_ops->get_lane_mbps(dsi->device, timings, device->lanes, in dw_mipi_dsi_bridge_set()
[all …]
/u-boot/doc/usage/cmd/
A Dbind.rst17 The bind command is used to bind a device to a driver. This makes the
18 device available in U-Boot.
20 While binding to a *node path* typically provides a working device
21 binding by parent node and driver may lead to a device that is only
25 path of the device's device-tree node
28 device class name
31 index of the parent device in the device class
34 device driver name
39 Given a system with a real time clock device with device path */pl031@9010000*
40 and using driver rtc-pl031 unbinding and binding of the device is demonstrated
[all …]
A Dunbind.rst18 The unbind command is used to unbind a device from a driver. This makes the
19 device unavailable in U-Boot.
22 path of the device's device-tree node
25 device class name
28 index of the device in the device class
31 device driver name
36 Given a system with a real time clock device with device path */pl031@9010000*
37 and using driver rtc-pl031 unbinding and binding of the device is demonstrated
75 Cannot find a device with path /pl031@9010000
A Dhost.rst25 This is used to specify a host device. It can either be a label (a string)
26 or the sequence number of the device. An invalid value causes the command
33 This creates a new host device and binds a file to it.
46 Mark the device as removable
52 This unbinds a host device that was previously bound. The sequence numbers of
65 Allowing selecting a particular device, or (with no arguments) seeing which one
77 Bind a device::
86 Select a device by label or sequence number::
89 Current host device: 1: fat
91 Current host device: 0: test2
[all …]
/u-boot/lib/acpi/
A Dacpi_table.c210 struct acpi_dbg2_device *device; in acpi_create_dbg2() local
232 device = (struct acpi_dbg2_device *)current; in acpi_create_dbg2()
236 device->revision = 0; in acpi_create_dbg2()
237 device->address_count = 1; in acpi_create_dbg2()
238 device->port_type = port_type; in acpi_create_dbg2()
239 device->port_subtype = port_subtype; in acpi_create_dbg2()
243 device->base_address_offset = current - (uintptr_t)device; in acpi_create_dbg2()
248 device->address_size_offset = current - (uintptr_t)device; in acpi_create_dbg2()
257 device->namespace_string_length = path_len; in acpi_create_dbg2()
258 device->namespace_string_offset = current - (uintptr_t)device; in acpi_create_dbg2()
[all …]
/u-boot/doc/develop/driver-model/
A Dvirtio.rst25 device. The memory mapped virtio device behaviour is based on the PCI device
84 -device virtio-net-device,netdev=net0 \
86 -device virtio-blk-device,drive=hd0
109 -device virtio-blk-device,drive=hd0 \
134 virtio device [dev] - show or set current virtio block device
192 | virtio device drivers |
210 device ID is saved in the virtio uclass's private data of the transport device.
227 So the parameter 'vdev' indicates the device should be the real virtio device.
236 Here the parameter 'udev' indicates the device should be the transport device.
248 At present only VirtIO network card (device ID 1) and block device (device
[all …]
A Dfdt-fixup.rst4 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 Dpci-info.rst11 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
138 be scanned as a PCI device, causing confusion.
[all …]
A Dusb-info.rst93 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 Dvolumes.c216 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/arch/sandbox/
A Dblock_impl.rst15 Attaching a file results in it appearing as a block device in sandbox. This
22 The device can then be attached to a file with `host_attach_file()`. This
23 creates the child block device (and bootdev device).
25 The host device's block device must be probed before use, as normal.
27 To destroy a device, call host_destroy_device(). This removes the device (and
28 its children of course), then closes any attached file, then unbinds the device.
/u-boot/doc/usage/
A Dpartitions.rst21 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 Dw1-gpio.txt1 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/doc/device-tree-bindings/
A Dchosen.txt3 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/
A DREADME.power-framework94 - 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/arch/powerpc/cpu/mpc85xx/
A Dfsl_corenet_serdes.c145 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/net/
A Dmdio.txt6 - 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";

Completed in 52 milliseconds

12345678910>>...53