Lines Matching refs:test_bit
701 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in generic_ocp_read()
745 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in generic_ocp_write()
973 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in read_mii_word()
989 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in write_mii_word()
1075 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in read_bulk_callback()
1078 if (!test_bit(WORK_ENABLE, &tp->flags)) in read_bulk_callback()
1155 if (!test_bit(WORK_ENABLE, &tp->flags)) in write_bulk_callback()
1158 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in write_bulk_callback()
1176 if (!test_bit(WORK_ENABLE, &tp->flags)) in intr_callback()
1179 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in intr_callback()
1826 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in bottom_half()
1829 if (!test_bit(WORK_ENABLE, &tp->flags)) in bottom_half()
1865 if (test_bit(RTL8152_UNPLUG, &tp->flags) || in r8152_submit_rx()
1866 !test_bit(WORK_ENABLE, &tp->flags) || !netif_carrier_ok(tp->netdev)) in r8152_submit_rx()
2006 if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_start_xmit()
2150 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_enable()
2176 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8153_enable()
2193 if (test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl_disable()
2878 if (test_bit(PHY_RESET, &tp->flags)) in rtl8152_set_speed()
2887 if (test_bit(PHY_RESET, &tp->flags)) { in rtl8152_set_speed()
2905 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_up()
2915 if (test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl8152_down()
2928 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8153_up()
2942 if (test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl8153_down()
3015 if (test_bit(RTL8152_UNPLUG, &tp->flags) || !netif_running(tp->netdev)) in rtl_work_func_t()
3021 if (!test_bit(WORK_ENABLE, &tp->flags)) in rtl_work_func_t()
3029 if (test_bit(RTL8152_LINK_CHG, &tp->flags)) in rtl_work_func_t()
3032 if (test_bit(RTL8152_SET_RX_MODE, &tp->flags)) in rtl_work_func_t()
3036 if (test_bit(SCHEDULE_NAPI, &tp->flags) && in rtl_work_func_t()
3042 if (test_bit(PHY_RESET, &tp->flags)) in rtl_work_func_t()
3110 if (res < 0 || test_bit(RTL8152_UNPLUG, &tp->flags)) { in rtl8152_close()
3238 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in r8152b_init()
3278 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in r8153_init()
3468 if (netif_running(netdev) && test_bit(WORK_ENABLE, &tp->flags)) { in rtl8152_suspend()
3472 if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_suspend()
3493 if (!test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_resume()
3499 if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_resume()
3517 } else if (test_bit(SELECTIVE_SUSPEND, &tp->flags)) { in rtl8152_resume()
3941 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_ioctl()
4067 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8152_unload()
4076 if (test_bit(RTL8152_UNPLUG, &tp->flags)) in rtl8153_unload()