/openbmc/linux/drivers/gpu/drm/bridge/imx/ |
H A D | imx8qxp-ldb.c | 50 struct drm_bridge *companion; member 74 phy_cfg->is_slave = !imx8qxp_ldb->companion; in imx8qxp_ldb_set_phy_cfg() 92 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_atomic_check() local 113 if (is_split && companion) { in imx8qxp_ldb_bridge_atomic_check() 114 ret = companion->funcs->atomic_check(companion, in imx8qxp_ldb_bridge_atomic_check() 134 struct drm_bridge *companion = imx8qxp_ldb->companion; in imx8qxp_ldb_bridge_mode_set() local 155 if (is_split && companion) { in imx8qxp_ldb_bridge_mode_set() 156 companion_ldb_ch = bridge_to_ldb_ch(companion); in imx8qxp_ldb_bridge_mode_set() 202 if (is_split && companion) in imx8qxp_ldb_bridge_mode_set() 203 companion->funcs->mode_set(companion, mode, adjusted_mode); in imx8qxp_ldb_bridge_mode_set() [all …]
|
H A D | imx8qxp-pxl2dpi.c | 39 struct drm_bridge *companion; member 119 if (p2d->companion) { in imx8qxp_pxl2dpi_bridge_mode_set() 120 companion_p2d = bridge_to_p2d(p2d->companion); in imx8qxp_pxl2dpi_bridge_mode_set() 125 p2d->companion->funcs->mode_set(p2d->companion, mode, in imx8qxp_pxl2dpi_bridge_mode_set() 141 if (p2d->companion) in imx8qxp_pxl2dpi_bridge_atomic_disable() 142 p2d->companion->funcs->atomic_disable(p2d->companion, in imx8qxp_pxl2dpi_bridge_atomic_disable() 328 struct device_node *companion; in imx8qxp_pxl2dpi_parse_dt_companion() local 334 /* Locate the companion PXL2DPI for dual-link operation, if any. */ in imx8qxp_pxl2dpi_parse_dt_companion() 335 companion = of_parse_phandle(dev->of_node, "fsl,companion-pxl2dpi", 0); in imx8qxp_pxl2dpi_parse_dt_companion() 336 if (!companion) in imx8qxp_pxl2dpi_parse_dt_companion() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-drivers-ehci_hcd | 1 What: /sys/bus/pci/drivers/ehci_hcd/.../companion 2 /sys/bus/usb/devices/usbN/../companion 9 "companion" full/low-speed USB-1.1 controllers. When a 12 is plugged in, the connection is routed to the companion 17 connection to be routed to the companion controller. 20 companion controller, and writing the negative of a port 26 echo 4 >/sys/bus/usb/devices/usb2/../companion 30 echo -4 >/sys/bus/usb/devices/usb2/../companion 33 to the companion controller.
|
/openbmc/linux/drivers/usb/core/ |
H A D | hcd-pci.c | 26 * Coordinate handoffs between EHCI and companion controllers 42 struct pci_dev *companion, struct usb_hcd *companion_hcd); 48 struct pci_dev *companion; in for_each_companion() local 57 companion = NULL; in for_each_companion() 58 for_each_pci_dev(companion) { in for_each_companion() 59 if (companion->bus != pdev->bus || in for_each_companion() 60 PCI_SLOT(companion->devfn) != slot) in for_each_companion() 64 * Companion device should be either UHCI,OHCI or EHCI host in for_each_companion() 67 if (companion->class != CL_UHCI && companion->class != CL_OHCI && in for_each_companion() 68 companion->class != CL_EHCI) in for_each_companion() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_lvds.c | 79 struct drm_bridge *companion; member 367 /* Enable the companion LVDS encoder in dual-link mode. */ in rcar_lvds_enable() 368 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_enable() 369 rcar_lvds_enable(lvds->companion, state, crtc, connector); in rcar_lvds_enable() 398 * encoder and odd pixels from the companion encoder. in rcar_lvds_enable() 401 * companion encoder. in rcar_lvds_enable() 410 * ST_SWAP is reserved for the companion encoder, only in rcar_lvds_enable() 414 | (lvds->companion && swap_pixels ? in rcar_lvds_enable() 421 * PLL clock configuration on all instances but the companion in in rcar_lvds_enable() 427 if ((lvds->link_type == RCAR_LVDS_SINGLE_LINK || lvds->companion) && in rcar_lvds_enable() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-sysfs.c | 9 /* Display the ports dedicated to the companion controller */ 33 * Dedicate or undedicate a port to the companion controller. 45 new_owner = PORT_OWNER; /* Owned by companion */ in companion_store() 62 static DEVICE_ATTR_RW(companion); 154 /* with integrated TT there is no companion! */ in create_sysfs_files() 169 /* with integrated TT there is no companion! */ in remove_sysfs_files()
|
/openbmc/linux/drivers/clk/ti/ |
H A D | clkt_dflt.c | 30 * CM module register offsets, used for calculating the companion 114 * omap2_clk_dflt_find_companion - find companion clock to @clk 115 * @clk: struct clk * to find the companion clock of 116 * @other_reg: void __iomem ** to return the companion clock CM_*CLKEN va in 117 * @other_bit: u8 ** to return the companion clock bit shift in 126 * Some clocks don't have companion clocks. For example, modules with 127 * only an interface clock (such as MAILBOXES) don't have a companion 129 * in the correct companion register that indicates that the 130 * nonexistent 'companion clock' is active. Future patches will
|
H A D | clk-3xxx.c | 158 * am35xx_clk_find_companion - find companion clock to @clk 159 * @clk: struct clk * to find the companion clock of 160 * @other_reg: void __iomem ** to return the companion clock CM_*CLKEN va in 161 * @other_bit: u8 ** to return the companion clock bit shift in 163 * Some clocks don't have companion clocks. For example, modules with 164 * only an interface clock (such as HECC) don't have a companion 166 * in the correct companion register that indicates that the 167 * nonexistent 'companion clock' is active. Future patches will
|
/openbmc/linux/arch/sh/cchips/ |
H A D | Kconfig | 2 menu "Companion Chips" 13 bool "Hitachi HD64461 companion chip support" 43 via the HD64461 companion chip.
|
/openbmc/linux/drivers/mfd/ |
H A D | 88pm80x.c | 102 * second chip is probed, just point to the companion to each in pm80x_init() 109 chip->companion = g_pm80x_chip->client; in pm80x_init() 110 g_pm80x_chip->companion = chip->client; in pm80x_init() 123 if (g_pm80x_chip->companion) in pm80x_deinit() 124 g_pm80x_chip->companion = NULL; in pm80x_deinit()
|
H A D | 88pm860x-core.c | 470 i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion; in pm860x_irq() 499 i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion; in pm860x_irq_sync_unlock() 571 chip->client : chip->companion; in device_irq_init() 656 chip->client : chip->companion; in pm8606_osc_enable() 697 chip->client : chip->companion; in pm8606_osc_disable() 1068 if (chip->companion) { in pm860x_device_init() 1071 device_8606_init(chip, chip->companion, pdata); in pm860x_device_init() 1074 device_8607_init(chip, chip->companion, pdata); in pm860x_device_init() 1171 * Both client and companion client shares same platform driver. in pm860x_probe() 1173 * pdata->companion_addr is only assigned if companion chip exists. in pm860x_probe() [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | psmouse-smbus.c | 77 "Marking SMBus companion %s as gone\n", in psmouse_smbus_detach_i2c_client() 141 dev_dbg(&rwork->client->dev, "destroying SMBus companion device\n"); in psmouse_smbus_remove_i2c_device() 148 * This schedules removal of SMBus companion device. We have to do 184 "posting removal request for SMBus companion %s\n", in psmouse_smbus_disconnect() 278 /* We have our companion device */ in psmouse_smbus_init() 283 "failed to set up link with iSMBus companion %s\n", in psmouse_smbus_init()
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | renesas,lvds.yaml | 71 renesas,companion: 74 phandle to the companion LVDS encoder. This property is mandatory 76 point to the second encoder to be used as a companion in dual-link mode. 136 renesas,companion: false 185 renesas,companion = <&lvds1>;
|
H A D | fsl,imx8qxp-ldb.yaml | 63 fsl,companion-ldb: 66 A phandle which points to companion LDB which is used in LDB split mode. 126 fsl,companion-ldb: false
|
/openbmc/linux/include/linux/usb/ |
H A D | phy_companion.h | 3 * phy-companion.h -- phy companion to indicate the comparator part of PHY
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | renesas,usb3-peri.yaml | 68 companion: 70 description: phandle of a companion. 131 companion = <&xhci0>;
|
H A D | usb-hcd.yaml | 16 companion: 17 description: Phandle of a companion device
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max14577.yaml | 7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC 16 The Maxim MAX14577 is a MicroUSB and Companion Power Management IC which 19 The Maxim MAX77836 is a MicroUSB and Companion Power Management IC which
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-ehci-pci.c | 30 bool companion; member 192 if (i->companion) { in ehci_data_class_init() 208 .companion = true, 214 .companion = true,
|
H A D | hcd-ehci.c | 701 USBPort *companion = s->companion_ports[port->index]; in ehci_attach() local 702 companion->dev = port->dev; in ehci_attach() 703 companion->ops->attach(companion); in ehci_attach() 722 USBPort *companion = s->companion_ports[port->index]; in ehci_detach() local 723 companion->ops->detach(companion); in ehci_detach() 724 companion->dev = NULL; in ehci_detach() 748 USBPort *companion = s->companion_ports[port->index]; in ehci_child_detach() local 749 companion->ops->child_detach(companion, child); in ehci_child_detach() 763 USBPort *companion = s->companion_ports[port->index]; in ehci_wakeup() local 764 if (companion->ops->wakeup) { in ehci_wakeup() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | nvidia,tegra194-xusb-padctl.yaml | 40 for the USB signal, the VBUS power supply, the USB 2.0 companion port for 397 nvidia,usb2-companion: 430 nvidia,usb2-companion: 463 nvidia,usb2-companion: 496 nvidia,usb2-companion: 615 nvidia,usb2-companion = <1>; 629 nvidia,usb2-companion = <3>;
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3740-0002.dtsi | 149 nvidia,usb2-companion = <2>; 154 nvidia,usb2-companion = <0>; 159 nvidia,usb2-companion = <1>;
|
/openbmc/linux/drivers/usb/common/ |
H A D | common.c | 391 * usb_of_get_companion_dev - Find the companion device 392 * @dev: the device pointer to find a companion 394 * Find the companion device from platform bus. 399 * Return: On success, a pointer to the companion device, %NULL on failure. 406 node = of_parse_phandle(dev->of_node, "companion", 0); in usb_of_get_companion_dev()
|
/openbmc/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8qm-lvds-phy.c | 82 struct mixel_lvds_phy *companion = priv->phys[lvds_phy->id ^ 1]; in mixel_lvds_phy_power_on() local 121 * if the companion PHY is a slave PHY. in mixel_lvds_phy_power_on() 123 if (companion->cfg.is_slave) in mixel_lvds_phy_power_on() 145 struct mixel_lvds_phy *companion = priv->phys[lvds_phy->id ^ 1]; in mixel_lvds_phy_power_off() local 153 if (companion->cfg.is_slave) in mixel_lvds_phy_power_off()
|
/openbmc/linux/drivers/acpi/ |
H A D | bus.c | 673 * @adev: ACPI companion device 677 * the ACPI companion device. This distinction is needed in some cases 678 * where the same companion device is shared between many physical devices. 689 * acpi_companion_match() - Can we match via ACPI companion device 692 * Check if the given device has an ACPI companion and if that companion has 694 * device associated with it. Return the companion pointer if that's the case 697 * If multiple physical devices are attached to a single ACPI companion, we need 700 * companion. A typical case is an MFD device where all the sub-devices share 701 * the parent's ACPI companion. In such cases we can only allow the primary 702 * (first) physical device to be matched with the help of the companion's PNP [all …]
|