Home
last modified time | relevance | path

Searched full:accessory (Results 1 – 25 of 85) sorted by relevance

1234

/OK3568_Linux_fs/kernel/include/uapi/linux/usb/
H A Df_accessory.h21 /* Use Google Vendor ID when in accessory mode */
25 /* Product ID to use when in accessory mode */
28 /* Product ID to use when in accessory mode and adb is enabled */
46 * 1 for original accessory support
64 /* Control request for starting device in accessory mode.
76 * Upon registering, a unique ID is sent by the accessory in the
82 * value: Accessory assigned ID for the HID device
92 * value: Accessory assigned ID for the HID device
106 * value: Accessory assigned ID for the HID device
117 * value: Accessory assigned ID for the HID device
H A Dcharger.h14 * ACA (Accessory Charger Adapters)
/OK3568_Linux_fs/kernel/drivers/extcon/
H A DKconfig28 Say Y here to enable support for external accessory detection
30 advanced audio accessory detection support.
47 FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB
48 port accessory detector and switch. The FSA9480 is fully controlled using
90 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
109 Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
119 Maxim MAX77843. The MAX77843 MUIC is a USB port accessory
127 Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
160 Richtek RT8973A. The RT8973A is a USB port accessory detector
172 Silicon Mitus SM5502. The SM5502 is a USB port accessory
H A Dextcon-max14577.c105 /* Define supported accessory type */
361 /* Check accessory state which is either detached or attached */ in max14577_muic_adc_handler()
408 * This accessory isn't used in general case if it is specially in max14577_muic_adc_handler()
409 * needed to detect additional accessory, should implement in max14577_muic_adc_handler()
410 * proper operation when this accessory is attached/detached. in max14577_muic_adc_handler()
413 "accessory is %s but it isn't used (adc:0x%x)\n", in max14577_muic_adc_handler()
418 "failed to detect %s accessory (adc:0x%x)\n", in max14577_muic_adc_handler()
472 "failed to detect %s accessory (chg_type:0x%x)\n", in max14577_muic_chg_handler()
525 * Handle all of accessory except for in max14577_parse_irq()
526 * type of charger accessory. in max14577_parse_irq()
[all …]
H A Dextcon-max77843.c60 /* Define accessory cable type */
285 /* Check GROUND accessory with charger cable */ in max77843_muic_get_cable_type()
290 * disconnected but the GROUND accessory still in max77843_muic_get_cable_type()
300 * connected on the GROUND accessory. in max77843_muic_get_cable_type()
402 dev_err(info->dev, "failed to detect %s accessory(gnd:0x%x)\n", in max77843_muic_adc_gnd_handler()
519 "accessory is %s but it isn't used (adc:0x%x)\n", in max77843_muic_adc_handler()
524 "failed to detect %s accessory (adc:0x%x)\n", in max77843_muic_adc_handler()
601 /* Charger cable on MHL accessory is attach or detach */ in max77843_muic_chg_handler()
616 "failed to detect %s accessory (chg_type:0x%x)\n", in max77843_muic_chg_handler()
726 dev_err(info->dev, "Cannot detect accessory\n"); in max77843_muic_detect_cable_wq()
[all …]
H A Dextcon-max77693.c146 /* Define supported accessory type */
183 * ADC1K bit is used to separate specific accessory.
660 /* Check accessory state which is either detached or attached */ in max77693_muic_adc_handler()
743 * This accessory isn't used in general case if it is specially in max77693_muic_adc_handler()
744 * needed to detect additional accessory, should implement in max77693_muic_adc_handler()
745 * proper operation when this accessory is attached/detached. in max77693_muic_adc_handler()
748 "accessory is %s but it isn't used (adc:0x%x)\n", in max77693_muic_adc_handler()
753 "failed to detect %s accessory (adc:0x%x)\n", in max77693_muic_adc_handler()
927 "failed to detect %s accessory (chg_type:0x%x)\n", in max77693_muic_chg_handler()
965 * Handle all of accessory except for in max77693_muic_irq_work()
[all …]
H A Dextcon-rt8973a.c106 /* Define supported accessory type */
143 * So, Device type1 is used to separate specific accessory.
360 "Unknown accessory type (adc:0x%x)\n", cable_type); in rt8973a_muic_cable_handler()
398 /* Change the state of external accessory */ in rt8973a_muic_cable_handler()
633 * Detect accessory after completing the initialization of platform in rt8973a_muic_i2c_probe()
H A Dextcon-sm5502.c102 /* Define supported accessory type */
139 * So, Device type1 is used to separate specific accessory.
414 /* Change the state of external accessory */ in sm5502_muic_cable_handler()
628 * Detect accessory after completing the initialization of platform in sm5022_muic_i2c_probe()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec_altmode.h92 * For the muxes there is no difference between Accessory Modes and Alternate
93 * Modes, so the Accessory Modes are supplied with specific modal state values
95 * alternate mode device, the mux for Accessory Modes will be linked with the
99 * value for typec_set_mode() when accessory modes are supported.
108 * state values, just like the Accessory Modes.
114 TYPEC_MODE_AUDIO, /* Audio Accessory */
115 TYPEC_MODE_DEBUG, /* Debug Accessory */
H A Dtypec.h198 * @accessory: Audio, Debug or none.
213 enum typec_accessory accessory; member
250 * @accessory: Supported Accessory Modes
264 enum typec_accessory accessory[TYPEC_MAX_ACCESSORY]; member
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-driver-bd9571mwv-regulator17 the accessory power switch from a power switch to a
19 2. Switch accessory power switch off, to prepare for
23 4. Switch accessory power switch on, to resume the
H A Dsysfs-class-typec100 Space separated list of accessory modes, defined in the USB
150 Shows the Accessory Mode name when the partner is an Accessory.
151 The Accessory Modes are defined in USB Type-C Specification.
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dtypec.h197 * @accessory: Audio, Debug or none.
212 enum typec_accessory accessory; member
248 * @accessory: Supported Accessory Modes
262 enum typec_accessory accessory[TYPEC_MAX_ACCESSORY]; member
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dstusb160x.c361 desc.accessory = stusb160x_get_accessory(status); in stusb160x_attach()
583 enum typec_accessory *accessory = chip->capability.accessory; in stusb160x_get_caps() local
597 *accessory++ = TYPEC_ACCESSORY_AUDIO; in stusb160x_get_caps()
598 *accessory++ = TYPEC_ACCESSORY_DEBUG; in stusb160x_get_caps()
603 *accessory++ = TYPEC_ACCESSORY_AUDIO; in stusb160x_get_caps()
604 *accessory++ = TYPEC_ACCESSORY_DEBUG; in stusb160x_get_caps()
615 *accessory++ = TYPEC_ACCESSORY_AUDIO; in stusb160x_get_caps()
616 *accessory++ = TYPEC_ACCESSORY_DEBUG; in stusb160x_get_caps()
H A Dmux.c208 /* Accessory Mode muxes */ in typec_mux_match()
210 match = fwnode_property_present(fwnode, "accessory"); in typec_mux_match()
312 * USB when Accessory/Alternate Modes are supported. With some of those modes,
H A Dclass.c40 enum typec_accessory accessory; member
658 return sprintf(buf, "%s\n", typec_accessory_modes[p->accessory]); in accessory_mode_show()
869 partner->accessory = desc->accessory; in typec_register_partner()
1528 for (i = 0; i < ARRAY_SIZE(port->cap->accessory); i++) { in supported_accessory_modes_show()
1529 if (port->cap->accessory[i]) in supported_accessory_modes_show()
1531 typec_accessory_modes[port->cap->accessory[i]]); in supported_accessory_modes_show()
1902 * @mode: Accessory Mode, USB Operation or Safe State
1904 * Configure @port for Accessory Mode @mode. This function will configure the
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/extcon/
H A Dextcon-sm5502.txt5 which can detect the state of external accessory when external accessory is
H A Dextcon-fsa9480.txt3 The FSA9480 is a USB port accessory detector and switch. The FSA9480 is fully
H A Dextcon-rt8973a.txt5 is a USB port accessory detector and switch that is optimized to protect low
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_accessory.c64 /* accessory defined ID */
123 /* work for handling ACCESSORY GET PROTOCOL */
126 /* work for handling ACCESSORY SEND STRING */
265 [INTERFACE_STRING_INDEX].s = "Android Accessory Interface",
464 pr_err("unknown accessory string index %d\n", in acc_complete_set_string()
962 .name = "USB accessory",
1230 char *envp[2] = { "ACCESSORY=GETPROTOCOL", NULL }; in acc_getprotocol_work()
1237 char *envp[2] = { "ACCESSORY=SENDSTRING", NULL }; in acc_sendstring_work()
1244 char *envp[2] = { "ACCESSORY=START", NULL }; in acc_start_work()
1437 pr_err("USB accessory gadget driver failed to initialize\n"); in acc_setup()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dts3a227e.h3 * TS3A227E Autonous Audio Accessory Detection and Configureation Switch
/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/usb/
H A Dcharger.h14 * ACA (Accessory Charger Adapters)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/usb/
H A Dcharger.h14 * ACA (Accessory Charger Adapters)
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dts3a227e.txt2 Autonomous Audio Accessory Detection and Configuration Switch
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Ducsi.c580 desc.accessory = TYPEC_ACCESSORY_DEBUG; in ucsi_register_partner()
583 desc.accessory = TYPEC_ACCESSORY_AUDIO; in ucsi_register_partner()
1053 enum typec_accessory *accessory = cap->accessory; in ucsi_register_port() local
1104 *accessory++ = TYPEC_ACCESSORY_AUDIO; in ucsi_register_port()
1106 *accessory = TYPEC_ACCESSORY_DEBUG; in ucsi_register_port()

1234