Searched refs:lvds_mux (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/imx/
H A Dimx-ldb.c84 const struct bus_mux *lvds_mux; member in struct:imx_ldb
229 if (mux == 0 || ldb->lvds_mux) imx_ldb_encoder_commit()
236 if (mux == 1 || ldb->lvds_mux) imx_ldb_encoder_commit()
242 if (ldb->lvds_mux) { imx_ldb_encoder_commit()
243 const struct bus_mux *lvds_mux = NULL; imx_ldb_encoder_commit() local
246 lvds_mux = &ldb->lvds_mux[0]; imx_ldb_encoder_commit()
248 lvds_mux = &ldb->lvds_mux[1]; imx_ldb_encoder_commit()
250 regmap_update_bits(ldb->regmap, lvds_mux->reg, lvds_mux->mask, imx_ldb_encoder_commit()
251 mux << lvds_mux->shift); imx_ldb_encoder_commit()
336 if (ldb->lvds_mux) { imx_ldb_encoder_disable()
337 const struct bus_mux *lvds_mux = NULL; imx_ldb_encoder_disable() local
340 lvds_mux = &ldb->lvds_mux[0]; imx_ldb_encoder_disable()
342 lvds_mux = &ldb->lvds_mux[1]; imx_ldb_encoder_disable()
344 regmap_read(ldb->regmap, lvds_mux->reg, &mux); imx_ldb_encoder_disable()
345 mux &= lvds_mux->mask; imx_ldb_encoder_disable()
346 mux >>= lvds_mux->shift; imx_ldb_encoder_disable()
532 imx_ldb->lvds_mux = of_id->data; imx_ldb_bind()
586 port = of_graph_get_port_by_id(child, imx_ldb->lvds_mux ? 4 : 2); for_each_child_of_node()

Completed in 54 milliseconds