of_node
idx = of_property_match_string(dev->of_node, "memory-region-names", name);
node = of_parse_phandle(dev->of_node, "memory-region", idx);
ret = of_property_read_u32(dev->of_node, "mux-index", &mux_index);
struct device_node *node = of_get_child_by_name(dcp->dev->of_node, "piodma");
ret = of_parse_phandle_with_args(dcp->dev->of_node, "apple,bw-scratch",
ret = of_parse_phandle_with_args(dcp->dev->of_node, "apple,bw-doorbell",
if (of_property_present(dcp->dev->of_node, "apple,bw-doorbell")) {
len = of_property_read_variable_u32_array(dev->of_node, name, ver,
of_property_read_u32(dev->of_node, "apple,dcp-index",
of_property_read_u32(dev->of_node, "apple,dptx-phy",
of_property_read_u32(dev->of_node, "apple,dptx-die",
ret = of_property_read_u32(dev->of_node, "apple,notch-height",
panel_np = of_get_compatible_child(dev->of_node, "apple,panel-mini-led");
panel_np = of_get_compatible_child(dev->of_node, "apple,panel");
} else if (of_property_match_string(dev->of_node, "apple,connector-type", "HDMI-A") >= 0)
else if (of_property_match_string(dev->of_node, "apple,connector-type", "DP") >= 0)
else if (of_property_match_string(dev->of_node, "apple,connector-type", "USB-C") >= 0)
if (!of_property_present(dev->of_node, "apple,bw-scratch"))
aux->ddc.dev.of_node = parent_dev->of_node;
if (bridge->of_node == np) {
if (bridge->of_node)
drm_printf(p, "\tOF: %pOFfc\n", bridge->of_node);
bridge->of_node, encoder->name, ret);
bridge->of_node, encoder->name);
struct device *dev = container_of(arg, struct device, of_node);
struct device *dev = container_of(p, struct device, of_node);
struct device *dev = container_of(p, struct device, of_node);
of_node_put(dev->of_node);
if (host->dev->of_node == node) {
for_each_available_child_of_node(host->dev->of_node, node) {
if (panel->dev->of_node == np) {
struct device_node *of_node;
struct device_node *dp = rdev->pdev->dev.of_node;
of_usb_update_otg_caps(hsotg->dev->of_node, &p->otg_caps);
if (of_find_property(hsotg->dev->of_node, "disable-over-current", NULL))