#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/completion.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <kunit/clk.h>
#include <kunit/of.h>
#include <kunit/platform_device.h>
#include <kunit/resource.h>
#include <kunit/test.h>
#include "clk-fixed-rate_test.h"
struct clk_hw_fixed_rate_kunit_params { … };
static int
clk_hw_register_fixed_rate_kunit_init(struct kunit_resource *res, void *context)
{ … }
static void clk_hw_register_fixed_rate_kunit_exit(struct kunit_resource *res)
{ … }
static struct clk_hw *
clk_hw_register_fixed_rate_kunit(struct kunit *test,
struct clk_hw_fixed_rate_kunit_params *params)
{ … }
static int clk_hw_unregister_fixed_rate_kunit(struct kunit *test, struct clk_hw *hw)
{ … }
static void clk_fixed_rate_rate_test(struct kunit *test)
{ … }
static void clk_fixed_rate_accuracy_test(struct kunit *test)
{ … }
static struct kunit_case clk_fixed_rate_test_cases[] = …;
static struct kunit_suite clk_fixed_rate_suite = …;
static void clk_fixed_rate_parent_test(struct kunit *test)
{ … }
static void clk_fixed_rate_parent_rate_test(struct kunit *test)
{ … }
static void clk_fixed_rate_parent_accuracy_test(struct kunit *test)
{ … }
static struct kunit_case clk_fixed_rate_parent_test_cases[] = …;
static struct kunit_suite clk_fixed_rate_parent_suite = …;
struct clk_fixed_rate_of_test_context { … };
static inline struct clk_fixed_rate_of_test_context *
pdev_to_clk_fixed_rate_of_test_context(struct platform_device *pdev)
{ … }
static void clk_fixed_rate_of_probe_test(struct kunit *test)
{ … }
static void clk_fixed_rate_of_accuracy_test(struct kunit *test)
{ … }
static struct kunit_case clk_fixed_rate_of_cases[] = …;
static int clk_fixed_rate_of_test_probe(struct platform_device *pdev)
{ … }
static int clk_fixed_rate_of_init(struct kunit *test)
{ … }
static struct kunit_suite clk_fixed_rate_of_suite = …;
kunit_test_suites(…);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;