Lines Matching refs:tx

155 	if (WARN_ON(req->tx.len == 0))  in peci_request_xfer_retry()
169 req->tx.buf[1] |= PECI_RETRY_BIT; in peci_request_xfer_retry()
211 req->tx.len = tx_len; in peci_request_alloc()
237 req->tx.buf[0] = PECI_GET_DIB_CMD; in peci_xfer_get_dib()
258 req->tx.buf[0] = PECI_GET_TEMP_CMD; in peci_xfer_get_temp()
280 req->tx.buf[0] = PECI_RDPKGCFG_CMD; in __pkg_cfg_read()
281 req->tx.buf[1] = 0; in __pkg_cfg_read()
282 req->tx.buf[2] = index; in __pkg_cfg_read()
283 put_unaligned_le16(param, &req->tx.buf[3]); in __pkg_cfg_read()
313 req->tx.buf[0] = PECI_RDPCICFGLOCAL_CMD; in __pci_cfg_local_read()
314 req->tx.buf[1] = 0; in __pci_cfg_local_read()
315 put_unaligned_le24(pci_addr, &req->tx.buf[2]); in __pci_cfg_local_read()
341 req->tx.buf[0] = PECI_RDENDPTCFG_CMD; in __ep_pci_cfg_read()
342 req->tx.buf[1] = 0; in __ep_pci_cfg_read()
343 req->tx.buf[2] = msg_type; in __ep_pci_cfg_read()
344 req->tx.buf[3] = 0; in __ep_pci_cfg_read()
345 req->tx.buf[4] = 0; in __ep_pci_cfg_read()
346 req->tx.buf[5] = 0; in __ep_pci_cfg_read()
347 req->tx.buf[6] = PECI_ENDPTCFG_ADDR_TYPE_PCI; in __ep_pci_cfg_read()
348 req->tx.buf[7] = seg; /* PCI Segment */ in __ep_pci_cfg_read()
349 put_unaligned_le32(pci_addr, &req->tx.buf[8]); in __ep_pci_cfg_read()
371 req->tx.buf[0] = PECI_RDENDPTCFG_CMD; in __ep_mmio_read()
372 req->tx.buf[1] = 0; in __ep_mmio_read()
373 req->tx.buf[2] = PECI_ENDPTCFG_TYPE_MMIO; in __ep_mmio_read()
374 req->tx.buf[3] = 0; /* Endpoint ID */ in __ep_mmio_read()
375 req->tx.buf[4] = 0; /* Reserved */ in __ep_mmio_read()
376 req->tx.buf[5] = bar; in __ep_mmio_read()
377 req->tx.buf[6] = addr_type; in __ep_mmio_read()
378 req->tx.buf[7] = seg; /* PCI Segment */ in __ep_mmio_read()
379 req->tx.buf[8] = PCI_DEVFN(dev, func); in __ep_mmio_read()
380 req->tx.buf[9] = bus; /* PCI Bus */ in __ep_mmio_read()
383 put_unaligned_le32(offset, &req->tx.buf[10]); in __ep_mmio_read()
385 put_unaligned_le64(offset, &req->tx.buf[10]); in __ep_mmio_read()