/drivers/xen/ |
D | pci.c | 271 struct xen_device_domain_owner *owner; in find_device() local 273 list_for_each_entry(owner, &dev_domain_list, list) { in find_device() 274 if (owner->dev == dev) in find_device() 275 return owner; in find_device() 282 struct xen_device_domain_owner *owner; in xen_find_device_domain_owner() local 286 owner = find_device(dev); in xen_find_device_domain_owner() 287 if (owner) in xen_find_device_domain_owner() 288 domain = owner->domain; in xen_find_device_domain_owner() 296 struct xen_device_domain_owner *owner; in xen_register_device_domain_owner() local 298 owner = kzalloc(sizeof(struct xen_device_domain_owner), GFP_KERNEL); in xen_register_device_domain_owner() [all …]
|
/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 | 243 .owner = THIS_MODULE, 272 .owner = THIS_MODULE, 301 .owner = THIS_MODULE, 326 .owner = THIS_MODULE, 344 .owner = THIS_MODULE, 362 .owner = THIS_MODULE, 380 .owner = THIS_MODULE, 398 .owner = THIS_MODULE, 416 .owner = THIS_MODULE, 434 .owner = THIS_MODULE, [all …]
|
D | max8893.c | 28 .owner = THIS_MODULE, 45 .owner = THIS_MODULE, 62 .owner = THIS_MODULE, 79 .owner = THIS_MODULE, 96 .owner = THIS_MODULE, 113 .owner = THIS_MODULE,
|
D | ab8500.c | 659 .owner = THIS_MODULE, 682 .owner = THIS_MODULE, 705 .owner = THIS_MODULE, 728 .owner = THIS_MODULE, 756 .owner = THIS_MODULE, 775 .owner = THIS_MODULE, 791 .owner = THIS_MODULE, 807 .owner = THIS_MODULE, 823 .owner = THIS_MODULE, 843 .owner = THIS_MODULE, [all …]
|
D | atc260x-regulator.c | 186 .owner = THIS_MODULE, \ 205 .owner = THIS_MODULE, \ 222 .owner = THIS_MODULE, \ 241 .owner = THIS_MODULE, \ 258 .owner = THIS_MODULE, \ 271 .owner = THIS_MODULE, \ 296 .owner = THIS_MODULE, \ 353 .owner = THIS_MODULE, \ 372 .owner = THIS_MODULE, \ 391 .owner = THIS_MODULE, \ [all …]
|
D | bd71828-regulator.c | 195 .owner = THIS_MODULE, 241 .owner = THIS_MODULE, 278 .owner = THIS_MODULE, 319 .owner = THIS_MODULE, 360 .owner = THIS_MODULE, 405 .owner = THIS_MODULE, 446 .owner = THIS_MODULE, 483 .owner = THIS_MODULE, 523 .owner = THIS_MODULE, 563 .owner = THIS_MODULE, [all …]
|
D | bd718x7-regulator.c | 747 .owner = THIS_MODULE, 789 .owner = THIS_MODULE, 824 .owner = THIS_MODULE, 851 .owner = THIS_MODULE, 873 .owner = THIS_MODULE, 897 .owner = THIS_MODULE, 923 .owner = THIS_MODULE, 945 .owner = THIS_MODULE, 968 .owner = THIS_MODULE, 991 .owner = THIS_MODULE, [all …]
|
D | rk808-regulator.c | 79 .owner = THIS_MODULE, \ 103 .owner = THIS_MODULE, \ 144 .owner = THIS_MODULE, \ 701 .owner = THIS_MODULE, 717 .owner = THIS_MODULE, 729 .owner = THIS_MODULE, 767 .owner = THIS_MODULE, 787 .owner = THIS_MODULE, 799 .owner = THIS_MODULE, 826 .owner = THIS_MODULE, [all …]
|
/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | base.c | 90 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_enable() 93 nvkm_mc_enable(device, falcon->owner->type, falcon->owner->inst); in nvkm_falcon_enable() 96 nvkm_mc_disable(device, falcon->owner->type, falcon->owner->inst); in nvkm_falcon_enable() 106 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_disable() 109 if (!nvkm_mc_enabled(device, falcon->owner->type, falcon->owner->inst)) in nvkm_falcon_disable() 114 nvkm_mc_disable(device, falcon->owner->type, falcon->owner->inst); in nvkm_falcon_disable() 144 const struct nvkm_subdev *subdev = falcon->owner; in nvkm_falcon_oneinit() 217 falcon->owner = subdev; in nvkm_falcon_ctor()
|
/drivers/iommu/ |
D | exynos-iommu.c | 761 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_suspend() local 763 mutex_lock(&owner->rpm_lock); in exynos_sysmmu_suspend() 768 mutex_unlock(&owner->rpm_lock); in exynos_sysmmu_suspend() 779 struct exynos_iommu_owner *owner = dev_iommu_priv_get(master); in exynos_sysmmu_resume() local 781 mutex_lock(&owner->rpm_lock); in exynos_sysmmu_resume() 786 mutex_unlock(&owner->rpm_lock); in exynos_sysmmu_resume() 919 struct exynos_iommu_owner *owner = dev_iommu_priv_get(dev); in exynos_iommu_detach_device() local 924 if (!has_sysmmu(dev) || owner->domain != iommu_domain) in exynos_iommu_detach_device() 927 mutex_lock(&owner->rpm_lock); in exynos_iommu_detach_device() 929 list_for_each_entry(data, &owner->controllers, owner_node) { in exynos_iommu_detach_device() [all …]
|
/drivers/pinctrl/ |
D | pinmux.c | 109 int pin, const char *owner, in pin_request() argument 125 pin, desc->name, owner); in pin_request() 128 desc->mux_usecount && strcmp(desc->mux_owner, owner)) { in pin_request() 131 desc->name, desc->mux_owner, owner); in pin_request() 138 desc->name, desc->gpio_owner, owner); in pin_request() 143 desc->gpio_owner = owner; in pin_request() 149 desc->mux_owner = owner; in pin_request() 153 if (!try_module_get(pctldev->owner)) { in pin_request() 175 module_put(pctldev->owner); in pin_request() 191 pin, owner, status); in pin_request() [all …]
|
/drivers/dma/bestcomm/ |
D | sram.c | 37 int bcom_sram_init(struct device_node *sram_node, char *owner) in bcom_sram_init() argument 47 "Already initialized !\n", owner); in bcom_sram_init() 54 "Couldn't allocate internal state !\n", owner); in bcom_sram_init() 62 "Invalid device node !\n", owner); in bcom_sram_init() 73 if (!request_mem_region(bcom_sram->base_phys, bcom_sram->size, owner)) { in bcom_sram_init() 75 "Couldn't request region !\n", owner); in bcom_sram_init() 87 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 | 69 struct module *owner; member 87 module_put(devcd->owner); in devcd_dev_release() 229 .owner = THIS_MODULE, 323 void dev_coredumpm(struct device *dev, struct module *owner, in dev_coredumpm() argument 343 if (!try_module_get(owner)) in dev_coredumpm() 350 devcd->owner = owner; in dev_coredumpm() 391 module_put(owner); in dev_coredumpm()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sync.c | 97 return s_fence->owner; in amdgpu_sync_get_owner() 177 void *owner, struct dma_fence *f) in amdgpu_sync_test_fence() argument 189 owner != AMDGPU_FENCE_OWNER_UNDEFINED) in amdgpu_sync_test_fence() 194 owner != AMDGPU_FENCE_OWNER_UNDEFINED && in amdgpu_sync_test_fence() 195 owner != AMDGPU_FENCE_OWNER_KFD) in amdgpu_sync_test_fence() 205 fence_owner == owner) in amdgpu_sync_test_fence() 211 fence_owner != owner) in amdgpu_sync_test_fence() 237 void *owner) in amdgpu_sync_resv() argument 251 if (amdgpu_sync_test_fence(adev, mode, owner, tmp)) { in amdgpu_sync_resv()
|
/drivers/acpi/ |
D | osl.c | 858 int acpi_register_debugger(struct module *owner, in acpi_register_debugger() argument 869 acpi_debugger.owner = owner; in acpi_register_debugger() 883 acpi_debugger.owner = NULL; in acpi_unregister_debugger() 893 struct module *owner; in acpi_debugger_create_thread() local 902 if (!try_module_get(acpi_debugger.owner)) { in acpi_debugger_create_thread() 907 owner = acpi_debugger.owner; in acpi_debugger_create_thread() 913 module_put(owner); in acpi_debugger_create_thread() 923 struct module *owner; in acpi_debugger_write_log() local 932 if (!try_module_get(acpi_debugger.owner)) { in acpi_debugger_write_log() 937 owner = acpi_debugger.owner; in acpi_debugger_write_log() [all …]
|
/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/firmware/ |
D | qcom_scm.c | 157 .owner = ARM_SMCCC_OWNER_SIP, in __get_convention() 271 .owner = ARM_SMCCC_OWNER_SIP, in __qcom_scm_is_call_available() 303 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_set_boot_addr() 323 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_set_boot_addr_mc() 384 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_cpu_power_down() 399 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_set_remote_state() 417 .owner = ARM_SMCCC_OWNER_SIP, in __qcom_scm_set_dload_mode() 475 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_init_image() 556 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_mem_setup() 591 .owner = ARM_SMCCC_OWNER_SIP, in qcom_scm_pas_auth_and_reset() [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_usif.c | 116 u8 owner; in usif_ioctl() local 126 owner = argv->v0.owner; in usif_ioctl() 129 argv->v0.owner = NVDRM_OBJECT_ANY; /* except client */ in usif_ioctl() 131 argv->v0.owner = NVDRM_OBJECT_USIF; in usif_ioctl() 176 argv->v0.owner = owner; in usif_ioctl()
|
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 199 u32 owner, u32 type, u32 id) in guc_capture_get_one_list() argument 207 if (reglists[i].owner == owner && reglists[i].type == type && in guc_capture_get_one_list() 217 u32 owner, u32 type, u32 id) in guc_capture_get_one_ext_list() argument 225 if (reglists[i].owner == owner && reglists[i].type == type && in guc_capture_get_one_ext_list() 276 newlist->owner = rootlist->owner; in __alloc_ext_regs() 464 guc_capture_list_init(struct intel_guc *guc, u32 owner, u32 type, u32 classid, in guc_capture_list_init() argument 477 match = guc_capture_get_one_list(reglists, owner, type, classid); in guc_capture_list_init() 488 matchext = guc_capture_get_one_ext_list(extlists, owner, type, classid); in guc_capture_list_init() 507 guc_cap_list_num_regs(struct intel_guc_state_capture *gc, u32 owner, u32 type, u32 classid) in guc_cap_list_num_regs() argument 513 match = guc_capture_get_one_list(gc->reglists, owner, type, classid); in guc_cap_list_num_regs() [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() 223 sd->owner); in __v4l2_device_register_subdev_nodes()
|