Lines Matching +full:global +full:- +full:utilities
42 * Board-specific initialization of the DIU. This code should probably be
51 /* DIU Pixel Clock bits of the CLKDVDR Global Utilities register */
77 * Note that we need to byte-swap the value before it's written to the AD
140 * If we only have 32-bit addressing, then the BRx address *is* the in lbc_br_to_phys()
180 /* Map the global utilities registers. */ in p1022ds_set_monitor_port()
181 guts_node = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); in p1022ds_set_monitor_port()
183 pr_err("p1022ds: missing global utilities device node\n"); in p1022ds_set_monitor_port()
189 pr_err("p1022ds: could not map global utilities device\n"); in p1022ds_set_monitor_port()
193 lbc_node = of_find_compatible_node(NULL, NULL, "fsl,p1022-elbc"); in p1022ds_set_monitor_port()
205 law_node = of_find_compatible_node(NULL, NULL, "fsl,ecm-law"); in p1022ds_set_monitor_port()
217 iprop = of_get_property(law_node, "fsl,num-laws", NULL); in p1022ds_set_monitor_port()
219 pr_err("p1022ds: LAW node is missing fsl,num-laws property\n"); in p1022ds_set_monitor_port()
234 br0 = in_be32(&lbc->bank[0].br); in p1022ds_set_monitor_port()
235 br1 = in_be32(&lbc->bank[1].br); in p1022ds_set_monitor_port()
236 or0 = in_be32(&lbc->bank[0].or); in p1022ds_set_monitor_port()
237 or1 = in_be32(&lbc->bank[1].or); in p1022ds_set_monitor_port()
253 out_be32(&lbc->bank[0].br, br0); in p1022ds_set_monitor_port()
254 out_be32(&lbc->bank[0].or, or0); in p1022ds_set_monitor_port()
259 out_be32(&lbc->bank[1].br, br1); in p1022ds_set_monitor_port()
260 out_be32(&lbc->bank[1].or, or1); in p1022ds_set_monitor_port()
290 if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in p1022ds_set_monitor_port()
296 of_find_compatible_node(NULL, NULL, "fsl,p1022ds-fpga"); in p1022ds_set_monitor_port()
320 clrsetbits_be32(&guts->pmuxcr, PMUXCR_ELBCDIU_MASK, in p1022ds_set_monitor_port()
322 in_be32(&guts->pmuxcr); in p1022ds_set_monitor_port()
381 /* Map the global utilities registers. */ in p1022ds_set_pixel_clock()
382 guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); in p1022ds_set_pixel_clock()
384 pr_err("p1022ds: missing global utilities device node\n"); in p1022ds_set_pixel_clock()
391 pr_err("p1022ds: could not map global utilities device\n"); in p1022ds_set_pixel_clock()
403 * range of values is 2-255. in p1022ds_set_pixel_clock()
408 /* Disable the pixel clock, and set it to non-inverted and no delay */ in p1022ds_set_pixel_clock()
409 clrbits32(&guts->clkdvdr, in p1022ds_set_pixel_clock()
413 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in p1022ds_set_pixel_clock()
429 return FSL_DIU_PORT_DVI; /* Dual-link LVDS is not supported */ in p1022ds_valid_monitor_port()
446 /* TRUE if there is a "video=fslfb" command-line parameter. */
450 * Search for a "video=fslfb" command-line parameter, and set 'fslfb' to
456 * global variable. Later on, p1022_ds_setup_arch() will use that variable
484 * command-line parameter. When the DIU is active, the localbus is in p1022_ds_setup_arch()
490 of_find_compatible_node(NULL, NULL, "fsl,p1022-elbc"); in p1022_ds_setup_arch()
496 np2 = of_find_compatible_node(np, NULL, "cfi-flash"); in p1022_ds_setup_arch()
507 * should be allocated in the global area. in p1022_ds_setup_arch()
520 "fsl,elbc-fcm-nand"); in p1022_ds_setup_arch()