Searched refs:ocp_read_byte (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/usb/eth/ |
| H A D | r8152_fw.c | 752 data = ocp_read_byte(tp, MCU_TYPE_USB, 0xd429); in r8152b_set_dq_desc() 756 data = ocp_read_byte(tp, MCU_TYPE_USB, 0xd429); in r8152b_set_dq_desc() 807 if (!(ocp_read_byte(tp, MCU_TYPE_USB, 0xe404) & 1)) in r8153_wdt1_end() 939 if (ocp_read_byte(tp, MCU_TYPE_USB, 0xcfef) & 1) { in r8153_firmware()
|
| H A D | r8152.c | 250 u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte() function 401 return ocp_read_byte(tp, MCU_TYPE_PLA, PLA_PHYSTATUS); in rtl8152_get_speed() 446 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CR); in rtl_enable() 648 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in r8152b_exit_oob() 696 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in r8152b_enter_oob() 716 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in r8152b_enter_oob() 788 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in r8153_first_init() 828 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in r8153_enter_oob() 849 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in r8153_enter_oob() 1086 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_USB2PHY); in r8153_init() [all …]
|
| H A D | r8152.h | 622 u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index);
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/ |
| H A D | r8152.c | 1270 static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte() function 1444 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, EFUSE); in vendor_mac_passthru_addr_read() 1452 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_MISC_1); in vendor_mac_passthru_addr_read() 2633 if (!(ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CR) & CR_RST)) in rtl8152_nic_reset() 2649 return ocp_read_byte(tp, MCU_TYPE_PLA, PLA_PHYSTATUS); in rtl8152_get_speed() 2776 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CR); in rtl_enable() 2903 ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); in rtl_disable() 3194 u32 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_POWER_CUT); in r8153b_ups_en() 3202 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, 0xcfff); in r8153b_ups_en() 3211 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, 0xcfff); in r8153b_ups_en() [all …]
|