Repository navigation
Commit e0ddaab
dmaengine: mxs: Add header file to be shared with gpmi nand driver
The mxs dma driver can do PIO transfers. A pointer to the PIO words
to transfer is passed in the struct scatterlist * argument of
dmaengine_prep_slave_sg(). It's quite ugly and non obvious to cast
u32 * to struct scatterlist * each time when calling
dmaengine_prep_slave_sg(), so add a static inline wrapper function
to be called by the user along with a description what is going on.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>1 parent 475345e commit e0ddaab
3 files changed
Lines changed: 36 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
914 | 915 | | |
915 | 916 | | |
916 | 917 | | |
917 | | - | |
918 | | - | |
919 | | - | |
| 918 | + | |
| 919 | + | |
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
| |||
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
991 | | - | |
992 | | - | |
| 991 | + | |
| 992 | + | |
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
| |||
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
| 1028 | + | |
| 1029 | + | |
1031 | 1030 | | |
1032 | 1031 | | |
1033 | 1032 | | |
| |||
1083 | 1082 | | |
1084 | 1083 | | |
1085 | 1084 | | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
| 1085 | + | |
| 1086 | + | |
1090 | 1087 | | |
1091 | 1088 | | |
1092 | 1089 | | |
| |||
1117 | 1114 | | |
1118 | 1115 | | |
1119 | 1116 | | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
| 1117 | + | |
1123 | 1118 | | |
1124 | 1119 | | |
1125 | 1120 | | |
| |||
1144 | 1139 | | |
1145 | 1140 | | |
1146 | 1141 | | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
| 1142 | + | |
| 1143 | + | |
1151 | 1144 | | |
1152 | 1145 | | |
1153 | 1146 | | |
| |||
1163 | 1156 | | |
1164 | 1157 | | |
1165 | 1158 | | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
| 1159 | + | |
| 1160 | + | |
1169 | 1161 | | |
1170 | 1162 | | |
1171 | 1163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments