• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/serial/

Lines Matching defs:ofdev

1197 static int ucc_uart_probe(struct platform_device *ofdev,
1200 struct device_node *np = ofdev->dev.of_node;
1211 dev_dbg(&ofdev->dev, "using Soft-UART mode\n");
1235 dev_err(&ofdev->dev, "unknown CPU model\n");
1241 dev_info(&ofdev->dev, "waiting for firmware %s\n",
1252 FW_ACTION_HOTPLUG, filename, &ofdev->dev,
1253 GFP_KERNEL, &ofdev->dev, uart_firmware_cont);
1255 dev_err(&ofdev->dev,
1265 dev_err(&ofdev->dev, "can't allocate QE port structure\n");
1272 dev_err(&ofdev->dev, "missing 'reg' property in device tree\n");
1277 dev_err(&ofdev->dev, "invalid 'reg' property in device tree\n");
1290 dev_err(&ofdev->dev, "UCC is unspecified in "
1297 dev_err(&ofdev->dev, "no support for UCC%u\n", *iprop);
1312 dev_err(&ofdev->dev, "missing rx-clock-name in device tree\n");
1320 dev_err(&ofdev->dev, "rx-clock-name must be a BRG for UART\n");
1331 dev_err(&ofdev->dev, "missing tx-clock-name in device tree\n");
1339 dev_err(&ofdev->dev, "tx-clock-name must be a BRG for UART\n");
1347 dev_err(&ofdev->dev, "missing port-number in device tree\n");
1353 dev_err(&ofdev->dev, "port-number must be 0-%u\n",
1361 dev_err(&ofdev->dev, "could not map IRQ for UCC%u\n",
1375 dev_err(&ofdev->dev, "could not find 'qe' node\n");
1383 dev_err(&ofdev->dev,
1399 dev_err(&ofdev->dev,
1407 dev_err(&ofdev->dev,
1416 qe_port->port.dev = &ofdev->dev;
1446 dev_err(&ofdev->dev, "could not add /dev/ttyQE%u\n",
1452 dev_set_drvdata(&ofdev->dev, qe_port);
1454 dev_info(&ofdev->dev, "UCC%u assigned to /dev/ttyQE%u\n",
1458 dev_dbg(&ofdev->dev, "mknod command is 'mknod /dev/ttyQE%u c %u %u'\n",
1465 static int ucc_uart_remove(struct platform_device *ofdev)
1467 struct uart_qe_port *qe_port = dev_get_drvdata(&ofdev->dev);
1469 dev_info(&ofdev->dev, "removing /dev/ttyQE%u\n", qe_port->port.line);
1473 dev_set_drvdata(&ofdev->dev, NULL);