Searched refs:tw_writeb (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/media/pci/tw68/ |
H A D | tw68-core.c | 103 tw_writeb(TW68_VACTIVE_LO, 0xf0); in tw68_hw_init1() 104 tw_writeb(TW68_HDELAY_LO, 0x0f); in tw68_hw_init1() 105 tw_writeb(TW68_HACTIVE_LO, 0xd0); in tw68_hw_init1() 111 tw_writeb(TW68_VSCALE_LO, 0); /* 234 */ in tw68_hw_init1() 114 tw_writeb(TW68_BRIGHT, 0); /* 240 */ in tw68_hw_init1() 117 tw_writeb(TW68_SAT_U, 0x80); /* 24C */ in tw68_hw_init1() 118 tw_writeb(TW68_SAT_V, 0x80); /* 250 */ in tw68_hw_init1() 119 tw_writeb(TW68_HUE, 0x00); /* 254 */ in tw68_hw_init1() 139 tw_writeb(TW68_VCNTL2, 0); /* 2A4 */ in tw68_hw_init1() 146 tw_writeb(TW68_MVSN, 0); /* 2C0 */ in tw68_hw_init1() [all …]
|
H A D | tw68-video.c | 302 tw_writeb(TW68_CROP_HI, comb); in tw68_set_scale() 303 tw_writeb(TW68_VDELAY_LO, vdelay & 0xff); in tw68_set_scale() 311 tw_writeb(TW68_SCALE_HI, comb); in tw68_set_scale() 312 tw_writeb(TW68_VSCALE_LO, vscale); in tw68_set_scale() 313 tw_writeb(TW68_HSCALE_LO, hscale); in tw68_set_scale() 539 tw_writeb(TW68_BRIGHT, ctrl->val); in tw68_s_ctrl() 542 tw_writeb(TW68_HUE, ctrl->val); in tw68_s_ctrl() 545 tw_writeb(TW68_CONTRAST, ctrl->val); in tw68_s_ctrl() 548 tw_writeb(TW68_SAT_U, ctrl->val); in tw68_s_ctrl() 549 tw_writeb(TW68_SAT_V, ctrl->val); in tw68_s_ctrl() [all …]
|
H A D | tw68.h | 170 #define tw_writeb(reg, value) writeb((value), dev->bmmio + (reg)) macro
|