Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/codecs/
A Dac108.c397 hal_twi_control(twi_dev->bus, I2C_SLAVE, &twi_dev->addr); in ac108_read()
415 msg.addr = twi_dev->addr; in ac108_write()
999 twi_dev->ref_chan.ref_channel, twi_dev->ref_chan.ref_pga); in ac108_codec_set_pga_gain()
1131 ac108_write(twi_dev, ADC_DIG_DEBUG, twi_dev->debug_mode & 0x7); in ac108_codec_hw_init()
1620 printf("\t%d i2c%d-0x%02x\n", i, twi_dev[i].bus, twi_dev[i].addr); in ac108_chip_list()
1636 twi_dev[i].bus, twi_dev[i].addr); in ac108_reg_show()
1644 twi_dev[i].bus, twi_dev[i].addr, in ac108_reg_show()
1756 twi_dev[i].bus, twi_dev[i].addr, read_cmd[0], read_data[0], ret); in cmd_ac108_reg()
1761 twi_dev[i].bus, twi_dev[i].addr, read_cmd[0], read_data[0], ret); in cmd_ac108_reg()
1771 twi_dev[i].bus, twi_dev[i].addr, read_cmd[0], read_data[0], ret); in cmd_ac108_reg()
[all …]
A Dac108.h915 struct twi_device twi_dev[AC108_NUM_MAX]; member

Completed in 16 milliseconds