Lines Matching defs:location
299 /* Enable pins at configured location */
301 UARTn_ROUTE_LOCATION(efm_port->pdata.location) |
664 u32 location;
670 ret = of_property_read_u32(np, "energymicro,location", &location);
674 ret = of_property_read_u32(np, "efm32,location", &location);
677 /* fall back to old and (wrongly) generic property "location" */
678 ret = of_property_read_u32(np, "location", &location);
681 if (location > 5) {
682 dev_err(&pdev->dev, "invalid location\n");
685 efm_debug(efm_port, "using location %u\n", location);
686 efm_port->pdata.location = location;
688 efm_debug(efm_port, "fall back to location 0\n");