Home
last modified time | relevance | path

Searched defs:udev (Results 1 – 25 of 54) sorted by relevance

123

/external/u-boot/drivers/usb/eth/
Dlan7x.c19 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data) in lan7x_write_reg()
40 int lan7x_read_reg(struct usb_device *udev, u32 index, u32 *data) in lan7x_read_reg()
60 static int lan7x_phy_wait_not_busy(struct usb_device *udev) in lan7x_phy_wait_not_busy()
67 int lan7x_mdio_read(struct usb_device *udev, int phy_id, int idx) in lan7x_mdio_read()
92 void lan7x_mdio_write(struct usb_device *udev, int phy_id, int idx, int regval) in lan7x_mdio_write()
119 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_read() local
127 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_write() local
137 static int lan7x_eeprom_confirm_not_busy(struct usb_device *udev) in lan7x_eeprom_confirm_not_busy()
144 static int lan7x_wait_eeprom(struct usb_device *udev) in lan7x_wait_eeprom()
152 static int lan7x_read_eeprom(struct usb_device *udev, in lan7x_read_eeprom()
[all …]
Dlan75xx.c38 static int lan75xx_phy_gig_workaround(struct usb_device *udev, in lan75xx_phy_gig_workaround()
59 static int lan75xx_update_flowcontrol(struct usb_device *udev, in lan75xx_update_flowcontrol()
75 static int lan75xx_set_receive_filter(struct usb_device *udev) in lan75xx_set_receive_filter()
83 static void lan75xx_start_tx_path(struct usb_device *udev) in lan75xx_start_tx_path()
93 static void lan75xx_start_rx_path(struct usb_device *udev) in lan75xx_start_rx_path()
104 static int lan75xx_basic_reset(struct usb_device *udev, in lan75xx_basic_reset()
133 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_write_hwaddr() local
165 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_start() local
242 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_read_rom_hwaddr() local
259 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_probe() local
Dlan78xx.c74 static int lan78xx_read_raw_otp(struct usb_device *udev, u32 offset, in lan78xx_read_raw_otp()
137 static int lan78xx_read_otp(struct usb_device *udev, u32 offset, in lan78xx_read_otp()
162 struct usb_device *udev) in lan78xx_read_otp_mac()
183 static int lan78xx_update_flowcontrol(struct usb_device *udev, in lan78xx_update_flowcontrol()
200 struct usb_device *udev, in lan78xx_read_mac()
247 static int lan78xx_set_receive_filter(struct usb_device *udev) in lan78xx_set_receive_filter()
255 static void lan78xx_start_tx_path(struct usb_device *udev) in lan78xx_start_tx_path()
265 static void lan78xx_start_rx_path(struct usb_device *udev) in lan78xx_start_rx_path()
276 static int lan78xx_basic_reset(struct usb_device *udev, in lan78xx_basic_reset()
305 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_write_hwaddr() local
[all …]
Dmcs7830.c102 static int mcs7830_read_reg(struct usb_device *udev, uint8_t idx, in mcs7830_read_reg()
132 static int mcs7830_write_reg(struct usb_device *udev, uint8_t idx, in mcs7830_write_reg()
161 static int mcs7830_phy_emit_wait(struct usb_device *udev, in mcs7830_phy_emit_wait()
196 static int mcs7830_read_phy(struct usb_device *udev, uint8_t index) in mcs7830_read_phy()
222 static int mcs7830_write_phy(struct usb_device *udev, uint8_t index, in mcs7830_write_phy()
252 static int mcs7830_write_config(struct usb_device *udev, in mcs7830_write_config()
278 static int mcs7830_write_mchash(struct usb_device *udev, in mcs7830_write_mchash()
302 static int mcs7830_set_autoneg(struct usb_device *udev) in mcs7830_set_autoneg()
343 static int mcs7830_get_rev(struct usb_device *udev) in mcs7830_get_rev()
367 static int mcs7830_apply_fixup(struct usb_device *udev) in mcs7830_apply_fixup()
[all …]
Dsmsc95xx.c161 static int smsc95xx_write_reg(struct usb_device *udev, u32 index, u32 data) in smsc95xx_write_reg()
182 static int smsc95xx_read_reg(struct usb_device *udev, u32 index, u32 *data) in smsc95xx_read_reg()
204 static int smsc95xx_phy_wait_not_busy(struct usb_device *udev) in smsc95xx_phy_wait_not_busy()
218 static int smsc95xx_mdio_read(struct usb_device *udev, int phy_id, int idx) in smsc95xx_mdio_read()
242 static void smsc95xx_mdio_write(struct usb_device *udev, int phy_id, int idx, in smsc95xx_mdio_write()
264 static int smsc95xx_eeprom_confirm_not_busy(struct usb_device *udev) in smsc95xx_eeprom_confirm_not_busy()
280 static int smsc95xx_wait_eeprom(struct usb_device *udev) in smsc95xx_wait_eeprom()
299 static int smsc95xx_read_eeprom(struct usb_device *udev, u32 offset, u32 length, in smsc95xx_read_eeprom()
329 static int mii_nway_restart(struct usb_device *udev, struct ueth_data *dev) in mii_nway_restart()
345 static int smsc95xx_phy_initialize(struct usb_device *udev, in smsc95xx_phy_initialize()
[all …]
/external/u-boot/drivers/usb/host/
Dxhci.c115 struct xhci_ctrl *xhci_get_ctrl(struct usb_device *udev) in xhci_get_ctrl()
279 static unsigned int xhci_parse_microframe_interval(struct usb_device *udev, in xhci_parse_microframe_interval()
288 static unsigned int xhci_parse_frame_interval(struct usb_device *udev, in xhci_parse_frame_interval()
298 static unsigned int xhci_parse_exponent_interval(struct usb_device *udev, in xhci_parse_exponent_interval()
330 static unsigned int xhci_get_endpoint_interval(struct usb_device *udev, in xhci_get_endpoint_interval()
386 static u32 xhci_get_endpoint_mult(struct usb_device *udev, in xhci_get_endpoint_mult()
397 static u32 xhci_get_endpoint_max_burst(struct usb_device *udev, in xhci_get_endpoint_max_burst()
418 static u32 xhci_get_max_esit_payload(struct usb_device *udev, in xhci_get_max_esit_payload()
449 static int xhci_configure_endpoints(struct usb_device *udev, bool ctx_change) in xhci_configure_endpoints()
489 static int xhci_set_configuration(struct usb_device *udev) in xhci_set_configuration()
[all …]
Dusb-uclass.c33 int submit_int_msg(struct usb_device *udev, unsigned long pipe, void *buffer, in submit_int_msg()
45 int submit_control_msg(struct usb_device *udev, unsigned long pipe, in submit_control_msg()
68 int submit_bulk_msg(struct usb_device *udev, unsigned long pipe, void *buffer, in submit_bulk_msg()
80 struct int_queue *create_int_queue(struct usb_device *udev, in create_int_queue()
94 void *poll_int_queue(struct usb_device *udev, struct int_queue *queue) in poll_int_queue()
105 int destroy_int_queue(struct usb_device *udev, struct int_queue *queue) in destroy_int_queue()
116 int usb_alloc_device(struct usb_device *udev) in usb_alloc_device()
128 int usb_reset_root_port(struct usb_device *udev) in usb_reset_root_port()
139 int usb_update_hub_device(struct usb_device *udev) in usb_update_hub_device()
150 int usb_get_max_xfer_size(struct usb_device *udev, size_t *size) in usb_get_max_xfer_size()
[all …]
Dusb-sandbox.c39 struct usb_device *udev, in sandbox_submit_control()
75 static int sandbox_submit_bulk(struct udevice *bus, struct usb_device *udev, in sandbox_submit_bulk()
100 static int sandbox_submit_int(struct udevice *bus, struct usb_device *udev, in sandbox_submit_int()
118 static int sandbox_alloc_device(struct udevice *dev, struct usb_device *udev) in sandbox_alloc_device()
Dxhci-ring.c358 static void giveback_first_trb(struct usb_device *udev, int ep_index, in giveback_first_trb()
484 static void abort_td(struct usb_device *udev, int ep_index) in abort_td()
516 static void record_transfer_result(struct usb_device *udev, in record_transfer_result()
554 int xhci_bulk_tx(struct usb_device *udev, unsigned long pipe, in xhci_bulk_tx()
746 int xhci_ctrl_tx(struct usb_device *udev, unsigned long pipe, in xhci_ctrl_tx()
Dehci-hcd.c112 static struct ehci_ctrl *ehci_get_ctrl(struct usb_device *udev) in ehci_get_ctrl()
284 static void ehci_update_endpt2_dev_n_port(struct usb_device *udev, in ehci_update_endpt2_dev_n_port()
1550 static int ehci_submit_control_msg(struct udevice *dev, struct usb_device *udev, in ehci_submit_control_msg()
1560 static int ehci_submit_bulk_msg(struct udevice *dev, struct usb_device *udev, in ehci_submit_bulk_msg()
1567 static int ehci_submit_int_msg(struct udevice *dev, struct usb_device *udev, in ehci_submit_int_msg()
1576 struct usb_device *udev, unsigned long pipe, int queuesize, in ehci_create_int_queue()
1584 static void *ehci_poll_int_queue(struct udevice *dev, struct usb_device *udev, in ehci_poll_int_queue()
1591 static int ehci_destroy_int_queue(struct udevice *dev, struct usb_device *udev, in ehci_destroy_int_queue()
/external/u-boot/drivers/usb/emul/
Dusb-emul-uclass.c117 struct usb_dev_platdata *udev = dev_get_parent_platdata(dev); in usb_emul_find_devnum() local
171 struct usb_dev_platdata *udev = dev_get_parent_platdata(dev); in usb_emul_find_for_dev() local
176 int usb_emul_control(struct udevice *emul, struct usb_device *udev, in usb_emul_control()
231 int usb_emul_bulk(struct udevice *emul, struct usb_device *udev, in usb_emul_bulk()
247 int usb_emul_int(struct udevice *emul, struct usb_device *udev, in usb_emul_int()
Dsandbox_keyb.c171 static int sandbox_keyb_control(struct udevice *dev, struct usb_device *udev, in sandbox_keyb_control()
180 static int sandbox_keyb_interrupt(struct udevice *dev, struct usb_device *udev, in sandbox_keyb_interrupt()
/external/u-boot/cmd/
Dusb.c272 struct usb_device *udev; in usb_find_device() local
419 struct usb_device *udev; local
467 struct usb_device *udev; local
612 static void usb_show_info(struct usb_device *udev)
636 struct usb_device *udev = NULL; local
Dnvme.c27 struct udevice *udev; in do_nvme() local
/external/u-boot/drivers/usb/musb-new/
Dmusb_uboot.c306 static int musb_submit_control_msg(struct udevice *dev, struct usb_device *udev, in musb_submit_control_msg()
314 static int musb_submit_bulk_msg(struct udevice *dev, struct usb_device *udev, in musb_submit_bulk_msg()
321 static int musb_submit_int_msg(struct udevice *dev, struct usb_device *udev, in musb_submit_int_msg()
330 struct usb_device *udev, unsigned long pipe, int queuesize, in musb_create_int_queue()
338 static void *musb_poll_int_queue(struct udevice *dev, struct usb_device *udev, in musb_poll_int_queue()
345 static int musb_destroy_int_queue(struct udevice *dev, struct usb_device *udev, in musb_destroy_int_queue()
352 static int musb_reset_root_port(struct udevice *dev, struct usb_device *udev) in musb_reset_root_port()
/external/u-boot/drivers/misc/
Dcros_ec_spi.c21 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_spi_packet()
79 int cros_ec_spi_command(struct udevice *udev, uint8_t cmd, int cmd_version, in cros_ec_spi_command()
Dcros_ec_i2c.c51 static int cros_ec_i2c_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_i2c_packet()
109 static int cros_ec_i2c_command(struct udevice *udev, uint8_t cmd, in cros_ec_i2c_command()
/external/u-boot/drivers/nvme/
Dnvme-uclass.c13 static int nvme_uclass_post_probe(struct udevice *udev) in nvme_uclass_post_probe()
Dnvme.c635 static int nvme_blk_probe(struct udevice *udev) in nvme_blk_probe()
672 static ulong nvme_blk_rw(struct udevice *udev, lbaint_t blknr, in nvme_blk_rw()
733 static ulong nvme_blk_read(struct udevice *udev, lbaint_t blknr, in nvme_blk_read()
739 static ulong nvme_blk_write(struct udevice *udev, lbaint_t blknr, in nvme_blk_write()
758 static int nvme_bind(struct udevice *udev) in nvme_bind()
768 static int nvme_probe(struct udevice *udev) in nvme_probe()
Dnvme_show.c105 int nvme_print_info(struct udevice *udev) in nvme_print_info()
/external/autotest/client/site_tests/graphics_GpuReset/src/
Dgpureset.c110 struct udev *udev; in drm_open_matching() local
160 struct udev* udev; in udev_init() local
/external/libdrm/
Dmeson_options.txt139 'udev', boolean
/external/u-boot/common/
Dusb_storage.c186 static int usb_stor_probe_device(struct usb_device *udev) in usb_stor_probe_device()
941 static void usb_stor_set_max_xfer_blk(struct usb_device *udev, in usb_stor_set_max_xfer_blk()
1136 struct usb_device *udev; in usb_stor_read() local
1218 struct usb_device *udev; in usb_stor_write() local
1506 struct usb_device *udev = dev_get_parent_priv(dev); in usb_mass_storage_probe() local
/external/libusb-compat/examples/
Dtestlibusb.c64 usb_dev_handle *udev; in print_device() local
/external/libmtp/
Dconfigure.ac19 AC_ARG_WITH(udev, optwith

123