Home
last modified time | relevance | path

Searched refs:footer (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Deprom.c255 struct hfi1_eprom_footer *footer; in read_segment_platform_config() local
266 footer = (struct hfi1_eprom_footer *) in read_segment_platform_config()
267 (directory + EP_PAGE_SIZE - sizeof(*footer)); in read_segment_platform_config()
270 if (footer->version != FOOTER_VERSION) in read_segment_platform_config()
274 if (footer->oprom_size >= SEG_SIZE) in read_segment_platform_config()
278 if (footer->num_table_entries > in read_segment_platform_config()
279 MAX_TABLE_ENTRIES(SEG_SIZE - footer->oprom_size)) in read_segment_platform_config()
283 directory_size = DIRECTORY_SIZE(footer->num_table_entries); in read_segment_platform_config()
301 for (entry = NULL, i = 0; i < footer->num_table_entries; i++) { in read_segment_platform_config()
391 seg_offset = footer->oprom_size; in read_segment_platform_config()
/linux/drivers/mtd/parsers/
H A Dafs.c220 u32 footer[12]; in afs_parse_v2_partition() local
239 ptr = off + mtd->erasesize - sizeof(footer); in afs_parse_v2_partition()
240 ret = mtd_read(mtd, ptr, sizeof(footer), &sz, (u_char *)footer); in afs_parse_v2_partition()
241 if ((ret < 0) || (ret >= 0 && sz != sizeof(footer))) { in afs_parse_v2_partition()
246 name = (char *) &footer[0]; in afs_parse_v2_partition()
247 version = footer[9]; in afs_parse_v2_partition()
248 ptr = off + mtd->erasesize - sizeof(footer) - footer[8]; in afs_parse_v2_partition()
/linux/drivers/net/ethernet/
H A Doa_tc6.c72 /* Data footer */
751 static int oa_tc6_process_rx_chunk_footer(struct oa_tc6 *tc6, u32 footer) in oa_tc6_process_rx_chunk_footer()
753 /* Process rx chunk footer for the following, in oa_tc6_submit_rx_skb()
758 tc6->tx_credits = FIELD_GET(OA_TC6_DATA_FOOTER_TX_CREDITS, footer); in oa_tc6_submit_rx_skb()
760 footer); in oa_tc6_submit_rx_skb()
762 if (FIELD_GET(OA_TC6_DATA_FOOTER_EXTENDED_STS, footer)) { in oa_tc6_submit_rx_skb()
773 if (FIELD_GET(OA_TC6_DATA_FOOTER_RXD_HEADER_BAD, footer)) { in oa_tc6_allocate_rx_skb()
778 if (!FIELD_GET(OA_TC6_DATA_FOOTER_CONFIG_SYNC, footer)) { in oa_tc6_allocate_rx_skb()
862 u32 footer) in oa_tc6_prcs_rx_chunk_payload()
868 u32 footer) in oa_tc6_prcs_rx_chunk_payload()
718 oa_tc6_process_rx_chunk_footer(struct oa_tc6 * tc6,u32 footer) oa_tc6_process_rx_chunk_footer() argument
818 oa_tc6_prcs_ongoing_rx_frame(struct oa_tc6 * tc6,u8 * payload,u32 footer) oa_tc6_prcs_ongoing_rx_frame() argument
824 oa_tc6_prcs_rx_chunk_payload(struct oa_tc6 * tc6,u8 * data,u32 footer) oa_tc6_prcs_rx_chunk_payload() argument
891 __be32 footer; oa_tc6_get_rx_chunk_footer() local
901 u32 footer; oa_tc6_process_spi_data_rx_buf() local
[all...]
/linux/net/ceph/
H A Dmessenger_v1.c175 m->footer.flags |= CEPH_MSG_FOOTER_COMPLETE; in prepare_write_message_footer()
178 con_out_kvec_add(con, sizeof_footer(con), &m->footer); in prepare_write_message_footer()
183 m->footer.sig = 0; in prepare_write_message_footer()
185 m->old_footer.flags = m->footer.flags; in prepare_write_message_footer()
235 m->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
239 m->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
241 m->footer.middle_crc = 0; in prepare_write_message()
243 le32_to_cpu(m->footer.front_crc), in prepare_write_message()
244 le32_to_cpu(m->footer.middle_crc)); in prepare_write_message()
245 m->footer.flags = 0; in prepare_write_message()
[all …]
H A Dauth_x.c1053 sigblock->front_crc = msg->footer.front_crc; in calc_signature()
1054 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature()
1055 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
1089 sigblock->front_crc = msg->footer.front_crc; in calc_signature()
1091 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature()
1093 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
1130 msg->footer.sig = sig; in ceph_x_sign_message()
1131 msg->footer.flags |= CEPH_MSG_FOOTER_SIGNED; in ceph_x_sign_message()
1148 if (sig_check == msg->footer.sig) in ceph_x_check_message_signature()
1150 if (msg->footer.flags & CEPH_MSG_FOOTER_SIGNED) in ceph_x_check_message_signature()
[all …]
H A Dmessenger.c2219 &msg->footer, sizeof(msg->footer), true); in ceph_msg_dump()
/linux/tools/bootconfig/
H A Dmain.c20 /* Bootconfig footer is [size][csum][BOOTCONFIG_MAGIC]. */
411 } footer; in apply_xbc()
483 /* Add a footer */ in usage()
484 footer.size = htole32(size); in usage()
485 footer.csum = htole32(csum); in usage()
486 memcpy(footer.magic, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN); in usage()
487 static_assert(sizeof(footer) == BOOTCONFIG_FOOTER_SIZE); in usage()
488 memcpy(data + size, &footer, BOOTCONFIG_FOOTER_SIZE); in usage()
374 } footer; apply_xbc() local
/linux/Documentation/networking/
H A Doa-tc6-framework.rst70 chunk consists of a data chunk payload ending with a 32-bit data footer.
71 The data footer indicates if there is receive frame data present within
186 current chunk (DV = 0 in the footer), indicating that the
241 Buffer Status Register or footer (Refer below for the footer info)
246 In case the previous data footer had no transmit credits available and
250 footer for the first data chunk will have the transmit credits available
255 chunk will have 64 bytes of data chunk payload followed by 4 bytes footer
264 | | 4 bytes footer | | 64 bytes chunk payload | |------------>
268 4 bytes footer contains the below fields,
344 P (Bit 0) - Parity. Parity bit calculated over the receive data footer.
[all …]
H A Dmctp.rst121 receiving packets with and without a message integrity check footer.
/linux/drivers/gpu/drm/tiny/
H A Dappletbdrm.c113 * - struct appletbdrm_fb_request_footer footer;
379 struct appletbdrm_fb_request_footer *footer; in appletbdrm_flush_damage() local
441 footer = (struct appletbdrm_fb_request_footer *)&request->data[frames_size]; in appletbdrm_flush_damage()
443 footer->unk_0c = cpu_to_le32(0xfffe); in appletbdrm_flush_damage()
444 footer->unk_1c = cpu_to_le32(0x80001); in appletbdrm_flush_damage()
445 footer->unk_34 = cpu_to_le32(0x80002); in appletbdrm_flush_damage()
446 footer->unk_4c = cpu_to_le32(0xffff); in appletbdrm_flush_damage()
447 footer->timestamp = cpu_to_le64(timestamp); in appletbdrm_flush_damage()
458 if (response->timestamp != footer->timestamp) { in appletbdrm_flush_damage()
/linux/tools/verification/rvgen/rvgen/
H A Ddot2c.py233 footer = "};\n"
234 return footer
/linux/scripts/
H A Dbpf_doc.py542 footer = '''
625 print(footer)
852 footer = ''
853 print(footer)
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_rx.h37 __le32 footer; member
H A Dt7xx_hif_dpmaif_rx.c75 value = FIELD_GET(PD_PIT_H_BID, le32_to_cpu(pit_info->pd.footer)); in t7xx_normal_pit_bid()
464 return FIELD_GET(PD_PIT_PIT_SEQ, le32_to_cpu(pit->pd.footer)); in t7xx_dpmaif_read_pit_seq()
/linux/Documentation/driver-api/soundwire/
H A Dbra.rst28 10-byte overhead per frame (header and footer response).
90 footer response.
97 The footer response can be one of:
174 packet the header and footer response are provided by the Peripheral
177 will change for header/footer response as well as the data transmitted
/linux/drivers/net/ethernet/vertexcom/
H A Dmse102x.c219 __be16 *footer = skb_put(skb, DET_DFT_LEN); in mse102x_put_footer() local
221 *footer = cpu_to_be16(DET_DFT); in mse102x_put_footer()
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_wmfw.c37 struct wmfw_footer footer; member
/linux/include/linux/ceph/
H A Dmessenger.h269 struct ceph_msg_footer footer; /* footer */ member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpcie.c1727 struct brcmf_random_seed_footer footer = { in brcmf_pcie_download_fw_nvram() local
1737 address -= sizeof(footer); in brcmf_pcie_download_fw_nvram()
1738 memcpy_toio(devinfo->tcm + address, &footer, in brcmf_pcie_download_fw_nvram()
1739 sizeof(footer)); in brcmf_pcie_download_fw_nvram()
/linux/drivers/firmware/cirrus/
H A Dcs_dsp.c1530 const struct wmfw_footer *footer; in cs_dsp_load() local
1574 if ((pos == 0) || (sizeof(*footer) > firmware->size - pos)) { in cs_dsp_load()
1579 footer = (void *)&firmware->data[pos]; in cs_dsp_load()
1580 pos += sizeof(*footer); in cs_dsp_load()
1588 le64_to_cpu(footer->timestamp)); in cs_dsp_load()
/linux/tools/power/pm-graph/
H A Dsleepgraph.py998 footer = '#\n'
1002 footer += '# platform-testcmd: %s\n' % (self.testcommand)
1069 footer += '# platform-devinfo: %s\n' % self.b64zip(out)
1073 footer += '# platform-%s: %s | %s\n' % (name, cmdline, self.b64zip(info))
1074 self.flog(footer)
4979 # write the footer and close