Searched refs:via_read_reg (Results 1 – 4 of 4) sorted by relevance
44 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setscl()73 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08) in via_i2c_getscl()89 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x04) in via_i2c_getsda()102 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setsda()
95 reg = via_read_reg(VIASR, gpio->vg_port_index); in via_gpio_set()143 reg = via_read_reg(VIASR, gpio->vg_port_index); in via_gpio_get()
31 #define viafb_read_reg(p, i) via_read_reg(p, i)
205 static inline u8 via_read_reg(u16 port, u8 index) in via_read_reg() function