Lines Matching full:pr

25 #include "dfl-fme-pr.h"
36 /* FME PR Control Register Bitfield */
37 #define FME_PR_CTRL_PR_RST BIT_ULL(0) /* Reset PR engine */
38 #define FME_PR_CTRL_PR_RSTACK BIT_ULL(4) /* Ack for PR engine reset */
39 #define FME_PR_CTRL_PR_RGN_ID GENMASK_ULL(9, 7) /* PR Region ID */
40 #define FME_PR_CTRL_PR_START BIT_ULL(12) /* Start to request PR service */
41 #define FME_PR_CTRL_PR_COMPLETE BIT_ULL(13) /* PR data push completion */
43 /* FME PR Status Register Bitfield */
44 /* Number of available entries in HW queue inside the PR engine. */
46 #define FME_PR_STS_PR_STS BIT_ULL(16) /* PR operation status */
49 #define FME_PR_STS_PR_HOST_STS GENMASK_ULL(27, 24) /* PR host status */
51 /* FME PR Data Register Bitfield */
52 /* PR data from the raw-binary file. */
55 /* FME PR Error Register */
56 /* PR Operation errors detected. */
60 /* Incompatible PR bitstream detected. */
62 /* PR data push protocol violated. */
64 /* PR data fifo overflow error detected */
121 dev_dbg(dev, "resetting PR before initiated PR\n"); in fme_mgr_write_init()
130 dev_err(dev, "PR Reset ACK timeout\n"); in fme_mgr_write_init()
139 "waiting for PR resource in HW to be initialized and ready\n"); in fme_mgr_write_init()
144 dev_err(dev, "PR Status timeout\n"); in fme_mgr_write_init()
149 dev_dbg(dev, "check and clear previous PR error\n"); in fme_mgr_write_init()
152 dev_dbg(dev, "previous PR error detected %llx\n", in fme_mgr_write_init()
155 dev_dbg(dev, "set PR port ID\n"); in fme_mgr_write_init()
183 * driver can push data to PR hardware using PR_DATA register once HW in fme_mgr_write()
185 * pr data write to PR_DATA register. If pr_credit <= 1, driver needs in fme_mgr_write()
204 dev_err(dev, "Invalid PR bitstream size\n"); in fme_mgr_write()
233 dev_dbg(dev, "waiting for HW to release PR resource\n"); in fme_mgr_write_complete()
238 dev_err(dev, "PR Completion ACK timeout.\n"); in fme_mgr_write_complete()
242 dev_dbg(dev, "PR operation complete, checking status\n"); in fme_mgr_write_complete()
245 dev_dbg(dev, "PR error detected %llx\n", in fme_mgr_write_complete()
250 dev_dbg(dev, "PR done successfully\n"); in fme_mgr_write_complete()