Lines Matching refs:cur_ctl
72 struct wcn36xx_dxe_ctl *cur_ctl = NULL; in wcn36xx_dxe_allocate_ctl_block() local
77 cur_ctl = kzalloc(sizeof(*cur_ctl), GFP_KERNEL); in wcn36xx_dxe_allocate_ctl_block()
78 if (!cur_ctl) in wcn36xx_dxe_allocate_ctl_block()
81 cur_ctl->ctl_blk_order = i; in wcn36xx_dxe_allocate_ctl_block()
83 ch->head_blk_ctl = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
84 ch->tail_blk_ctl = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
86 prev_ctl->next = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
87 cur_ctl->next = ch->head_blk_ctl; in wcn36xx_dxe_allocate_ctl_block()
89 prev_ctl->next = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
91 prev_ctl = cur_ctl; in wcn36xx_dxe_allocate_ctl_block()
172 struct wcn36xx_dxe_ctl *cur_ctl = NULL; in wcn36xx_dxe_init_descs() local
183 cur_ctl = wcn_ch->head_blk_ctl; in wcn36xx_dxe_init_descs()
186 cur_ctl->desc = cur_dxe; in wcn36xx_dxe_init_descs()
187 cur_ctl->desc_phy_addr = wcn_ch->dma_addr + in wcn36xx_dxe_init_descs()
212 cur_ctl->desc_phy_addr; in wcn36xx_dxe_init_descs()
215 cur_ctl->desc_phy_addr; in wcn36xx_dxe_init_descs()
219 cur_ctl = cur_ctl->next; in wcn36xx_dxe_init_descs()
319 struct wcn36xx_dxe_ctl *cur_ctl = NULL; in wcn36xx_dxe_ch_alloc_skb() local
321 cur_ctl = wcn_ch->head_blk_ctl; in wcn36xx_dxe_ch_alloc_skb()
324 wcn36xx_dxe_fill_skb(wcn->dev, cur_ctl, GFP_KERNEL); in wcn36xx_dxe_ch_alloc_skb()
325 cur_ctl = cur_ctl->next; in wcn36xx_dxe_ch_alloc_skb()