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
43 .init_name = "platform",
49 * @dev: platform device
88 * platform device and get resource
90 * @pdev: platform device to use both for memory resource lookup as well as
112 * devm_platform_ioremap_resource - call devm_ioremap_resource() for a platform
115 * @pdev: platform device to use both for memory resource lookup as well as
131 * a platform device, retrieve the
134 * @pdev: platform device to use both for memory resource lookup as well as
171 * @dev: platform device
175 * Gets an interupt for a platform device. Device drivers should check the
261 * @dev: platform device
264 * Gets an interrupt for a platform device. Device drivers should check the
286 * @dev: platform device
289 * Gets an IRQ for a platform device and prints an error message if finding the
315 * platform_irq_count - Count the number of IRQs a platform device uses
316 * @dev: platform device
318 * Return: Number of IRQs a platform device uses or EPROBE_DEFER
365 * @dev: platform device pointer
371 * Gets a set of IRQs for a platform device, and updates IRQ afffinty according
457 * @dev: platform device
502 * @dev: platform device
523 * @dev: platform device
539 * platform_add_devices - add a numbers of platform devices
540 * @devs: array of platform devices to add
541 * @num: number of platform devices in array
568 * Set up default DMA mask for platform devices if the they weren't
584 * platform_device_put - destroy a platform device
585 * @pdev: platform device to free
587 * Free all memory associated with a platform device. This function must
610 * platform_device_alloc - create a platform device
614 * Create a platform device object which can have other objects attached
636 * platform_device_add_resources - add resources to a platform device
637 * @pdev: platform device allocated by platform_device_alloc to add resources to
641 * Add a copy of the resources to the platform device. The memory
642 * associated with the resources will be freed when the platform device is
664 * platform_device_add_data - add platform-specific data to a platform device
665 * @pdev: platform device allocated by platform_device_alloc to add resources to
666 * @data: platform specific data for this platform device
667 * @size: size of platform specific data
669 * Add a copy of platform specific data to the platform device's
670 * platform_data pointer. The memory associated with the platform data
671 * will be freed when the platform device is released.
691 * platform_device_add - add a platform device to device hierarchy
692 * @pdev: platform device we're adding
753 pr_debug("Registering platform device '%s'. Parent at %s\n", dev_name(dev), in platform_device_add()
779 * platform_device_del - remove a platform-level device
780 * @pdev: platform device we're removing
808 * platform_device_register - add a platform-level device
809 * @pdev: platform device we're adding
824 * platform_device_unregister - unregister a platform-level device
825 * @pdev: platform device we're unregistering
839 * platform_device_register_full - add a platform-level device with
840 * resources and platform-specific data
897 * __platform_driver_register - register a driver for platform-level devices
898 * @drv: platform driver structure
912 * platform_driver_unregister - unregister a driver for platform-level devices
913 * @drv: platform driver structure
935 * @drv: platform driver structure
989 /* Walk all platform devices and see if any actually bound to this driver. in __platform_driver_probe()
1003 * @driver: platform driver structure
1007 * @data: platform specific data for this platform device
1008 * @size: size of platform specific data
1012 * register a single platform device and corresponding platform driver.
1059 * __platform_register_drivers - register an array of platform drivers
1064 * Registers platform drivers specified by an array. On failure to register a
1078 pr_debug("registering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1082 pr_err("failed to register platform driver %ps: %d\n", in __platform_register_drivers()
1092 pr_debug("unregistering platform driver %ps\n", drivers[i]); in __platform_register_drivers()
1101 * platform_unregister_drivers - unregister an array of platform drivers
1105 * Unregisters platform drivers specified by an array. This is typically used
1113 pr_debug("unregistering platform driver %ps\n", drivers[count]); in platform_unregister_drivers()
1297 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show()
1334 * platform_match - bind platform device to platform driver.
1338 * Platform device IDs are assumed to be encoded like this:
1489 .name = "platform",
1509 * platform_find_device_by_driver - Find a platform device with a given