Lines Matching full:headers

98 	void (*tlp_write_pkt)(struct altera_pcie *pcie, u32 *headers,
206 * Minimum 2 loops to read TLP headers and 1 loop to read data in tlp_read_packet()
283 static void tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in tlp_write_packet() argument
288 tlp_rp_regdata.reg0 = headers[0]; in tlp_write_packet()
289 tlp_rp_regdata.reg1 = headers[1]; in tlp_write_packet()
294 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet()
302 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet()
310 static void s10_tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in s10_tlp_write_packet() argument
313 s10_tlp_write_tx(pcie, headers[0], RP_TX_SOP); in s10_tlp_write_packet()
314 s10_tlp_write_tx(pcie, headers[1], 0); in s10_tlp_write_packet()
315 s10_tlp_write_tx(pcie, headers[2], 0); in s10_tlp_write_packet()
320 int where, u8 byte_en, bool read, u32 *headers) in get_tlp_header() argument
332 headers[0] = TLP_CFG_DW0(pcie, cfg); in get_tlp_header()
333 headers[1] = TLP_CFG_DW1(pcie, tag, byte_en); in get_tlp_header()
334 headers[2] = TLP_CFG_DW2(bus, devfn, where); in get_tlp_header()
340 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_read() local
343 headers); in tlp_cfg_dword_read()
345 pcie->pcie_data->ops->tlp_write_pkt(pcie, headers, 0, false); in tlp_cfg_dword_read()
353 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_write() local
357 headers); in tlp_cfg_dword_write()
361 pcie->pcie_data->ops->tlp_write_pkt(pcie, headers, in tlp_cfg_dword_write()
364 pcie->pcie_data->ops->tlp_write_pkt(pcie, headers, in tlp_cfg_dword_write()