Lines Matching full:extcon

3  * drivers/extcon/extcon.c - External Connector (extcon) framework.
27 #include "extcon.h"
208 * @edev: the extcon device
265 /* Find the the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
311 /* Check whether a specific extcon id supports the property or not. */ in is_extcon_property_supported()
416 * @edev: the extcon device
499 * @edev: the extcon device
526 * @edev: the extcon device
562 * Initialize the value of extcon property before setting in extcon_set_state()
582 * @edev: the extcon device
618 * @edev: the extcon device
620 * @prop: the property id indicating an extcon property
621 * @prop_val: the pointer which store the value of extcon property
626 * included in the list of supported properties according to extcon type.
672 /* Get the property value according to extcon type */ in extcon_get_property()
699 * @edev: the extcon device
701 * @prop: the property id indicating an extcon property
702 * @prop_val: the pointer including the new value of extcon property
705 * properties according to the extcon type.
739 /* Set the property value according to extcon type */ in extcon_set_property()
766 * @prop_val: the pointer including the new value of extcon property
770 * be included in the list of supported properties according to extcon type.
791 * @edev: the extcon device
793 * @prop: the property id indicating an extcon property
821 * @edev: the extcon device
823 * @prop: the property id indicating an extcon property
877 * extcon_get_extcon_dev() - Get the extcon device instance from the name.
878 * @extcon_name: the extcon name provided with extcon_dev_register()
880 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
903 * any state changes from the extcon.
904 * @edev: the extcon device
910 * is the pointer of extcon device.
936 * extcon_unregister_notifier() - Unregister a notifier block from the extcon.
937 * @edev: the extcon device
966 * @edev: the extcon device
970 * the state change of all supported external connectors from extcon device.
972 * the current state and the third pameter is the pointer of extcon device.
994 * extcon_unregister_notifier_all() - Unregister a notifier block from extcon.
995 * @edev: the extcon device
1022 ATTRIBUTE_GROUPS(extcon);
1027 extcon_class = class_create(THIS_MODULE, "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_dev_register() - Register an new extcon device
1085 * @edev: the extcon device to be registered
1092 * of an extcon device by using the extcon_dev_allocate(). And the extcon
1126 "extcon device name is null\n"); in extcon_dev_register()
1129 dev_set_name(&edev->dev, "extcon%lu", in extcon_dev_register()
1303 * extcon_dev_unregister() - Unregister the extcon device.
1304 * @edev: the extcon device to be unregistered.
1352 * extcon_find_edev_by_node - Find the extcon device from devicetree.
1355 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1373 * extcon_get_edev_by_phandle - Get the extcon device from devicetree.
1377 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1392 node = of_parse_phandle(dev->of_node, "extcon", index); in extcon_get_edev_by_phandle()
1423 * extcon_get_edev_name() - Get the name of the extcon device.
1424 * @edev: the extcon device
1446 MODULE_DESCRIPTION("External Connector (extcon) framework");