• Home
  • Raw
  • Download

Lines Matching full:extcon

3  * drivers/extcon/extcon.c - External Connector (extcon) framework.
27 #include "extcon.h"
203 * @edev: the extcon device
260 /* Find the the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
306 /* Check whether a specific extcon id supports the property or not. */ in is_extcon_property_supported()
411 * @edev: the extcon device
494 * @edev: the extcon device
521 * @edev: the extcon device
557 * Initialize the value of extcon property before setting in extcon_set_state()
577 * @edev: the extcon device
613 * @edev: the extcon device
615 * @prop: the property id indicating an extcon property
616 * @prop_val: the pointer which store the value of extcon property
621 * included in the list of supported properties according to extcon type.
667 /* Get the property value according to extcon type */ in extcon_get_property()
694 * @edev: the extcon device
696 * @prop: the property id indicating an extcon property
697 * @prop_val: the pointer including the new value of extcon property
700 * properties according to the extcon type.
734 /* Set the property value according to extcon type */ in extcon_set_property()
761 * @prop_val: the pointer including the new value of extcon property
765 * be included in the list of supported properties according to extcon type.
786 * @edev: the extcon device
788 * @prop: the property id indicating an extcon property
816 * @edev: the extcon device
818 * @prop: the property id indicating an extcon property
872 * extcon_get_extcon_dev() - Get the extcon device instance from the name.
873 * @extcon_name: the extcon name provided with extcon_dev_register()
875 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
898 * any state changes from the extcon.
899 * @edev: the extcon device
905 * is the pointer of extcon device.
931 * extcon_unregister_notifier() - Unregister a notifier block from the extcon.
932 * @edev: the extcon device
961 * @edev: the extcon device
965 * the state change of all supported external connectors from extcon device.
967 * the current state and the third pameter is the pointer of extcon device.
989 * extcon_unregister_notifier_all() - Unregister a notifier block from extcon.
990 * @edev: the extcon device
1017 ATTRIBUTE_GROUPS(extcon);
1022 extcon_class = class_create(THIS_MODULE, "extcon"); in create_extcon_class()
1041 * extcon_dev_allocate() - Allocate the memory of extcon device.
1045 * Note that this function allocates the memory for extcon device
1046 * and initialize default setting for the extcon device.
1069 * extcon_dev_free() - Free the memory of extcon device.
1070 * @edev: the extcon device
1079 * extcon_dev_register() - Register an new extcon device
1080 * @edev: the extcon device to be registered
1087 * of an extcon device by using the extcon_dev_allocate(). And the extcon
1121 "extcon device name is null\n"); in extcon_dev_register()
1124 dev_set_name(&edev->dev, "extcon%lu", in extcon_dev_register()
1298 * extcon_dev_unregister() - Unregister the extcon device.
1299 * @edev: the extcon device to be unregistered.
1347 * extcon_find_edev_by_node - Find the extcon device from devicetree.
1350 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1368 * extcon_get_edev_by_phandle - Get the extcon device from devicetree.
1372 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1387 node = of_parse_phandle(dev->of_node, "extcon", index); in extcon_get_edev_by_phandle()
1418 * extcon_get_edev_name() - Get the name of the extcon device.
1419 * @edev: the extcon device
1441 MODULE_DESCRIPTION("External Connector (extcon) framework");