Searched refs:base_glob (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/drivers/i2c/ |
D | mv_i2c.c | 373 static struct mv_i2c *base_glob; variable 408 base_glob = (struct mv_i2c *)i2c_regs[bus]; in i2c_set_bus_num() 412 i2c_board_init(base_glob); in i2c_set_bus_num() 432 base_glob = (struct mv_i2c *)i2c_regs[current_bus]; in i2c_init() 434 base_glob = (struct mv_i2c *)CONFIG_MV_I2C_REG; in i2c_init() 441 clrsetbits_le32(&base_glob->icr, ICR_MODE_MASK, val); in i2c_init() 443 i2c_board_init(base_glob); in i2c_init() 477 return __i2c_probe_chip(base_glob, chip); in i2c_probe() 502 return __i2c_read(base_glob, chip, addr_bytes, alen, buffer, len); in i2c_read() 527 return __i2c_write(base_glob, chip, addr_bytes, alen, buffer, len); in i2c_write()
|