Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/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 (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08) in via_i2c_getscl()
78 struct via_port_cfg *adap_data = data; in via_i2c_getsda() local
83 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x04) in via_i2c_getsda()
92 struct via_port_cfg *adap_data = data; in via_i2c_setsda() local
96 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setsda()
[all …]