Lines Matching refs:bi
155 struct i40e_dma_mem *bi; in i40e_alloc_arq_bufs() local
171 bi = &hw->aq.arq.r.arq_bi[i]; in i40e_alloc_arq_bufs()
172 ret_code = i40e_allocate_dma_mem(hw, bi, in i40e_alloc_arq_bufs()
189 desc->datalen = cpu_to_le16((u16)bi->size); in i40e_alloc_arq_bufs()
194 cpu_to_le32(upper_32_bits(bi->pa)); in i40e_alloc_arq_bufs()
196 cpu_to_le32(lower_32_bits(bi->pa)); in i40e_alloc_arq_bufs()
221 struct i40e_dma_mem *bi; in i40e_alloc_asq_bufs() local
233 bi = &hw->aq.asq.r.asq_bi[i]; in i40e_alloc_asq_bufs()
234 ret_code = i40e_allocate_dma_mem(hw, bi, in i40e_alloc_asq_bufs()
948 struct i40e_dma_mem *bi; in i40e_clean_arq_element() local
998 bi = &hw->aq.arq.r.arq_bi[ntc]; in i40e_clean_arq_element()
1004 desc->datalen = cpu_to_le16((u16)bi->size); in i40e_clean_arq_element()
1005 desc->params.external.addr_high = cpu_to_le32(upper_32_bits(bi->pa)); in i40e_clean_arq_element()
1006 desc->params.external.addr_low = cpu_to_le32(lower_32_bits(bi->pa)); in i40e_clean_arq_element()