Lines Matching full:cables
331 cable = &edev->cables[index]; in is_extcon_property_capability()
356 struct extcon_cable *cable = &edev->cables[index]; in init_property()
664 cable = &edev->cables[index]; in extcon_get_property()
731 cable = &edev->cables[index]; in extcon_set_property()
850 cable = &edev->cables[index]; in extcon_set_property_capability()
1084 * extcon_alloc_cables() - alloc the cables for extcon device
1085 * @edev: extcon device which has cables
1101 edev->cables = kcalloc(edev->max_supported, sizeof(*edev->cables), in extcon_alloc_cables()
1103 if (!edev->cables) in extcon_alloc_cables()
1107 cable = &edev->cables[index]; in extcon_alloc_cables()
1112 cable = &edev->cables[index]; in extcon_alloc_cables()
1116 kfree(edev->cables); in extcon_alloc_cables()
1223 edev->extcon_dev_type.groups[index] = &edev->cables[index].attr_g; in extcon_alloc_groups()
1263 "exceed the maximum number of supported cables\n"); in extcon_dev_register()
1341 kfree(edev->cables[index].attr_g.name); in extcon_dev_register()
1343 kfree(edev->cables); in extcon_dev_register()
1387 kfree(edev->cables[index].attr_g.name); in extcon_dev_unregister()
1391 kfree(edev->cables); in extcon_dev_unregister()