/device/soc/rockchip/common/vendor/drivers/power/ |
H A D | rk817_charger.c | 19 #include <linux/extcon.h>
304 bool extcon;
member 1149 if (charge->pdata->extcon) {
in rk817_charge_usb_init() 1153 dev_err(dev, "Invalid or missing extcon\n");
in rk817_charge_usb_init() 1210 DBG("register typec extcon evt notifier\n");
in rk817_charge_usb_init() 1328 pdata->extcon = of_property_read_bool(np, "extcon");
in rk817_charge_parse_dt() 1412 "extcon:%d\n"
in rk817_charge_parse_dt() 1416 pdata->sample_res, pdata->extcon, pdata->virtual_power, pdata->power_dc2otg);
in rk817_charge_parse_dt() 1434 if (charge->pdata->extcon) {
in rk817_charge_irq_delay_work() [all...] |
H A D | rk817_battery.c | 21 #include <linux/extcon.h>
558 bool extcon;
member
|
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/ |
H A D | rk817_charger.c | 19 #include <linux/extcon.h> 284 bool extcon; member 1173 if (charge->pdata->extcon) { in rk817_charge_usb_init() 1177 dev_err(dev, "Invalid or missing extcon\n"); in rk817_charge_usb_init() 1252 DBG("register typec extcon evt notifier\n"); in rk817_charge_usb_init() 1372 pdata->extcon = of_property_read_bool(np, "extcon"); in rk817_charge_parse_dt() 1459 "extcon:%d\n" in rk817_charge_parse_dt() 1464 pdata->sample_res, pdata->extcon, in rk817_charge_parse_dt() 1484 if (charge->pdata->extcon) in rk817_charge_irq_delay_work() [all...] |
H A D | rk817_battery.c | 21 #include <linux/extcon.h> 480 bool extcon; member
|
H A D | bq25700_charger.c | 22 #include <linux/extcon.h> 1835 dev_err(dev, "Invalid or missing extcon dev0\n"); in bq25700_init_usb() 1844 dev_err(dev, "Invalid or missing extcon dev1\n"); in bq25700_init_usb()
|
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp.c | 11 #include <linux/extcon-provider.h>
12 #include <linux/extcon.h>
470 struct extcon_dev *extcon;
member 1938 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false);
in dw_hdmi_connector_force() 1940 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true);
in dw_hdmi_connector_force() 2045 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false);
in dw_hdmi_qp_bridge_atomic_disable() 2070 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true);
in dw_hdmi_qp_bridge_atomic_enable() 2406 hdmi->extcon = devm_extcon_dev_allocate(hdmi->dev, dw_hdmi_cable);
in _dw_hdmi_probe() 2407 if (IS_ERR(hdmi->extcon)) {
in _dw_hdmi_probe() 2408 dev_err(hdmi->dev, "allocate extcon faile in _dw_hdmi_probe() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp.c | 11 #include <linux/extcon-provider.h> 12 #include <linux/extcon.h> 265 struct extcon_dev *extcon; member 1806 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, in dw_hdmi_connector_force() 1809 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, in dw_hdmi_connector_force() 1920 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false); in dw_hdmi_qp_bridge_atomic_disable() 1945 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true); in dw_hdmi_qp_bridge_atomic_enable() 2297 hdmi->extcon = devm_extcon_dev_allocate(hdmi->dev, dw_hdmi_cable); in __dw_hdmi_probe() 2298 if (IS_ERR(hdmi->extcon)) { in __dw_hdmi_probe() 2299 dev_err(hdmi->dev, "allocate extcon faile in __dw_hdmi_probe() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-typec.c | 16 * This driver gets extcon cable state and property, then decides which mode to
42 #include <linux/extcon.h>
414 struct extcon_dev *extcon;
member 1229 struct extcon_dev *edev = tcphy->extcon;
in tcphy_get_mode() 1605 tcphy->extcon = extcon_get_edev_by_phandle(dev, 0);
in rockchip_typec_phy_probe() 1606 if (IS_ERR(tcphy->extcon)) {
in rockchip_typec_phy_probe() 1607 if (PTR_ERR(tcphy->extcon) == -ENODEV) {
in rockchip_typec_phy_probe() 1608 tcphy->extcon = NULL;
in rockchip_typec_phy_probe() 1610 if (PTR_ERR(tcphy->extcon) != -EPROBE_DEFER) {
in rockchip_typec_phy_probe() 1611 dev_err(dev, "Invalid or missing extcon\ in rockchip_typec_phy_probe() [all...] |
H A D | phy-rockchip-usb.c | 12 #include <linux/extcon-provider.h>
413 if (of_property_read_bool(node, "extcon")) {
in rockchip_usb_phy_extcon_register() 417 dev_err(base->dev, "Invalid or missing extcon\n");
in rockchip_usb_phy_extcon_register() 422 /* Initialize extcon device */
in rockchip_usb_phy_extcon_register() 429 dev_err(base->dev, "failed to register extcon device\n");
in rockchip_usb_phy_extcon_register()
|
H A D | phy-rockchip-inno-usb2.c | 11 #include <linux/extcon-provider.h>
291 * @edev_self: represent the source of extcon.
294 * @edev: extcon device for notification registration
486 if (of_property_read_bool(node, "extcon")) {
in rockchip_usb2phy_extcon_register() 490 dev_err(rphy->dev, "Invalid or missing extcon\n");
in rockchip_usb2phy_extcon_register() 495 /* Initialize extcon device */
in rockchip_usb2phy_extcon_register() 503 dev_err(rphy->dev, "failed to register extcon device\n");
in rockchip_usb2phy_extcon_register()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | dw-dp.c | 24 #include <linux/extcon-provider.h> 255 struct extcon_dev *extcon; member 472 extcon_set_state_sync(dp->extcon, EXTCON_DISP_DP, true); in dw_dp_connector_force() 474 extcon_set_state_sync(dp->extcon, EXTCON_DISP_DP, false); in dw_dp_connector_force() 1899 extcon_set_state_sync(dp->extcon, EXTCON_DISP_DP, true); in dw_dp_bridge_detect() 1901 extcon_set_state_sync(dp->extcon, EXTCON_DISP_DP, false); in dw_dp_bridge_detect() 2446 dp->extcon = devm_extcon_dev_allocate(dev, dw_dp_cable); in dw_dp_probe() 2447 if (IS_ERR(dp->extcon)) in dw_dp_probe() 2448 return dev_err_probe(dev, PTR_ERR(dp->extcon), in dw_dp_probe() 2449 "failed to allocate extcon devic in dw_dp_probe() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 12 #include <linux/extcon.h> 13 #include <linux/extcon-provider.h> 499 struct extcon_dev *extcon; member 2905 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true); in dw_hdmi_detect() 2907 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false); in dw_hdmi_detect() 3203 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false); in dw_hdmi_connector_force() 3205 extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true); in dw_hdmi_connector_force() 4710 hdmi->extcon = devm_extcon_dev_allocate(hdmi->dev, dw_hdmi_cable); in dw_hdmi_probe() 4711 if (IS_ERR(hdmi->extcon)) { in dw_hdmi_probe() 4712 ret = PTR_ERR(hdmi->extcon); in dw_hdmi_probe() [all...] |
/device/board/hihope/rk3568/audio_drivers/headset_monitor/src/ |
H A D | analog_headset_gpio.c | 16 #include <linux/extcon-provider.h> 432 AUDIO_DEVICE_LOG_ERR("failed to allocate extcon device."); in CreateAndRegisterEdev()
|
H A D | analog_headset_adc.c | 12 #include <linux/extcon-provider.h> 528 AUDIO_DEVICE_LOG_ERR("failed to allocate extcon device."); in AnalogHeadsetAdcInit()
|