/drivers/staging/sm750fb/ |
D | ddk750_hwi2c.c | 20 poke32(GPIO_MUX, value); in sm750_hw_i2c_init() 33 poke32(I2C_CTRL, value); in sm750_hw_i2c_init() 44 poke32(I2C_CTRL, value); in sm750_hw_i2c_close() 53 poke32(GPIO_MUX, value); in sm750_hw_i2c_close() 91 poke32(I2C_SLAVE_ADDRESS, addr & ~0x01); in hw_i2c_write_data() 103 poke32(I2C_RESET, 0); in hw_i2c_write_data() 110 poke32(I2C_BYTE_COUNT, count); in hw_i2c_write_data() 114 poke32(I2C_DATA0 + i, *buf++); in hw_i2c_write_data() 117 poke32(I2C_CTRL, peek32(I2C_CTRL) | I2C_CTRL_CTRL); in hw_i2c_write_data() 156 poke32(I2C_SLAVE_ADDRESS, addr | 0x01); in hw_i2c_read_data() [all …]
|
D | ddk750_mode.c | 31 poke32(CRT_AUTO_CENTERING_TL, 0); in displayControlAdjust_SM750LE() 33 poke32(CRT_AUTO_CENTERING_BR, in displayControlAdjust_SM750LE() 72 poke32(CRT_DISPLAY_CTRL, dispControl); in displayControlAdjust_SM750LE() 87 poke32(CRT_PLL_CTRL, sm750_format_pll_reg(pll)); in programModeRegisters() 95 poke32(CRT_HORIZONTAL_TOTAL, tmp); in programModeRegisters() 103 poke32(CRT_HORIZONTAL_SYNC, tmp); in programModeRegisters() 111 poke32(CRT_VERTICAL_TOTAL, tmp); in programModeRegisters() 119 poke32(CRT_VERTICAL_SYNC, tmp); in programModeRegisters() 135 poke32(CRT_DISPLAY_CTRL, tmp | reg); in programModeRegisters() 141 poke32(PANEL_PLL_CTRL, sm750_format_pll_reg(pll)); in programModeRegisters() [all …]
|
D | sm750_hw.c | 113 poke32(SYSTEM_CTRL, in hw_sm750_inithw() 121 poke32(MISC_CTRL, in hw_sm750_inithw() 126 poke32(SYSTEM_CTRL, val); in hw_sm750_inithw() 128 poke32(MISC_CTRL, in hw_sm750_inithw() 133 poke32(SYSTEM_CTRL, val); in hw_sm750_inithw() 149 poke32(PANEL_DISPLAY_CTRL, val); in hw_sm750_inithw() 218 poke32(DISPLAY_CONTROL_750LE, reg); in hw_sm750_output_setMode() 317 poke32(PANEL_FB_ADDRESS, in hw_sm750_crtc_setMode() 329 poke32(PANEL_FB_WIDTH, reg); in hw_sm750_crtc_setMode() 334 poke32(PANEL_WINDOW_WIDTH, reg); in hw_sm750_crtc_setMode() [all …]
|
D | ddk750_display.c | 31 poke32(reg, val); in set_display_control() 42 poke32(reg, val); in set_display_control() 56 poke32(reg, val); in set_display_control() 59 poke32(reg, val); in set_display_control() 95 poke32(PANEL_DISPLAY_CTRL, reg); in sw_panel_power_sequence() 100 poke32(PANEL_DISPLAY_CTRL, reg); in sw_panel_power_sequence() 105 poke32(PANEL_DISPLAY_CTRL, reg); in sw_panel_power_sequence() 110 poke32(PANEL_DISPLAY_CTRL, reg); in sw_panel_power_sequence() 124 poke32(PANEL_DISPLAY_CTRL, reg); in ddk750_set_logical_disp_out() 135 poke32(CRT_DISPLAY_CTRL, reg); in ddk750_set_logical_disp_out()
|
D | ddk750_swi2c.c | 127 poke32(sw_i2c_clk_gpio_data_dir_reg, gpio_dir); in sw_i2c_scl() 132 poke32(sw_i2c_clk_gpio_data_reg, gpio_data); in sw_i2c_scl() 136 poke32(sw_i2c_clk_gpio_data_dir_reg, gpio_dir); in sw_i2c_scl() 164 poke32(sw_i2c_data_gpio_data_dir_reg, gpio_dir); in sw_i2c_sda() 169 poke32(sw_i2c_data_gpio_data_reg, gpio_data); in sw_i2c_sda() 173 poke32(sw_i2c_data_gpio_data_dir_reg, gpio_dir); in sw_i2c_sda() 193 poke32(sw_i2c_data_gpio_data_dir_reg, gpio_dir); in sw_i2c_read_sda() 419 poke32(sw_i2c_clk_gpio_mux_reg, in sm750_sw_i2c_init() 421 poke32(sw_i2c_data_gpio_mux_reg, in sm750_sw_i2c_init()
|
D | ddk750_chip.c | 81 poke32(MXCLK_PLL_CTRL, sm750_format_pll_reg(&pll)); in set_chip_clock() 193 poke32(MODE0_GATE, reg); in ddk750_get_vm_size() 230 poke32(VGA_CONFIGURATION, reg); in ddk750_init_hw() 257 poke32(MISC_CTRL, reg); in ddk750_init_hw() 260 poke32(MISC_CTRL, reg); in ddk750_init_hw() 269 poke32(VIDEO_DISPLAY_CTRL, reg); in ddk750_init_hw() 274 poke32(VIDEO_ALPHA_DISPLAY_CTRL, reg); in ddk750_init_hw() 279 poke32(ALPHA_DISPLAY_CTRL, reg); in ddk750_init_hw() 284 poke32(DMA_ABORT_INTERRUPT, reg); in ddk750_init_hw()
|
D | ddk750_power.c | 13 poke32(CRT_DISPLAY_CTRL, value); in ddk750_set_dpms() 17 poke32(SYSTEM_CTRL, value); in ddk750_set_dpms() 72 poke32(POWER_MODE_CTRL, ctrl); in sm750_set_power_mode() 78 poke32(MODE1_GATE, gate); in sm750_set_current_gate() 80 poke32(MODE0_GATE, gate); in sm750_set_current_gate()
|
D | sm750_cursor.c | 22 #define poke32(addr, data) \ macro 53 poke32(HWC_ADDRESS, reg); in sm750_hw_cursor_enable() 58 poke32(HWC_ADDRESS, 0); in sm750_hw_cursor_disable() 73 poke32(HWC_LOCATION, reg); in sm750_hw_cursor_setPos() 81 poke32(HWC_COLOR_12, reg | (bg & HWC_COLOR_12_1_RGB565_MASK)); in sm750_hw_cursor_setColor() 82 poke32(HWC_COLOR_3, 0xffe0); in sm750_hw_cursor_setColor()
|
D | ddk750_power.h | 13 poke32(MISC_CTRL, \
|
D | ddk750_chip.h | 21 static inline void poke32(u32 addr, u32 data) in poke32() function
|