Home
last modified time | relevance | path

Searched refs:section_len (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_log.c325 int len, info_len, section_len; in xe_guc_log_add_os_id() local
333 section_len = offsetof(struct guc_lfd_data_os_info, build_version); in xe_guc_log_add_os_id()
339 lfd.data_count = DIV_ROUND_UP(section_len + info_len, sizeof(u32)); in xe_guc_log_add_os_id()
341 lfd_output_binary(p, (char *)&os_id, section_len); in xe_guc_log_add_os_id()
345 section_len = lfd.data_count * sizeof(u32) - section_len - info_len; in xe_guc_log_add_os_id()
346 if (section_len) in xe_guc_log_add_os_id()
347 lfd_output_binary(p, (char *)&blank, section_len); in xe_guc_log_add_os_id()
457 u32 data_len, section_len; in xe_guc_log_add_log_event() local
473 section_len = offsetof(struct guc_lfd_data_log_events_buf, log_event); in xe_guc_log_add_log_event()
474 data_len = section_len; in xe_guc_log_add_log_event()
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c128 u32 i, len, section_len, section_offset; in hinic_flash_fw() local
149 section_len = in hinic_flash_fw()
153 section_remain_send_len = section_len; in hinic_flash_fw()
177 (section_remain_send_len == section_len) ? in hinic_flash_fw()
197 fw_update_msg->setion_total_len = section_len; in hinic_flash_fw()
232 section_remain_send_len = section_len - in hinic_flash_fw()
/linux/drivers/bluetooth/
H A Dbtrtl.c551 u32 section_len; in rtlbt_parse_firmware_v2() local
575 section_len = le32_to_cpu(section->len); in rtlbt_parse_firmware_v2()
580 ptr = rtl_iov_pull_data(&iov, section_len); in rtlbt_parse_firmware_v2()
587 ptr, section_len); in rtlbt_parse_firmware_v2()
596 ptr, section_len); in rtlbt_parse_firmware_v2()
600 ptr, section_len); in rtlbt_parse_firmware_v2()
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c1274 u32 section_len; in typhoon_request_firmware() local
1307 section_len = le32_to_cpu(sHdr->len); in typhoon_request_firmware()
1309 if (remaining < section_len) in typhoon_request_firmware()
1312 image_data += section_len; in typhoon_request_firmware()
1313 remaining -= section_len; in typhoon_request_firmware()
1339 u32 section_len; in typhoon_download_firmware() local
1401 section_len = le32_to_cpu(sHdr->len); in typhoon_download_firmware()
1403 while (section_len) { in typhoon_download_firmware()
1404 len = min_t(u32, section_len, PAGE_SIZE); in typhoon_download_firmware()
1434 section_len -= len; in typhoon_download_firmware()