Home
last modified time | relevance | path

Searched refs:cable (Results 1 – 25 of 37) sorted by relevance

12

/drivers/usb/chipidea/
Dotg.c33 struct ci_hdrc_cable *cable; in hw_read_otgsc() local
40 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc()
41 if (!IS_ERR(cable->edev)) { in hw_read_otgsc()
42 if (cable->changed) in hw_read_otgsc()
47 if (cable->state) in hw_read_otgsc()
52 if (cable->enabled) in hw_read_otgsc()
58 cable = &ci->platdata->id_extcon; in hw_read_otgsc()
59 if (!IS_ERR(cable->edev)) { in hw_read_otgsc()
60 if (cable->changed) in hw_read_otgsc()
65 if (cable->state) in hw_read_otgsc()
[all …]
Dcore.c610 struct ci_hdrc_cable *cable; in ci_get_platdata() local
708 cable = &platdata->vbus_extcon; in ci_get_platdata()
709 cable->nb.notifier_call = ci_vbus_notifier; in ci_get_platdata()
710 cable->edev = ext_vbus; in ci_get_platdata()
713 ret = extcon_get_cable_state_(cable->edev, EXTCON_USB); in ci_get_platdata()
715 cable->state = true; in ci_get_platdata()
717 cable->state = false; in ci_get_platdata()
720 cable = &platdata->id_extcon; in ci_get_platdata()
721 cable->nb.notifier_call = ci_id_notifier; in ci_get_platdata()
722 cable->edev = ext_id; in ci_get_platdata()
[all …]
/drivers/power/supply/
Daxp288_charger.c156 struct extcon_dev *cable; member
168 } cable; member
577 container_of(work, struct axp288_chrg_info, cable.work); in axp288_charger_extcon_evt_worker()
580 struct extcon_dev *edev = info->cable.edev; in axp288_charger_extcon_evt_worker()
581 bool old_connected = info->cable.connected; in axp288_charger_extcon_evt_worker()
586 info->cable.connected = true; in axp288_charger_extcon_evt_worker()
587 info->cable.chg_type = POWER_SUPPLY_TYPE_USB; in axp288_charger_extcon_evt_worker()
590 info->cable.connected = true; in axp288_charger_extcon_evt_worker()
591 info->cable.chg_type = POWER_SUPPLY_TYPE_USB_CDP; in axp288_charger_extcon_evt_worker()
594 info->cable.connected = true; in axp288_charger_extcon_evt_worker()
[all …]
Dcharger-manager.c1132 struct charger_cable *cable = in charger_extcon_work() local
1136 if (cable->attached && cable->min_uA != 0 && cable->max_uA != 0) { in charger_extcon_work()
1137 ret = regulator_set_current_limit(cable->charger->consumer, in charger_extcon_work()
1138 cable->min_uA, cable->max_uA); in charger_extcon_work()
1141 cable->charger->regulator_name, cable->name); in charger_extcon_work()
1146 cable->charger->regulator_name, in charger_extcon_work()
1147 cable->min_uA, cable->max_uA); in charger_extcon_work()
1150 try_charger_enable(cable->cm, cable->attached); in charger_extcon_work()
1164 struct charger_cable *cable = in charger_extcon_notifier() local
1171 cable->attached = event; in charger_extcon_notifier()
[all …]
/drivers/extcon/
Dextcon.c320 struct extcon_cable *cable; in is_extcon_property_capability() local
328 cable = &edev->cables[index]; in is_extcon_property_capability()
332 ret = test_bit(prop - EXTCON_PROP_USB_MIN, cable->usb_bits); in is_extcon_property_capability()
335 ret = test_bit(prop - EXTCON_PROP_CHG_MIN, cable->chg_bits); in is_extcon_property_capability()
338 ret = test_bit(prop - EXTCON_PROP_JACK_MIN, cable->jack_bits); in is_extcon_property_capability()
341 ret = test_bit(prop - EXTCON_PROP_DISP_MIN, cable->disp_bits); in is_extcon_property_capability()
353 struct extcon_cable *cable = &edev->cables[index]; in init_property() local
356 memset(cable->usb_propval, 0, sizeof(cable->usb_propval)); in init_property()
358 memset(cable->chg_propval, 0, sizeof(cable->chg_propval)); in init_property()
360 memset(cable->jack_propval, 0, sizeof(cable->jack_propval)); in init_property()
[all …]
Dextcon-axp288.c160 static unsigned int cable; in axp288_handle_chrg_det_event() local
195 cable = EXTCON_CHG_USB_SDP; in axp288_handle_chrg_det_event()
201 cable = EXTCON_CHG_USB_CDP; in axp288_handle_chrg_det_event()
206 cable = EXTCON_CHG_USB_DCP; in axp288_handle_chrg_det_event()
229 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()
DKconfig9 may be used to connect an HDMI cable and a AC adaptor, and to
102 Say Y here to enable SPMI PMIC based USB cable detection
132 Say Y here to enable GPIO based USB cable detection extcon support.
/drivers/ata/
Dpata_cs5535.c79 u8 cable; in cs5535_cable_detect() local
82 pci_read_config_byte(pdev, CS5535_CABLE_DETECT, &cable); in cs5535_cable_detect()
83 if (cable & 1) in cs5535_cable_detect()
Dpata_macio.c481 const char* cable = of_get_property(priv->node, "cable-type", in pata_macio_cable_detect() local
486 if (cable && !strncmp(cable, "80-", 3)) { in pata_macio_cable_detect()
/drivers/net/wan/
Dwanxl.c120 u32 value = get_status(port)->cable; in wanxl_cable_intr()
122 const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; in wanxl_cable_intr() local
125 case STATUS_CABLE_V35: cable = "V.35"; break; in wanxl_cable_intr()
126 case STATUS_CABLE_X21: cable = "X.21"; break; in wanxl_cable_intr()
127 case STATUS_CABLE_V24: cable = "V.24"; break; in wanxl_cable_intr()
128 case STATUS_CABLE_EIA530: cable = "EIA530"; break; in wanxl_cable_intr()
129 case STATUS_CABLE_NONE: cable = "no"; break; in wanxl_cable_intr()
130 default: cable = "invalid"; in wanxl_cable_intr()
152 pm, dte, cable, dsr, dcd); in wanxl_cable_intr()
Dwanxl.h141 volatile u32 cable; member
/drivers/usb/gadget/function/
Df_midi.c75 uint8_t cable; member
224 static void f_midi_read_data(struct usb_ep *ep, int cable, in f_midi_read_data() argument
228 struct snd_rawmidi_substream *substream = midi->out_substream[cable]; in f_midi_read_data()
234 if (!test_bit(cable, &midi->out_triggered)) in f_midi_read_data()
247 int cable = buf[i] >> 4; in f_midi_handle_out_data() local
249 f_midi_read_data(ep, cable, &buf[i + 1], length); in f_midi_handle_out_data()
434 uint8_t p[4] = { port->cable << 4, 0, 0, 0 }; in f_midi_transmit_byte()
1318 midi->in_ports_array[i].cable = i; in f_midi_alloc()
/drivers/net/usb/
DKconfig140 CDC-Ethernet specification (including many cable modems).
204 tristate "CDC Ethernet support (smart devices such as cable modems)"
213 CDC Ethernet is an implementation option for DOCSIS cable modems
352 Choose this option if you're using a host-to-host cable,
362 Choose this option if you're using a host-to-host cable based
372 Choose this option if you're using a host-to-host cable
422 Choose this option if you're using a host-to-host cable
430 Choose this option if you're using a host-to-host cable
440 Choose this option if you're using a host-to-host cable
475 Choose this option if you're using a host-to-host cable
/drivers/usb/renesas_usbhs/
Dcommon.c377 int cable; in usbhsc_hotplug() local
392 cable = extcon_get_cable_state_(priv->edev, EXTCON_USB_HOST); in usbhsc_hotplug()
393 if ((cable > 0 && id != USBHS_HOST) || in usbhsc_hotplug()
394 (!cable && id != USBHS_GADGET)) { in usbhsc_hotplug()
/drivers/net/
DKconfig15 telephone line or null modem cable you need say Y here. Connecting
360 cable modem. This is an ISA card which is used by a number of cable
361 TV companies to provide cable modem access. It's a one-way
362 downstream-only cable modem, meaning that your upstream net link is
374 <http://linuxpower.cx/~cable/>
/drivers/net/ethernet/sis/
DKconfig30 your phone line as a network cable.
/drivers/gpu/drm/sti/
DNOTES16 - The HD analog signal is typically driven by a YCbCr cable, supporting up to
/drivers/net/wan/lmc/
Dlmc_media.c542 int cable; in lmc_ssi_init() local
548 cable = (mii17 & LMC_MII17_SSI_CABLE_MASK) >> LMC_MII17_SSI_CABLE_SHIFT; in lmc_ssi_init()
549 sc->ictl.cable_type = cable; in lmc_ssi_init()
/drivers/atm/
Dnicstarmac.copyright7 * interrupts us (except possibly for removal/insertion of the cable?)
DKconfig195 ForeRunner LE155 cards. This driver provides detection of cable~
206 addition to cable removal/reinsertion detection, this driver allows
/drivers/usb/dwc2/
DKconfig51 the role will be determined by the cable that gets plugged-in. This
/drivers/ide/
Dpmac.c919 const char *cable = of_get_property(np, "cable-type", NULL); in pmac_ide_cable_detect() local
924 if (cable && !strncmp(cable, "80-", 3)) { in pmac_ide_cable_detect()
/drivers/net/ethernet/realtek/
DKconfig74 to match the transceiver to the cable characteristics. This is
/drivers/usb/
DKconfig143 Say Y here if you own an USS-720 USB->Parport cable and intend to
/drivers/usb/storage/
DKconfig79 - Planex eXtreme Drive RX-25HU USB-IDE cable (not model RX-25U)

12