Skip to content

Commit d9c345d

Browse files
Peter UjfalusiVinod Koul
authored andcommitted
dmaengine: edma: Correct PaRAM access function names (_parm_ to _param_)
These inline functions are designed to modify parts of the PaRAM in eDMA. Change the names accordingly. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
1 parent 34cf301 commit d9c345d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

drivers/dma/edma.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -349,32 +349,32 @@ static inline void edma_shadow0_write_array(struct edma_cc *ecc, int offset,
349349
edma_write(ecc, EDMA_SHADOW0 + offset + (i << 2), val);
350350
}
351351

352-
static inline unsigned int edma_parm_read(struct edma_cc *ecc, int offset,
353-
int param_no)
352+
static inline unsigned int edma_param_read(struct edma_cc *ecc, int offset,
353+
int param_no)
354354
{
355355
return edma_read(ecc, EDMA_PARM + offset + (param_no << 5));
356356
}
357357

358-
static inline void edma_parm_write(struct edma_cc *ecc, int offset,
359-
int param_no, unsigned val)
358+
static inline void edma_param_write(struct edma_cc *ecc, int offset,
359+
int param_no, unsigned val)
360360
{
361361
edma_write(ecc, EDMA_PARM + offset + (param_no << 5), val);
362362
}
363363

364-
static inline void edma_parm_modify(struct edma_cc *ecc, int offset,
365-
int param_no, unsigned and, unsigned or)
364+
static inline void edma_param_modify(struct edma_cc *ecc, int offset,
365+
int param_no, unsigned and, unsigned or)
366366
{
367367
edma_modify(ecc, EDMA_PARM + offset + (param_no << 5), and, or);
368368
}
369369

370-
static inline void edma_parm_and(struct edma_cc *ecc, int offset, int param_no,
371-
unsigned and)
370+
static inline void edma_param_and(struct edma_cc *ecc, int offset, int param_no,
371+
unsigned and)
372372
{
373373
edma_and(ecc, EDMA_PARM + offset + (param_no << 5), and);
374374
}
375375

376-
static inline void edma_parm_or(struct edma_cc *ecc, int offset, int param_no,
377-
unsigned or)
376+
static inline void edma_param_or(struct edma_cc *ecc, int offset, int param_no,
377+
unsigned or)
378378
{
379379
edma_or(ecc, EDMA_PARM + offset + (param_no << 5), or);
380380
}
@@ -594,8 +594,8 @@ static void edma_link(struct edma_cc *ecc, unsigned from, unsigned to)
594594
if (from >= ecc->num_slots || to >= ecc->num_slots)
595595
return;
596596

597-
edma_parm_modify(ecc, PARM_LINK_BCNTRLD, from, 0xffff0000,
598-
PARM_OFFSET(to));
597+
edma_param_modify(ecc, PARM_LINK_BCNTRLD, from, 0xffff0000,
598+
PARM_OFFSET(to));
599599
}
600600

601601
/**

0 commit comments

Comments
 (0)