Lines Matching refs:max_supported
267 for (i = 0; i < edev->max_supported; i++) { in find_cable_index_by_id()
370 if (edev->max_supported == 0) in state_show()
373 for (i = 0; i < edev->max_supported; i++) { in state_show()
1068 edev->max_supported = 0; in extcon_dev_allocate()
1114 edev->max_supported = index; in extcon_dev_register()
1133 if (edev->max_supported) { in extcon_dev_register()
1138 edev->cables = kcalloc(edev->max_supported, in extcon_dev_register()
1145 for (index = 0; index < edev->max_supported; index++) { in extcon_dev_register()
1182 if (edev->max_supported && edev->mutually_exclusive) { in extcon_dev_register()
1233 if (edev->max_supported) { in extcon_dev_register()
1235 kcalloc(edev->max_supported + 2, in extcon_dev_register()
1246 for (index = 0; index < edev->max_supported; index++) in extcon_dev_register()
1257 if (edev->max_supported) { in extcon_dev_register()
1258 edev->nh = kcalloc(edev->max_supported, sizeof(*edev->nh), in extcon_dev_register()
1266 for (index = 0; index < edev->max_supported; index++) in extcon_dev_register()
1287 if (edev->max_supported) in extcon_dev_register()
1290 if (edev->max_supported) in extcon_dev_register()
1293 if (edev->max_supported && edev->mutually_exclusive) { in extcon_dev_register()
1300 for (index = 0; index < edev->max_supported; index++) in extcon_dev_register()
1303 if (edev->max_supported) in extcon_dev_register()
1336 if (edev->mutually_exclusive && edev->max_supported) { in extcon_dev_unregister()
1344 for (index = 0; index < edev->max_supported; index++) in extcon_dev_unregister()
1347 if (edev->max_supported) { in extcon_dev_unregister()