Lines Matching refs:ret
42 int ret; in dt_uart_init() local
57 ret = dt_property_read_string(chosen, "stdout-path", &stdout); in dt_uart_init()
58 if ( ret >= 0 ) in dt_uart_init()
65 else if ( ret != -EINVAL /* Not present */ ) in dt_uart_init()
66 printk("Failed to read /chosen/stdout-path (%d)\n", ret); in dt_uart_init()
94 ret = device_init(dev, DEVICE_SERIAL, options); in dt_uart_init()
96 if ( ret ) in dt_uart_init()
97 printk("Unable to initialize dtuart: %d\n", ret); in dt_uart_init()
104 int ret; in acpi_uart_init() local
114 ret = acpi_device_init(DEVICE_SERIAL, NULL, spcr->interface_type); in acpi_uart_init()
116 if ( ret ) in acpi_uart_init()
117 printk("Unable to initialize acpi uart: %d\n", ret); in acpi_uart_init()