Searched refs:wcn_ch (Results 1 – 1 of 1) sorted by relevance
168 static int wcn36xx_dxe_init_descs(struct wcn36xx *wcn, struct wcn36xx_dxe_ch *wcn_ch) in wcn36xx_dxe_init_descs() argument177 size = wcn_ch->desc_num * sizeof(struct wcn36xx_dxe_desc); in wcn36xx_dxe_init_descs()178 wcn_ch->cpu_addr = dma_alloc_coherent(dev, size, &wcn_ch->dma_addr, in wcn36xx_dxe_init_descs()180 if (!wcn_ch->cpu_addr) in wcn36xx_dxe_init_descs()183 cur_dxe = (struct wcn36xx_dxe_desc *)wcn_ch->cpu_addr; in wcn36xx_dxe_init_descs()184 cur_ctl = wcn_ch->head_blk_ctl; in wcn36xx_dxe_init_descs()186 for (i = 0; i < wcn_ch->desc_num; i++) { in wcn36xx_dxe_init_descs()188 cur_ctl->desc_phy_addr = wcn_ch->dma_addr + in wcn36xx_dxe_init_descs()191 switch (wcn_ch->ch_type) { in wcn36xx_dxe_init_descs()211 } else if ((0 < i) && (i < wcn_ch->desc_num - 1)) { in wcn36xx_dxe_init_descs()[all …]