Lines Matching refs:port
25 * drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node
27 * @port: port OF node
29 * Given a port OF node, return the possible mask of the corresponding
33 struct device_node *port)
39 if (tmp->port == port)
50 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port
52 * @port: encoder port to scan for endpoints
54 * Scan all endpoints attached to a port, locate their attached CRTCs,
61 struct device_node *port)
66 for_each_endpoint_of_node(port, ep) {
117 struct device_node *ep, *port, *remote;
129 port = of_parse_phandle(dev->of_node, "ports", i);
130 if (!port)
133 if (of_device_is_available(port->parent))
135 port);
137 of_node_put(port);
146 dev_err(dev, "no available port\n");
154 port = of_parse_phandle(dev->of_node, "ports", i);
155 if (!port)
158 if (!of_device_is_available(port->parent)) {
159 of_node_put(port);
163 for_each_child_of_node(port, ep) {
179 of_node_put(port);
192 * parse the encoder endpoint connecting to the crtc port.
200 struct device_node *port;
207 port = of_graph_get_remote_port(ep);
208 of_node_put(port);
209 if (port == crtc->port) {
223 * @port: port in the device tree node
228 * Given a DT node's port and endpoint number, find the connected node and
238 int port, int endpoint,
251 * of_graph_get_remote_node() produces a noisy error message if port
252 * node isn't found and the absence of the port is a legit case here,
259 remote = of_graph_get_remote_node(np, port, endpoint);
346 * @port1: First DT port node of the Dual-link LVDS source
347 * @port2: Second DT port node of the Dual-link LVDS source
351 * returns, for two ports of an LVDS dual-link source, which port shall transmit
355 * dual-lvds-odd-pixels properties in the sink's DT port nodes. If those
359 * If either port is not connected, this function returns -EPIPE.
391 * A valid dual-lVDS bus is found when one remote port is marked with
392 * "dual-lvds-even-pixels", and the other remote port is marked with
406 * @port: DT port node of the LVDS source or sink
417 int drm_of_lvds_get_data_mapping(const struct device_node *port)
422 ret = of_property_read_string(port, "data-mapping", &mapping);
468 * @port: DT port node of the DSI/(e)DP source or sink
469 * @port_reg: identifier (value of reg property) of the parent port node
482 int drm_of_get_data_lanes_count_ep(const struct device_node *port,
490 endpoint = of_graph_get_endpoint_by_regs(port, port_reg, reg);