Home
last modified time | relevance | path

Searched full:cable (Results 1 – 25 of 786) sorted by relevance

12345678910>>...32

/OK3568_Linux_fs/kernel/sound/drivers/
H A Daloop.c78 * call in cable->lock
82 * call in cable->lock
94 * call in cable->lock
96 unsigned int (*pos_update)(struct loopback_cable *cable);
145 struct loopback_cable *cable; member
226 /* call in cable->lock */
247 /* call in cable->lock */
250 struct loopback_cable *cable = dpcm->cable; in loopback_snd_timer_start() local
256 err = snd_timer_start(cable->snd_timer.instance, 1); in loopback_snd_timer_start()
260 * of the same cable in loopback_snd_timer_start()
[all …]
/OK3568_Linux_fs/kernel/drivers/extcon/
H A Dextcon-max77693.c80 * Use delayed workqueue to detect cable state and then
81 * notify cable state to notifiee/platform through uevent.
83 * driver should notify cable state to upper layer.
247 * max77693_muic_set_path - Set hardware line according to attached cable
249 * @value: the path according to attached cable
250 * @attached: the state of cable (true:attached, false:detached)
254 * attached cable.
296 * max77693_muic_get_cable_type - Return cable type and check cable state
298 * @group: the path according to attached cable
299 * @attached: store cable state and return
[all …]
H A Dextcon-max8997.c49 /* Define supported cable type */
123 * Use delayed workqueue to detect cable state and then
124 * notify cable state to notifiee/platform through uevent.
126 * driver should notify cable state to upper layer.
185 * max8997_muic_set_path - Set hardware line according to attached cable
187 * @value: the path according to attached cable
188 * @attached: the state of cable (true:attached, false:detached)
192 * attached cable.
233 * max8997_muic_get_cable_type - Return cable type and check cable state
235 * @group: the path according to attached cable
[all …]
H A Dextcon.c209 * @cable_index: the index of this cable in the edev
210 * @attr_g: the attribute group for the cable
265 /* Find the the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
318 struct extcon_cable *cable; in is_extcon_property_capability() local
326 cable = &edev->cables[index]; in is_extcon_property_capability()
330 ret = test_bit(prop - EXTCON_PROP_USB_MIN, cable->usb_bits); in is_extcon_property_capability()
333 ret = test_bit(prop - EXTCON_PROP_CHG_MIN, cable->chg_bits); in is_extcon_property_capability()
336 ret = test_bit(prop - EXTCON_PROP_JACK_MIN, cable->jack_bits); in is_extcon_property_capability()
339 ret = test_bit(prop - EXTCON_PROP_DISP_MIN, cable->disp_bits); in is_extcon_property_capability()
351 struct extcon_cable *cable = &edev->cables[index]; in init_property() local
[all …]
H A Dextcon-max14577.c85 * Use delayed workqueue to detect cable state and then
86 * notify cable state to notifiee/platform through uevent.
88 * driver should notify cable state to upper layer.
185 * max14577_muic_set_path - Set hardware line according to attached cable
187 * @value: the path according to attached cable
188 * @attached: the state of cable (true:attached, false:detached)
192 * attached cable.
243 * max14577_muic_get_cable_type - Return cable type and check cable state
245 * @group: the path according to attached cable
246 * @attached: store cable state and return
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dcharger-manager.txt11 - subnode <cable> :
12 - cm-cable-name : name of charger cable - one of USB, USB-HOST,
15 - cm-cable-extcon : name of extcon dev
16 (optional) - cm-cable-min : minimum current of cable
17 (optional) - cm-cable-max : maximum current of cable
77 cable@0 {
78 cm-cable-name = "USB";
79 cm-cable-extcon = "extcon-dev.0";
80 cm-cable-min = <475000>;
81 cm-cable-max = <500000>;
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dotg.c31 struct ci_hdrc_cable *cable; in hw_read_otgsc() local
38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc()
39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
40 if (cable->changed) in hw_read_otgsc()
45 if (cable->connected) in hw_read_otgsc()
50 if (cable->enabled) in hw_read_otgsc()
56 cable = &ci->platdata->id_extcon; in hw_read_otgsc()
57 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc()
58 if (cable->changed) in hw_read_otgsc()
63 if (cable->connected) in hw_read_otgsc()
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-typec115 What: /sys/class/typec/<port>-{partner|cable}/usb_power_delivery_revision
120 specification of the port partner or cable, or 0.0 when USB
215 USB Type-C cable devices (eg. /sys/class/typec/port0-cable/)
217 Note: Electronically Marked Cables will have a device also for one cable plug
218 (eg. /sys/class/typec/port0-plug0). If the cable is active and has also SOP
223 What: /sys/class/typec/<port>-cable/type
228 cable if it is known. If the product type of the cable is not
231 When the cable product type is detected, uvevent is also raised
232 with PRODUCT_TYPE showing the product type of the cable.
238 active Active Cable
[all …]
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
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dcharger-manager.c448 * duration exceed 'discharging _max_duration_ms', charger cable is
909 * of charger cable
915 struct charger_cable *cable = in charger_extcon_work() local
919 if (cable->attached && cable->min_uA != 0 && cable->max_uA != 0) { in charger_extcon_work()
920 ret = regulator_set_current_limit(cable->charger->consumer, in charger_extcon_work()
921 cable->min_uA, cable->max_uA); in charger_extcon_work()
924 cable->charger->regulator_name, cable->name); in charger_extcon_work()
929 cable->charger->regulator_name, in charger_extcon_work()
930 cable->min_uA, cable->max_uA); in charger_extcon_work()
938 * charger_extcon_notifier - receive the state of charger cable
[all …]
H A Daxp288_charger.c125 struct extcon_dev *cable; member
130 /* SDP/CDP/DCP USB charging cable notifications */
135 } cable; member
569 * an OTG host cable is inserted and the ID pin on the micro-B receptacle is
572 * OTG host cable is removed. The Type-C connector has no ID pin, there is
601 container_of(work, struct axp288_chrg_info, cable.work); in axp288_charger_extcon_evt_worker()
603 struct extcon_dev *edev = info->cable.edev; in axp288_charger_extcon_evt_worker()
620 /* Determine cable/charger type */ in axp288_charger_extcon_evt_worker()
654 container_of(nb, struct axp288_chrg_info, cable.nb); in axp288_charger_handle_cable_evt()
655 schedule_work(&info->cable.work); in axp288_charger_handle_cable_evt()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dclass.c125 struct typec_cable *cable = to_typec_cable(dev); in get_pd_identity() local
127 return cable->identity; in get_pd_identity()
345 * If a partner or cable plug executes Enter/Exit Mode command successfully, the
374 * Returns handle to the port that a cable plug or partner with @alt is
913 /* Type-C Cable Plugs */
988 * typec_plug_register_altmode - Register USB Type-C Cable Plug Alternate Mode
989 * @plug: USB Type-C Cable Plug that supports the alternate mode
1008 * typec_register_plug - Register a USB Type-C Cable Plug
1009 * @cable: USB Type-C Cable with the plug
1010 * @desc: Description of the cable plug
[all …]
/OK3568_Linux_fs/kernel/include/linux/power/
H A Dcharger-manager.h43 * @name: the name of the cable connector
46 * charger cable. If charger cable is attached, enable charger.
47 * But if charger cable is detached, disable charger.
49 * (External Connector) when charger cable is attached/detached.
50 * @attached: the state of charger cable.
51 * true: the charger cable is attached
52 * false: the charger cable is detached
66 /* The state of charger cable */
73 * according to a kind of charger cable when cable is attached.
91 * struct charger_cable if only charger cable included
[all …]
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dpd_vdo.h93 * [3] :: (Product | Cable) VDO
109 * <29:27> :: product type (UFP / Cable / VPD)
114 * <15:0> :: USB-IF assigned VID for this cable vendor
127 /* SOP' Product Type (Cable Plug / VPD) */
157 * <31:0> : USB-IF assigned XID for this cable
258 * Cable VDO (for both Passive and Active Cable VDO in PD Rev2.0)
260 * <31:28> :: Cable HW version
261 * <27:24> :: Cable FW version
265 * <16:13> :: cable latency (0001 == <10ns(~1m length))
266 * <12:11> :: cable termination type (11b == both ends active VCONN req)
[all …]
H A Dtypec.h80 * @active_link_training: Active Cable Plug Link Training
111 int typec_cable_set_identity(struct typec_cable *cable);
120 * Description of an Alternate Mode which a connector, cable plug or partner
168 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor
172 * Represents USB Type-C Cable Plug.
179 * struct typec_cable_desc - USB Type-C Cable Descriptor
180 * @type: The plug type from USB PD Cable VDO
181 * @active: Is the cable active or passive
185 * Represents USB Type-C Cable attached to USB Type-C port.
287 void typec_unregister_cable(struct typec_cable *cable);
[all …]
/OK3568_Linux_fs/kernel/include/dt-bindings/usb/
H A Dpd.h102 * <29:27> :: product type (UFP / Cable / VPD)
107 * <15:0> :: USB-IF assigned VID for this cable vendor
120 /* SOP' Product Type (Cable Plug / VPD) */
140 * <31:0> : USB-IF assigned XID for this cable
235 * Cable VDO (for both Passive and Active Cable VDO in PD Rev2.0)
237 * <31:28> :: Cable HW version
238 * <27:24> :: Cable FW version
242 * <16:13> :: cable latency (0001 == <10ns(~1m length))
243 * <12:11> :: cable termination type (11b == both ends active VCONN req)
249 * <4> :: Vbus through cable (0b == no, 1b == yes)
[all …]
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dpd_vdo.h93 * [3] :: (Product | Cable) VDO
109 * <29:27> :: product type (UFP / Cable / VPD)
114 * <15:0> :: USB-IF assigned VID for this cable vendor
127 /* SOP' Product Type (Cable Plug / VPD) */
157 * <31:0> : USB-IF assigned XID for this cable
258 * Cable VDO (for both Passive and Active Cable VDO in PD Rev2.0)
260 * <31:28> :: Cable HW version
261 * <27:24> :: Cable FW version
265 * <16:13> :: cable latency (0001 == <10ns(~1m length))
266 * <12:11> :: cable termination type (11b == both ends active VCONN req)
[all …]
H A Dtypec.h79 * @active_link_training: Active Cable Plug Link Training
110 int typec_cable_set_identity(struct typec_cable *cable);
119 * Description of an Alternate Mode which a connector, cable plug or partner
167 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor
171 * Represents USB Type-C Cable Plug.
178 * struct typec_cable_desc - USB Type-C Cable Descriptor
179 * @type: The plug type from USB PD Cable VDO
180 * @active: Is the cable active or passive
184 * Represents USB Type-C Cable attached to USB Type-C port.
284 void typec_unregister_cable(struct typec_cable *cable);
[all …]
/OK3568_Linux_fs/kernel/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
126 Parallel Transfer Mode 0 Cable
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
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dpl2303.h71 /* Alcatel OT535/735 USB cable */
84 /* Nokia CA-42 Cable */
88 /* CA-42 CLONE Cable www.ca-42.com chipset: Prolific Technology Inc */
99 /* USB GSM cable from Speed Dragon Multimedia, Ltd */
103 /* DATAPILOT Universal-2 Phone Cable */
123 /* Y.C. Cable U.S.A., Inc - USB to RS-232 */
154 /* Sony, USB data cable for CMD-Jxx mobile phones */
158 /* Sanwa KB-USB2 multimeter cable (ID: 11ad:0001) */
/OK3568_Linux_fs/kernel/drivers/media/i2c/jaguar1_drv/
H A Djaguar1_video_eq.c174 int cable = pvin_eq_set->Cable; in video_input_eq_val_set() local
178 // printk("[drv_eq]ch%d >> fmt(%d) cable(%d) stage(%d) input(%d)\n", ch, fmt, cable, stage, input); in video_input_eq_val_set()
181 if( cable == CABLE_A ) in video_input_eq_val_set()
183 else if( cable == CABLE_B ) in video_input_eq_val_set()
185 else if( cable == CABLE_C ) in video_input_eq_val_set()
187 else if( cable == CABLE_D ) in video_input_eq_val_set()
215 int cable = pvin_eq_set->Cable; in video_input_eq_cable_set() local
217 printk("[DRV]video_input_eq_cable_set::ch(%d) cable(%d)\n", ch, cable ); in video_input_eq_cable_set()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A Dh5000.h57 #define H5000_GPIO_COM_RXD (34) /* connected to cradle/cable connector */
58 #define H5000_GPIO_COM_CTS (35) /* connected to cradle/cable connector */
59 #define H5000_GPIO_COM_DCD (36) /* connected to cradle/cable connector */
60 #define H5000_GPIO_COM_DSR (37) /* connected to cradle/cable connector */
61 #define H5000_GPIO_COM_RI (38) /* connected to cradle/cable connector */
62 #define H5000_GPIO_COM_TXD (39) /* connected to cradle/cable connector */
63 #define H5000_GPIO_COM_DTR (40) /* connected to cradle/cable connector */
64 #define H5000_GPIO_COM_RTS (41) /* connected to cradle/cable connector */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_cablemodem.h16 #define SIOCGCMSTATS (SIOCDEVPRIVATE+0) /* get cable modem stats */
18 #define SIOCGCMFREQUENCY (SIOCDEVPRIVATE+2) /* get cable modem frequency */
19 #define SIOCSCMFREQUENCY (SIOCDEVPRIVATE+3) /* set cable modem frequency */
20 #define SIOCGCMPIDS (SIOCDEVPRIVATE+4) /* get cable modem PIDs */
21 #define SIOCSCMPIDS (SIOCDEVPRIVATE+5) /* set cable modem PIDs */

12345678910>>...32