extcon 156 arch/arm/mach-omap1/board-nokia770.c .extcon = "tahvo-usb", extcon 1007 drivers/extcon/extcon.c ATTRIBUTE_GROUPS(extcon); extcon 87 drivers/gpu/drm/bridge/sil-sii8620.c struct extcon_dev *extcon; extcon 2137 drivers/gpu/drm/bridge/sil-sii8620.c int state = extcon_get_state(ctx->extcon, EXTCON_DISP_MHL); extcon 2186 drivers/gpu/drm/bridge/sil-sii8620.c ctx->extcon = edev; extcon 2339 drivers/gpu/drm/bridge/sil-sii8620.c if (!ctx->extcon) extcon 2349 drivers/gpu/drm/bridge/sil-sii8620.c if (ctx->extcon) { extcon 2350 drivers/gpu/drm/bridge/sil-sii8620.c extcon_unregister_notifier(ctx->extcon, EXTCON_DISP_MHL, extcon 144 drivers/gpu/drm/rockchip/cdn-dp-core.c struct extcon_dev *edev = port->extcon; extcon 212 drivers/gpu/drm/rockchip/cdn-dp-core.c if (!extcon_get_state(port->extcon, EXTCON_DISP_DP)) extcon 410 drivers/gpu/drm/rockchip/cdn-dp-core.c ret = extcon_get_property(port->extcon, EXTCON_DISP_DP, extcon 1066 drivers/gpu/drm/rockchip/cdn-dp-core.c ret = devm_extcon_register_notifier(dp->dev, port->extcon, extcon 1146 drivers/gpu/drm/rockchip/cdn-dp-core.c struct extcon_dev *extcon; extcon 1159 drivers/gpu/drm/rockchip/cdn-dp-core.c extcon = extcon_get_edev_by_phandle(dev, i); extcon 1162 drivers/gpu/drm/rockchip/cdn-dp-core.c if (PTR_ERR(extcon) == -EPROBE_DEFER || extcon 1166 drivers/gpu/drm/rockchip/cdn-dp-core.c if (IS_ERR(extcon) || IS_ERR(phy)) extcon 1173 drivers/gpu/drm/rockchip/cdn-dp-core.c port->extcon = extcon; extcon 57 drivers/gpu/drm/rockchip/cdn-dp-core.h struct extcon_dev *extcon; extcon 81 drivers/net/phy/vitesse.c int extcon; extcon 83 drivers/net/phy/vitesse.c extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); extcon 85 drivers/net/phy/vitesse.c if (extcon < 0) extcon 86 drivers/net/phy/vitesse.c return extcon; extcon 88 drivers/net/phy/vitesse.c extcon &= ~(MII_VSC8244_EXTCON1_TX_SKEW_MASK | extcon 91 drivers/net/phy/vitesse.c extcon |= (MII_VSC8244_EXTCON1_TX_SKEW | extcon 94 drivers/net/phy/vitesse.c err = phy_write(phydev, MII_VSC8244_EXT_CON1, extcon); extcon 140 drivers/phy/allwinner/phy-sun4i-usb.c struct extcon_dev *extcon; extcon 594 drivers/phy/allwinner/phy-sun4i-usb.c extcon_set_state_sync(data->extcon, EXTCON_USB_HOST, extcon 614 drivers/phy/allwinner/phy-sun4i-usb.c extcon_set_state_sync(data->extcon, EXTCON_USB, vbus_det); extcon 734 drivers/phy/allwinner/phy-sun4i-usb.c data->extcon = devm_extcon_dev_allocate(dev, sun4i_usb_phy0_cable); extcon 735 drivers/phy/allwinner/phy-sun4i-usb.c if (IS_ERR(data->extcon)) { extcon 737 drivers/phy/allwinner/phy-sun4i-usb.c return PTR_ERR(data->extcon); extcon 740 drivers/phy/allwinner/phy-sun4i-usb.c ret = devm_extcon_dev_register(dev, data->extcon); extcon 108 drivers/phy/renesas/phy-rcar-gen3-usb2.c struct extcon_dev *extcon; extcon 136 drivers/phy/renesas/phy-rcar-gen3-usb2.c extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); extcon 137 drivers/phy/renesas/phy-rcar-gen3-usb2.c extcon_set_state_sync(ch->extcon, EXTCON_USB, false); extcon 139 drivers/phy/renesas/phy-rcar-gen3-usb2.c extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); extcon 140 drivers/phy/renesas/phy-rcar-gen3-usb2.c extcon_set_state_sync(ch->extcon, EXTCON_USB, true); extcon 634 drivers/phy/renesas/phy-rcar-gen3-usb2.c channel->extcon = devm_extcon_dev_allocate(dev, extcon 636 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (IS_ERR(channel->extcon)) extcon 637 drivers/phy/renesas/phy-rcar-gen3-usb2.c return PTR_ERR(channel->extcon); extcon 639 drivers/phy/renesas/phy-rcar-gen3-usb2.c ret = devm_extcon_dev_register(dev, channel->extcon); extcon 374 drivers/phy/rockchip/phy-rockchip-typec.c struct extcon_dev *extcon; extcon 808 drivers/phy/rockchip/phy-rockchip-typec.c struct extcon_dev *edev = tcphy->extcon; extcon 1154 drivers/phy/rockchip/phy-rockchip-typec.c tcphy->extcon = extcon_get_edev_by_phandle(dev, 0); extcon 1155 drivers/phy/rockchip/phy-rockchip-typec.c if (IS_ERR(tcphy->extcon)) { extcon 1156 drivers/phy/rockchip/phy-rockchip-typec.c if (PTR_ERR(tcphy->extcon) == -ENODEV) { extcon 1157 drivers/phy/rockchip/phy-rockchip-typec.c tcphy->extcon = NULL; extcon 1159 drivers/phy/rockchip/phy-rockchip-typec.c if (PTR_ERR(tcphy->extcon) != -EPROBE_DEFER) extcon 1161 drivers/phy/rockchip/phy-rockchip-typec.c return PTR_ERR(tcphy->extcon); extcon 336 drivers/usb/gadget/udc/renesas_usb3.c struct extcon_dev *extcon; extcon 444 drivers/usb/gadget/udc/renesas_usb3.c extcon_set_state_sync(usb3->extcon, EXTCON_USB_HOST, usb3->extcon_host); extcon 445 drivers/usb/gadget/udc/renesas_usb3.c extcon_set_state_sync(usb3->extcon, EXTCON_USB, usb3->extcon_usb); extcon 2778 drivers/usb/gadget/udc/renesas_usb3.c usb3->extcon = devm_extcon_dev_allocate(&pdev->dev, renesas_usb3_cable); extcon 2779 drivers/usb/gadget/udc/renesas_usb3.c if (IS_ERR(usb3->extcon)) extcon 2780 drivers/usb/gadget/udc/renesas_usb3.c return PTR_ERR(usb3->extcon); extcon 2782 drivers/usb/gadget/udc/renesas_usb3.c ret = devm_extcon_dev_register(&pdev->dev, usb3->extcon); extcon 85 drivers/usb/musb/sunxi.c struct extcon_dev *extcon; extcon 243 drivers/usb/musb/sunxi.c ret = devm_extcon_register_notifier(glue->dev, glue->extcon, extcon 747 drivers/usb/musb/sunxi.c glue->extcon = extcon_get_edev_by_phandle(&pdev->dev, 0); extcon 748 drivers/usb/musb/sunxi.c if (IS_ERR(glue->extcon)) { extcon 749 drivers/usb/musb/sunxi.c if (PTR_ERR(glue->extcon) == -EPROBE_DEFER) extcon 752 drivers/usb/musb/sunxi.c return PTR_ERR(glue->extcon); extcon 25 drivers/usb/phy/phy-omap-otg.c struct extcon_dev *extcon; extcon 90 drivers/usb/phy/phy-omap-otg.c struct extcon_dev *extcon; extcon 94 drivers/usb/phy/phy-omap-otg.c if (!config || !config->extcon) extcon 97 drivers/usb/phy/phy-omap-otg.c extcon = extcon_get_extcon_dev(config->extcon); extcon 98 drivers/usb/phy/phy-omap-otg.c if (!extcon) extcon 109 drivers/usb/phy/phy-omap-otg.c otg_dev->extcon = extcon; extcon 113 drivers/usb/phy/phy-omap-otg.c ret = devm_extcon_register_notifier(&pdev->dev, extcon, extcon 118 drivers/usb/phy/phy-omap-otg.c ret = devm_extcon_register_notifier(&pdev->dev, extcon, extcon 124 drivers/usb/phy/phy-omap-otg.c otg_dev->id = extcon_get_state(extcon, EXTCON_USB_HOST); extcon 125 drivers/usb/phy/phy-omap-otg.c otg_dev->vbus = extcon_get_state(extcon, EXTCON_USB); extcon 132 drivers/usb/phy/phy-omap-otg.c (rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id, extcon 52 drivers/usb/phy/phy-tahvo.c struct extcon_dev *extcon; extcon 116 drivers/usb/phy/phy-tahvo.c extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); extcon 125 drivers/usb/phy/phy-tahvo.c extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, true); extcon 144 drivers/usb/phy/phy-tahvo.c extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, false); extcon 357 drivers/usb/phy/phy-tahvo.c tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); extcon 358 drivers/usb/phy/phy-tahvo.c if (IS_ERR(tu->extcon)) { extcon 360 drivers/usb/phy/phy-tahvo.c ret = PTR_ERR(tu->extcon); extcon 364 drivers/usb/phy/phy-tahvo.c ret = devm_extcon_dev_register(&pdev->dev, tu->extcon); extcon 372 drivers/usb/phy/phy-tahvo.c extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, extcon 374 drivers/usb/phy/phy-tahvo.c extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); extcon 88 drivers/usb/typec/tcpm/fusb302.c struct extcon_dev *extcon; extcon 443 drivers/usb/typec/tcpm/fusb302.c if (!chip->extcon) extcon 452 drivers/usb/typec/tcpm/fusb302.c if (extcon_get_state(chip->extcon, EXTCON_CHG_USB_SDP) == 1) extcon 455 drivers/usb/typec/tcpm/fusb302.c if (extcon_get_state(chip->extcon, EXTCON_CHG_USB_CDP) == 1 || extcon 456 drivers/usb/typec/tcpm/fusb302.c extcon_get_state(chip->extcon, EXTCON_CHG_USB_ACA) == 1) extcon 459 drivers/usb/typec/tcpm/fusb302.c if (extcon_get_state(chip->extcon, EXTCON_CHG_USB_DCP) == 1) extcon 1714 drivers/usb/typec/tcpm/fusb302.c chip->extcon = extcon_get_extcon_dev(name); extcon 1715 drivers/usb/typec/tcpm/fusb302.c if (!chip->extcon) extcon 26 include/linux/platform_data/usb-omap1.h const char *extcon; /* extcon device for OTG */