Searched refs:pmcount (Results 1 – 3 of 3) sorted by relevance
/drivers/net/usb/ |
D | huawei_cdc_ncm.c | 31 atomic_t pmcount; member 42 if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) || in huawei_cdc_ncm_manage_power() 43 (!on && atomic_dec_and_test(&drvstate->pmcount))) { in huawei_cdc_ncm_manage_power()
|
D | cdc_mbim.c | 31 atomic_t pmcount; member 48 dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__, atomic_read(&info->pmcount), on); in cdc_mbim_manage_power() 50 …if ((on && atomic_add_return(1, &info->pmcount) == 1) || (!on && atomic_dec_and_test(&info->pmcoun… in cdc_mbim_manage_power()
|
D | qmi_wwan.c | 51 atomic_t pmcount; member 661 atomic_read(&info->pmcount), on); in qmi_wwan_manage_power() 663 if ((on && atomic_add_return(1, &info->pmcount) == 1) || in qmi_wwan_manage_power() 664 (!on && atomic_dec_and_test(&info->pmcount))) { in qmi_wwan_manage_power() 709 atomic_set(&info->pmcount, 0); in qmi_wwan_register_subdriver()
|