Home
last modified time | relevance | path

Searched refs:peek32 (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/staging/sm750fb/
Dddk750_display.c22 val = peek32(reg); in set_display_control()
43 } while ((peek32(reg) & ~reserved) != (val & ~reserved)); in set_display_control()
71 if (!(peek32(PANEL_PLL_CTRL) & PLL_CTRL_POWER) || in primary_wait_vertical_sync()
72 !(peek32(PANEL_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) in primary_wait_vertical_sync()
78 status = peek32(SYSTEM_CTRL); in primary_wait_vertical_sync()
83 status = peek32(SYSTEM_CTRL); in primary_wait_vertical_sync()
93 reg = peek32(PANEL_DISPLAY_CTRL); in sw_panel_power_sequence()
98 reg = peek32(PANEL_DISPLAY_CTRL); in sw_panel_power_sequence()
103 reg = peek32(PANEL_DISPLAY_CTRL); in sw_panel_power_sequence()
108 reg = peek32(PANEL_DISPLAY_CTRL); in sw_panel_power_sequence()
[all …]
Dsm750_hw.c114 peek32(SYSTEM_CTRL) | SYSTEM_CTRL_PCI_BURST); in hw_sm750_inithw()
122 peek32(MISC_CTRL) | MISC_CTRL_DAC_POWER_OFF); in hw_sm750_inithw()
124 val = peek32(SYSTEM_CTRL) & ~SYSTEM_CTRL_DPMS_MASK; in hw_sm750_inithw()
129 peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF); in hw_sm750_inithw()
131 val = peek32(SYSTEM_CTRL) & ~SYSTEM_CTRL_DPMS_MASK; in hw_sm750_inithw()
136 val = peek32(PANEL_DISPLAY_CTRL) & in hw_sm750_inithw()
216 reg = peek32(DISPLAY_CONTROL_750LE); in hw_sm750_output_setMode()
350 reg = peek32(PANEL_DISPLAY_CTRL); in hw_sm750_crtc_setMode()
366 reg = peek32(CRT_DISPLAY_CTRL); in hw_sm750_crtc_setMode()
418 val = peek32(CRT_DISPLAY_CTRL) & ~CRT_DISPLAY_CTRL_DPMS_MASK; in hw_sm750le_setBLANK()
[all …]
Dddk750_power.c11 value = peek32(CRT_DISPLAY_CTRL) & ~CRT_DISPLAY_CTRL_DPMS_MASK; in ddk750_set_dpms()
15 value = peek32(SYSTEM_CTRL); in ddk750_set_dpms()
25 return peek32(POWER_MODE_CTRL) & POWER_MODE_CTRL_MODE_MASK; in get_power_mode()
36 ctrl = peek32(POWER_MODE_CTRL) & ~POWER_MODE_CTRL_MODE_MASK; in sm750_set_power_mode()
90 gate = peek32(CURRENT_GATE); in sm750_enable_2d_engine()
104 gate = peek32(CURRENT_GATE); in sm750_enable_dma()
121 gate = peek32(CURRENT_GATE); in sm750_enable_gpio()
138 gate = peek32(CURRENT_GATE); in sm750_enable_i2c()
Dddk750_hwi2c.c17 value = peek32(GPIO_MUX); in sm750_hw_i2c_init()
29 value = peek32(I2C_CTRL) & ~(I2C_CTRL_MODE | I2C_CTRL_EN); in sm750_hw_i2c_init()
43 value = peek32(I2C_CTRL) & ~I2C_CTRL_EN; in sm750_hw_i2c_close()
50 value = peek32(GPIO_MUX); in sm750_hw_i2c_close()
62 while (!(peek32(I2C_STATUS) & I2C_STATUS_TX) && (timeout != 0)) in hw_i2c_wait_tx_done()
117 poke32(I2C_CTRL, peek32(I2C_CTRL) | I2C_CTRL_CTRL); in hw_i2c_write_data()
178 poke32(I2C_CTRL, peek32(I2C_CTRL) | I2C_CTRL_CTRL); in hw_i2c_read_data()
186 *buf++ = peek32(I2C_DATA0 + i); in hw_i2c_read_data()
Dddk750_chip.c42 pll_reg = peek32(MXCLK_PLL_CTRL); in get_mxclk_freq()
108 reg = peek32(CURRENT_GATE) & ~CURRENT_GATE_M2XCLK_MASK; in set_memory_clock()
160 reg = peek32(CURRENT_GATE) & ~CURRENT_GATE_MCLK_MASK; in set_master_clock()
191 reg = peek32(MODE0_GATE); in ddk750_get_vm_size()
196 reg = peek32(MISC_CTRL) & MISC_CTRL_LOCALMEM_SIZE_MASK; in ddk750_get_vm_size()
222 reg = peek32(CURRENT_GATE); in ddk750_init_hw()
228 reg = peek32(VGA_CONFIGURATION); in ddk750_init_hw()
255 reg = peek32(MISC_CTRL); in ddk750_init_hw()
267 reg = peek32(VIDEO_DISPLAY_CTRL); in ddk750_init_hw()
272 reg = peek32(VIDEO_ALPHA_DISPLAY_CTRL); in ddk750_init_hw()
[all …]
Dddk750_swi2c.c120 gpio_dir = peek32(sw_i2c_clk_gpio_data_dir_reg); in sw_i2c_scl()
130 gpio_data = peek32(sw_i2c_clk_gpio_data_reg); in sw_i2c_scl()
157 gpio_dir = peek32(sw_i2c_data_gpio_data_dir_reg); in sw_i2c_sda()
167 gpio_data = peek32(sw_i2c_data_gpio_data_reg); in sw_i2c_sda()
190 gpio_dir = peek32(sw_i2c_data_gpio_data_dir_reg); in sw_i2c_read_sda()
197 gpio_data = peek32(sw_i2c_data_gpio_data_reg); in sw_i2c_read_sda()
420 peek32(sw_i2c_clk_gpio_mux_reg) & ~(1 << sw_i2c_clk_gpio)); in sm750_sw_i2c_init()
422 peek32(sw_i2c_data_gpio_mux_reg) & ~(1 << sw_i2c_data_gpio)); in sm750_sw_i2c_init()
Dddk750_mode.c130 reg = peek32(CRT_DISPLAY_CTRL) & in programModeRegisters()
182 reg = (peek32(PANEL_DISPLAY_CTRL) & ~reserved) & in programModeRegisters()
197 while ((peek32(PANEL_DISPLAY_CTRL) & ~reserved) != in programModeRegisters()
Dddk750_power.h14 (peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
Dddk750_chip.h16 static inline u32 peek32(u32 addr) in peek32() function