Lines Matching defs:extcon

3  * drivers/extcon/extcon.c - External Connector (extcon) framework.
27 #include "extcon.h"
203 * @edev: the extcon device
268 /* Find the the index of extcon cable in edev->supported_cable */
314 /* Check whether a specific extcon id supports the property or not. */
419 * @edev: the extcon device
502 * @edev: the extcon device
529 * @edev: the extcon device
565 * Initialize the value of extcon property before setting
585 * @edev: the extcon device
621 * @edev: the extcon device
623 * @prop: the property id indicating an extcon property
624 * @prop_val: the pointer which store the value of extcon property
629 * included in the list of supported properties according to extcon type.
675 /* Get the property value according to extcon type */
702 * @edev: the extcon device
704 * @prop: the property id indicating an extcon property
705 * @prop_val: the pointer including the new value of extcon property
708 * properties according to the extcon type.
742 /* Set the property value according to extcon type */
769 * @prop_val: the pointer including the new value of extcon property
773 * be included in the list of supported properties according to extcon type.
794 * @edev: the extcon device
796 * @prop: the property id indicating an extcon property
824 * @edev: the extcon device
826 * @prop: the property id indicating an extcon property
880 * extcon_get_extcon_dev() - Get the extcon device instance from the name.
881 * @extcon_name: the extcon name provided with extcon_dev_register()
883 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
906 * any state changes from the extcon.
907 * @edev: the extcon device
913 * is the pointer of extcon device.
939 * extcon_unregister_notifier() - Unregister a notifier block from the extcon.
940 * @edev: the extcon device
969 * @edev: the extcon device
973 * the state change of all supported external connectors from extcon device.
975 * the current state and the third pameter is the pointer of extcon device.
997 * extcon_unregister_notifier_all() - Unregister a notifier block from extcon.
998 * @edev: the extcon device
1025 ATTRIBUTE_GROUPS(extcon);
1030 extcon_class = class_create(THIS_MODULE, "extcon");
1049 * extcon_dev_allocate() - Allocate the memory of extcon device.
1053 * Note that this function allocates the memory for extcon device
1054 * and initialize default setting for the extcon device.
1077 * extcon_dev_free() - Free the memory of extcon device.
1078 * @edev: the extcon device
1087 * extcon_dev_register() - Register an new extcon device
1088 * @edev: the extcon device to be registered
1095 * of an extcon device by using the extcon_dev_allocate(). And the extcon
1129 "extcon device name is null\n");
1132 dev_set_name(&edev->dev, "extcon%lu",
1306 * extcon_dev_unregister() - Unregister the extcon device.
1307 * @edev: the extcon device to be unregistered.
1355 * extcon_find_edev_by_node - Find the extcon device from devicetree.
1358 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1376 * extcon_get_edev_by_phandle - Get the extcon device from devicetree.
1380 * Return the pointer of extcon device if success or ERR_PTR(err) if fail.
1395 node = of_parse_phandle(dev->of_node, "extcon", index);
1426 * extcon_get_edev_name() - Get the name of the extcon device.
1427 * @edev: the extcon device
1449 MODULE_DESCRIPTION("External Connector (extcon) framework");