]> Git Repo - linux.git/commit
fpga: dfl: add feature device infrastructure
authorXiao Guangrong <[email protected]>
Sat, 30 Jun 2018 00:53:16 +0000 (08:53 +0800)
committerGreg Kroah-Hartman <[email protected]>
Sun, 15 Jul 2018 11:55:45 +0000 (13:55 +0200)
commit5b57d02a2f94bb04c6b36932412f7f3b1bb38518
tree3065909e12962864351492bb6beb2b03a55cc3e2
parent5d56e117001996766c3dab5767663b0c43b76639
fpga: dfl: add feature device infrastructure

This patch abstracts the common operations of the sub features and defines
the feature_ops data structure, including init, uinit and ioctl function
pointers. And this patch adds some common helper functions for FME and AFU
drivers, e.g. dfl_feature_dev_use_begin/end which are used to ensure
exclusive usage of the feature device file.

Signed-off-by: Tim Whisonant <[email protected]>
Signed-off-by: Enno Luebbers <[email protected]>
Signed-off-by: Shiva Rao <[email protected]>
Signed-off-by: Christopher Rauer <[email protected]>
Signed-off-by: Kang Luwei <[email protected]>
Signed-off-by: Zhang Yi <[email protected]>
Signed-off-by: Xiao Guangrong <[email protected]>
Signed-off-by: Wu Hao <[email protected]>
Acked-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/fpga/dfl.c
drivers/fpga/dfl.h
This page took 0.043914 seconds and 4 git commands to generate.