Searched refs:hps_ctrl (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c15 static void calculate_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync, u32* hps_ctrl) calculate_hps_source_and_sync() argument
17 *hps_ctrl &= ~(MASK_30 | MASK_31 | MASK_28); calculate_hps_source_and_sync()
18 *hps_ctrl |= (source << 30) | (sync << 28); calculate_hps_source_and_sync()
21 static void calculate_hxo_and_hyo(struct saa7146_vv *vv, u32* hps_h_scale, u32* hps_ctrl) calculate_hxo_and_hyo() argument
31 *hps_ctrl &= ~(MASK_W0 | MASK_B2); calculate_hxo_and_hyo()
32 *hps_ctrl |= (hyo << 12); calculate_hxo_and_hyo()
68 u32* hps_ctrl, u32* hps_v_gain, u32* hps_h_prescale, u32* hps_h_scale) calculate_h_scale_registers()
85 *hps_ctrl &= ~MASK_29; calculate_h_scale_registers()
104 *hps_ctrl |= MASK_29; calculate_h_scale_registers()
533 u32 hps_v_scale = 0, hps_v_gain = 0, hps_ctrl = 0, hps_h_prescale = 0, hps_h_scale = 0; saa7146_set_window() local
541 hps_ctrl = 0; saa7146_set_window()
544 calculate_h_scale_registers(dev, vv->standard->h_pixels, width, vv->hflip, &hps_ctrl, &hps_v_gain, &hps_h_prescale, &hps_h_scale); saa7146_set_window()
547 calculate_hxo_and_hyo(vv, &hps_h_scale, &hps_ctrl); saa7146_set_window()
548 calculate_hps_source_and_sync(dev, source, sync, &hps_ctrl); saa7146_set_window()
553 saa7146_write(dev, HPS_CTRL, hps_ctrl); saa7146_set_window()
633 u32 hps_ctrl = 0; saa7146_set_hps_source_and_sync() local
636 hps_ctrl = saa7146_read(dev, HPS_CTRL); saa7146_set_hps_source_and_sync()
638 hps_ctrl &= ~( MASK_31 | MASK_30 | MASK_28 ); saa7146_set_hps_source_and_sync()
639 hps_ctrl |= (source << 30) | (sync << 28); saa7146_set_hps_source_and_sync()
642 saa7146_write(dev, HPS_CTRL, hps_ctrl); saa7146_set_hps_source_and_sync()
66 calculate_h_scale_registers(struct saa7146_dev *dev, int in_x, int out_x, int flip_lr, u32* hps_ctrl, u32* hps_v_gain, u32* hps_h_prescale, u32* hps_h_scale) calculate_h_scale_registers() argument

Completed in 58 milliseconds