ocp_data 1237 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 1241 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_MISC_0); ocp_data 1242 drivers/net/usb/r8152.c if ((ocp_data & AD_MASK) == 0x1000) { ocp_data 1244 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, EFUSE); ocp_data 1245 drivers/net/usb/r8152.c if ((ocp_data & PASS_THRU_MASK) != 1) { ocp_data 1252 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_MISC_1); ocp_data 1253 drivers/net/usb/r8152.c if ((ocp_data & BND_MASK) == 0 && (ocp_data & BD_MASK) == 0) { ocp_data 2347 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2350 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_RCR); ocp_data 2351 drivers/net/usb/r8152.c ocp_data &= ~RCR_ACPT_ALL; ocp_data 2352 drivers/net/usb/r8152.c ocp_data |= RCR_AB | RCR_APM; ocp_data 2357 drivers/net/usb/r8152.c ocp_data |= RCR_AM | RCR_AAP; ocp_data 2363 drivers/net/usb/r8152.c ocp_data |= RCR_AM; ocp_data 2375 drivers/net/usb/r8152.c ocp_data |= RCR_AM; ocp_data 2383 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 2429 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2431 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_FMC); ocp_data 2432 drivers/net/usb/r8152.c ocp_data &= ~FMC_FCR_MCU_EN; ocp_data 2433 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_FMC, ocp_data); ocp_data 2434 drivers/net/usb/r8152.c ocp_data |= FMC_FCR_MCU_EN; ocp_data 2435 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_FMC, ocp_data); ocp_data 2466 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2471 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EEEP_CR); ocp_data 2472 drivers/net/usb/r8152.c ocp_data |= EEEP_CR_EEEP_TX; ocp_data 2473 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_EEEP_CR, ocp_data); ocp_data 2475 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EEEP_CR); ocp_data 2476 drivers/net/usb/r8152.c ocp_data &= ~EEEP_CR_EEEP_TX; ocp_data 2477 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_EEEP_CR, ocp_data); ocp_data 2483 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2485 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_MISC_1); ocp_data 2487 drivers/net/usb/r8152.c ocp_data |= RXDY_GATED_EN; ocp_data 2489 drivers/net/usb/r8152.c ocp_data &= ~RXDY_GATED_EN; ocp_data 2490 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_MISC_1, ocp_data); ocp_data 2584 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2588 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CR); ocp_data 2589 drivers/net/usb/r8152.c ocp_data |= CR_RE | CR_TE; ocp_data 2590 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CR, ocp_data); ocp_data 2619 drivers/net/usb/r8152.c u32 ocp_data = tp->coalesce / 8; ocp_data 2627 drivers/net/usb/r8152.c ocp_data); ocp_data 2638 drivers/net/usb/r8152.c ocp_data); ocp_data 2648 drivers/net/usb/r8152.c u32 ocp_data = tp->rx_buf_sz - rx_reserved_size(tp->netdev->mtu); ocp_data 2656 drivers/net/usb/r8152.c ocp_data / 4); ocp_data 2661 drivers/net/usb/r8152.c ocp_data / 8); ocp_data 2684 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2692 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_RCR); ocp_data 2693 drivers/net/usb/r8152.c ocp_data &= ~RCR_ACPT_ALL; ocp_data 2694 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 2704 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 2705 drivers/net/usb/r8152.c if ((ocp_data & FIFO_EMPTY) == FIFO_EMPTY) ocp_data 2723 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2725 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_UPS_CTRL); ocp_data 2727 drivers/net/usb/r8152.c ocp_data |= POWER_CUT; ocp_data 2729 drivers/net/usb/r8152.c ocp_data &= ~POWER_CUT; ocp_data 2730 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_UPS_CTRL, ocp_data); ocp_data 2732 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_PM_CTRL_STATUS); ocp_data 2733 drivers/net/usb/r8152.c ocp_data &= ~RESUME_INDICATE; ocp_data 2734 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_PM_CTRL_STATUS, ocp_data); ocp_data 2739 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2741 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CPCR); ocp_data 2743 drivers/net/usb/r8152.c ocp_data |= CPCR_RX_VLAN; ocp_data 2745 drivers/net/usb/r8152.c ocp_data &= ~CPCR_RX_VLAN; ocp_data 2746 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_CPCR, ocp_data); ocp_data 2781 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2784 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CONFIG34); ocp_data 2785 drivers/net/usb/r8152.c if (ocp_data & LINK_ON_WAKE_EN) ocp_data 2788 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CONFIG5); ocp_data 2789 drivers/net/usb/r8152.c if (ocp_data & UWF_EN) ocp_data 2791 drivers/net/usb/r8152.c if (ocp_data & BWF_EN) ocp_data 2793 drivers/net/usb/r8152.c if (ocp_data & MWF_EN) ocp_data 2796 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CFG_WOL); ocp_data 2797 drivers/net/usb/r8152.c if (ocp_data & MAGIC_EN) ocp_data 2805 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2809 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CONFIG34); ocp_data 2810 drivers/net/usb/r8152.c ocp_data &= ~LINK_ON_WAKE_EN; ocp_data 2812 drivers/net/usb/r8152.c ocp_data |= LINK_ON_WAKE_EN; ocp_data 2813 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_CONFIG34, ocp_data); ocp_data 2815 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CONFIG5); ocp_data 2816 drivers/net/usb/r8152.c ocp_data &= ~(UWF_EN | BWF_EN | MWF_EN); ocp_data 2818 drivers/net/usb/r8152.c ocp_data |= UWF_EN; ocp_data 2820 drivers/net/usb/r8152.c ocp_data |= BWF_EN; ocp_data 2822 drivers/net/usb/r8152.c ocp_data |= MWF_EN; ocp_data 2823 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_CONFIG5, ocp_data); ocp_data 2827 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CFG_WOL); ocp_data 2828 drivers/net/usb/r8152.c ocp_data &= ~MAGIC_EN; ocp_data 2830 drivers/net/usb/r8152.c ocp_data |= MAGIC_EN; ocp_data 2831 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_CFG_WOL, ocp_data); ocp_data 2876 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2878 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_LPM_CONFIG); ocp_data 2880 drivers/net/usb/r8152.c ocp_data |= LPM_U1U2_EN; ocp_data 2882 drivers/net/usb/r8152.c ocp_data &= ~LPM_U1U2_EN; ocp_data 2884 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_LPM_CONFIG, ocp_data); ocp_data 2889 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 2891 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_U2P3_CTRL); ocp_data 2893 drivers/net/usb/r8152.c ocp_data |= U2P3_ENABLE; ocp_data 2895 drivers/net/usb/r8152.c ocp_data &= ~U2P3_ENABLE; ocp_data 2896 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_U2P3_CTRL, ocp_data); ocp_data 3018 drivers/net/usb/r8152.c u32 ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_POWER_CUT); ocp_data 3023 drivers/net/usb/r8152.c ocp_data |= UPS_EN | USP_PREWAKE | PHASE2_EN; ocp_data 3024 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_POWER_CUT, ocp_data); ocp_data 3026 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, 0xcfff); ocp_data 3027 drivers/net/usb/r8152.c ocp_data |= BIT(0); ocp_data 3028 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, 0xcfff, ocp_data); ocp_data 3032 drivers/net/usb/r8152.c ocp_data &= ~(UPS_EN | USP_PREWAKE); ocp_data 3033 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_POWER_CUT, ocp_data); ocp_data 3035 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, 0xcfff); ocp_data 3036 drivers/net/usb/r8152.c ocp_data &= ~BIT(0); ocp_data 3037 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, 0xcfff, ocp_data); ocp_data 3039 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_MISC_0); ocp_data 3040 drivers/net/usb/r8152.c ocp_data &= ~PCUT_STATUS; ocp_data 3041 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_MISC_0, ocp_data); ocp_data 3070 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3072 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_POWER_CUT); ocp_data 3074 drivers/net/usb/r8152.c ocp_data |= PWR_EN | PHASE2_EN; ocp_data 3076 drivers/net/usb/r8152.c ocp_data &= ~(PWR_EN | PHASE2_EN); ocp_data 3077 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_POWER_CUT, ocp_data); ocp_data 3079 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_MISC_0); ocp_data 3080 drivers/net/usb/r8152.c ocp_data &= ~PCUT_STATUS; ocp_data 3081 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_MISC_0, ocp_data); ocp_data 3086 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3088 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_POWER_CUT); ocp_data 3090 drivers/net/usb/r8152.c ocp_data |= PWR_EN | PHASE2_EN; ocp_data 3092 drivers/net/usb/r8152.c ocp_data &= ~PWR_EN; ocp_data 3093 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_POWER_CUT, ocp_data); ocp_data 3095 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_MISC_0); ocp_data 3096 drivers/net/usb/r8152.c ocp_data &= ~PCUT_STATUS; ocp_data 3097 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_MISC_0, ocp_data); ocp_data 3102 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3104 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_INDICATE_FALG); ocp_data 3106 drivers/net/usb/r8152.c ocp_data |= UPCOMING_RUNTIME_D3; ocp_data 3108 drivers/net/usb/r8152.c ocp_data &= ~UPCOMING_RUNTIME_D3; ocp_data 3109 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_INDICATE_FALG, ocp_data); ocp_data 3111 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_SUSPEND_FLAG); ocp_data 3112 drivers/net/usb/r8152.c ocp_data &= ~LINK_CHG_EVENT; ocp_data 3113 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_SUSPEND_FLAG, ocp_data); ocp_data 3115 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EXTRA_STATUS); ocp_data 3116 drivers/net/usb/r8152.c ocp_data &= ~LINK_CHANGE_FLAG; ocp_data 3117 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_EXTRA_STATUS, ocp_data); ocp_data 3130 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3136 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CONFIG34); ocp_data 3137 drivers/net/usb/r8152.c ocp_data |= LINK_OFF_WAKE_EN; ocp_data 3138 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_CONFIG34, ocp_data); ocp_data 3142 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3148 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_CONFIG34); ocp_data 3149 drivers/net/usb/r8152.c ocp_data &= ~LINK_OFF_WAKE_EN; ocp_data 3150 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_CONFIG34, ocp_data); ocp_data 3200 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3210 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_TEREDO_CFG); ocp_data 3211 drivers/net/usb/r8152.c ocp_data &= ~(TEREDO_SEL | TEREDO_RS_EVENT_MASK | ocp_data 3213 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_TEREDO_CFG, ocp_data); ocp_data 3235 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3237 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_BMU_RESET); ocp_data 3238 drivers/net/usb/r8152.c ocp_data &= ~(BMU_RESET_EP_IN | BMU_RESET_EP_OUT); ocp_data 3239 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_BMU_RESET, ocp_data); ocp_data 3240 drivers/net/usb/r8152.c ocp_data |= BMU_RESET_EP_IN | BMU_RESET_EP_OUT; ocp_data 3241 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_BMU_RESET, ocp_data); ocp_data 3284 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3286 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EEE_CR); ocp_data 3292 drivers/net/usb/r8152.c ocp_data |= EEE_RX_EN | EEE_TX_EN; ocp_data 3298 drivers/net/usb/r8152.c ocp_data &= ~(EEE_RX_EN | EEE_TX_EN); ocp_data 3306 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_EEE_CR, ocp_data); ocp_data 3314 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3317 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EEE_CR); ocp_data 3321 drivers/net/usb/r8152.c ocp_data |= EEE_RX_EN | EEE_TX_EN; ocp_data 3324 drivers/net/usb/r8152.c ocp_data &= ~(EEE_RX_EN | EEE_TX_EN); ocp_data 3328 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_EEE_CR, ocp_data); ocp_data 3397 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3400 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_RCR); ocp_data 3401 drivers/net/usb/r8152.c ocp_data &= ~RCR_ACPT_ALL; ocp_data 3402 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 3409 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3410 drivers/net/usb/r8152.c ocp_data &= ~NOW_IS_OOB; ocp_data 3411 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL, ocp_data); ocp_data 3413 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7); ocp_data 3414 drivers/net/usb/r8152.c ocp_data &= ~MCU_BORW_EN; ocp_data 3415 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7, ocp_data); ocp_data 3418 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3419 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3424 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7); ocp_data 3425 drivers/net/usb/r8152.c ocp_data |= RE_INIT_LL; ocp_data 3426 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7, ocp_data); ocp_data 3429 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3430 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3467 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_TCR0); ocp_data 3468 drivers/net/usb/r8152.c ocp_data |= TCR0_AUTO_FIFO; ocp_data 3469 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_TCR0, ocp_data); ocp_data 3474 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3477 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3478 drivers/net/usb/r8152.c ocp_data &= ~NOW_IS_OOB; ocp_data 3479 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL, ocp_data); ocp_data 3488 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3489 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3494 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7); ocp_data 3495 drivers/net/usb/r8152.c ocp_data |= RE_INIT_LL; ocp_data 3496 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7, ocp_data); ocp_data 3499 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3500 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3509 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_BDC_CR); ocp_data 3510 drivers/net/usb/r8152.c ocp_data |= ALDPS_PROXY_MODE; ocp_data 3511 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_BDC_CR, ocp_data); ocp_data 3513 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3514 drivers/net/usb/r8152.c ocp_data |= NOW_IS_OOB | DIS_MCU_CLROOB; ocp_data 3515 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL, ocp_data); ocp_data 3519 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_RCR); ocp_data 3520 drivers/net/usb/r8152.c ocp_data |= RCR_APM | RCR_AM | RCR_AB; ocp_data 3521 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 3576 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3603 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR); ocp_data 3604 drivers/net/usb/r8152.c ocp_data |= PFM_PWM_SWITCH; ocp_data 3605 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR, ocp_data); ocp_data 3636 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3639 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EFUSE_CMD); ocp_data 3640 drivers/net/usb/r8152.c ocp_data = (ocp_data & EFUSE_DATA_BIT16) << 9; /* data of bit16 */ ocp_data 3641 drivers/net/usb/r8152.c ocp_data |= ocp_read_word(tp, MCU_TYPE_PLA, PLA_EFUSE_DATA); ocp_data 3643 drivers/net/usb/r8152.c return ocp_data; ocp_data 3648 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3671 drivers/net/usb/r8152.c ocp_data = r8152_efuse_read(tp, 0x7d); ocp_data 3672 drivers/net/usb/r8152.c data = (u16)(((ocp_data & 0x1fff0) >> 1) | (ocp_data & 0x7)); ocp_data 3680 drivers/net/usb/r8152.c ocp_data = ocp_reg_read(tp, 0xc426); ocp_data 3681 drivers/net/usb/r8152.c ocp_data &= 0x3fff; ocp_data 3682 drivers/net/usb/r8152.c if (ocp_data) { ocp_data 3685 drivers/net/usb/r8152.c swr_cnt_1ms_ini = (16000000 / ocp_data) & SAW_CNT_1MS_MASK; ocp_data 3686 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_UPS_CFG); ocp_data 3687 drivers/net/usb/r8152.c ocp_data = (ocp_data & ~SAW_CNT_1MS_MASK) | swr_cnt_1ms_ini; ocp_data 3688 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_UPS_CFG, ocp_data); ocp_data 3691 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR); ocp_data 3692 drivers/net/usb/r8152.c ocp_data |= PFM_PWM_SWITCH; ocp_data 3693 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR, ocp_data); ocp_data 3727 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3734 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_RCR); ocp_data 3735 drivers/net/usb/r8152.c ocp_data &= ~RCR_ACPT_ALL; ocp_data 3736 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 3741 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3742 drivers/net/usb/r8152.c ocp_data &= ~NOW_IS_OOB; ocp_data 3743 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL, ocp_data); ocp_data 3745 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7); ocp_data 3746 drivers/net/usb/r8152.c ocp_data &= ~MCU_BORW_EN; ocp_data 3747 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7, ocp_data); ocp_data 3750 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3751 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3756 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7); ocp_data 3757 drivers/net/usb/r8152.c ocp_data |= RE_INIT_LL; ocp_data 3758 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7, ocp_data); ocp_data 3761 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3762 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3769 drivers/net/usb/r8152.c ocp_data = tp->netdev->mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; ocp_data 3770 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_RMS, ocp_data); ocp_data 3773 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_TCR0); ocp_data 3774 drivers/net/usb/r8152.c ocp_data |= TCR0_AUTO_FIFO; ocp_data 3775 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_TCR0, ocp_data); ocp_data 3789 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 3794 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3795 drivers/net/usb/r8152.c ocp_data &= ~NOW_IS_OOB; ocp_data 3796 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL, ocp_data); ocp_data 3802 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3803 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3808 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7); ocp_data 3809 drivers/net/usb/r8152.c ocp_data |= RE_INIT_LL; ocp_data 3810 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_SFF_STS_7, ocp_data); ocp_data 3813 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3814 drivers/net/usb/r8152.c if (ocp_data & LINK_LIST_READY) ocp_data 3819 drivers/net/usb/r8152.c ocp_data = tp->netdev->mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; ocp_data 3820 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_RMS, ocp_data); ocp_data 3827 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_TEREDO_CFG); ocp_data 3828 drivers/net/usb/r8152.c ocp_data &= ~TEREDO_WAKE_MASK; ocp_data 3829 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_TEREDO_CFG, ocp_data); ocp_data 3847 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_BDC_CR); ocp_data 3848 drivers/net/usb/r8152.c ocp_data |= ALDPS_PROXY_MODE; ocp_data 3849 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_BDC_CR, ocp_data); ocp_data 3851 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); ocp_data 3852 drivers/net/usb/r8152.c ocp_data |= NOW_IS_OOB | DIS_MCU_CLROOB; ocp_data 3853 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL, ocp_data); ocp_data 3857 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_RCR); ocp_data 3858 drivers/net/usb/r8152.c ocp_data |= RCR_APM | RCR_AM | RCR_AB; ocp_data 3859 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 4021 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4031 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CONFIG6); ocp_data 4032 drivers/net/usb/r8152.c ocp_data |= LANWAKE_CLR_EN; ocp_data 4033 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CONFIG6, ocp_data); ocp_data 4035 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_LWAKE_CTRL_REG); ocp_data 4036 drivers/net/usb/r8152.c ocp_data &= ~LANWAKE_PIN; ocp_data 4037 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_LWAKE_CTRL_REG, ocp_data); ocp_data 4039 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_SSPHYLINK1); ocp_data 4040 drivers/net/usb/r8152.c ocp_data &= ~DELAY_PHY_PWR_CHG; ocp_data 4041 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_SSPHYLINK1, ocp_data); ocp_data 4061 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4068 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CONFIG6); ocp_data 4069 drivers/net/usb/r8152.c ocp_data &= ~LANWAKE_CLR_EN; ocp_data 4070 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CONFIG6, ocp_data); ocp_data 4082 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4094 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3); ocp_data 4095 drivers/net/usb/r8152.c ocp_data &= ~PLA_MCU_SPDWN_EN; ocp_data 4096 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3, ocp_data); ocp_data 4104 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4111 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3); ocp_data 4112 drivers/net/usb/r8152.c ocp_data |= PLA_MCU_SPDWN_EN; ocp_data 4113 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3, ocp_data); ocp_data 4359 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4361 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_RSTTALLY); ocp_data 4362 drivers/net/usb/r8152.c ocp_data |= TALLY_RESET; ocp_data 4363 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_RSTTALLY, ocp_data); ocp_data 4368 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4383 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_LED_FEATURE); ocp_data 4384 drivers/net/usb/r8152.c ocp_data &= ~LED_MODE_MASK; ocp_data 4385 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_LED_FEATURE, ocp_data); ocp_data 4390 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR); ocp_data 4391 drivers/net/usb/r8152.c ocp_data |= TX_10M_IDLE_EN | PFM_PWM_SWITCH; ocp_data 4392 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR, ocp_data); ocp_data 4393 drivers/net/usb/r8152.c ocp_data = ocp_read_dword(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL); ocp_data 4394 drivers/net/usb/r8152.c ocp_data &= ~MCU_CLK_RATIO_MASK; ocp_data 4395 drivers/net/usb/r8152.c ocp_data |= MCU_CLK_RATIO | D3_CLK_GATED_EN; ocp_data 4396 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL, ocp_data); ocp_data 4397 drivers/net/usb/r8152.c ocp_data = GPHY_STS_MSK | SPEED_DOWN_MSK | ocp_data 4399 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_GPHY_INTR_IMR, ocp_data); ocp_data 4404 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_USB_CTRL); ocp_data 4405 drivers/net/usb/r8152.c ocp_data &= ~(RX_AGG_DISABLE | RX_ZERO_EN); ocp_data 4406 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_USB_CTRL, ocp_data); ocp_data 4411 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4447 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_SSPHYLINK2); ocp_data 4448 drivers/net/usb/r8152.c ocp_data &= ~pwd_dn_scale_mask; ocp_data 4449 drivers/net/usb/r8152.c ocp_data |= pwd_dn_scale(96); ocp_data 4450 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_SSPHYLINK2, ocp_data); ocp_data 4452 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_USB2PHY); ocp_data 4453 drivers/net/usb/r8152.c ocp_data |= USB2PHY_L1 | USB2PHY_SUSPEND; ocp_data 4454 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_USB2PHY, ocp_data); ocp_data 4456 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_DMY_REG0); ocp_data 4457 drivers/net/usb/r8152.c ocp_data &= ~ECM_ALDPS; ocp_data 4458 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_DMY_REG0, ocp_data); ocp_data 4460 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_CSR_DUMMY1); ocp_data 4462 drivers/net/usb/r8152.c ocp_data &= ~DYNAMIC_BURST; ocp_data 4464 drivers/net/usb/r8152.c ocp_data |= DYNAMIC_BURST; ocp_data 4465 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_CSR_DUMMY1, ocp_data); ocp_data 4467 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_CSR_DUMMY1); ocp_data 4469 drivers/net/usb/r8152.c ocp_data &= ~DYNAMIC_BURST; ocp_data 4471 drivers/net/usb/r8152.c ocp_data |= DYNAMIC_BURST; ocp_data 4472 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_CSR_DUMMY1, ocp_data); ocp_data 4475 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_CSR_DUMMY2); ocp_data 4476 drivers/net/usb/r8152.c ocp_data |= EP4_FULL_FC; ocp_data 4477 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_CSR_DUMMY2, ocp_data); ocp_data 4479 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_WDT11_CTRL); ocp_data 4480 drivers/net/usb/r8152.c ocp_data &= ~TIMER11_EN; ocp_data 4481 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_WDT11_CTRL, ocp_data); ocp_data 4483 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_LED_FEATURE); ocp_data 4484 drivers/net/usb/r8152.c ocp_data &= ~LED_MODE_MASK; ocp_data 4485 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_LED_FEATURE, ocp_data); ocp_data 4487 drivers/net/usb/r8152.c ocp_data = FIFO_EMPTY_1FB | ROK_EXIT_LPM; ocp_data 4489 drivers/net/usb/r8152.c ocp_data |= LPM_TIMER_500MS; ocp_data 4491 drivers/net/usb/r8152.c ocp_data |= LPM_TIMER_500US; ocp_data 4492 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_USB, USB_LPM_CTRL, ocp_data); ocp_data 4494 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_AFE_CTRL2); ocp_data 4495 drivers/net/usb/r8152.c ocp_data &= ~SEN_VAL_MASK; ocp_data 4496 drivers/net/usb/r8152.c ocp_data |= SEN_VAL_NORMAL | SEL_RXIDLE; ocp_data 4497 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_AFE_CTRL2, ocp_data); ocp_data 4506 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_CONFIG6); ocp_data 4507 drivers/net/usb/r8152.c ocp_data |= LANWAKE_CLR_EN; ocp_data 4508 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_CONFIG6, ocp_data); ocp_data 4510 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_LWAKE_CTRL_REG); ocp_data 4511 drivers/net/usb/r8152.c ocp_data &= ~LANWAKE_PIN; ocp_data 4512 drivers/net/usb/r8152.c ocp_write_byte(tp, MCU_TYPE_PLA, PLA_LWAKE_CTRL_REG, ocp_data); ocp_data 4515 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_USB_CTRL); ocp_data 4516 drivers/net/usb/r8152.c ocp_data &= ~(RX_AGG_DISABLE | RX_ZERO_EN); ocp_data 4518 drivers/net/usb/r8152.c ocp_data |= RX_AGG_DISABLE; ocp_data 4520 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_USB_CTRL, ocp_data); ocp_data 4540 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4585 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL2); ocp_data 4586 drivers/net/usb/r8152.c ocp_data |= MAC_CLK_SPDWN_EN; ocp_data 4587 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL2, ocp_data); ocp_data 4589 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3); ocp_data 4590 drivers/net/usb/r8152.c ocp_data &= ~PLA_MCU_SPDWN_EN; ocp_data 4591 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3, ocp_data); ocp_data 4596 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR); ocp_data 4597 drivers/net/usb/r8152.c ocp_data |= TEST_IO_OFF; ocp_data 4598 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_PLA, PLA_PHY_PWR, ocp_data); ocp_data 4605 drivers/net/usb/r8152.c ocp_data = ocp_read_word(tp, MCU_TYPE_USB, USB_USB_CTRL); ocp_data 4606 drivers/net/usb/r8152.c ocp_data &= ~(RX_AGG_DISABLE | RX_ZERO_EN); ocp_data 4607 drivers/net/usb/r8152.c ocp_write_word(tp, MCU_TYPE_USB, USB_USB_CTRL, ocp_data); ocp_data 4771 drivers/net/usb/r8152.c u32 ocp_data; ocp_data 4774 drivers/net/usb/r8152.c ocp_data = rcr & ~RCR_ACPT_ALL; ocp_data 4775 drivers/net/usb/r8152.c ocp_write_dword(tp, MCU_TYPE_PLA, PLA_RCR, ocp_data); ocp_data 4777 drivers/net/usb/r8152.c ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, ocp_data 4779 drivers/net/usb/r8152.c if (!(ocp_data & RXFIFO_EMPTY)) { ocp_data 5590 drivers/net/usb/r8152.c u32 ocp_data = 0; ocp_data 5603 drivers/net/usb/r8152.c ocp_data = (__le32_to_cpu(*tmp) >> 16) & VERSION_MASK; ocp_data 5607 drivers/net/usb/r8152.c switch (ocp_data) { ocp_data 5637 drivers/net/usb/r8152.c dev_info(&intf->dev, "Unknown version 0x%04x\n", ocp_data);