#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/platform_device.h>
#include <kunit/test.h>
static void clk_gate_register_test_dev(struct kunit *test)
{ … }
static void clk_gate_register_test_parent_names(struct kunit *test)
{ … }
static void clk_gate_register_test_parent_data(struct kunit *test)
{ … }
static void clk_gate_register_test_parent_data_legacy(struct kunit *test)
{ … }
static void clk_gate_register_test_parent_hw(struct kunit *test)
{ … }
static void clk_gate_register_test_hiword_invalid(struct kunit *test)
{ … }
static struct kunit_case clk_gate_register_test_cases[] = …;
static struct kunit_suite clk_gate_register_test_suite = …;
struct clk_gate_test_context { … };
static struct clk_gate_test_context *clk_gate_test_alloc_ctx(struct kunit *test)
{ … }
static void clk_gate_test_parent_rate(struct kunit *test)
{ … }
static void clk_gate_test_enable(struct kunit *test)
{ … }
static void clk_gate_test_disable(struct kunit *test)
{ … }
static struct kunit_case clk_gate_test_cases[] = …;
static int clk_gate_test_init(struct kunit *test)
{ … }
static void clk_gate_test_exit(struct kunit *test)
{ … }
static struct kunit_suite clk_gate_test_suite = …;
static void clk_gate_test_invert_enable(struct kunit *test)
{ … }
static void clk_gate_test_invert_disable(struct kunit *test)
{ … }
static struct kunit_case clk_gate_test_invert_cases[] = …;
static int clk_gate_test_invert_init(struct kunit *test)
{ … }
static struct kunit_suite clk_gate_test_invert_suite = …;
static void clk_gate_test_hiword_enable(struct kunit *test)
{ … }
static void clk_gate_test_hiword_disable(struct kunit *test)
{ … }
static struct kunit_case clk_gate_test_hiword_cases[] = …;
static int clk_gate_test_hiword_init(struct kunit *test)
{ … }
static struct kunit_suite clk_gate_test_hiword_suite = …;
static void clk_gate_test_is_enabled(struct kunit *test)
{ … }
static void clk_gate_test_is_disabled(struct kunit *test)
{ … }
static void clk_gate_test_is_enabled_inverted(struct kunit *test)
{ … }
static void clk_gate_test_is_disabled_inverted(struct kunit *test)
{ … }
static struct kunit_case clk_gate_test_enabled_cases[] = …;
static struct kunit_suite clk_gate_test_enabled_suite = …;
kunit_test_suites(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;