143ecec16SMauro Carvalho Chehab // SPDX-License-Identifier: GPL-2.0-or-later 243ecec16SMauro Carvalho Chehab /* 343ecec16SMauro Carvalho Chehab * linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c 443ecec16SMauro Carvalho Chehab * 543ecec16SMauro Carvalho Chehab * Copyright (C) 2012 Samsung Electronics Co., Ltd. 643ecec16SMauro Carvalho Chehab * http://www.samsung.com/ 743ecec16SMauro Carvalho Chehab */ 843ecec16SMauro Carvalho Chehab 943ecec16SMauro Carvalho Chehab #include "s5p_mfc_cmd.h" 1043ecec16SMauro Carvalho Chehab #include "s5p_mfc_common.h" 1143ecec16SMauro Carvalho Chehab #include "s5p_mfc_debug.h" 1243ecec16SMauro Carvalho Chehab #include "s5p_mfc_cmd_v5.h" 1343ecec16SMauro Carvalho Chehab #include "s5p_mfc_cmd_v6.h" 1443ecec16SMauro Carvalho Chehab s5p_mfc_init_hw_cmds(struct s5p_mfc_dev * dev)1543ecec16SMauro Carvalho Chehabvoid s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) 1643ecec16SMauro Carvalho Chehab { 1743ecec16SMauro Carvalho Chehab if (IS_MFCV6_PLUS(dev)) 18*8798f1a8SKrzysztof Kozlowski dev->mfc_cmds = s5p_mfc_init_hw_cmds_v6(); 1943ecec16SMauro Carvalho Chehab else 20*8798f1a8SKrzysztof Kozlowski dev->mfc_cmds = s5p_mfc_init_hw_cmds_v5(); 2143ecec16SMauro Carvalho Chehab } 22