Home
last modified time | relevance | path

Searched refs:reg_w (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/video/
Dretz3fb.h19 #define reg_w(regs, reg,dat) (*(regs + reg) = dat) macro
26 do{ reg_w(regs, SEQ_IDX, sreg); reg_w(regs, SEQ_DATA, sdat); } while(0)
32 do{ reg_w(regs, CRT_IDX, creg); reg_w(regs, CRT_DATA, cdat); } while(0)
38 do{ reg_w(regs, GFX_IDX, greg); reg_w(regs, GFX_DATA, gdat); } while(0)
44 do{ reg_w(regs, ACT_IDX, areg); reg_w(regs, ACT_DATA, adat); } while(0)
50 do{ reg_w(regs, PLL_IDX, preg); \
51 reg_w(regs, PLL_DATA, (pdat & 0xff)); \
52 reg_w(regs, PLL_DATA, (pdat >> 8));\
Dretz3fb.c486 reg_w(regs, GREG_MISC_OUTPUT_W, 0xe3 | ((clocksel & 3) * 0x04)); in retz3_set_video()
487 reg_w(regs, GREG_FEATURE_CONTROL_W, 0x00); in retz3_set_video()
746 reg_w(regs, ACT_DATA, 0x20); in retz3_set_video()
748 reg_w(regs, VDAC_MASK, 0xff); in retz3_set_video()
755 reg_w(regs, 0x83c6, 0x00); in retz3_set_video()
758 reg_w(regs, 0x83c6, 0x60); in retz3_set_video()
761 reg_w(regs, 0x83c6, 0xe0); in retz3_set_video()
767 reg_w(regs, VDAC_ADDRESS, 0x00); in retz3_set_video()
919 reg_w(regs, VDAC_ADDRESS_W, regno); in retz3_setcolreg()
920 reg_w(regs, VDAC_DATA, red); in retz3_setcolreg()
[all …]
/linux-2.4.37.9/drivers/usb/
Dov511.c663 reg_w(struct usb_ov511 *ov, unsigned char reg, unsigned char value) in reg_w() function
734 return (reg_w(ov, reg, newval)); in reg_w_mask()
783 rc = reg_w(ov, reg, val0); in ov511_upload_quan_tables()
794 rc = reg_w(ov, reg + OV511_QUANTABLESIZE/2, val0); in ov511_upload_quan_tables()
823 rc = reg_w(ov, reg, val0); in ov518_upload_quan_tables()
834 rc = reg_w(ov, reg + OV518_QUANTABLESIZE/2, val0); in ov518_upload_quan_tables()
856 rc = reg_w(ov, R51x_SYS_RESET, reset_type); in ov51x_reset()
857 rc = reg_w(ov, R51x_SYS_RESET, 0); in ov51x_reset()
886 rc = reg_w(ov, R51x_I2C_SADDR_3, reg); in ov518_i2c_write_internal()
890 rc = reg_w(ov, R51x_I2C_DATA, value); in ov518_i2c_write_internal()
[all …]