Defined in 1 files as a function:
Referenced in 3 files:
- drivers/video/fbdev/via/hw.h, line 17
- drivers/video/fbdev/via/via-gpio.c
- drivers/video/fbdev/via/via_i2c.c
Smatch caller information:
drivers/video/fbdev/via/lcd.c fp_id_to_vindex() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/video/fbdev/via/lcd.c via_pitch_alignment_patch_lcd() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 103 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &minfo->crtc2.lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | global &viafb_pm_hooks_lock |
drivers/video/fbdev/via/lcd.c via_pitch_alignment_patch_lcd() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 103 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &minfo->crtc2.lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | global &viafb_pm_hooks_lock |
drivers/video/fbdev/via/lcd.c via_pitch_alignment_patch_lcd() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 53 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &minfo->crtc2.lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | global &viafb_pm_hooks_lock |
drivers/video/fbdev/via/via-gpio.c via_gpio_get() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cfg->vdev->reg_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct viafb_dev)->reg_lock |
drivers/video/fbdev/via/via-gpio.c via_gpio_set() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cfg->vdev->reg_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct viafb_dev)->reg_lock |
drivers/video/fbdev/via/viafbdev.c viafb_dfph_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 151 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dfpl_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 153 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp0_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp0_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 27 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp0_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp0_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp0_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 150 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp1_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 155 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp1_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/viafbdev.c viafb_dvp1_proc_show() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/video/fbdev/via/hw.c init_gfx_chip_info() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 79 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/hw.c init_gfx_chip_info() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 79 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/hw.c init_gfx_chip_info() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 67 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/hw.c viafb_init_dac() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 106 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/hw.c viafb_setmode() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &minfo->crtc2.lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | global &viafb_pm_hooks_lock |
drivers/video/fbdev/via/via_i2c.c via_i2c_getscl() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &i2c_vdev->reg_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct viafb_dev)->reg_lock |
drivers/video/fbdev/via/via_i2c.c via_i2c_getsda() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &i2c_vdev->reg_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct viafb_dev)->reg_lock |
drivers/video/fbdev/via/via_i2c.c via_i2c_setscl() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &i2c_vdev->reg_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct viafb_dev)->reg_lock |
drivers/video/fbdev/via/via_i2c.c via_i2c_setsda() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &i2c_vdev->reg_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| TYPE_LOCK | (struct viafb_dev)->reg_lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_disable() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 210 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 107 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 145 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 147 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 62 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 145 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_dvi_sense() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 980 |
| PARAM_VALUE | 1 | index | 155 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->lock |
drivers/video/fbdev/via/dvi.c viafb_tmds_trasmitter_identify() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/dvi.c viafb_tmds_trasmitter_identify() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/dvi.c viafb_tmds_trasmitter_identify() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/dvi.c viafb_tmds_trasmitter_identify() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/dvi.c viafb_tmds_trasmitter_identify() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 62 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/video/fbdev/via/via_utility.c viafb_get_gamma_table() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 26 |
| LOCK2 | &info->lock | ||
| TYPE_LOCK | (struct fb_info)->lock |
drivers/video/fbdev/via/via_utility.c viafb_set_gamma_table() -> via_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 964 |
| PARAM_VALUE | 1 | index | 26 |
| LOCK2 | &info->lock | ||
| TYPE_LOCK | (struct fb_info)->lock |