/linux-4.1.27/drivers/base/ |
D | devres.c | 25 struct devres { struct 84 static __always_inline struct devres * alloc_dr(dr_release_t release, in alloc_dr() 87 size_t tot_size = sizeof(struct devres) + size; in alloc_dr() 88 struct devres *dr; in alloc_dr() 94 memset(dr, 0, offsetof(struct devres, data)); in alloc_dr() 112 struct devres *dr; in __devres_alloc() 137 struct devres *dr; in devres_alloc() 177 struct devres *dr = container_of(node, struct devres, node); in devres_for_each_res() 198 struct devres *dr = container_of(res, struct devres, data); in devres_free() 217 struct devres *dr = container_of(res, struct devres, data); in devres_add() [all …]
|
D | Makefile | 5 cpu.o firmware.o init.o map.o devres.o \
|
D | Kconfig | 207 This option enables kernel parameter devres.log. If set to 208 non-zero, devres debug messages are printed. Select this if 209 you are having a problem with devres or want to debug 210 resource management for a managed device. devres.log can be
|
/linux-4.1.27/drivers/input/ |
D | input-polldev.c | 185 struct input_polled_devres *devres = res; in devm_input_polldev_match() local 187 return devres->polldev == data; in devm_input_polldev_match() 192 struct input_polled_devres *devres = res; in devm_input_polldev_release() local 193 struct input_polled_dev *polldev = devres->polldev; in devm_input_polldev_release() 204 struct input_polled_devres *devres = res; in devm_input_polldev_unregister() local 205 struct input_polled_dev *polldev = devres->polldev; in devm_input_polldev_unregister() 241 struct input_polled_devres *devres; in devm_input_allocate_polled_device() local 243 devres = devres_alloc(devm_input_polldev_release, sizeof(*devres), in devm_input_allocate_polled_device() 245 if (!devres) in devm_input_allocate_polled_device() 250 devres_free(devres); in devm_input_allocate_polled_device() [all …]
|
D | input.c | 1814 struct input_devres *devres = res; in devm_input_device_match() local 1816 return devres->input == data; in devm_input_device_match() 1821 struct input_devres *devres = res; in devm_input_device_release() local 1822 struct input_dev *input = devres->input; in devm_input_device_release() 1850 struct input_devres *devres; in devm_input_allocate_device() local 1852 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device() 1854 if (!devres) in devm_input_allocate_device() 1859 devres_free(devres); in devm_input_allocate_device() 1866 devres->input = input; in devm_input_allocate_device() 1867 devres_add(dev, devres); in devm_input_allocate_device() [all …]
|
/linux-4.1.27/Documentation/driver-model/ |
D | devres.txt | 11 3. Devres Group : Group devres'es and release them together 20 devres came up while trying to convert libata to use iomap. Each 48 devres is basically linked list of arbitrarily sized memory areas 49 associated with a struct device. Each devres entry is associated with 50 a release function. A devres can be released in several ways. No 51 matter what, all devres entries are released on driver detach. On 53 devres entry is freed. 56 drivers using devres. For example, coherent DMA memory is acquired 131 devres. Complexity is shifted from less maintained low level drivers 139 Devres entries can be grouped using devres group. When a group is [all …]
|
/linux-4.1.27/Documentation/ |
D | phy.txt | 84 devm_phy_get associates the device with the PHY using devres on 86 the the devres data and devres data is freed. phy_optional_get and 107 destroys the devres associated with this PHY. 117 Both these APIs destroy the PHY and devm_phy_destroy destroys the devres
|
D | remoteproc.txt | 37 handle. There are several ways to achieve that cleanly (devres, pdata,
|
/linux-4.1.27/kernel/irq/ |
D | Makefile | 2 obj-y := irqdesc.o handle.o manage.o spurious.o resend.o chip.o dummychip.o devres.o
|
/linux-4.1.27/sound/soc/ |
D | Makefile | 2 snd-soc-core-objs += soc-pcm.o soc-compress.o soc-io.o soc-devres.o soc-ops.o
|
/linux-4.1.27/Documentation/DocBook/ |
D | .alsa-driver-api.xml.cmd | 2 …ude/sound/soc.h sound/soc/soc-core.c sound/soc/soc-cache.c sound/soc/soc-devres.c sound/soc/soc-io…
|
D | .device-drivers.xml.cmd | 2 …nel/rcu/tree.c kernel/rcu/tree_plugin.h kernel/rcu/update.c drivers/base/devres.c include/linux/de…
|
/linux-4.1.27/scripts/coccinelle/free/ |
D | devm_free.cocci | 5 /// See Documentation/driver-model/devres.txt for more information.
|
/linux-4.1.27/Documentation/hwmon/ |
D | submitting-patches | 71 * Use devres functions whenever possible to allocate resources. For rationale 72 and supported functions, please see Documentation/driver-model/devres.txt.
|
/linux-4.1.27/drivers/clk/ |
D | Makefile | 2 obj-$(CONFIG_HAVE_CLK) += clk-devres.o
|
/linux-4.1.27/drivers/pci/ |
D | quirks.c | 455 u32 devres; in piix4_io_quirk() local 458 pci_read_config_dword(dev, port, &devres); in piix4_io_quirk() 459 if ((devres & enable) != enable) in piix4_io_quirk() 461 mask = (devres >> 16) & 15; in piix4_io_quirk() 462 base = devres & 0xffff; in piix4_io_quirk() 482 u32 devres; in piix4_mem_quirk() local 485 pci_read_config_dword(dev, port, &devres); in piix4_mem_quirk() 486 if ((devres & enable) != enable) in piix4_mem_quirk() 488 base = devres & 0xffff0000; in piix4_mem_quirk() 489 mask = (devres & 0x3f) << 16; in piix4_mem_quirk()
|
/linux-4.1.27/drivers/regulator/ |
D | Makefile | 6 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o
|
/linux-4.1.27/drivers/gpio/ |
D | Makefile | 5 obj-$(CONFIG_GPIO_DEVRES) += devres.o
|
/linux-4.1.27/lib/ |
D | Makefile | 50 obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
|