Home
last modified time | relevance | path

Searched refs:max_subdevs (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-fwnode.c324 unsigned int max_subdevs) in v4l2_async_notifier_realloc() argument
328 if (max_subdevs <= notifier->max_subdevs) in v4l2_async_notifier_realloc()
332 max_subdevs, sizeof(*notifier->subdevs), in v4l2_async_notifier_realloc()
345 notifier->max_subdevs = max_subdevs; in v4l2_async_notifier_realloc()
414 unsigned int max_subdevs = notifier->max_subdevs; in __v4l2_async_notifier_parse_fwnode_endpoints() local
443 max_subdevs++; in __v4l2_async_notifier_parse_fwnode_endpoints()
447 if (max_subdevs == notifier->max_subdevs) in __v4l2_async_notifier_parse_fwnode_endpoints()
450 ret = v4l2_async_notifier_realloc(notifier, max_subdevs); in __v4l2_async_notifier_parse_fwnode_endpoints()
476 if (WARN_ON(notifier->num_subdevs >= notifier->max_subdevs)) { in __v4l2_async_notifier_parse_fwnode_endpoints()
561 if (WARN_ON(notifier->num_subdevs >= notifier->max_subdevs)) { in v4l2_fwnode_reference_parse()
[all …]
Dv4l2-async.c505 if (!notifier || !notifier->max_subdevs) in v4l2_async_notifier_cleanup()
523 notifier->max_subdevs = 0; in v4l2_async_notifier_cleanup()
/Linux-v4.19/include/media/
Dv4l2-async.h137 unsigned int max_subdevs; member