Searched refs:hdr_offset (Results 1 – 6 of 6) sorted by relevance
611 uint32_t hdr_offset; in efx_build_signed_image_write_buffer() local744 hdr_offset = buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN; in efx_build_signed_image_write_buffer()752 memcpy(bufferp + hdr_offset, &chunk_hdr, sizeof (chunk_hdr)); in efx_build_signed_image_write_buffer()766 hdr_offset = chunk_hdr.offset + chunk_hdr.len; in efx_build_signed_image_write_buffer()767 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) { in efx_build_signed_image_write_buffer()774 chunk_hdr.offset = hdr_offset + SIGNED_IMAGE_CHUNK_HDR_LEN; in efx_build_signed_image_write_buffer()793 hdr_offset = chunk_hdr.offset + chunk_hdr.len; in efx_build_signed_image_write_buffer()794 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) { in efx_build_signed_image_write_buffer()821 chunk_hdr.offset = hdr_offset + SIGNED_IMAGE_CHUNK_HDR_LEN; in efx_build_signed_image_write_buffer()824 hdr_offset = code.size; in efx_build_signed_image_write_buffer()[all …]
98 u32 hdr_offset; in update_headers() local121 hdr_offset = sizeof(struct cudbg_flash_hdr); in update_headers()123 memcpy((void *)((char *)sec_hdr + hdr_offset), in update_headers()133 hdr_offset = data_hdr_size + sizeof(struct cudbg_flash_hdr); in update_headers()
680 unsigned hdr_offset; in mxge_load_firmware_helper() local720 hdr_offset = htobe32(*(const uint32_t *) in mxge_load_firmware_helper()722 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > fw_len) { in mxge_load_firmware_helper()727 hdr = (const void*)(inflate_buffer + hdr_offset); in mxge_load_firmware_helper()887 size_t hdr_offset; in mxge_adopt_running_firmware() local891 hdr_offset = htobe32(*(volatile uint32_t *) in mxge_adopt_running_firmware()894 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > sc->sram_size) { in mxge_adopt_running_firmware()897 (int)hdr_offset); in mxge_adopt_running_firmware()910 hdr_offset, (char *)hdr, bytes); in mxge_adopt_running_firmware()
417 struct sk_buff *skb, u16 hdr_offset);
937 struct sk_buff *skb, u16 hdr_offset) in mt76_connac2_reverse_frag0_hdr_trans() argument940 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_offset); in mt76_connac2_reverse_frag0_hdr_trans()982 skb_pull(skb, hdr_offset + sizeof(struct ethhdr) - 2); in mt76_connac2_reverse_frag0_hdr_trans()
96 # hdr_offset; offset from device start [ bytes ] like: 0