/openbmc/linux/tools/usb/usbip/doc/ |
H A D | usbip.8 | 3 usbip \- manage USB/IP devices 9 On a USB/IP server, devices can be listed, bound, and unbound using 10 this program. On a USB/IP client, devices exported by USB/IP servers 15 \fB\-\-debug\fR 21 \fB\-\-log\fR 27 \fB\-\-tcp-port PORT\fR 29 Connect to PORT on remote host (used for attach and list --remote). 47 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR> 49 Attach a remote USB device. 53 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-device=<\fIdev_id\fR> [all …]
|
/openbmc/linux/tools/usb/usbip/ |
H A D | README | 2 # README for usbip-utils 5 # 2005-2008 Takahiro Hirofuchi 8 USB/IP protocol allows to pass USB device from server to client over the 9 network. Server is a machine which provides (shares) a USB device. Client is 10 a machine which uses USB device provided by server over the network. 11 The USB device may be either physical device connected to a server or 12 software entity created on a server using USB gadget subsystem. 15 - usbip-vhci 16 A client side kernel module which provides a virtual USB Host Controller 17 and allows to import a USB device from a remote machine. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | qcom,pmic-typec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC based USB Type-C block 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Qualcomm PMIC Type-C block 18 - qcom,pm8150b-typec 22 $ref: /schemas/connector/usb-connector.yaml# 26 description: Type-C port and pdphy SPMI register base offsets [all …]
|
H A D | richtek,rt1719.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT1719 sink-only Type-C PD controller 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT1719 is a sink-only USB Type-C controller that complies with the latest 14 USB Type-C and PD standards. It does the USB Type-C detection including attach 15 and orientation. It integrates the physical layer of the USB BMC power 17 support for alternative interfaces of the Type-C specification. [all …]
|
H A D | richtek,rt1711h.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/richtek,rt1711h.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT1711H Type-C Port Switch and Power Delivery controller 10 - Gene Chen <gene_chen@richtek.com> 13 The RT1711H is a USB Type-C controller that complies with the latest 14 USB Type-C and PD standards. It does the USB Type-C detection including attach 15 and orientation. It integrates the physical layer of the USB BMC power 17 support for alternative interfaces of the Type-C specification. [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | dvbsky.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 45 mutex_lock(&d->usb_mutex); in dvbsky_usb_generic_rw() 47 memcpy(state->obuf, wbuf, wlen); in dvbsky_usb_generic_rw() 49 ret = dvb_usbv2_generic_rw_locked(d, state->obuf, wlen, in dvbsky_usb_generic_rw() 50 state->ibuf, rlen); in dvbsky_usb_generic_rw() 53 memcpy(rbuf, state->ibuf, rlen); in dvbsky_usb_generic_rw() 55 mutex_unlock(&d->usb_mutex); in dvbsky_usb_generic_rw() 66 mutex_lock(&d->usb_mutex); in dvbsky_stream_ctrl() 67 memcpy(state->obuf, obuf_pre, 3); in dvbsky_stream_ctrl() 68 ret = dvb_usbv2_generic_write_locked(d, state->obuf, 3); in dvbsky_stream_ctrl() [all …]
|
H A D | anysee.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DVB USB Linux driver for Anysee E30 DVB-C & DVB-T USB2.0 receiver 8 * - add smart card reader support for Conditional Access (CA) 22 #include "dvb-pll.h" 42 mutex_lock(&d->usb_mutex); in anysee_ctrl_msg() 44 memcpy(&state->buf[0], sbuf, slen); in anysee_ctrl_msg() 45 state->buf[60] = state->seq++; in anysee_ctrl_msg() 47 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, slen, state->buf); in anysee_ctrl_msg() 51 ret = dvb_usbv2_generic_rw_locked(d, state->buf, sizeof(state->buf), in anysee_ctrl_msg() 52 state->buf, sizeof(state->buf)); in anysee_ctrl_msg() [all …]
|
H A D | dvb_usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * DVB USB framework 5 * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de> 12 #include <linux/usb/input.h> 14 #include <media/rc-core.h> 15 #include <media/media-device.h> 21 #include <media/dvb-usb-ids.h> 24 * device file: /dev/dvb/adapter[0-1]/frontend[0-2] 26 * |-- device 27 * | |-- adapter0 [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | usb.rst | 1 USB emulation 2 ------------- 4 QEMU can emulate a PCI UHCI, OHCI, EHCI or XHCI USB controller. You can 5 plug virtual USB devices or real host USB devices (only works with 7 connect virtual USB hubs as necessary to connect multiple USB devices. 9 USB controllers 16 more virtualization-friendly when compared to EHCI and UHCI, thus XHCI 21 |qemu_system| -device qemu-xhci 23 XHCI supports USB 1.1, USB 2.0 and USB 3.0 devices, so this is the 24 only controller you need. With only a single USB controller (and [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | serial.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Serial Converter stuff 5 * Copyright (C) 1999 - 2012 6 * Greg Kroah-Hartman (greg@kroah.com) 20 /* USB serial flags */ 59 * @flags: usb serial port flags 63 * This structure is used by the usb-serial core and drivers for the specific 114 return dev_get_drvdata(&port->dev); in usb_get_serial_port_data() 120 dev_set_drvdata(&port->dev, data); in usb_set_serial_port_data() 124 * usb_serial - structure used by the usb-serial core for a device [all …]
|
/openbmc/linux/drivers/usb/misc/sisusbvga/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" 7 Say Y here if you intend to attach a USB2VGA dongle based on a 10 Note that this device requires a USB 2.0 host controller. It will not 11 work with USB 1.x controllers.
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | ttusb2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* DVB USB compliant linux driver for Technotrend DVB USB boxes and clones 3 * (e.g. Pinnacle 400e DVB-S USB2.0). 10 * 0x08 - LNBP21PD - LNB power supply 11 * 0x0e - TDA10086 - Demodulator 12 * 0x50 - FX2 eeprom 13 * 0x60 - TDA8263 - Tuner 18 * Copyright (C) 2005-6 Patrick Boettcher <pb@linuxtv.org> 20 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 23 #include "dvb-usb.h" [all …]
|
H A D | dvb-usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* dvb-usb.h is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 5 * see dvb-usb-init.c for copyright information. 7 * the headerfile, all dvb-usb-drivers have to include. 9 * TODO: clean-up the structures for unused fields and update the comments 15 #include <linux/usb.h> 18 #include <media/rc-core.h> 25 #include "dvb-pll.h" 27 #include <media/dvb-usb-ids.h> [all …]
|
/openbmc/linux/tools/usb/usbip/src/ |
H A D | usbip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * 2005-2007 Takahiro Hirofuchi 26 "usbip [--debug] [--log] [--tcp-port PORT] [version]\n" 55 .name = "attach", 57 .help = "Attach a remote USB device", 63 .help = "Detach a remote USB device", 69 .help = "List exportable or local USB devices", 87 .help = "Show imported USB devices", 105 ret = -1; in usbip_help() 110 for (cmd = cmds; cmd->name != NULL; cmd++) in usbip_help() [all …]
|
/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | Kconfig | 8 Say Y here if you intend to attach an Aviator/Raytheon PCMCIA 9 (PC-card) wireless Ethernet networking card to your computer. 28 tristate "Wireless RNDIS USB support" 29 depends on USB 37 These are USB based adapters found in devices such as: 39 Buffalo WLI-U2-KG125S 49 BUFFALO WLI-USB-G54
|
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/ |
H A D | usb_manager_main.cpp | 4 #include <phosphor-logging/lg2.hpp> 13 CLI::App app{"Update the firmware of OpenBMC via USB app"}; in main() 14 app.add_option("-d,--device", deviceName, in main() 15 "Get the name of the USB device name, eg: sda1, sdb1"); in main() 19 // NOLINTNEXTLINE(clang-analyzer-core.uninitialized.UndefReturn) in main() 23 return -1; in main() 27 fs::path usbPath = fs::path{"/run/media/usb"} / deviceName; in main() 32 phosphor::usb::USBManager manager(ctx, devicePath, usbPath); in main() 43 phosphor::usb::USBManager manager(bus, event, devicePath, usbPath); in main() 45 // Attach the bus to sd_event to service user requests in main()
|
/openbmc/linux/drivers/power/supply/ |
H A D | mt6370-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/devm-helpers.h> 100 int attach; member 184 ret = regmap_field_read(priv->rmap_fields[fd], ®_val); in mt6370_chg_field_get() 210 val = r->max_sel; in mt6370_chg_field_set() 216 return regmap_field_write(priv->rmap_fields[fd], val); in mt6370_chg_field_set() 238 struct mt6370_priv *priv = rcfg->driver_data; in mt6370_chg_otg_of_parse_cb() 240 rcfg->ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(of), in mt6370_chg_otg_of_parse_cb() 243 rdesc->name); in mt6370_chg_otg_of_parse_cb() 244 if (IS_ERR(rcfg->ena_gpiod)) { in mt6370_chg_otg_of_parse_cb() [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | qcom_eud.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. 17 #include <linux/usb/role.h> 46 writel(EUD_ENABLE, priv->base + EUD_REG_CSR_EUD_EN); in enable_eud() 48 priv->base + EUD_REG_INT1_EN_MASK); in enable_eud() 49 writel(1, priv->mode_mgr + EUD_REG_EUD_EN2); in enable_eud() 51 return usb_role_switch_set_role(priv->role_sw, USB_ROLE_DEVICE); in enable_eud() 56 writel(0, priv->base + EUD_REG_CSR_EUD_EN); in disable_eud() 57 writel(0, priv->mode_mgr + EUD_REG_EUD_EN2); in disable_eud() 65 return sysfs_emit(buf, "%d\n", chip->enabled); in enable_show() [all …]
|
H A D | onboard_usb_hub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for onboard USB hubs 23 #include <linux/usb.h> 24 #include <linux/usb/hcd.h> 25 #include <linux/usb/onboard_hub.h> 69 err = regulator_bulk_enable(hub->pdata->num_supplies, hub->supplies); in onboard_hub_power_on() 71 dev_err(hub->dev, "failed to enable supplies: %d\n", err); in onboard_hub_power_on() 75 fsleep(hub->pdata->reset_us); in onboard_hub_power_on() 76 gpiod_set_value_cansleep(hub->reset_gpio, 0); in onboard_hub_power_on() 78 hub->is_powered_on = true; in onboard_hub_power_on() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ssb-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Broadcom USB-core driver (SSB bus glue) 6 * Copyright 2011-2012 Hauke Mehrtens <hauke@hauke-m.de> 8 * Based on ssb-ohci driver 11 * Derived from the OHCI-PCI driver 13 * Copyright 2000-2002 David Brownell 17 * Derived from the USBcore related parts of Broadcom-SB 18 * Copyright 2005-2011 Broadcom Corporation 25 #include <linux/usb/ehci_pdriver.h> 26 #include <linux/usb/ohci_pdriver.h> [all …]
|
/openbmc/linux/tools/usb/usbip/vudc/ |
H A D | vudc_server_example.sh | 8 # binary, for any purpose, commercial or non-commercial, and by any 35 set -e 38 # Create your USB gadget 49 # Create a new USB gadget 53 # This gadget contains one function - ACM (serial port over USB) 59 ln -s ${FUNC_DIR} configs/c.1 66 # Load vudc-module if vudc is not available 69 [[ -d /sys/class/udc/usbip-vudc.0 ]] || modprobe usbip-vudc num=1 76 echo "usbip-vudc.0" > UDC 79 # Let's now run our usbip daemon in a USB device mode [all …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | orangepi.rst | 1 Orange Pi PC (``orangepi-pc``) 5 based embedded computer with mainline support in both U-Boot 6 and Linux. The board comes with a Quad Core Cortex-A7 @ 1.3GHz, 7 1GiB RAM, 100Mbit ethernet, USB, SD/MMC, USB, HDMI and 15 * SMP (Quad Core Cortex-A7) 20 * Timer device (re-used from Allwinner A10) 24 * USB 2.0 interfaces 36 - Graphical output via HDMI, GPU and/or the Display Engine 37 - Audio output 38 - Hardware Watchdog [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-max3355.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Maxim Integrated MAX3355 USB OTG chip extcon driver 5 * Copyright (C) 2014-2015 Cogent Embedded, Inc. 9 #include <linux/extcon-provider.h> 31 int id = gpiod_get_value_cansleep(data->id_gpiod); in max3355_id_irq() 35 * ID = 1 means USB HOST cable detached. in max3355_id_irq() 36 * As we don't have event for USB peripheral cable attached, in max3355_id_irq() 37 * we simulate USB peripheral attach here. in max3355_id_irq() 39 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, false); in max3355_id_irq() 40 extcon_set_state_sync(data->edev, EXTCON_USB, true); in max3355_id_irq() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | empeg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Empeg empeg-car player driver 8 * Copyright (C) 1999 - 2001 9 * Greg Kroah-Hartman (greg@kroah.com) 11 * See Documentation/usb/usb-serial.rst for more information on using this 24 #include <linux/usb.h> 25 #include <linux/usb/serial.h> 27 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Gary Brubaker <xavyer@ix.netcom.com>" 28 #define DRIVER_DESC "USB Empeg Mark I/II Driver" 33 /* function prototypes for an empeg-car player */ [all …]
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-dvb.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // (c) 2008-2011 Mauro Carvalho Chehab <mchehab@kernel.org> 8 // - Fixes for the driver to properly work with HVR-950 9 // - Fixes for the driver to properly work with Pinnacle PCTV HD Pro Stick 10 // - Fixes for the driver to properly work with AMD ATI TV Wonder HD 600 16 // Based on cx88-dvb, saa7134-dvb and videobuf-dvb originally written by: 24 #include <linux/usb.h> 26 #include <media/v4l2-common.h> 31 #include "tuner-simple.h" 65 MODULE_DESCRIPTION(DRIVER_DESC " - digital TV interface"); [all …]
|