usage_count       375 arch/powerpc/platforms/ps3/mm.c 	unsigned int usage_count;
usage_count       803 arch/powerpc/platforms/ps3/mm.c 		c->usage_count++;
usage_count       818 arch/powerpc/platforms/ps3/mm.c 	c->usage_count = 1;
usage_count       849 arch/powerpc/platforms/ps3/mm.c 		c->usage_count++;
usage_count       867 arch/powerpc/platforms/ps3/mm.c 	c->usage_count = 1;
usage_count       907 arch/powerpc/platforms/ps3/mm.c 	c->usage_count--;
usage_count       909 arch/powerpc/platforms/ps3/mm.c 	if (!c->usage_count) {
usage_count       945 arch/powerpc/platforms/ps3/mm.c 	c->usage_count--;
usage_count       947 arch/powerpc/platforms/ps3/mm.c 	if (!c->usage_count) {
usage_count      1352 drivers/base/power/main.c 				atomic_read(&dev->power.usage_count) > 1 ||
usage_count       266 drivers/base/power/runtime.c 	else if (atomic_read(&dev->power.usage_count) > 0)
usage_count      1009 drivers/base/power/runtime.c 		if (!atomic_dec_and_test(&dev->power.usage_count))
usage_count      1041 drivers/base/power/runtime.c 		if (!atomic_dec_and_test(&dev->power.usage_count))
usage_count      1075 drivers/base/power/runtime.c 		atomic_inc(&dev->power.usage_count);
usage_count      1103 drivers/base/power/runtime.c 			&& atomic_inc_not_zero(&dev->power.usage_count);
usage_count      1414 drivers/base/power/runtime.c 	atomic_inc(&dev->power.usage_count);
usage_count      1435 drivers/base/power/runtime.c 	if (atomic_dec_and_test(&dev->power.usage_count))
usage_count      1502 drivers/base/power/runtime.c 			atomic_inc(&dev->power.usage_count);
usage_count      1512 drivers/base/power/runtime.c 			atomic_dec(&dev->power.usage_count);
usage_count      1572 drivers/base/power/runtime.c 	atomic_set(&dev->power.usage_count, 0);
usage_count      1718 drivers/base/power/runtime.c 	return atomic_read(&dev->power.usage_count) <= 1 &&
usage_count       510 drivers/base/power/sysfs.c 	return sprintf(buf, "%d\n", atomic_read(&dev->power.usage_count));
usage_count       586 drivers/block/floppy.c static atomic_t usage_count = ATOMIC_INIT(0);
usage_count       880 drivers/block/floppy.c 	if (WARN(atomic_read(&usage_count) == 0,
usage_count      2899 drivers/block/floppy.c 	if (WARN(atomic_read(&usage_count) == 0,
usage_count      4202 drivers/block/floppy.c 		if (WARN(atomic_read(&usage_count) == 0,
usage_count      4726 drivers/block/floppy.c 	if (atomic_read(&usage_count))
usage_count      4812 drivers/block/floppy.c 	if (atomic_inc_return(&usage_count) > 1)
usage_count      4824 drivers/block/floppy.c 		atomic_dec(&usage_count);
usage_count      4834 drivers/block/floppy.c 			atomic_dec(&usage_count);
usage_count      4869 drivers/block/floppy.c 	atomic_dec(&usage_count);
usage_count      4882 drivers/block/floppy.c 	if (!atomic_dec_and_test(&usage_count))
usage_count      4986 drivers/block/floppy.c 	if (atomic_read(&usage_count))
usage_count        37 drivers/cpufreq/cpufreq_governor_attr_set.c 	ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY;
usage_count        52 drivers/cpufreq/cpufreq_governor_attr_set.c 	attr_set->usage_count = 1;
usage_count        60 drivers/cpufreq/cpufreq_governor_attr_set.c 	attr_set->usage_count++;
usage_count        72 drivers/cpufreq/cpufreq_governor_attr_set.c 	count = --attr_set->usage_count;
usage_count        59 drivers/gpio/gpio-twl4030.c 	unsigned int usage_count;
usage_count       251 drivers/gpio/gpio-twl4030.c 	if (!priv->usage_count) {
usage_count       267 drivers/gpio/gpio-twl4030.c 		priv->usage_count |= BIT(offset);
usage_count       283 drivers/gpio/gpio-twl4030.c 	priv->usage_count &= ~BIT(offset);
usage_count       286 drivers/gpio/gpio-twl4030.c 	if (!priv->usage_count)
usage_count       319 drivers/gpio/gpio-twl4030.c 	if (!(priv->usage_count & BIT(offset))) {
usage_count      2327 drivers/gpu/drm/i915/i915_debugfs.c 		   atomic_read(&dev_priv->drm.dev->power.usage_count));
usage_count       126 drivers/gpu/host1x/mipi.c 	unsigned long usage_count;
usage_count       270 drivers/gpu/host1x/mipi.c 	if (dev->mipi->usage_count++ == 0)
usage_count       286 drivers/gpu/host1x/mipi.c 	if (--dev->mipi->usage_count == 0)
usage_count      1947 drivers/memstick/core/ms_block.c 		msb->usage_count++;
usage_count      1970 drivers/memstick/core/ms_block.c 		if (msb->usage_count)
usage_count      1971 drivers/memstick/core/ms_block.c 			msb->usage_count--;
usage_count      1973 drivers/memstick/core/ms_block.c 		if (!msb->usage_count) {
usage_count      2146 drivers/memstick/core/ms_block.c 	msb->usage_count = 1;
usage_count       146 drivers/memstick/core/ms_block.h 	unsigned int			usage_count;
usage_count       136 drivers/memstick/core/mspro_block.c 	unsigned int          usage_count;
usage_count       190 drivers/memstick/core/mspro_block.c 		msb->usage_count++;
usage_count       211 drivers/memstick/core/mspro_block.c 		if (msb->usage_count)
usage_count       212 drivers/memstick/core/mspro_block.c 			msb->usage_count--;
usage_count       214 drivers/memstick/core/mspro_block.c 		if (!msb->usage_count) {
usage_count      1232 drivers/memstick/core/mspro_block.c 	msb->usage_count = 1;
usage_count        32 drivers/mfd/mfd-core.c 	if (atomic_inc_return(cell->usage_count) == 1)
usage_count        37 drivers/mfd/mfd-core.c 		atomic_dec(cell->usage_count);
usage_count        49 drivers/mfd/mfd-core.c 	if (atomic_dec_return(cell->usage_count) == 0)
usage_count        54 drivers/mfd/mfd-core.c 		atomic_inc(cell->usage_count);
usage_count        57 drivers/mfd/mfd-core.c 	WARN_ON(atomic_read(cell->usage_count) < 0);
usage_count        65 drivers/mfd/mfd-core.c 				 atomic_t *usage_count)
usage_count        74 drivers/mfd/mfd-core.c 	pdev->mfd_cell->usage_count = usage_count;
usage_count       137 drivers/mfd/mfd-core.c 			  const struct mfd_cell *cell, atomic_t *usage_count,
usage_count       199 drivers/mfd/mfd-core.c 	ret = mfd_platform_add_cell(pdev, cell, usage_count);
usage_count       319 drivers/mfd/mfd-core.c 	atomic_t **usage_count = c;
usage_count       331 drivers/mfd/mfd-core.c 	if (!*usage_count || (cell->usage_count < *usage_count))
usage_count       332 drivers/mfd/mfd-core.c 		*usage_count = cell->usage_count;
usage_count       407 drivers/mfd/mfd-core.c 				   cell_entry.usage_count, NULL, 0, NULL))
usage_count       698 drivers/net/ethernet/ti/cpsw.c 		if (cpsw->data.dual_emac && cpsw->usage_count &&
usage_count      1687 drivers/net/ethernet/ti/cpsw.c 	if (!cpsw->usage_count)
usage_count      1699 drivers/net/ethernet/ti/cpsw.c 	if (!cpsw->usage_count) {
usage_count      1750 drivers/net/ethernet/ti/cpsw.c 	cpsw->usage_count++;
usage_count      1755 drivers/net/ethernet/ti/cpsw.c 	if (!cpsw->usage_count) {
usage_count      1776 drivers/net/ethernet/ti/cpsw.c 	if (cpsw->usage_count <= 1) {
usage_count      1790 drivers/net/ethernet/ti/cpsw.c 	cpsw->usage_count--;
usage_count       490 drivers/net/ethernet/ti/cpsw_ethtool.c 	if (cpsw->usage_count) {
usage_count       608 drivers/net/ethernet/ti/cpsw_ethtool.c 	new_pools = (chs->rx_count != cpsw->rx_ch_num) && cpsw->usage_count;
usage_count       695 drivers/net/ethernet/ti/cpsw_ethtool.c 	if (cpsw->usage_count) {
usage_count       349 drivers/net/ethernet/ti/cpsw_priv.h 	int				usage_count;
usage_count       237 drivers/net/wireless/st/cw1200/txrx.c 	++entry->policy.usage_count;
usage_count       244 drivers/net/wireless/st/cw1200/txrx.c 	int ret = --entry->policy.usage_count;
usage_count       265 drivers/net/wireless/st/cw1200/txrx.c 		if (WARN_ON(entry->policy.usage_count)) {
usage_count       266 drivers/net/wireless/st/cw1200/txrx.c 			entry->policy.usage_count = 0;
usage_count        27 drivers/net/wireless/st/cw1200/txrx.h 	u8  usage_count;
usage_count      1573 drivers/usb/core/driver.c 			__func__, atomic_read(&udev->dev.power.usage_count),
usage_count      1605 drivers/usb/core/driver.c 			__func__, atomic_read(&udev->dev.power.usage_count),
usage_count      1635 drivers/usb/core/driver.c 			__func__, atomic_read(&intf->dev.power.usage_count),
usage_count      1663 drivers/usb/core/driver.c 			__func__, atomic_read(&intf->dev.power.usage_count),
usage_count      1713 drivers/usb/core/driver.c 			__func__, atomic_read(&intf->dev.power.usage_count),
usage_count      1746 drivers/usb/core/driver.c 			__func__, atomic_read(&intf->dev.power.usage_count),
usage_count      1796 drivers/usb/core/driver.c 			if (atomic_read(&intf->dev.power.usage_count) > 0)
usage_count       768 drivers/usb/storage/realtek_cr.c 			     atomic_read(&us->pusb_intf->dev.power.usage_count));
usage_count       770 drivers/usb/storage/realtek_cr.c 		if (atomic_read(&us->pusb_intf->dev.power.usage_count) > 0) {
usage_count       777 drivers/usb/storage/realtek_cr.c 				     atomic_read(&us->pusb_intf->dev.power.usage_count));
usage_count       810 drivers/usb/storage/realtek_cr.c 			     atomic_read(&us->pusb_intf->dev.power.usage_count));
usage_count       812 drivers/usb/storage/realtek_cr.c 		if (atomic_read(&us->pusb_intf->dev.power.usage_count) <= 0) {
usage_count       594 include/linux/cpufreq.h 	int usage_count;
usage_count        34 include/linux/mfd/core.h 	atomic_t		*usage_count;
usage_count       605 include/linux/pm.h 	atomic_t		usage_count;
usage_count        70 include/linux/pm_runtime.h 	atomic_inc(&dev->power.usage_count);
usage_count        75 include/linux/pm_runtime.h 	atomic_add_unless(&dev->power.usage_count, -1, 0);
usage_count        27 include/trace/events/rpm.h 		__field(        int ,   	usage_count	)
usage_count        38 include/trace/events/rpm.h 		__entry->usage_count = atomic_read(
usage_count        39 include/trace/events/rpm.h 			&dev->power.usage_count);
usage_count        51 include/trace/events/rpm.h 			__entry->usage_count,
usage_count        38 sound/soc/intel/atom/sst/sst_drv_interface.c #define GET_USAGE_COUNT(dev) (atomic_read(&dev->power.usage_count))
usage_count       139 sound/soc/intel/atom/sst/sst_drv_interface.c 	int usage_count = 0;
usage_count       143 sound/soc/intel/atom/sst/sst_drv_interface.c 		usage_count = GET_USAGE_COUNT(dev);
usage_count       144 sound/soc/intel/atom/sst/sst_drv_interface.c 		dev_dbg(ctx->dev, "Enable: pm usage count: %d\n", usage_count);
usage_count       150 sound/soc/intel/atom/sst/sst_drv_interface.c 		if ((ctx->sst_state == SST_RESET) && (usage_count == 1)) {
usage_count       159 sound/soc/intel/atom/sst/sst_drv_interface.c 		usage_count = GET_USAGE_COUNT(dev);
usage_count       160 sound/soc/intel/atom/sst/sst_drv_interface.c 		dev_dbg(ctx->dev, "Disable: pm usage count: %d\n", usage_count);
usage_count       205 sound/soc/intel/common/sst-dsp-priv.h 	u32 usage_count;		/* can be unloaded if count == 0 */
usage_count       296 sound/soc/intel/skylake/skl-messages.c 	cores->usage_count = kcalloc(cores->count, sizeof(*cores->usage_count),
usage_count       298 sound/soc/intel/skylake/skl-messages.c 	if (!cores->usage_count) {
usage_count       326 sound/soc/intel/skylake/skl-messages.c 	kfree(skl->cores.usage_count);
usage_count        40 sound/soc/intel/skylake/skl-sst-dsp.c 	skl->cores.usage_count[SKL_DSP_CORE0_ID] = 1;
usage_count        44 sound/soc/intel/skylake/skl-sst-dsp.c 		skl->cores.usage_count[i] = 0;
usage_count       346 sound/soc/intel/skylake/skl-sst-dsp.c 	skl->cores.usage_count[core_id]++;
usage_count       359 sound/soc/intel/skylake/skl-sst-dsp.c 			skl->cores.usage_count[core_id]);
usage_count       375 sound/soc/intel/skylake/skl-sst-dsp.c 	if ((--skl->cores.usage_count[core_id] == 0) &&
usage_count       381 sound/soc/intel/skylake/skl-sst-dsp.c 			skl->cores.usage_count[core_id]++;
usage_count       387 sound/soc/intel/skylake/skl-sst-dsp.c 			skl->cores.usage_count[core_id]);
usage_count        42 sound/soc/intel/skylake/skl-sst-ipc.h 	int *usage_count;
usage_count       478 sound/usb/card.c 	atomic_set(&chip->usage_count, 0);
usage_count       717 sound/usb/card.c 			   !atomic_read(&chip->usage_count));
usage_count       760 sound/usb/card.c 	atomic_inc(&chip->usage_count);
usage_count       771 sound/usb/card.c 	if (atomic_dec_and_test(&chip->usage_count))
usage_count       780 sound/usb/card.c 	if (atomic_dec_and_test(&chip->usage_count))
usage_count        32 sound/usb/usbaudio.h 	atomic_t usage_count;