Home
last modified time | relevance | path

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

12345

/linux/sound/drivers/
H A Daloop.c75 * call in cable->lock
79 * call in cable->lock
91 * call in cable->lock
93 unsigned int (*pos_update)(struct loopback_cable *cable);
102 /* in-flight peer stops running outside cable->lock */
146 struct loopback_cable *cable;
214 /* call in cable->lock */ in loopback_jiffies_timer_start()
235 /* call in cable->lock */ in loopback_snd_timer_start()
238 struct loopback_cable *cable = dpcm->cable; in loopback_snd_timer_start()
144 struct loopback_cable *cable; global() member
236 struct loopback_cable *cable = dpcm->cable; loopback_snd_timer_start() local
274 struct loopback_cable *cable = dpcm->cable; loopback_snd_timer_stop() local
304 struct loopback_cable *cable = dpcm->cable; loopback_snd_timer_close_cable() local
337 loopback_check_format(struct loopback_cable * cable,int stream) loopback_check_format() argument
416 struct loopback_cable *cable = dpcm->cable; loopback_trigger() local
473 struct loopback_cable *cable = dpcm->cable; params_change() local
493 struct loopback_cable *cable = dpcm->cable; loopback_prepare() local
656 loopback_jiffies_timer_pos_update(struct loopback_cable * cable) loopback_jiffies_timer_pos_update() argument
737 struct loopback_cable *cable = dpcm->cable; loopback_snd_timer_check_resolution() local
765 loopback_snd_timer_period_elapsed(struct loopback_cable * cable,int event,unsigned long resolution) loopback_snd_timer_period_elapsed() argument
846 struct loopback_cable *cable = timeri->callback_data; loopback_snd_timer_function() local
854 struct loopback_cable *cable; loopback_snd_timer_work() local
878 struct loopback_cable *cable = timeri->callback_data; loopback_snd_timer_event() local
907 struct loopback_cable *cable = dpcm->cable; loopback_snd_timer_dpcm_info() local
968 struct loopback_cable *cable = dpcm->cable; loopback_hw_free() local
987 struct loopback_cable *cable = dpcm->cable; rule_format() local
1002 struct loopback_cable *cable = dpcm->cable; rule_rate() local
1018 struct loopback_cable *cable = dpcm->cable; rule_channels() local
1034 struct loopback_cable *cable = dpcm->cable; rule_period_bytes() local
1051 struct loopback_cable *cable; free_cable() local
1159 struct loopback_cable *cable = dpcm->cable; loopback_snd_timer_open() local
1244 struct loopback_cable *cable = NULL; loopback_open() local
1460 struct loopback_cable *cable; loopback_active_get() local
1709 struct loopback_cable *cable = loopback->cables[sub][num]; print_substream_info() local
[all...]
/linux/drivers/extcon/
H A Dextcon.c323 struct extcon_cable *cable; in is_extcon_property_capability() local
331 cable = &edev->cables[index]; in is_extcon_property_capability()
335 ret = test_bit(prop - EXTCON_PROP_USB_MIN, cable->usb_bits); in is_extcon_property_capability()
338 ret = test_bit(prop - EXTCON_PROP_CHG_MIN, cable->chg_bits); in is_extcon_property_capability()
341 ret = test_bit(prop - EXTCON_PROP_JACK_MIN, cable->jack_bits); in is_extcon_property_capability()
344 ret = test_bit(prop - EXTCON_PROP_DISP_MIN, cable->disp_bits); in is_extcon_property_capability()
356 struct extcon_cable *cable = &edev->cables[index]; in init_property() local
359 memset(cable->usb_propval, 0, sizeof(cable->usb_propval)); in init_property()
361 memset(cable->chg_propval, 0, sizeof(cable->chg_propval)); in init_property()
363 memset(cable->jack_propval, 0, sizeof(cable->jack_propval)); in init_property()
[all …]
H A Dextcon-lc824206xa.c115 unsigned int cable; member
204 data->cable = EXTCON_CHG_USB_SDP; in lc824206xa_charger_detect()
209 data->cable = EXTCON_CHG_USB_SDP; in lc824206xa_charger_detect()
221 data->cable = EXTCON_CHG_USB_CDP; in lc824206xa_charger_detect()
228 data->cable = EXTCON_CHG_USB_DCP; in lc824206xa_charger_detect()
236 data->cable = EXTCON_CHG_USB_DCP; in lc824206xa_charger_detect()
297 data->cable = EXTCON_CHG_USB_ACA; in lc824206xa_work()
302 data->cable = EXTCON_USB_HOST; in lc824206xa_work()
311 data->cable = EXTCON_CHG_USB_FAST; in lc824206xa_work()
319 data->cable = EXTCON_NONE; in lc824206xa_work()
[all …]
H A Dextcon-intel-cht-wc.c270 unsigned int cable, bool state) in cht_wc_extcon_set_state() argument
272 extcon_set_state_sync(ext->edev, cable, state); in cht_wc_extcon_set_state()
273 if (cable == EXTCON_CHG_USB_SDP) in cht_wc_extcon_set_state()
280 unsigned int cable = EXTCON_NONE; in cht_wc_extcon_pwrsrc_event() local
314 cable = ret; in cht_wc_extcon_pwrsrc_event()
321 if (cable != ext->previous_cable) { in cht_wc_extcon_pwrsrc_event()
322 cht_wc_extcon_set_state(ext, cable, true); in cht_wc_extcon_pwrsrc_event()
324 ext->previous_cable = cable; in cht_wc_extcon_pwrsrc_event()
H A DKconfig10 may be used to connect an HDMI cable and a AC adaptor, and to
171 Say Y here to enable SPMI PMIC based USB cable detection
201 Say Y here to enable GPIO based USB cable detection extcon support.
208 Say Y here to enable USB Type C cable detection extcon support when
217 Say Y here to enable support for USB Type C cable detection extcon
226 Say Y here to enable extcon support for USB Type C cable detection
/linux/Documentation/driver-api/usb/
H A Dtypec.rst22 the roles and alternate modes of ports, partners and cable plugs when the port
39 The cable and the two plugs on it may also be optionally presented as their own
40 devices under /sys/class/typec/. The cable attached to the port "port0" port
41 will be named port0-cable and the plug on the SOP Prime end (see USB Power
43 Double Prime end "port0-plug1". The parent of a cable will always be the port,
44 and the parent of the cable plugs will always be the cable.
46 If the port, partner or cable plug supports Alternate Modes, every supported
102 After successful connection of a cable that supports USB Power Delivery
103 Structured VDM "Discover Identity", the port driver needs to register the cable
105 in the cable or not. So a cable capable of SOP Prime communication, but not SOP
[all …]
H A Dusb3-debug-port.rst19 3) have a USB 3.0 super-speed A-to-A debugging cable.
62 the debug host. The cable used to connect these two ports
63 should be a USB 3.0 super-speed A-to-A debugging cable.
126 speed A-to-A debugging cable. You can see /dev/ttyDBC0 created
/linux/Documentation/ABI/testing/
H A Dsysfs-class-extcon35 The /sys/class/extcon/.../state shows and stores the cable
65 interface associated with each cable cannot update
66 multiple cable states of an extcon device simultaneously.
68 What: /sys/class/extcon/.../cable.X/name
72 The /sys/class/extcon/.../cable.X/name shows the name of cable
75 What: /sys/class/extcon/.../cable.X/state
79 The /sys/class/extcon/.../cable.X/state shows and stores the
80 state of cable "X" (integer between 0 and 31) of an extcon
/linux/Documentation/ABI/obsolete/
H A Dsysfs-class-typec4 What: /sys/class/typec/<port|partner|cable>/<dev>/svid
11 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/
20 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description
27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
34 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active
39 for entering/exiting the mode with partners and cable plugs, and
/linux/include/linux/
H A Dextcon-provider.h28 struct extcon_dev *extcon_dev_allocate(const unsigned int *cable);
31 const unsigned int *cable);
81 static inline struct extcon_dev *extcon_dev_allocate(const unsigned int *cable) in extcon_dev_allocate() argument
89 const unsigned int *cable) in devm_extcon_dev_allocate() argument
/linux/drivers/usb/typec/
H A Dclass.c68 struct typec_cable *cable = to_typec_cable(dev); in get_pd_identity() local
70 return cable->identity; in get_pd_identity()
1305 struct typec_plug *typec_register_plug(struct typec_cable *cable, in typec_register_plug() argument
1322 plug->dev.parent = &cable->dev; in typec_register_plug()
1324 dev_set_name(&plug->dev, "%s-%s", dev_name(cable->dev.parent), name); in typec_register_plug()
1328 dev_err(&cable->dev, "failed to register plug (%d)\n", ret); in typec_register_plug()
1363 struct typec_cable *cable = to_typec_cable(dev); in plug_type_show() local
1365 return sprintf(buf, "%s\n", typec_plug_types[cable->type]); in plug_type_show()
1379 struct typec_cable *cable = to_typec_cable(dev); in typec_cable_release() local
1381 kfree(cable); in typec_cable_release()
[all …]
H A DKconfig6 USB Type-C Specification defines a cable and connector for USB where
8 be Type-A plug on one end of the cable and Type-B plug on the other.
11 cable. The Configuration Channel may also be used to detect optional
19 5V, up to 20V, and current up to 5A over the cable. The USB Power
39 consuming power over the cable) or data role (host or device) when
/linux/Documentation/networking/
H A Dplip.rst26 LapLink null-printer cable [can also work in turbo mode, with a PLIP
27 cable]. [The protocol used to pack IP packages, is a simple one
35 The PLIP cable is all that's needed to connect two Linux boxes, and it
72 PLIP driver is signaled whenever data is sent to it via the cable, such that
118 printer "null" cable to transfer data four bits at a time using
129 The cable for the first transfer mode is a standard
130 printer "null" cable which transfers data four bits at a time using
137 A cable that implements this protocol is available commercially as a
138 "Null Printer" or "Turbo Laplink" cable. It can be constructed with
156 If the cable you are using has a metallic shield it should be
[all …]
/linux/drivers/usb/typec/altmodes/
H A Dthunderbolt.c29 struct typec_cable *cable; member
311 if (tbt->cable) in tbt_altmode_remove()
312 typec_cable_put(tbt->cable); in tbt_altmode_remove()
321 if (tbt->cable) in tbt_ready()
325 tbt->cable = typec_cable_get(typec_altmode2port(tbt->alt)); in tbt_ready()
326 if (!tbt->cable) in tbt_ready()
353 if (typec_cable_is_active(tbt->cable)) in tbt_ready()
/linux/drivers/usb/chipidea/
H A Dcore.c620 struct ci_hdrc_cable *cable; in ci_usb_role_switch_set() local
622 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
623 cable->changed = true; in ci_usb_role_switch_set()
624 cable->connected = (role == USB_ROLE_HOST); in ci_usb_role_switch_set()
626 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
627 cable->changed = true; in ci_usb_role_switch_set()
628 cable->connected = (role == USB_ROLE_DEVICE); in ci_usb_role_switch_set()
662 struct ci_hdrc_cable *cable; in ci_get_platdata() local
760 cable = &platdata->vbus_extcon; in ci_get_platdata()
761 cable in ci_get_platdata()
[all...]
/linux/Documentation/spi/
H A Dbutterfly.rst6 a parallel port adapter cable, together with an "AVR Butterfly" to run
10 develop firmware for this, and flash it using this adapter cable.
12 You can make this adapter from an old printer cable and solder things
25 The first cable connections will hook Linux up to one SPI bus, with the
45 (c) cable in the chipselect.
/linux/drivers/ata/
H A Dpata_cs5535.c67 u8 cable; in cs5535_cable_detect() local
70 pci_read_config_byte(pdev, CS5535_CABLE_DETECT, &cable); in cs5535_cable_detect()
71 if (cable & 1) in cs5535_cable_detect()
/linux/Documentation/userspace-api/media/dvb/
H A Dfrontend-property-cable-systems.rst3 .. _frontend-property-cable-systems:
6 Properties used on cable delivery systems
15 The DVB-C Annex-A is the widely used cable standard. Transmission uses
H A Dfe-type-t.rst67 - For ATSC standard (terrestrial) or for DVB-C Annex B (cable) used
70 - ``SYS_ATSC`` (terrestrial) or ``SYS_DVBC_ANNEX_B`` (cable)
/linux/drivers/net/wan/
H A Dwanxl.c110 u32 value = get_status(port)->cable; in wanxl_cable_intr()
112 const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; in wanxl_cable_intr() local
116 cable = "V.35"; in wanxl_cable_intr()
119 cable = "X.21"; in wanxl_cable_intr()
122 cable = "V.24"; in wanxl_cable_intr()
125 cable = "EIA530"; in wanxl_cable_intr()
128 cable = "no"; in wanxl_cable_intr()
131 cable = "invalid"; in wanxl_cable_intr()
165 netdev_info(port->dev, "%s%s module, %s cable%s%s\n", in wanxl_cable_intr()
166 pm, dte, cable, ds in wanxl_cable_intr()
[all...]
/linux/Documentation/networking/devlink/
H A Ddevlink-linecard.rst29 Similar to splitter cable, where the device might have no way
30 of detection of the splitter cable geometry, the device
42 * Setup splitter cable on line card ports
45 cable of a certain type, without the need to
/linux/sound/usb/
H A Dmidi.c137 uint8_t cable; /* cable number << 4 */ member
389 int cable = buffer[i] >> 4; in snd_usbmidi_standard_input() local
391 snd_usbmidi_input_data(ep, cable, &buffer[i + 1], in snd_usbmidi_standard_input()
421 int cable = buffer[i] >> 4; in snd_usbmidi_maudio_broken_running_status_input() local
423 struct usbmidi_in_port *port = &ep->ports[cable]; in snd_usbmidi_maudio_broken_running_status_input()
445 snd_usbmidi_input_data(ep, cable, &buffer[i + 1], in snd_usbmidi_maudio_broken_running_status_input()
605 uint8_t p0 = port->cable; in snd_usbmidi_transmit_byte()
1497 ep->ports[i].cable = i << 4; in snd_usbmidi_out_endpoint_create()
2300 int cable, err; in snd_usbmidi_create_endpoints_midiman() local
2370 for (cable = 0; cable < 0x10; ++cable) { in snd_usbmidi_create_endpoints_midiman()
[all …]
/linux/Documentation/core-api/
H A Ddebugging-via-ohci1394.rst85 for bus resets takes place, you have to establish any FireWire cable
110 2) Establish a working FireWire cable connection:
112 Any FireWire cable, as long at it provides electrically and mechanically
120 on both machines in the kernel log when the cable is plugged in
158 which is connected to the debugged machine over the FireWire cable).
162 With the FireWire cable connected, the OHCI-1394 driver on the debugging
/linux/Documentation/input/devices/
H A Dxpad.rst111 adapter cable to break out the proprietary connector's pins to USB.
114 Such a cable is pretty easy to build. The Controller itself is a USB
119 You just need to solder a USB connector onto the cable and keep the
124 Thanks to the trip splitter found on the cable you don't even need to cut the
125 original one. You can buy an extension cable and cut that instead. That way,
133 Once you have the adapter cable, if needed, and the controller connected
/linux/tools/arch/x86/dell-uart-backlight-emulator/
H A DREADME22 2. A DB9 NULL modem cable.
29 With everything setup and the NULL modem cable connected between

12345