Lines Matching full:8051
5391 "8051", in is_dc_name()
6197 * Clear the LCB selector - allow 8051 access. The DCC selector always
6207 * Acquire LCB access from the 8051. If the host already has access,
6208 * just increment a counter. Otherwise, inform the 8051 that the
6213 * -EBUSY if the 8051 has control and cannot be disturbed
6214 * -errno if unable to acquire access from the 8051
6261 * from 1 to 0, inform 8051 that it has control back.
6265 * -errno if unable to release access to the 8051
6312 * leaving access to the 8051. Assign access now - this constrains the call
6322 * Write a response back to a 8051 request.
6334 * Handle host requests from the 8051.
6363 dd_dev_info(dd, "8051 request: request 0x%x not supported\n", in handle_8051_request()
6387 dd_dev_err(dd, "8051 request: unknown request 0x%x\n", type); in handle_8051_request()
6519 * Going to OFFLINE would have causes the 8051 to put the in _dc_shutdown()
6520 * SerDes into reset already. Just need to shut down the 8051, in _dc_shutdown()
6546 /* Take the 8051 out of reset */ in _dc_start()
6548 /* Wait until 8051 is ready */ in _dc_start()
6550 dd_dev_err(dd, "%s: timeout starting 8051 firmware\n", in _dc_start()
6963 * Handle a link up interrupt from the 8051.
7091 * Handle a link down interrupt from the 8051.
7110 /* Go offline first, then deal with reading/writing through 8051 */ in handle_link_down()
7302 * Read the active lane information from the 8051 registers and return
7305 * Active lane information is found in these 8051 registers:
7330 * handle_verify_cap(). The ASIC 8051 firmware does not correctly in get_link_widths()
7396 * and should be called when the 8051 signals linkup.
7417 * Handle a verify capabilities interrupt from the 8051.
7576 /* give 8051 access to the LCB CSRs */ in handle_verify_cap()
7580 /* tell the 8051 to go to LinkUp */ in handle_verify_cap()
7638 /* the 8051 reported a dead link as a downgrade */ in apply_link_downgrade_policy()
7686 * Handle a link downgrade interrupt from the 8051.
7695 dd_dev_info(ppd->dd, "8051: Link width downgrade\n"); in handle_link_downgrade()
7739 /* 8051 information set by firmware */ in handle_8051_interrupt()
7753 * LNI error indications are cleared by the 8051 in handle_8051_interrupt()
7776 dd_dev_err(dd, "8051 info error: %s\n", in handle_8051_interrupt()
7789 * NOTE: The 8051 clears the host message in handle_8051_interrupt()
7790 * information *on the next 8051 command*. in handle_8051_interrupt()
7801 dd_dev_info(dd, "8051: Link up\n"); in handle_8051_interrupt()
7820 dd_dev_info(dd, "8051: Link down%s\n", extra); in handle_8051_interrupt()
7830 dd_dev_info(dd, "8051 info host message: %s\n", in handle_8051_interrupt()
7840 * Lost the 8051 heartbeat. If this happens, we in handle_8051_interrupt()
7844 dd_dev_err(dd, "Lost 8051 heartbeat\n"); in handle_8051_interrupt()
7853 dd_dev_err(dd, "8051 error: %s\n", in handle_8051_interrupt()
8059 dd_dev_info_ratelimited(dd, "8051 access to LCB blocked\n"); in handle_dcc_err()
8569 * Use the 8051 to read a LCB CSR.
8647 /* if up, go through the 8051 for the value */ in read_lcb_csr()
8663 * Use the 8051 to write a LCB CSR.
8696 /* if up, go through the 8051 for the value */ in write_lcb_csr()
8710 * > 0 = 8051 command RETURN_CODE
8723 /* We can't send any commands to the 8051 if it's in reset */ in do_8051_command()
8730 * If an 8051 host command timed out previously, then the 8051 is in do_8051_command()
8734 * block (including 8051). (Is this too big of a hammer?) in do_8051_command()
8736 * If the 8051 times out a second time, the reset did not bring it in do_8051_command()
8742 "Previous 8051 host command timed out, skipping command %u\n", in do_8051_command()
8752 * If there is no timeout, then the 8051 command interface is in do_8051_command()
8800 dd_dev_err(dd, "8051 host command %u timeout\n", type); in do_8051_command()
8850 "load 8051 config: field id %d, lane %d, err %d\n", in load_8051_config()
8857 * Read the 8051 firmware "registers". Use the RAM directly. Always
9142 * the 8051.
10479 * depending on how the link went down. The 8051 firmware in goto_offline()
10488 … "After going offline, timed out waiting for the 8051 to become ready to accept host requests\n"); in goto_offline()
10495 * The state is now offline and the 8051 is ready to accept host in goto_offline()
15468 * 8051 to put the Serdes in reset. However, we don't want to in handle_temp_err()
15480 * Step 2: Shutdown LCB and 8051 in handle_temp_err()