Searched refs:MCU_TYPE_USB (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/drivers/usb/eth/ |
H A D | r8152_fw.c | 729 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_0, 0); in rtl_clear_bp() 730 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_2, 0); in rtl_clear_bp() 731 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_4, 0); in rtl_clear_bp() 732 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_6, 0); in rtl_clear_bp() 737 ocp_write_word(tp, MCU_TYPE_USB, USB_BP_BA, 0); in rtl_clear_bp() 886 r8153_usb_patch_b, MCU_TYPE_USB); in r8153_firmware() 889 ocp_write_word(tp, MCU_TYPE_USB, in r8153_firmware() 931 r8153_usb_patch_c, MCU_TYPE_USB); in r8153_firmware() 934 ocp_write_word(tp, MCU_TYPE_USB, in r8153_firmware() 974 usb_patch_d, MCU_TYPE_USB); in r8153_firmware() [all …]
|
H A D | r8152.c | 504 ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_UPS_CTRL); in r8152_power_cut_en() 509 ocp_write_word(tp, MCU_TYPE_USB, USB_UPS_CTRL, ocp_data); in r8152_power_cut_en() 544 ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_U2P3_CTRL); in r8153_u2p3en() 549 ocp_write_word(tp, MCU_TYPE_USB, USB_U2P3_CTRL, ocp_data); in r8153_u2p3en() 556 ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_POWER_CUT); in r8153_power_cut_en() 563 ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_MISC_0); in r8153_power_cut_en() 565 ocp_write_word(tp, MCU_TYPE_USB, USB_MISC_0, ocp_data); in r8153_power_cut_en() 681 ocp_write_dword(tp, MCU_TYPE_USB, USB_TX_DMA, in r8152b_exit_oob() 817 ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_USB_CTRL); in r8153_first_init() 820 ocp_write_word(tp, MCU_TYPE_USB, USB_USB_CTRL, ocp_data); in r8153_first_init() [all …]
|
H A D | r8152.h | 464 #define MCU_TYPE_USB 0x0000 macro
|
/openbmc/linux/drivers/net/usb/ |
H A D | r8152.c | 1728 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, EFUSE); in vendor_mac_passthru_addr_read() 3130 ocp_write_byte(tp, MCU_TYPE_USB, USB_UPT_RXDMA_OWN, in r8153b_rx_agg_chg_indicate() 3224 ocp_write_word(tp, MCU_TYPE_USB, USB_RX_EARLY_SIZE, in r8153_set_rx_early_size() 3230 ocp_write_word(tp, MCU_TYPE_USB, USB_RX_EARLY_SIZE, in r8153_set_rx_early_size() 4107 if (type == MCU_TYPE_USB) { in rtl_clear_bp() 4108 ocp_write_word(tp, MCU_TYPE_USB, USB_BP2_EN, 0); in rtl_clear_bp() 5117 type = MCU_TYPE_USB; in rtl8152_fw_mac_apply() 5170 ocp_write_byte(tp, MCU_TYPE_USB, fw_ver_reg, in rtl8152_fw_mac_apply() 5563 ocp_write_dword(tp, MCU_TYPE_USB, USB_TX_DMA, in r8152b_exit_oob() 5705 ocp_write_word(tp, MCU_TYPE_USB, USB_FC_TIMER, in r8153b_pre_firmware_1() [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | r8152.h | 22 #define MCU_TYPE_USB 0x0000 macro
|