Lines Matching refs:test_bit

687 	if (test_bit(RTL8152_UNPLUG, &tp->flags))  in generic_ocp_read()
731 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in generic_ocp_write()
959 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in read_mii_word()
975 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in write_mii_word()
1061 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in read_bulk_callback()
1064 if (!test_bit(WORK_ENABLE, &tp->flags)) in read_bulk_callback()
1141 if (!test_bit(WORK_ENABLE, &tp->flags)) in write_bulk_callback()
1144 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in write_bulk_callback()
1162 if (!test_bit(WORK_ENABLE, &tp->flags)) in intr_callback()
1165 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in intr_callback()
1812 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in bottom_half()
1815 if (!test_bit(WORK_ENABLE, &tp->flags)) in bottom_half()
1851 if (test_bit(RTL8152_UNPLUG, &tp->flags) || in r8152_submit_rx()
1852 !test_bit(WORK_ENABLE, &tp->flags) || !netif_carrier_ok(tp->netdev)) in r8152_submit_rx()
1993 if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_start_xmit()
2139 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_enable()
2165 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8153_enable()
2181 if (test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl_disable()
2850 if (test_bit(PHY_RESET, &tp->flags)) in rtl8152_set_speed()
2859 if (test_bit(PHY_RESET, &tp->flags)) { in rtl8152_set_speed()
2877 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_up()
2887 if (test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl8152_down()
2900 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8153_up()
2910 if (test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl8153_down()
2954 if (test_bit(RTL8152_UNPLUG, &tp->flags) || !netif_running(tp->netdev)) in rtl_work_func_t()
2960 if (!test_bit(WORK_ENABLE, &tp->flags)) in rtl_work_func_t()
2968 if (test_bit(RTL8152_LINK_CHG, &tp->flags)) in rtl_work_func_t()
2971 if (test_bit(RTL8152_SET_RX_MODE, &tp->flags)) in rtl_work_func_t()
2975 if (test_bit(SCHEDULE_NAPI, &tp->flags) && in rtl_work_func_t()
2981 if (test_bit(PHY_RESET, &tp->flags)) in rtl_work_func_t()
3049 if (res < 0 || test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl8152_close()
3177 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in r8152b_init()
3217 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in r8153_init()
3325 if (netif_running(netdev) && test_bit(WORK_ENABLE, &tp->flags)) { in rtl8152_suspend()
3329 if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_suspend()
3350 if (!test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_resume()
3356 if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_resume()
3372 } else if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_resume()
3782 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_ioctl()
3904 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_unload()
3913 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8153_unload()