Home
last modified time | relevance | path

Searched refs:devres (Results 1 – 9 of 9) sorted by relevance

/drivers/base/
Ddevres.c25 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 …]
DMakefile5 cpu.o firmware.o init.o map.o devres.o \
DKconfig207 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
/drivers/input/
Dinput-polldev.c185 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 …]
Dinput.c1811 struct input_devres *devres = res; in devm_input_device_match() local
1813 return devres->input == data; in devm_input_device_match()
1818 struct input_devres *devres = res; in devm_input_device_release() local
1819 struct input_dev *input = devres->input; in devm_input_device_release()
1847 struct input_devres *devres; in devm_input_allocate_device() local
1849 devres = devres_alloc(devm_input_device_release, in devm_input_allocate_device()
1851 if (!devres) in devm_input_allocate_device()
1856 devres_free(devres); in devm_input_allocate_device()
1863 devres->input = input; in devm_input_allocate_device()
1864 devres_add(dev, devres); in devm_input_allocate_device()
[all …]
/drivers/pci/
Dquirks.c447 u32 devres; in piix4_io_quirk() local
450 pci_read_config_dword(dev, port, &devres); in piix4_io_quirk()
451 if ((devres & enable) != enable) in piix4_io_quirk()
453 mask = (devres >> 16) & 15; in piix4_io_quirk()
454 base = devres & 0xffff; in piix4_io_quirk()
474 u32 devres; in piix4_mem_quirk() local
477 pci_read_config_dword(dev, port, &devres); in piix4_mem_quirk()
478 if ((devres & enable) != enable) in piix4_mem_quirk()
480 base = devres & 0xffff0000; in piix4_mem_quirk()
481 mask = (devres & 0x3f) << 16; in piix4_mem_quirk()
/drivers/clk/
DMakefile2 obj-$(CONFIG_HAVE_CLK) += clk-devres.o
/drivers/regulator/
DMakefile6 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o
/drivers/gpio/
DMakefile5 obj-$(CONFIG_GPIO_DEVRES) += devres.o