Lines Matching refs:dp
1383 static enum su_type su_get_type(struct device_node *dp)
1403 if (dp == match) {
1413 if (dp == match) {
1427 struct device_node *dp = op->dev.of_node;
1434 type = su_get_type(dp);
1496 if (of_node_name_eq(dp, "rsc-console") ||
1497 of_node_name_eq(dp, "lom-console"))
1500 sunserial_console_match(SUNSU_CONSOLE(), dp,
1572 struct device_node *dp;
1576 for_each_node_by_name(dp, "su") {
1577 if (su_get_type(dp) == SU_PORT_PORT)
1580 for_each_node_by_name(dp, "su_pnp") {
1581 if (su_get_type(dp) == SU_PORT_PORT)
1584 for_each_node_by_name(dp, "serial") {
1585 if (of_device_is_compatible(dp, "su")) {
1586 if (su_get_type(dp) == SU_PORT_PORT)
1590 for_each_node_by_type(dp, "serial") {
1591 if (of_device_is_compatible(dp, "su")) {
1592 if (su_get_type(dp) == SU_PORT_PORT)