Lines Matching refs:device
9 #include <linux/device.h>
133 int (*config_port)(struct device *dev);
140 struct device *dev;
148 struct device *smi_common_dev; /* for sub common */
155 struct device *smi_common_dev; /* common or sub-common dev */
163 mtk_smi_larb_bind(struct device *dev, struct device *master, void *data)
181 mtk_smi_larb_unbind(struct device *dev, struct device *master, void *data)
191 static int mtk_smi_larb_config_port_gen1(struct device *dev)
223 static int mtk_smi_larb_config_port_mt8167(struct device *dev)
231 static int mtk_smi_larb_config_port_mt8173(struct device *dev)
239 static int mtk_smi_larb_config_port_gen2_general(struct device *dev)
474 static int mtk_smi_device_link_common(struct device *dev, struct device **com_dev)
478 struct device *smi_com_dev;
503 dev_err(dev, "Failed to get the smi_common device\n");
509 static int mtk_smi_dts_clk_init(struct device *dev, struct mtk_smi *smi,
533 struct device *dev = &pdev->dev;
579 static int __maybe_unused mtk_smi_larb_resume(struct device *dev)
596 static int __maybe_unused mtk_smi_larb_suspend(struct device *dev)
742 struct device *dev = &pdev->dev;
808 static int __maybe_unused mtk_smi_common_resume(struct device *dev)
829 static int __maybe_unused mtk_smi_common_suspend(struct device *dev)