Searched refs:seg_info (Results 1 – 2 of 2) sorted by relevance
16 struct ath10k_swap_code_seg_info *seg_info, in ath10k_swap_code_seg_fill() argument19 u8 *virt_addr = seg_info->virt_address[0]; in ath10k_swap_code_seg_fill()32 seg_info->target_addr = -1; in ath10k_swap_code_seg_fill()50 seg_info->target_addr = in ath10k_swap_code_seg_fill()63 if (seg_info->target_addr == -1) { in ath10k_swap_code_seg_fill()67 seg_info->seg_hw_info.swap_size = __cpu_to_le32(total_payload_len); in ath10k_swap_code_seg_fill()74 struct ath10k_swap_code_seg_info *seg_info) in ath10k_swap_code_seg_free() argument78 if (!seg_info) in ath10k_swap_code_seg_free()81 if (!seg_info->virt_address[0]) in ath10k_swap_code_seg_free()84 seg_size = __le32_to_cpu(seg_info->seg_hw_info.size); in ath10k_swap_code_seg_free()[all …]
301 dcssblk_load_segment(char *name, struct segment_info **seg_info) in dcssblk_load_segment() argument307 *seg_info = dcssblk_get_segment_by_name(name); in dcssblk_load_segment()309 if (*seg_info != NULL) in dcssblk_load_segment()313 *seg_info = kzalloc(sizeof(struct segment_info), GFP_KERNEL); in dcssblk_load_segment()314 if (*seg_info == NULL) in dcssblk_load_segment()317 strcpy((*seg_info)->segment_name, name); in dcssblk_load_segment()321 &(*seg_info)->start, &(*seg_info)->end); in dcssblk_load_segment()323 segment_warning(rc, (*seg_info)->segment_name); in dcssblk_load_segment()324 kfree(*seg_info); in dcssblk_load_segment()326 INIT_LIST_HEAD(&(*seg_info)->lh); in dcssblk_load_segment()[all …]