Home
last modified time | relevance | path

Searched refs:base_data (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/powerpc/include/asm/
Ddcr-native.h89 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri() argument
97 val = mfdcrx(base_data); in __mfdcri()
100 val = __mfdcr(base_data); in __mfdcri()
106 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri() argument
114 mtdcrx(base_data, val); in __mtdcri()
117 __mtdcr(base_data, val); in __mtdcri()
122 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset() argument
131 val = (mfdcrx(base_data) & ~clr) | set; in __dcri_clrset()
132 mtdcrx(base_data, val); in __dcri_clrset()
135 val = (__mfdcr(base_data) & ~clr) | set; in __dcri_clrset()
[all …]
/linux-2.6.39/drivers/video/backlight/
Dcorgi_lcd.c161 uint8_t base_data, uint8_t data) in lcdtg_set_common_voltage() argument
164 lcdtg_i2c_send_start(lcd, base_data); in lcdtg_set_common_voltage()
165 lcdtg_i2c_send_byte(lcd, base_data, 0x9c); in lcdtg_set_common_voltage()
166 lcdtg_i2c_wait_ack(lcd, base_data); in lcdtg_set_common_voltage()
167 lcdtg_i2c_send_byte(lcd, base_data, 0x00); in lcdtg_set_common_voltage()
168 lcdtg_i2c_wait_ack(lcd, base_data); in lcdtg_set_common_voltage()
169 lcdtg_i2c_send_byte(lcd, base_data, data); in lcdtg_set_common_voltage()
170 lcdtg_i2c_wait_ack(lcd, base_data); in lcdtg_set_common_voltage()
171 lcdtg_i2c_send_stop(lcd, base_data); in lcdtg_set_common_voltage()