Lines Matching +full:0 +full:x4300

68 		.sdcfg = (67 | (0 << 8) | (0 << 9) | (0 << 10) | (0 << 12)),
71 .fsynclen = 0,
80 .sdcfg = (100 | (1 << 8) | (1 << 9) | (0 << 10) | (0 << 12)),
83 .fsynclen = 0,
98 .xpanstep = 0,
99 .ypanstep = 0,
100 .ywrapstep = 0,
112 .red = { 0, 4, 0 },
113 .green = { 0, 4, 0 },
114 .blue = { 0, 4, 0 },
115 .transp = { 0, 0, 0 },
121 par->board->set_ctl(par, BS_WR, 0); in broadsheet_gpio_issue_data()
128 par->board->set_ctl(par, BS_DC, 0); in broadsheet_gpio_issue_cmd()
136 par->board->set_ctl(par, BS_CS, 0); in broadsheet_gpio_send_command()
149 par->board->set_ctl(par, BS_CS, 0); in broadsheet_gpio_send_cmdargs()
153 for (i = 0; i < argc; i++) in broadsheet_gpio_send_cmdargs()
165 for (i = 0; i < argc; i++) in broadsheet_mmio_send_cmdargs()
192 par->board->set_ctl(par, BS_CS, 0); in broadsheet_gpio_burst_write()
195 for (i = 0; i < size; i++) { in broadsheet_gpio_burst_write()
196 par->board->set_ctl(par, BS_WR, 0); in broadsheet_gpio_burst_write()
197 tmp = (data[i] & 0x0F) << 4; in broadsheet_gpio_burst_write()
198 tmp |= (data[i] & 0x0F00) << 4; in broadsheet_gpio_burst_write()
212 for (i = 0; i < size; i++) { in broadsheet_mmio_burst_write()
213 tmp = (data[i] & 0x0F) << 4; in broadsheet_mmio_burst_write()
214 tmp |= (data[i] & 0x0F00) << 4; in broadsheet_mmio_burst_write()
237 par->board->set_ctl(par, BS_CS, 0); in broadsheet_gpio_get_data()
238 par->board->set_ctl(par, BS_WR, 0); in broadsheet_gpio_get_data()
265 par->board->set_ctl(par, BS_CS, 0); in broadsheet_gpio_write_reg()
298 broadsheet_write_reg(par, reg, cpu_to_le32(data) & 0xFFFF); in broadsheet_write_reg32()
299 broadsheet_write_reg(par, reg + 2, (cpu_to_le32(data) >> 16) & 0xFFFF); in broadsheet_write_reg32()
313 return broadsheet_read_reg(par, 0x000A) & 0x0001; in is_broadsheet_pll_locked()
318 int retry_count = 0; in broadsheet_setup_plls()
322 broadsheet_write_reg(par, 0x0006, 0x0000); in broadsheet_setup_plls()
324 broadsheet_write_reg(par, 0x0010, 0x0004); in broadsheet_setup_plls()
325 broadsheet_write_reg(par, 0x0012, 0x5949); in broadsheet_setup_plls()
326 broadsheet_write_reg(par, 0x0014, 0x0040); in broadsheet_setup_plls()
327 broadsheet_write_reg(par, 0x0016, 0x0000); in broadsheet_setup_plls()
335 tmp = broadsheet_read_reg(par, 0x0006); in broadsheet_setup_plls()
336 tmp &= ~0x1; in broadsheet_setup_plls()
337 broadsheet_write_reg(par, 0x0006, tmp); in broadsheet_setup_plls()
339 return 0; in broadsheet_setup_plls()
345 broadsheet_write_reg(par, 0x0204, ((3 << 3) | 1)); in broadsheet_setup_spi()
346 broadsheet_write_reg(par, 0x0208, 0x0001); in broadsheet_setup_spi()
348 return 0; in broadsheet_setup_spi()
355 *orig_sfmcd = broadsheet_read_reg(par, 0x0204); in broadsheet_setup_spiflash()
356 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_setup_spiflash()
357 broadsheet_write_reg(par, 0x0204, 0); in broadsheet_setup_spiflash()
358 broadsheet_write_reg(par, 0x0204, ((3 << 3) | 1)); in broadsheet_setup_spiflash()
360 return 0; in broadsheet_setup_spiflash()
372 return 0; in broadsheet_spiflash_wait_for_bit()
381 broadsheet_write_reg(par, 0x0202, (data | 0x100)); in broadsheet_spiflash_write_byte()
383 return broadsheet_spiflash_wait_for_bit(par, 0x0206, 3, 0, 100); in broadsheet_spiflash_write_byte()
391 broadsheet_write_reg(par, 0x0202, 0); in broadsheet_spiflash_read_byte()
393 err = broadsheet_spiflash_wait_for_bit(par, 0x0206, 3, 0, 100); in broadsheet_spiflash_read_byte()
397 tmp = broadsheet_read_reg(par, 0x200); in broadsheet_spiflash_read_byte()
399 *data = tmp & 0xFF; in broadsheet_spiflash_read_byte()
401 return 0; in broadsheet_spiflash_read_byte()
411 broadsheet_write_reg(par, 0x0208, 1); in broadsheet_spiflash_wait_for_status()
413 err = broadsheet_spiflash_write_byte(par, 0x05); in broadsheet_spiflash_wait_for_status()
421 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_spiflash_wait_for_status()
423 if (!(tmp & 0x1)) in broadsheet_spiflash_wait_for_status()
424 return 0; in broadsheet_spiflash_wait_for_status()
433 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_spiflash_wait_for_status()
444 broadsheet_write_reg(par, 0x0208, 1); in broadsheet_spiflash_op_on_address()
450 for (i = 2; i >= 0; i--) { in broadsheet_spiflash_op_on_address()
451 tmp = ((addr >> (i * 8)) & 0xFF); in broadsheet_spiflash_op_on_address()
463 int err = 0; in broadsheet_verify_spiflash()
466 err = broadsheet_spiflash_op_on_address(par, 0xAB, 0x00000000); in broadsheet_verify_spiflash()
474 if ((sig != 0x10) && (sig != 0x11)) { in broadsheet_verify_spiflash()
483 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_verify_spiflash()
497 broadsheet_write_reg(par, 0x0106, 0x0203); in broadsheet_setup_for_wfm_write()
515 broadsheet_write_reg(par, 0x0208, 1); in broadsheet_spiflash_write_control()
517 err = broadsheet_spiflash_write_byte(par, 0x06); in broadsheet_spiflash_write_control()
519 err = broadsheet_spiflash_write_byte(par, 0x04); in broadsheet_spiflash_write_control()
521 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_spiflash_write_control()
532 err = broadsheet_spiflash_op_on_address(par, 0xD8, addr); in broadsheet_spiflash_erase_sector()
534 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_spiflash_erase_sector()
550 err = broadsheet_spiflash_op_on_address(par, 0x03, addr); in broadsheet_spiflash_read_range()
554 for (i = 0; i < size; i++) { in broadsheet_spiflash_read_range()
561 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_spiflash_read_range()
574 err = broadsheet_spiflash_op_on_address(par, 0x02, addr); in broadsheet_spiflash_write_page()
578 for (i = 0; i < BS_SPIFLASH_PAGE_SIZE; i++) { in broadsheet_spiflash_write_page()
584 broadsheet_write_reg(par, 0x0208, 0); in broadsheet_spiflash_write_page()
598 for (i = 0; i < sector_size; i += BS_SPIFLASH_PAGE_SIZE) { in broadsheet_spiflash_write_sector()
603 return 0; in broadsheet_spiflash_write_sector()
624 /* the start address of the sector is the 0th byte of that sector */ in broadsheet_spiflash_rewrite_sector()
686 int offset = 0; in broadsheet_write_spiflash()
689 case 0x10: in broadsheet_write_spiflash()
692 case 0x11: in broadsheet_write_spiflash()
712 return 0; in broadsheet_write_spiflash()
718 int err = 0; in broadsheet_store_waveform_to_spiflash()
719 u16 initial_sfmcd = 0; in broadsheet_store_waveform_to_spiflash()
720 int flash_type = 0; in broadsheet_store_waveform_to_spiflash()
726 err = broadsheet_write_spiflash(par, 0x886, wfm, wfm_size, flash_type); in broadsheet_store_waveform_to_spiflash()
729 broadsheet_write_reg(par, 0x0204, initial_sfmcd); in broadsheet_store_waveform_to_spiflash()
746 if (err < 0) { in broadsheet_loadstore_waveform()
763 if (err < 0) { in broadsheet_loadstore_waveform()
787 args[0] = panel_table[par->panel_index].w; in broadsheet_init_display()
797 args[0] = panel_table[par->panel_index].fsynclen; in broadsheet_init_display()
804 broadsheet_write_reg32(par, 0x310, xres*yres*2); in broadsheet_init_display()
807 args[0] = 0x886; in broadsheet_init_display()
808 args[1] = 0; in broadsheet_init_display()
815 broadsheet_write_reg(par, 0x330, 0x84); in broadsheet_init_display()
819 args[0] = (0x3 << 4); in broadsheet_init_display()
822 args[0] = 0x154; in broadsheet_init_display()
831 args[0] = 0x4300; in broadsheet_init_display()
848 dev_info(dev, "Broadsheet Rev 0x%x, Product Code 0x%x\n", rev, prc); in broadsheet_identify()
850 if (prc != 0x0047) in broadsheet_identify()
852 if (rev != 0x0100) in broadsheet_identify()
872 y1 &= 0xFFFC; in broadsheetfb_dpy_update_pages()
874 y2 |= 0x0003; in broadsheetfb_dpy_update_pages()
876 args[0] = 0x3 << 4; in broadsheetfb_dpy_update_pages()
877 args[1] = 0; in broadsheetfb_dpy_update_pages()
883 args[0] = 0x154; in broadsheetfb_dpy_update_pages()
892 args[0] = 0x4300; in broadsheetfb_dpy_update_pages()
909 args[0] = 0x3 << 4; in broadsheetfb_dpy_update()
912 args[0] = 0x154; in broadsheetfb_dpy_update()
920 args[0] = 0x4300; in broadsheetfb_dpy_update()
934 u16 y1 = 0, h = 0; in broadsheetfb_dpy_deferred_io()
1037 panel_index = 0; in broadsheetfb_probe()
1077 retval = fb_alloc_cmap(&info->cmap, 16, 0); in broadsheetfb_probe()
1078 if (retval < 0) { in broadsheetfb_probe()
1084 for (i = 0; i < 16; i++) in broadsheetfb_probe()
1085 info->cmap.red[i] = (((2*i)+1)*(0xFFFF))/32; in broadsheetfb_probe()
1090 if (retval < 0) in broadsheetfb_probe()
1095 if (retval < 0) in broadsheetfb_probe()
1103 if (retval < 0) in broadsheetfb_probe()
1109 if (retval < 0) in broadsheetfb_probe()
1116 return 0; in broadsheetfb_probe()