Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/
A Ddcr-native.h78 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri() argument
86 val = mfdcrx(base_data); in __mfdcri()
89 val = __mfdcr(base_data); in __mfdcri()
95 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri() argument
103 mtdcrx(base_data, val); in __mtdcri()
106 __mtdcr(base_data, val); in __mtdcri()
111 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset() argument
120 val = (mfdcrx(base_data) & ~clr) | set; in __dcri_clrset()
121 mtdcrx(base_data, val); in __dcri_clrset()
124 val = (__mfdcr(base_data) & ~clr) | set; in __dcri_clrset()
[all …]
/linux/drivers/video/backlight/
A Dcorgi_lcd.c157 uint8_t base_data, uint8_t data) in lcdtg_set_common_voltage() argument
160 lcdtg_i2c_send_start(lcd, base_data); in lcdtg_set_common_voltage()
161 lcdtg_i2c_send_byte(lcd, base_data, 0x9c); in lcdtg_set_common_voltage()
162 lcdtg_i2c_wait_ack(lcd, base_data); in lcdtg_set_common_voltage()
163 lcdtg_i2c_send_byte(lcd, base_data, 0x00); in lcdtg_set_common_voltage()
164 lcdtg_i2c_wait_ack(lcd, base_data); in lcdtg_set_common_voltage()
165 lcdtg_i2c_send_byte(lcd, base_data, data); in lcdtg_set_common_voltage()
166 lcdtg_i2c_wait_ack(lcd, base_data); in lcdtg_set_common_voltage()
167 lcdtg_i2c_send_stop(lcd, base_data); in lcdtg_set_common_voltage()

Completed in 8 milliseconds