Searched refs:pmcount (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/usb/ |
H A 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()
|
H A D | cdc_mbim.c | 32 atomic_t pmcount; member 49 dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__, atomic_read(&info->pmcount), on); in cdc_mbim_manage_power() 51 …if ((on && atomic_add_return(1, &info->pmcount) == 1) || (!on && atomic_dec_and_test(&info->pmcoun… in cdc_mbim_manage_power()
|
H A D | qmi_wwan.c | 52 atomic_t pmcount; member 662 atomic_read(&info->pmcount), on); in qmi_wwan_manage_power() 664 if ((on && atomic_add_return(1, &info->pmcount) == 1) || in qmi_wwan_manage_power() 665 (!on && atomic_dec_and_test(&info->pmcount))) { in qmi_wwan_manage_power() 710 atomic_set(&info->pmcount, 0); in qmi_wwan_register_subdriver()
|