FILE
dphy.h
File preview with syntax highlighting.
linux-6.19.14/drivers/media/platform/raspberrypi/rp1-cfe/dphy.h
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2021-2024 Raspberry Pi Ltd. 4 * Copyright (c) 2023-2024 Ideas on Board Oy 5 */ 6 7#ifndef _RP1_DPHY_ 8#define _RP1_DPHY_ 9 10#include <linux/io.h> 11#include <linux/types.h> 12 13struct dphy_data { 14 struct device *dev; 15 16 void __iomem *base; 17 18 u32 dphy_rate; 19 u32 max_lanes; 20 u32 active_lanes; 21}; 22 23void dphy_probe(struct dphy_data *dphy); 24void dphy_start(struct dphy_data *dphy); 25void dphy_stop(struct dphy_data *dphy); 26 27#endif
~/
Read-only file preview.