Lines Matching defs:cable
31 struct ci_hdrc_cable *cable;
38 cable = &ci->platdata->vbus_extcon;
39 if (!IS_ERR(cable->edev) || ci->role_switch) {
40 if (cable->changed)
45 if (cable->connected)
50 if (cable->enabled)
56 cable = &ci->platdata->id_extcon;
57 if (!IS_ERR(cable->edev) || ci->role_switch) {
58 if (cable->changed)
63 if (cable->connected)
68 if (cable->enabled)
85 struct ci_hdrc_cable *cable;
87 cable = &ci->platdata->vbus_extcon;
88 if (!IS_ERR(cable->edev) || ci->role_switch) {
90 cable->changed = false;
94 cable->enabled = true;
97 cable->enabled = false;
101 cable = &ci->platdata->id_extcon;
102 if (!IS_ERR(cable->edev) || ci->role_switch) {
104 cable->changed = false;
108 cable->enabled = true;
111 cable->enabled = false;