linux/drivers/media/rc/pwm-ir-tx.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2017 Sean Young <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pwm.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/hrtimer.h>
#include <linux/completion.h>
#include <media/rc-core.h>

#define DRIVER_NAME
#define DEVICE_NAME

struct pwm_ir {};

static const struct of_device_id pwm_ir_of_match[] =;
MODULE_DEVICE_TABLE(of, pwm_ir_of_match);

static int pwm_ir_set_duty_cycle(struct rc_dev *dev, u32 duty_cycle)
{}

static int pwm_ir_set_carrier(struct rc_dev *dev, u32 carrier)
{}

static int pwm_ir_tx_sleep(struct rc_dev *dev, unsigned int *txbuf,
			   unsigned int count)
{}

static int pwm_ir_tx_atomic(struct rc_dev *dev, unsigned int *txbuf,
			    unsigned int count)
{}

static enum hrtimer_restart pwm_ir_timer(struct hrtimer *timer)
{}

static int pwm_ir_probe(struct platform_device *pdev)
{}

static struct platform_driver pwm_ir_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();