Lines Matching full:extcon

3  * drivers/extcon/extcon.c - External Connector (extcon) framework.
28 #include "extcon.h"
204 * @edev: the extcon device
270 /* Find the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
316 /* Check whether a specific extcon id supports the property or not. */ in is_extcon_property_supported()
421 * @edev: the extcon device
505 * @edev: the extcon device
532 * @edev: the extcon device
568 * Initialize the value of extcon property before setting in extcon_set_state()
588 * @edev: the extcon device
612 * @edev: the extcon device
614 * @prop: the property id indicating an extcon property
615 * @prop_val: the pointer which store the value of extcon property
620 * included in the list of supported properties according to extcon type.
666 /* Get the property value according to extcon type */ in extcon_get_property()
693 * @edev: the extcon device
695 * @prop: the property id indicating an extcon property
696 * @prop_val: the pointer including the new value of extcon property
699 * properties according to the extcon type.
733 /* Set the property value according to extcon type */ in extcon_set_property()
760 * @edev: the extcon device
762 * @prop: the property id indicating an extcon property
763 * @prop_val: the pointer including the new value of extcon property
767 * be included in the list of supported properties according to extcon type.
788 * @edev: the extcon device
790 * @prop: the property id indicating an extcon property
818 * @edev: the extcon device
820 * @prop: the property id indicating an extcon property
874 * extcon_get_extcon_dev() - Get the extcon device instance from the name.
875 * @extcon_name: the extcon name provided with extcon_dev_register()
877 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
902 * any state changes from the extcon.
903 * @edev: the extcon device
909 * is the pointer of extcon device.
935 * extcon_unregister_notifier() - Unregister a notifier block from the extcon.
936 * @edev: the extcon device
965 * @edev: the extcon device
969 * the state change of all supported external connectors from extcon device.
971 * the current state and the third pameter is the pointer of extcon device.
993 * extcon_unregister_notifier_all() - Unregister a notifier block from extcon.
994 * @edev: the extcon device
1021 ATTRIBUTE_GROUPS(extcon);
1028 extcon_class = class_create("extcon"); in create_extcon_class()
1046 * extcon_dev_allocate() - Allocate the memory of extcon device.
1050 * Note that this function allocates the memory for extcon device
1051 * and initialize default setting for the extcon device.
1074 * extcon_dev_free() - Free the memory of extcon device.
1075 * @edev: the extcon device
1084 * extcon_alloc_cables() - alloc the cables for extcon device
1085 * @edev: extcon device which has cables
1143 * extcon_alloc_muex() - alloc the mutual exclusive for extcon device
1144 * @edev: extcon device
1198 * extcon_alloc_groups() - alloc the groups for extcon device
1199 * @edev: extcon device
1234 * extcon_dev_register() - Register an new extcon device
1235 * @edev: the extcon device to be registered
1242 * of an extcon device by using the extcon_dev_allocate(). And the extcon
1273 "extcon device name is null\n"); in extcon_dev_register()
1311 dev_set_name(&edev->dev, "extcon%d", edev->id); in extcon_dev_register()
1352 * extcon_dev_unregister() - Unregister the extcon device.
1353 * @edev: the extcon device to be unregistered.
1402 * extcon_find_edev_by_node - Find the extcon device from devicetree.
1405 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1423 * extcon_get_edev_by_phandle - Get the extcon device from devicetree.
1427 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1439 node = of_parse_phandle(np, "extcon", index); in extcon_get_edev_by_phandle()
1469 * extcon_get_edev_name() - Get the name of the extcon device.
1470 * @edev: the extcon device
1492 MODULE_DESCRIPTION("External Connector (extcon) framework");