Home
last modified time | relevance | path

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

/drivers/video/fbdev/via/
Dvia_i2c.c40 struct via_port_cfg *adap_data = data; in via_i2c_setscl() local
44 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setscl()
49 switch (adap_data->type) { in via_i2c_setscl()
59 via_write_reg(adap_data->io_port, adap_data->ioport_index, val); in via_i2c_setscl()
65 struct via_port_cfg *adap_data = data; in via_i2c_getscl() local
70 if (adap_data->type == VIA_PORT_GPIO) in via_i2c_getscl()
71 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index, in via_i2c_getscl()
73 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08) in via_i2c_getscl()
81 struct via_port_cfg *adap_data = data; in via_i2c_getsda() local
86 if (adap_data->type == VIA_PORT_GPIO) in via_i2c_getsda()
[all …]