Home | History | Annotate | Download | only in tx

Lines Matching refs:chip

91 /* TX3912 built-in video chip itself */
133 struct video_chip *chip;
147 sc->sc_chip = chip = &tx3912video_chip;
151 depth_print[(ffs(chip->vc_fbdepth) - 1) & 0x3],
152 (unsigned)chip->vc_fbpaddr,
153 (unsigned)(chip->vc_fbpaddr + chip->vc_fbsize));
156 tc = chip->vc_v;
209 struct video_chip *chip = sc->sc_chip;
210 tx_chipset_tag_t tc = chip->vc_v;
240 struct video_chip *chip = sc->sc_chip;
242 vaddr_t fbvaddr = (vaddr_t)MIPS_PHYS_TO_KSEG1(chip->vc_fbpaddr);
252 fb->hf_height = chip->vc_fbheight;
253 fb->hf_width = chip->vc_fbwidth;
258 fb->hf_bytes_per_line = (chip->vc_fbwidth * chip->vc_fbdepth)
261 fb->hf_bytes_per_plane = chip->vc_fbheight * fb->hf_bytes_per_line;
270 switch (chip->vc_fbdepth) {
300 struct video_chip *chip = &tx3912video_chip;
306 chip->vc_v = tc = tx_conf_get_tag();
330 chip->vc_fbdepth = fbdepth;
331 chip->vc_fbwidth = bootinfo->fb_width;
332 chip->vc_fbheight= bootinfo->fb_height;
335 error = tx3912video_framebuffer_alloc(chip, fb_start, fb_end);
340 tx3912video_resolution_init(chip);
345 tx3912video_framebuffer_init(chip);
348 tx3912video_reset(chip);
350 bootinfo->fb_line_bytes = (chip->vc_fbwidth * fbdepth) / NBBY;
351 bootinfo->fb_addr = (void *)MIPS_PHYS_TO_KSEG1(chip->vc_fbpaddr);
357 tx3912video_framebuffer_alloc(struct video_chip *chip, paddr_t fb_start,
366 size = (chip->vc_fbwidth * chip->vc_fbheight * chip->vc_fbdepth) /
385 chip->vc_fbpaddr = addr;
386 chip->vc_fbvaddr = MIPS_PHYS_TO_KSEG1(addr);
387 chip->vc_fbsize = size;
395 tx3912video_framebuffer_init(struct video_chip *chip)
399 tx_chipset_tag_t tc = chip->vc_v;
401 fb_addr = chip->vc_fbpaddr;
402 fb_size = chip->vc_fbsize;
436 tx3912video_resolution_init(struct video_chip *chip)
439 tx_chipset_tag_t tc = chip->vc_v;
443 h = chip->vc_fbwidth;
444 v = chip->vc_fbheight;
471 tx3912video_reset(struct video_chip *chip)
473 tx_chipset_tag_t tc = chip->vc_v;