Home
last modified time | relevance | path

Searched refs:platform_devices (Results 1 – 5 of 5) 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
642 platform_devices[device_count] = device; in snd_portman_attach()
805 if (platform_devices[i]) { in snd_portman_unregister_all()
806 platform_device_unregister(platform_devices[i]); in snd_portman_unregister_all()
807 platform_devices[i] = NULL; in snd_portman_unregister_all()
H A Dmts64.c28 static struct platform_device *platform_devices[SNDRV_CARDS]; variable
845 platform_devices[device_count] = device; in snd_mts64_attach()
1007 if (platform_devices[i]) { in snd_mts64_unregister_all()
1008 platform_device_unregister(platform_devices[i]); in snd_mts64_unregister_all()
1009 platform_devices[i] = NULL; in snd_mts64_unregister_all()