| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | eprom.c | 255 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/net/ceph/ |
| H A D | messenger_v1.c | 175 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 D | auth_x.c | 1060 sigblock->front_crc = msg->footer.front_crc; in calc_signature() 1061 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature() 1062 sigblock->data_crc = msg->footer.data_crc; in calc_signature() 1096 sigblock->front_crc = msg->footer.front_crc; in calc_signature() 1098 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature() 1100 sigblock->data_crc = msg->footer.data_crc; in calc_signature() 1137 msg->footer.sig = sig; in ceph_x_sign_message() 1138 msg->footer.flags |= CEPH_MSG_FOOTER_SIGNED; in ceph_x_sign_message() 1155 if (sig_check == msg->footer.sig) in ceph_x_check_message_signature() 1157 if (msg->footer.flags & CEPH_MSG_FOOTER_SIGNED) in ceph_x_check_message_signature() [all …]
|
| H A D | messenger.c | 2218 &msg->footer, sizeof(msg->footer), true); in ceph_msg_dump()
|
| /linux/drivers/net/ethernet/ |
| H A D | oa_tc6.c | 838 static int oa_tc6_process_rx_chunk_footer(struct oa_tc6 *tc6, u32 footer) in oa_tc6_process_rx_chunk_footer() argument 847 tc6->tx_credits = FIELD_GET(OA_TC6_DATA_FOOTER_TX_CREDITS, footer); in oa_tc6_process_rx_chunk_footer() 849 footer); in oa_tc6_process_rx_chunk_footer() 851 if (FIELD_GET(OA_TC6_DATA_FOOTER_EXTENDED_STS, footer)) { in oa_tc6_process_rx_chunk_footer() 864 if (FIELD_GET(OA_TC6_DATA_FOOTER_RXD_HEADER_BAD, footer)) { in oa_tc6_process_rx_chunk_footer() 869 if (!FIELD_GET(OA_TC6_DATA_FOOTER_CONFIG_SYNC, footer)) { in oa_tc6_process_rx_chunk_footer() 978 u32 footer) in oa_tc6_prcs_ongoing_rx_frame() argument 985 u32 footer) in oa_tc6_prcs_rx_chunk_payload() argument 988 footer) * sizeof(u32); in oa_tc6_prcs_rx_chunk_payload() 990 footer); in oa_tc6_prcs_rx_chunk_payload() [all …]
|
| /linux/tools/bootconfig/ |
| H A D | main.c | 20 /* Bootconfig footer is [size][csum][BOOTCONFIG_MAGIC]. */ 422 } footer; in apply_xbc() local 494 /* Add a footer */ in apply_xbc() 495 footer.size = htole32(size); in apply_xbc() 496 footer.csum = htole32(csum); in apply_xbc() 497 memcpy(footer.magic, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN); in apply_xbc() 498 static_assert(sizeof(footer) == BOOTCONFIG_FOOTER_SIZE, in apply_xbc() 499 "bootconfig footer size mismatch"); in apply_xbc() 500 memcpy(data + size, &footer, BOOTCONFIG_FOOTER_SIZE); in apply_xbc()
|
| /linux/Documentation/networking/ |
| H A D | oa-tc6-framework.rst | 70 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 D | mctp.rst | 121 receiving packets with and without a message integrity check footer.
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | appletbdrm.c | 385 struct appletbdrm_fb_request_footer *footer; in appletbdrm_flush_damage() local 447 footer = (struct appletbdrm_fb_request_footer *)&request->data[frames_size]; in appletbdrm_flush_damage() 449 footer->unk_0c = cpu_to_le32(0xfffe); in appletbdrm_flush_damage() 450 footer->unk_1c = cpu_to_le32(0x80001); in appletbdrm_flush_damage() 451 footer->unk_34 = cpu_to_le32(0x80002); in appletbdrm_flush_damage() 452 footer->unk_4c = cpu_to_le32(0xffff); in appletbdrm_flush_damage() 453 footer->timestamp = cpu_to_le64(timestamp); in appletbdrm_flush_damage() 464 if (response->timestamp != footer->timestamp) { in appletbdrm_flush_damage()
|
| /linux/drivers/hid/ |
| H A D | hid-oxp.c | 453 size_t data_size, u8 *footer, size_t footer_size) in mcu_property_out() argument 468 memcpy(dmabuf + OXP_PACKET_SIZE - footer_size, footer, footer_size); in mcu_property_out() 494 u8 footer[] = { GEN2_MESSAGE_ID, fid }; in oxp_gen_2_property_out() local 496 size_t footer_size = ARRAY_SIZE(footer); in oxp_gen_2_property_out() 498 return mcu_property_out(header, header_size, data, data_size, footer, in oxp_gen_2_property_out() 886 u8 footer[9] = { 0x39, 0xe3, 0x39, 0xe3, 0xe3, 0x02, 0x04, 0x39, 0x39 }; in oxp_rumble_intensity_set() local 887 size_t footer_size = ARRAY_SIZE(footer); in oxp_rumble_intensity_set() 893 memcpy(data + data_size - footer_size, footer, footer_size); in oxp_rumble_intensity_set()
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | dot2c.py | 233 footer = "};\n" 234 return footer
|
| /linux/drivers/soundwire/ |
| H A D | cadence_master.c | 2589 static int check_frame_end(u32 footer) in check_frame_end() argument 2592 if (!(footer & BIT(30))) in check_frame_end() 2595 return check_response(footer); in check_frame_end() 2604 u32 footer; in sdw_cdns_check_write_response() local 2617 footer = *p_data++; in sdw_cdns_check_write_response() 2626 ret = check_frame_end(footer); in sdw_cdns_check_write_response() 2629 __func__, i + 1, num_frames, footer); in sdw_cdns_check_write_response() 2686 u32 footer; in sdw_cdns_check_read_response() local 2728 footer = *p_data++; in sdw_cdns_check_read_response() 2729 ret = check_frame_end(footer); in sdw_cdns_check_read_response() [all …]
|
| /linux/scripts/ |
| H A D | bpf_doc.py | 542 footer = ''' 625 print(footer) 852 footer = '' 853 print(footer)
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_hif_dpmaif_rx.h | 37 __le32 footer; member
|
| H A D | t7xx_hif_dpmaif_rx.c | 75 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 D | bra.rst | 28 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/fs/f2fs/ |
| H A D | segment.h | 100 #define GET_SUM_TYPE(footer) ((footer)->entry_type) argument 101 #define SET_SUM_TYPE(footer, type) ((footer)->entry_type = (type)) argument
|
| H A D | inode.c | 155 __le32 ino = node->footer.ino; in f2fs_inode_chksum()
|
| H A D | f2fs.h | 3253 #define RAW_IS_INODE(p) ((p)->footer.nid == (p)->footer.ino)
|
| /linux/drivers/net/ethernet/vertexcom/ |
| H A D | mse102x.c | 219 __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 D | cs_dsp_mock_wmfw.c | 37 struct wmfw_footer footer; member
|
| /linux/include/linux/ceph/ |
| H A D | messenger.h | 269 struct ceph_msg_footer footer; /* footer */ member
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pcie.c | 1731 struct brcmf_random_seed_footer footer = { in brcmf_pcie_download_fw_nvram() local 1741 address -= sizeof(footer); in brcmf_pcie_download_fw_nvram() 1742 memcpy_toio(devinfo->tcm + address, &footer, in brcmf_pcie_download_fw_nvram() 1743 sizeof(footer)); in brcmf_pcie_download_fw_nvram()
|
| /linux/drivers/firmware/cirrus/ |
| H A D | cs_dsp.c | 1530 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 D | sleepgraph.py | 998 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
|