/drivers/media/mc/ |
D | mc-dev-allocator.c | 31 struct module *owner; member 63 struct module *owner) in __media_device_get() argument 74 if (owner != mdi->owner && !try_module_get(mdi->owner)) in __media_device_get() 88 mdi->owner = owner; in __media_device_get() 99 struct module *owner) in media_device_usb_allocate() argument 104 mdev = __media_device_get(&udev->dev, module_name, owner); in media_device_usb_allocate() 120 struct module *owner) in media_device_delete() argument 126 if (mdi->owner != owner) { in media_device_delete() 127 module_put(mdi->owner); in media_device_delete()
|
/drivers/regulator/ |
D | db8500-prcmu.c | 221 .owner = THIS_MODULE, 231 .owner = THIS_MODULE, 241 .owner = THIS_MODULE, 251 .owner = THIS_MODULE, 261 .owner = THIS_MODULE, 271 .owner = THIS_MODULE, 284 .owner = THIS_MODULE, 294 .owner = THIS_MODULE, 304 .owner = THIS_MODULE, 315 .owner = THIS_MODULE, [all …]
|
D | lp8788-ldo.c | 193 .owner = THIS_MODULE, 206 .owner = THIS_MODULE, 219 .owner = THIS_MODULE, 232 .owner = THIS_MODULE, 245 .owner = THIS_MODULE, 258 .owner = THIS_MODULE, 271 .owner = THIS_MODULE, 284 .owner = THIS_MODULE, 297 .owner = THIS_MODULE, 310 .owner = THIS_MODULE, [all …]
|
D | lm363x-regulator.c | 114 .owner = THIS_MODULE, 127 .owner = THIS_MODULE, 142 .owner = THIS_MODULE, 157 .owner = THIS_MODULE, 172 .owner = THIS_MODULE, 188 .owner = THIS_MODULE, 201 .owner = THIS_MODULE, 216 .owner = THIS_MODULE, 233 .owner = THIS_MODULE, 246 .owner = THIS_MODULE, [all …]
|
D | pca9450-regulator.c | 254 .owner = THIS_MODULE, 279 .owner = THIS_MODULE, 304 .owner = THIS_MODULE, 329 .owner = THIS_MODULE, 347 .owner = THIS_MODULE, 365 .owner = THIS_MODULE, 383 .owner = THIS_MODULE, 401 .owner = THIS_MODULE, 419 .owner = THIS_MODULE, 437 .owner = THIS_MODULE, [all …]
|
D | ab8500.c | 545 .owner = THIS_MODULE, 568 .owner = THIS_MODULE, 591 .owner = THIS_MODULE, 614 .owner = THIS_MODULE, 642 .owner = THIS_MODULE, 661 .owner = THIS_MODULE, 677 .owner = THIS_MODULE, 693 .owner = THIS_MODULE, 709 .owner = THIS_MODULE, 729 .owner = THIS_MODULE, [all …]
|
D | bd718x7-regulator.c | 647 .owner = THIS_MODULE, 681 .owner = THIS_MODULE, 716 .owner = THIS_MODULE, 743 .owner = THIS_MODULE, 765 .owner = THIS_MODULE, 789 .owner = THIS_MODULE, 815 .owner = THIS_MODULE, 837 .owner = THIS_MODULE, 860 .owner = THIS_MODULE, 883 .owner = THIS_MODULE, [all …]
|
D | bd70528-regulator.c | 130 .owner = THIS_MODULE, 146 .owner = THIS_MODULE, 162 .owner = THIS_MODULE, 178 .owner = THIS_MODULE, 194 .owner = THIS_MODULE, 210 .owner = THIS_MODULE, 225 .owner = THIS_MODULE, 240 .owner = THIS_MODULE,
|
D | bd71828-regulator.c | 222 .owner = THIS_MODULE, 264 .owner = THIS_MODULE, 301 .owner = THIS_MODULE, 342 .owner = THIS_MODULE, 383 .owner = THIS_MODULE, 424 .owner = THIS_MODULE, 461 .owner = THIS_MODULE, 498 .owner = THIS_MODULE, 538 .owner = THIS_MODULE, 578 .owner = THIS_MODULE, [all …]
|
D | rk808-regulator.c | 79 .owner = THIS_MODULE, \ 103 .owner = THIS_MODULE, \ 144 .owner = THIS_MODULE, \ 755 .owner = THIS_MODULE, 771 .owner = THIS_MODULE, 783 .owner = THIS_MODULE, 817 .owner = THIS_MODULE, 833 .owner = THIS_MODULE, 845 .owner = THIS_MODULE, 872 .owner = THIS_MODULE, [all …]
|
/drivers/pinctrl/ |
D | pinmux.c | 108 int pin, const char *owner, in pin_request() argument 124 pin, desc->name, owner); in pin_request() 127 desc->mux_usecount && strcmp(desc->mux_owner, owner)) { in pin_request() 130 desc->name, desc->mux_owner, owner); in pin_request() 137 desc->name, desc->gpio_owner, owner); in pin_request() 142 desc->gpio_owner = owner; in pin_request() 148 desc->mux_owner = owner; in pin_request() 152 if (!try_module_get(pctldev->owner)) { in pin_request() 174 module_put(pctldev->owner); in pin_request() 190 pin, owner, status); in pin_request() [all …]
|
/drivers/iommu/ |
D | exynos-iommu.c | 677 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend() local 679 mutex_lock(&owner->rpm_lock); in exynos_sysmmu_suspend() 684 mutex_unlock(&owner->rpm_lock); in exynos_sysmmu_suspend() 695 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume() local 697 mutex_lock(&owner->rpm_lock); in exynos_sysmmu_resume() 702 mutex_unlock(&owner->rpm_lock); in exynos_sysmmu_resume() 845 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device() local 850 if (!has_sysmmu(dev) || owner->domain != iommu_domain) in exynos_iommu_detach_device() 853 mutex_lock(&owner->rpm_lock); in exynos_iommu_detach_device() 855 list_for_each_entry(data, &owner->controllers, owner_node) { in exynos_iommu_detach_device() [all …]
|
/drivers/dma/bestcomm/ |
D | sram.c | 41 int bcom_sram_init(struct device_node *sram_node, char *owner) in bcom_sram_init() argument 51 "Already initialized !\n", owner); in bcom_sram_init() 58 "Couldn't allocate internal state !\n", owner); in bcom_sram_init() 66 "Invalid device node !\n", owner); in bcom_sram_init() 77 if (!request_mem_region(bcom_sram->base_phys, bcom_sram->size, owner)) { in bcom_sram_init() 79 "Couldn't request region !\n", owner); in bcom_sram_init() 91 owner, (long)bcom_sram->base_phys, bcom_sram->size ); in bcom_sram_init()
|
/drivers/base/ |
D | map.c | 24 struct module *owner; member 49 p->owner = module; in kobj_map() 105 struct module *owner; in kobj_lookup() local 112 if (!try_module_get(p->owner)) in kobj_lookup() 114 owner = p->owner; in kobj_lookup() 120 module_put(owner); in kobj_lookup() 126 module_put(owner); in kobj_lookup()
|
D | devcoredump.c | 73 struct module *owner; member 91 module_put(devcd->owner); in devcd_dev_release() 233 .owner = THIS_MODULE, 327 void dev_coredumpm(struct device *dev, struct module *owner, in dev_coredumpm() argument 347 if (!try_module_get(owner)) in dev_coredumpm() 354 devcd->owner = owner; in dev_coredumpm() 392 module_put(owner); in dev_coredumpm()
|
/drivers/pci/hotplug/ |
D | pci_hotplug_core.c | 54 if (!try_module_get(slot->owner)) \ 58 module_put(slot->owner); \ 91 if (!try_module_get(slot->owner)) { in power_write_file() 110 module_put(slot->owner); in power_write_file() 149 if (!try_module_get(slot->owner)) { in attention_write_file() 155 module_put(slot->owner); in attention_write_file() 215 if (!try_module_get(slot->owner)) { in test_write_file() 221 module_put(slot->owner); in test_write_file() 406 struct module *owner, const char *mod_name) in __pci_hp_register() argument 410 result = __pci_hp_initialize(slot, bus, devnr, name, owner, mod_name); in __pci_hp_register() [all …]
|
/drivers/acpi/ |
D | osl.c | 855 int acpi_register_debugger(struct module *owner, in acpi_register_debugger() argument 866 acpi_debugger.owner = owner; in acpi_register_debugger() 880 acpi_debugger.owner = NULL; in acpi_unregister_debugger() 890 struct module *owner; in acpi_debugger_create_thread() local 899 if (!try_module_get(acpi_debugger.owner)) { in acpi_debugger_create_thread() 904 owner = acpi_debugger.owner; in acpi_debugger_create_thread() 910 module_put(owner); in acpi_debugger_create_thread() 920 struct module *owner; in acpi_debugger_write_log() local 929 if (!try_module_get(acpi_debugger.owner)) { in acpi_debugger_write_log() 934 owner = acpi_debugger.owner; in acpi_debugger_write_log() [all …]
|
/drivers/firmware/ |
D | qcom_scm.c | 129 .owner = ARM_SMCCC_OWNER_SIP, in __get_convention() 246 .owner = ARM_SMCCC_OWNER_SIP, in __qcom_scm_is_call_available() 338 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_set_cold_boot_addr() 373 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_cpu_power_down() 388 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_set_remote_state() 406 .owner = ARM_SMCCC_OWNER_SIP, in __qcom_scm_set_dload_mode() 458 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_init_image() 511 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_mem_setup() 541 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_auth_and_reset() 570 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_shutdown() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-device.c | 128 sd->owner == v4l2_dev->dev->driver->owner; in v4l2_device_register_subdev() 130 if (!sd->owner_v4l2_dev && !try_module_get(sd->owner)) in v4l2_device_register_subdev() 167 module_put(sd->owner); in v4l2_device_register_subdev() 175 struct module *owner = !sd->owner_v4l2_dev ? sd->owner : NULL; in v4l2_subdev_release() local 180 module_put(owner); in v4l2_subdev_release() 222 sd->owner); in __v4l2_device_register_subdev_nodes()
|
D | v4l2-spi.c | 25 sd->owner = spi->dev.driver->owner; in v4l2_spi_subdev_init() 53 if (!try_module_get(spi->dev.driver->owner)) in v4l2_spi_new_subdev() 66 module_put(spi->dev.driver->owner); in v4l2_spi_new_subdev()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sync.c | 95 return s_fence->owner; in amdgpu_sync_get_owner() 202 void *owner) in amdgpu_sync_resv() argument 239 owner != AMDGPU_FENCE_OWNER_UNDEFINED) in amdgpu_sync_resv() 244 owner != AMDGPU_FENCE_OWNER_UNDEFINED && in amdgpu_sync_resv() 245 owner != AMDGPU_FENCE_OWNER_KFD) in amdgpu_sync_resv() 255 fence_owner == owner) in amdgpu_sync_resv() 261 fence_owner != owner) in amdgpu_sync_resv()
|
/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | falcon.h | 20 const struct nvkm_subdev *owner; member 59 int nvkm_falcon_v1_new(struct nvkm_subdev *owner, const char *name, u32 addr, 109 return nvkm_rd32(falcon->owner->device, falcon->addr + addr); in nvkm_falcon_rd32() 115 nvkm_wr32(falcon->owner->device, falcon->addr + addr, data); in nvkm_falcon_wr32() 121 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_mask()
|
/drivers/target/ |
D | target_core_hba.c | 61 ops->name, ops->owner); in transport_backend_register() 102 if (tb->ops->owner && !try_module_get(tb->ops->owner)) in core_get_backend() 147 module_put(hba->backend->ops->owner); in core_alloc_hba() 168 module_put(hba->backend->ops->owner); in core_delete_hba()
|
/drivers/misc/cxl/ |
D | base.c | 27 if (calls && !try_module_get(calls->owner)) in cxl_calls_get() 39 module_put(cxl_calls->owner); in cxl_calls_put() 92 BUG_ON(cxl_calls->owner != calls->owner); in unregister_cxl_calls()
|
/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | base.c | 90 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_enable() 91 enum nvkm_devidx id = falcon->owner->index; in nvkm_falcon_enable() 107 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_disable() 108 enum nvkm_devidx id = falcon->owner->index; in nvkm_falcon_disable() 146 const struct nvkm_subdev *subdev = falcon->owner; in nvkm_falcon_oneinit() 219 falcon->owner = subdev; in nvkm_falcon_ctor()
|