• Home
  • Raw
  • Download

Lines Matching full:platform

3  * platform.c - platform 'pseudo' bus for legacy devices
8 * Please see Documentation/driver-api/driver-model/platform.rst for more
39 .init_name = "platform",
45 * @dev: platform device
69 * platform device and get resource
71 * @pdev: platform device to use both for memory resource lookup as well as
93 * devm_platform_ioremap_resource - call devm_ioremap_resource() for a platform
96 * @pdev: platform device to use both for memory resource lookup as well as
114 * @pdev: platform device to use both for memory resource lookup as well as
132 * a platform device, retrieve the
135 * @pdev: platform device to use both for memory resource lookup as well as
156 * @dev: platform device
159 * Gets an IRQ for a platform device. Device drivers should check the return
245 * @dev: platform device
248 * Gets an IRQ for a platform device and prints an error message if finding the
273 * platform_irq_count - Count the number of IRQs a platform device uses
274 * @dev: platform device
276 * Return: Number of IRQs a platform device uses or EPROBE_DEFER
294 * @dev: platform device
340 * @dev: platform device
361 * @dev: platform device
377 * platform_add_devices - add a numbers of platform devices
378 * @devs: array of platform devices to add
379 * @num: number of platform devices in array
404 * Set up default DMA mask for platform devices if the they weren't
420 * platform_device_put - destroy a platform device
421 * @pdev: platform device to free
423 * Free all memory associated with a platform device. This function must
447 * platform_device_alloc - create a platform device
451 * Create a platform device object which can have other objects attached
473 * platform_device_add_resources - add resources to a platform device
474 * @pdev: platform device allocated by platform_device_alloc to add resources to
478 * Add a copy of the resources to the platform device. The memory
479 * associated with the resources will be freed when the platform device is
501 * platform_device_add_data - add platform-specific data to a platform device
502 * @pdev: platform device allocated by platform_device_alloc to add resources to
503 * @data: platform specific data for this platform device
504 * @size: size of platform specific data
506 * Add a copy of platform specific data to the platform device's
507 * platform_data pointer. The memory associated with the platform data
508 * will be freed when the platform device is released.
528 * platform_device_add_properties - add built-in properties to a platform device
529 * @pdev: platform device to add properties to
533 * platform device. The memory associated with properties will be freed when the
534 * platform device is released.
544 * platform_device_add - add a platform device to device hierarchy
545 * @pdev: platform device we're adding
608 pr_debug("Registering platform device '%s'. Parent at %s\n", in platform_device_add()
633 * platform_device_del - remove a platform-level device
634 * @pdev: platform device we're removing
662 * platform_device_register - add a platform-level device
663 * @pdev: platform device we're adding
674 * platform_device_unregister - unregister a platform-level device
675 * @pdev: platform device we're unregistering
689 * platform_device_register_full - add a platform-level device with
690 * resources and platform-specific data
803 * __platform_driver_register - register a driver for platform-level devices
804 * @drv: platform driver structure
821 * platform_driver_unregister - unregister a driver for platform-level devices
822 * @drv: platform driver structure
832 * @drv: platform driver structure
904 * @driver: platform driver structure
908 * @data: platform specific data for this platform device
909 * @size: size of platform specific data
913 * register a single platform device and corresponding platform driver.
960 * __platform_register_drivers - register an array of platform drivers
965 * Registers platform drivers specified by an array. On failure to register a
979 pr_debug("registering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
983 pr_err("failed to register platform driver %ps: %d\n", in __platform_register_drivers()
993 pr_debug("unregistering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1002 * platform_unregister_drivers - unregister an array of platform drivers
1006 * Unregisters platform drivers specified by an array. This is typically used
1014 pr_debug("unregistering platform driver %ps\n", drivers[count]); in platform_unregister_drivers()
1040 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show()
1158 * platform_match - bind platform device to platform driver.
1162 * Platform device IDs are assumed to be encoded like this:
1361 .name = "platform",
1376 * platform_find_device_by_driver - Find a platform device with a given