Searched refs:hoffset (Results 1 – 2 of 2) sorted by relevance
1051 int hoffset, voffset; in neofb_decode_var() local1343 hoffset = ((info->NeoPanelWidth - var->xres) >> 4) - 1; in neofb_decode_var()1349 hoffset = 0; in neofb_decode_var()1356 par->PanelHorizCenterReg3 = hoffset; in neofb_decode_var()1360 par->PanelHorizCenterReg4 = hoffset; in neofb_decode_var()1364 par->PanelHorizCenterReg1 = hoffset; in neofb_decode_var()1368 par->PanelHorizCenterReg2 = hoffset; in neofb_decode_var()1372 par->PanelHorizCenterReg5 = hoffset; in neofb_decode_var()
2578 int hoffset, voffset, hwscale = 0, vwscale = 0; in set_ov_sensor_window() local2654 hoffset = ((hwsize - width) / 2) >> hwscale; in set_ov_sensor_window()2664 i2c_w(ov, 0x17, hwsbase + hoffset); in set_ov_sensor_window()2665 i2c_w(ov, 0x18, hwebase + hoffset + (hwsize>>hwscale)); in set_ov_sensor_window()