Searched refs:first_part (Results 1 – 2 of 2) sorted by relevance
590 unsigned int ibi_size, ibi_chunks, ibi_data_offset, first_part; in hci_dma_process_ibi() local690 first_part = (rh->ibi_chunks_total - rh->ibi_chunk_ptr) in hci_dma_process_ibi()692 if (first_part > ibi_size) in hci_dma_process_ibi()693 first_part = ibi_size; in hci_dma_process_ibi()695 first_part, DMA_FROM_DEVICE); in hci_dma_process_ibi()696 memcpy(slot->data, ring_ibi_data, first_part); in hci_dma_process_ibi()699 if (ibi_size > first_part) { in hci_dma_process_ibi()704 ibi_size - first_part, DMA_FROM_DEVICE); in hci_dma_process_ibi()705 memcpy(slot->data + first_part, ring_ibi_data, in hci_dma_process_ibi()706 ibi_size - first_part); in hci_dma_process_ibi()
642 u8 first_part; in download_firmware_to_mem() local651 first_part = 1; in download_firmware_to_mem()672 first_part); in download_firmware_to_mem()676 first_part = 0; in download_firmware_to_mem()