Lines Matching defs:extcon
9 #include <linux/extcon.h>
411 * Mutex protects extcon and interrupt functions from interfering
421 struct extcon_dev *extcon;
1236 if (it6505->extcon && !it6505->lane_swap_disabled) {
1237 err = extcon_get_property(it6505->extcon, EXTCON_DISP_DP,
2707 state = extcon_get_state(it6505->extcon, EXTCON_DISP_DP);
2749 it6505->extcon, EXTCON_DISP_DP,
2763 if (it6505->extcon) {
2765 it6505->extcon, EXTCON_DISP_DP,
2897 if (it6505->extcon) {
3367 struct extcon_dev *extcon;
3383 /* get extcon device from DTS */
3384 extcon = extcon_get_edev_by_phandle(dev, 0);
3385 if (PTR_ERR(extcon) == -EPROBE_DEFER)
3387 if (IS_ERR(extcon)) {
3388 dev_err(dev, "can not get extcon device!");
3389 return PTR_ERR(extcon);
3392 it6505->extcon = extcon;