|
@@ -308,7 +308,7 @@ static inline void rtsx_add_sg_tbl(
|
|
|
do {
|
|
|
if (len > 0x80000) {
|
|
|
temp_len = 0x80000;
|
|
|
- temp_opt = option & (~SG_END);
|
|
|
+ temp_opt = option & (~RTSX_SG_END);
|
|
|
} else {
|
|
|
temp_len = len;
|
|
|
temp_opt = option;
|
|
@@ -407,9 +407,9 @@ static int rtsx_transfer_sglist_adma_partial(struct rtsx_chip *chip, u8 card,
|
|
|
*index = *index + 1;
|
|
|
}
|
|
|
if ((i == (sg_cnt - 1)) || !resid)
|
|
|
- option = SG_VALID | SG_END | SG_TRANS_DATA;
|
|
|
+ option = RTSX_SG_VALID | RTSX_SG_END | RTSX_SG_TRANS_DATA;
|
|
|
else
|
|
|
- option = SG_VALID | SG_TRANS_DATA;
|
|
|
+ option = RTSX_SG_VALID | RTSX_SG_TRANS_DATA;
|
|
|
|
|
|
rtsx_add_sg_tbl(chip, (u32)addr, (u32)len, option);
|
|
|
|
|
@@ -555,9 +555,9 @@ static int rtsx_transfer_sglist_adma(struct rtsx_chip *chip, u8 card,
|
|
|
(unsigned int)addr, len);
|
|
|
|
|
|
if (j == (sg_cnt - 1))
|
|
|
- option = SG_VALID | SG_END | SG_TRANS_DATA;
|
|
|
+ option = RTSX_SG_VALID | RTSX_SG_END | RTSX_SG_TRANS_DATA;
|
|
|
else
|
|
|
- option = SG_VALID | SG_TRANS_DATA;
|
|
|
+ option = RTSX_SG_VALID | RTSX_SG_TRANS_DATA;
|
|
|
|
|
|
rtsx_add_sg_tbl(chip, (u32)addr, (u32)len, option);
|
|
|
|