fix(dma): fix s3 dma reg spell error

pull/13550/head
gaoxu 2024-04-02 10:02:41 +08:00 zatwierdzone przez Gao Xu
rodzic 40f38bea6f
commit 8e9b1501c0
3 zmienionych plików z 283 dodań i 284 usunięć

Wyświetl plik

@ -338,7 +338,7 @@ static inline uint32_t gdma_ll_rx_get_prefetched_desc_addr(gdma_dev_t *dev, uint
*/
static inline void gdma_ll_rx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
{
dev->channel[channel].in.wight.rx_weight = weight;
dev->channel[channel].in.weight.rx_weight = weight;
}
/**
@ -597,7 +597,7 @@ static inline uint32_t gdma_ll_tx_get_prefetched_desc_addr(gdma_dev_t *dev, uint
*/
static inline void gdma_ll_tx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
{
dev->channel[channel].out.wight.tx_weight = weight;
dev->channel[channel].out.weight.tx_weight = weight;
}
/**

Wyświetl plik

@ -161,7 +161,7 @@ typedef volatile struct gdma_dev_s {
uint32_t reserved12 : 20;
};
uint32_t val;
} wight;
} weight;
uint32_t reserved_40;
union {
struct {
@ -321,7 +321,7 @@ typedef volatile struct gdma_dev_s {
uint32_t reserved12 : 20;
};
uint32_t val;
} wight;
} weight;
uint32_t reserved_a0;
union {
struct {