Lines Matching refs:devices
65 struct list_head devices;
684 * A release function for the platform devices we create to allow us to
749 list_add_tail(&smdev->list, &sm->devices);
833 static int sm501_register_uart(struct sm501_devdata *sm, int devices)
845 if (devices & SM501_USE_UART0) {
851 if (devices & SM501_USE_UART1) {
1309 INIT_LIST_HEAD(&sm->devices);
1345 if (idata->devices & SM501_USE_USB_HOST)
1347 if (idata->devices & (SM501_USE_UART0 | SM501_USE_UART1))
1348 sm501_register_uart(sm, idata->devices);
1349 if (idata->devices & SM501_USE_GPIO)
1517 /* Initialisation data for PCI devices */
1533 .devices = SM501_USE_ALL,
1576 /* set a hopefully unique id for our child platform devices */
1656 list_for_each_entry_safe(smdev, tmp, &sm->devices, list)