Home
last modified time | relevance | path

Searched refs:platform_devices (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/translations/zh_CN/devicetree/
H A Dusage-model.rst186 义一组静态时钟结构、platform_devices和其他数据,并在.init_machine()中
190 最简单的情况是,.init_machine()只负责注册一个platform_devices
260 创建platform_devices。然而,看一下这个树,并不能立即看出每个节点代表什么
278 要特定类型的父设备的设备是platform_devices(和amba_devices,但后面会
296platform_devices。很简单,对吗?
/linux/sound/drivers/mpu401/
H A Dmpu401.c48 static struct platform_device *platform_devices[SNDRV_CARDS]; variable
199 for (i = 0; i < ARRAY_SIZE(platform_devices); ++i) in snd_mpu401_unregister_all()
200 platform_device_unregister(platform_devices[i]); in snd_mpu401_unregister_all()
228 platform_devices[i] = device; in alsa_card_mpu401_init()
/linux/arch/xtensa/platforms/xtfpga/
H A Dsetup.c267 static struct platform_device *platform_devices[] __initdata = { variable
286 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); in xtavnet_init()
/linux/sound/drivers/
H A Dportman2x4.c47 static struct platform_device *platform_devices[SNDRV_CARDS]; variable
648 platform_devices[device_count] = device; in snd_portman_attach()
811 if (platform_devices[i]) { in snd_portman_unregister_all()
812 platform_device_unregister(platform_devices[i]); in snd_portman_unregister_all()
813 platform_devices[i] = NULL; in snd_portman_unregister_all()
H A Dmts64.c27 static struct platform_device *platform_devices[SNDRV_CARDS]; variable
863 platform_devices[device_count] = device; in snd_mts64_attach()
1025 if (platform_devices[i]) { in snd_mts64_unregister_all()
1026 platform_device_unregister(platform_devices[i]); in snd_mts64_unregister_all()
1027 platform_devices[i] = NULL; in snd_mts64_unregister_all()
/linux/Documentation/devicetree/
H A Dusage-model.rst244 platform_devices, and other data in the board support .c file, and
251 registering a block of platform_devices. A platform_device is a concept
324 this DT and decide which nodes to create platform_devices for.
353 device are platform_devices (and amba_devices, but more on that
375 SoC node and simply registers platform_devices for each of its
378 and register platform_devices for /soc/interrupt-controller, /soc/serial,
382 platform_devices as more platform_devices is a common pattern, and the