Lines Matching defs:error
31 static inline enum omap3_l3_code omap3_l3_decode_error_code(u64 error)
33 return (error & 0x0f000000) >> L3_ERROR_LOG_CODE;
41 static inline unsigned omap3_l3_decode_cmd(u64 error)
43 return (error & 0x07) >> L3_ERROR_LOG_CMD;
46 static inline enum omap3_l3_initiator_id omap3_l3_decode_initid(u64 error)
48 return (error & 0xff00) >> L3_ERROR_LOG_INITID;
51 static inline unsigned omap3_l3_decode_req_info(u64 error)
53 return (error >> 32) & 0xffff;
74 return "UNKNOWN error";
131 * @error: L3_ERROR_LOG register of our block
140 u64 error, int error_addr)
142 u8 code = omap3_l3_decode_error_code(error);
143 u8 initid = omap3_l3_decode_initid(error);
144 u8 multi = error & L3_ERROR_LOG_MULTI;
160 u64 error;
173 /* identify the error source */
177 error = omap3_l3_readll(base, L3_ERROR_LOG);
178 if (error) {
180 ret |= omap3_l3_block_irq(l3, error, error_addr);
184 * if we have a timeout error, there's nothing we can
186 * of such errors and handle the others. timeout error
196 /* clear the error log register */
197 omap3_l3_writell(base, L3_ERROR_LOG, error);