Searched refs:MCU_TYPE_PLA (Results 1 – 6 of 6) sorted by relevance
/openbmc/u-boot/drivers/usb/eth/ |
H A D | r8152_fw.c | 824 r8152b_pla_patch_a, MCU_TYPE_PLA); in r8152b_firmware() 827 ocp_write_word(tp, MCU_TYPE_PLA, in r8152b_firmware() 849 ocp_write_word(tp, MCU_TYPE_PLA, in r8152b_firmware() 865 ocp_write_word(tp, MCU_TYPE_PLA, in r8153_firmware() 874 ocp_write_word(tp, MCU_TYPE_PLA, in r8153_firmware() 901 r8153_pla_patch_b, MCU_TYPE_PLA); in r8153_firmware() 904 ocp_write_word(tp, MCU_TYPE_PLA, in r8153_firmware() 919 ocp_write_word(tp, MCU_TYPE_PLA, in r8153_firmware() 948 r8153_pla_patch_c, MCU_TYPE_PLA); in r8153_firmware() 951 ocp_write_word(tp, MCU_TYPE_PLA, in r8153_firmware() [all …]
|
H A D | r8152.c | 298 return ocp_read_word(tp, MCU_TYPE_PLA, ocp_index); in ocp_reg_read() 312 ocp_write_word(tp, MCU_TYPE_PLA, ocp_index, data); in ocp_reg_write() 361 ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_FMC); in r8152b_reset_packet_filter() 363 ocp_write_word(tp, MCU_TYPE_PLA, PLA_FMC, ocp_data); in r8152b_reset_packet_filter() 365 ocp_write_word(tp, MCU_TYPE_PLA, PLA_FMC, ocp_data); in r8152b_reset_packet_filter() 445 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CR); in rtl_enable() 447 ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CR, ocp_data); in rtl_enable() 645 ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CR, 0x00); in r8152b_exit_oob() 664 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RXFIFO_CTRL1, in r8152b_exit_oob() 666 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RXFIFO_CTRL2, in r8152b_exit_oob() [all …]
|
H A D | r8152.h | 463 #define MCU_TYPE_PLA 0x0100 macro
|
/openbmc/linux/drivers/net/usb/ |
H A D | r8152.c | 1590 return ocp_read_word(tp, MCU_TYPE_PLA, ocp_index); in ocp_reg_read() 1604 ocp_write_word(tp, MCU_TYPE_PLA, ocp_index, data); in ocp_reg_write() 2967 ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CR, CR_RST); in rtl8152_nic_reset() 3140 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CR); in rtl_enable() 3142 ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CR, ocp_data); in rtl_enable() 5114 type = MCU_TYPE_PLA; in rtl8152_fw_mac_apply() 5520 ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CR, 0x00); in r8152b_exit_oob() 6057 ocp_write_word(tp, MCU_TYPE_PLA, PLA_RMS, 1522); in r8153_enter_oob() 6601 ocp_write_word(tp, MCU_TYPE_PLA, PLA_TXFIFO_FULL, in rtl8156_change_mtu() 6708 ocp_write_word(tp, MCU_TYPE_PLA, PLA_RMS, 1522); in rtl8156_down() [all …]
|
H A D | r8153_ecm.c | 25 MCU_TYPE_PLA | byen, &tmp, sizeof(tmp)); in pla_read_word() 56 MCU_TYPE_PLA | byen, &tmp, sizeof(tmp)); in pla_write_word() 65 MCU_TYPE_PLA | byen, &tmp, sizeof(tmp)); in pla_write_word()
|
/openbmc/linux/include/linux/usb/ |
H A D | r8152.h | 21 #define MCU_TYPE_PLA 0x0100 macro
|