diff options
Diffstat (limited to 'drivers/dma/ste_dma40_ll.h')
-rw-r--r-- | drivers/dma/ste_dma40_ll.h | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/drivers/dma/ste_dma40_ll.h b/drivers/dma/ste_dma40_ll.h index 9e419b907544..9cc43495bea2 100644 --- a/drivers/dma/ste_dma40_ll.h +++ b/drivers/dma/ste_dma40_ll.h | |||
@@ -292,18 +292,20 @@ int d40_phy_sg_to_lli(struct scatterlist *sg, | |||
292 | struct d40_phy_lli *lli, | 292 | struct d40_phy_lli *lli, |
293 | dma_addr_t lli_phys, | 293 | dma_addr_t lli_phys, |
294 | u32 reg_cfg, | 294 | u32 reg_cfg, |
295 | u32 data_width, | 295 | u32 data_width1, |
296 | u32 data_width2, | ||
296 | int psize); | 297 | int psize); |
297 | 298 | ||
298 | int d40_phy_fill_lli(struct d40_phy_lli *lli, | 299 | struct d40_phy_lli *d40_phy_buf_to_lli(struct d40_phy_lli *lli, |
299 | dma_addr_t data, | 300 | dma_addr_t data, |
300 | u32 data_size, | 301 | u32 data_size, |
301 | int psize, | 302 | int psize, |
302 | dma_addr_t next_lli, | 303 | dma_addr_t next_lli, |
303 | u32 reg_cfg, | 304 | u32 reg_cfg, |
304 | bool term_int, | 305 | bool term_int, |
305 | u32 data_width, | 306 | u32 data_width1, |
306 | bool is_device); | 307 | u32 data_width2, |
308 | bool is_device); | ||
307 | 309 | ||
308 | void d40_phy_lli_write(void __iomem *virtbase, | 310 | void d40_phy_lli_write(void __iomem *virtbase, |
309 | u32 phy_chan_num, | 311 | u32 phy_chan_num, |
@@ -312,12 +314,12 @@ void d40_phy_lli_write(void __iomem *virtbase, | |||
312 | 314 | ||
313 | /* Logical channels */ | 315 | /* Logical channels */ |
314 | 316 | ||
315 | void d40_log_fill_lli(struct d40_log_lli *lli, | 317 | struct d40_log_lli *d40_log_buf_to_lli(struct d40_log_lli *lli_sg, |
316 | dma_addr_t data, | 318 | dma_addr_t addr, |
317 | u32 data_size, | 319 | int size, |
318 | u32 reg_cfg, | 320 | u32 lcsp13, /* src or dst*/ |
319 | u32 data_width, | 321 | u32 data_width1, u32 data_width2, |
320 | bool addr_inc); | 322 | bool addr_inc); |
321 | 323 | ||
322 | int d40_log_sg_to_dev(struct scatterlist *sg, | 324 | int d40_log_sg_to_dev(struct scatterlist *sg, |
323 | int sg_len, | 325 | int sg_len, |
@@ -332,7 +334,7 @@ int d40_log_sg_to_lli(struct scatterlist *sg, | |||
332 | int sg_len, | 334 | int sg_len, |
333 | struct d40_log_lli *lli_sg, | 335 | struct d40_log_lli *lli_sg, |
334 | u32 lcsp13, /* src or dst*/ | 336 | u32 lcsp13, /* src or dst*/ |
335 | u32 data_width); | 337 | u32 data_width1, u32 data_width2); |
336 | 338 | ||
337 | void d40_log_lli_lcpa_write(struct d40_log_lli_full *lcpa, | 339 | void d40_log_lli_lcpa_write(struct d40_log_lli_full *lcpa, |
338 | struct d40_log_lli *lli_dst, | 340 | struct d40_log_lli *lli_dst, |