/linux-4.4.14/drivers/base/ |
D | soc.c | 39 struct device *soc_device_to_device(struct soc_device *soc_dev) in soc_device_to_device() argument 41 return &soc_dev->dev; in soc_device_to_device() 49 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_attribute_mode() local 52 && (soc_dev->attr->machine != NULL)) in soc_attribute_mode() 55 && (soc_dev->attr->family != NULL)) in soc_attribute_mode() 58 && (soc_dev->attr->revision != NULL)) in soc_attribute_mode() 61 && (soc_dev->attr->soc_id != NULL)) in soc_attribute_mode() 72 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); in soc_info_get() local 75 return sprintf(buf, "%s\n", soc_dev->attr->machine); in soc_info_get() 77 return sprintf(buf, "%s\n", soc_dev->attr->family); in soc_info_get() [all …]
|
/linux-4.4.14/drivers/soc/versatile/ |
D | soc-realview.c | 97 struct soc_device *soc_dev; in realview_soc_probe() local 117 soc_dev = soc_device_register(soc_dev_attr); in realview_soc_probe() 118 if (IS_ERR(soc_dev)) { in realview_soc_probe() 127 device_create_file(soc_device_to_device(soc_dev), &realview_manf_attr); in realview_soc_probe() 128 device_create_file(soc_device_to_device(soc_dev), &realview_board_attr); in realview_soc_probe() 129 device_create_file(soc_device_to_device(soc_dev), &realview_arch_attr); in realview_soc_probe() 130 device_create_file(soc_device_to_device(soc_dev), &realview_build_attr); in realview_soc_probe()
|
D | soc-integrator.c | 106 struct soc_device *soc_dev; in integrator_soc_init() local 134 soc_dev = soc_device_register(soc_dev_attr); in integrator_soc_init() 135 if (IS_ERR(soc_dev)) { in integrator_soc_init() 139 dev = soc_device_to_device(soc_dev); in integrator_soc_init()
|
/linux-4.4.14/arch/arm/mach-tegra/ |
D | tegra.c | 90 struct soc_device *soc_dev; in tegra_dt_init() local 102 soc_dev = soc_device_register(soc_dev_attr); in tegra_dt_init() 103 if (IS_ERR(soc_dev)) { in tegra_dt_init() 111 parent = soc_device_to_device(soc_dev); in tegra_dt_init()
|
/linux-4.4.14/arch/arm/mach-at91/ |
D | at91rm9200.c | 28 struct device *soc_dev = NULL; in at91rm9200_dt_device_init() local 32 soc_dev = soc_device_to_device(soc); in at91rm9200_dt_device_init() 34 of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); in at91rm9200_dt_device_init()
|
D | soc.c | 34 struct soc_device *soc_dev; in at91_soc_init() local 83 soc_dev = soc_device_register(soc_dev_attr); in at91_soc_init() 84 if (IS_ERR(soc_dev)) { in at91_soc_init() 96 return soc_dev; in at91_soc_init()
|
D | sama5.c | 47 struct device *soc_dev = NULL; in sama5_dt_device_init() local 51 soc_dev = soc_device_to_device(soc); in sama5_dt_device_init() 53 of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); in sama5_dt_device_init()
|
D | at91sam9.c | 58 struct device *soc_dev = NULL; in at91sam9_common_init() local 62 soc_dev = soc_device_to_device(soc); in at91sam9_common_init() 64 of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); in at91sam9_common_init()
|
/linux-4.4.14/arch/nios2/platform/ |
D | platform.c | 22 struct soc_device *soc_dev; in nios2_soc_device_init() local 35 soc_dev = soc_device_register(soc_dev_attr); in nios2_soc_device_init() 36 if (IS_ERR(soc_dev)) { in nios2_soc_device_init()
|
/linux-4.4.14/arch/arm/mach-ux500/ |
D | cpu.c | 130 struct soc_device *soc_dev; in ux500_soc_device_init() local 139 soc_dev = soc_device_register(soc_dev_attr); in ux500_soc_device_init() 140 if (IS_ERR(soc_dev)) { in ux500_soc_device_init() 145 parent = soc_device_to_device(soc_dev); in ux500_soc_device_init()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | cpu.c | 79 struct soc_device *soc_dev; in imx_soc_device_init() local 150 soc_dev = soc_device_register(soc_dev_attr); in imx_soc_device_init() 151 if (IS_ERR(soc_dev)) in imx_soc_device_init() 154 return soc_device_to_device(soc_dev); in imx_soc_device_init()
|
/linux-4.4.14/arch/arm/mach-zynq/ |
D | common.c | 115 struct soc_device *soc_dev; in zynq_init_machine() local 129 soc_dev = soc_device_register(soc_dev_attr); in zynq_init_machine() 130 if (IS_ERR(soc_dev)) { in zynq_init_machine() 138 parent = soc_device_to_device(soc_dev); in zynq_init_machine()
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
D | mvebu-soc-id.c | 154 struct soc_device *soc_dev; in mvebu_soc_device() local 168 soc_dev = soc_device_register(soc_dev_attr); in mvebu_soc_device() 169 if (IS_ERR(soc_dev)) { in mvebu_soc_device()
|
/linux-4.4.14/arch/arm/mach-clps711x/ |
D | devices.c | 103 struct soc_device *soc_dev; in clps711x_soc_init() local 131 soc_dev = soc_device_register(soc_dev_attr); in clps711x_soc_init() 132 if (IS_ERR(soc_dev)) { in clps711x_soc_init()
|
/linux-4.4.14/arch/arm/mach-mxs/ |
D | mach-mxs.c | 460 struct soc_device *soc_dev; in mxs_machine_init() local 477 soc_dev = soc_device_register(soc_dev_attr); in mxs_machine_init() 478 if (IS_ERR(soc_dev)) { in mxs_machine_init() 484 parent = soc_device_to_device(soc_dev); in mxs_machine_init()
|
/linux-4.4.14/include/linux/ |
D | sys_soc.h | 29 void soc_device_unregister(struct soc_device *soc_dev);
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | id.c | 753 struct soc_device *soc_dev; in omap_soc_device_init() local 764 soc_dev = soc_device_register(soc_dev_attr); in omap_soc_device_init() 765 if (IS_ERR(soc_dev)) { in omap_soc_device_init() 770 parent = soc_device_to_device(soc_dev); in omap_soc_device_init()
|
/linux-4.4.14/arch/arm/mach-ep93xx/ |
D | core.c | 906 struct soc_device *soc_dev; in ep93xx_init_soc() local 917 soc_dev = soc_device_register(soc_dev_attr); in ep93xx_init_soc() 918 if (IS_ERR(soc_dev)) { in ep93xx_init_soc() 924 return soc_device_to_device(soc_dev); in ep93xx_init_soc()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | legacy_serial.c | 162 struct device_node *soc_dev) in add_legacy_soc_port() argument 183 addrp = of_get_address(soc_dev, 0, NULL, NULL); in add_legacy_soc_port() 187 addr = of_translate_address(soc_dev, addrp); in add_legacy_soc_port()
|