Home
last modified time | relevance | path

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

/drivers/i2c/
Di2c-stub.c35 static unsigned short chip_addr[MAX_CHIPS]; variable
36 module_param_array(chip_addr, ushort, NULL, S_IRUGO);
37 MODULE_PARM_DESC(chip_addr,
134 if (addr == chip_addr[i]) { in stub_xfer()
358 if (!chip_addr[0]) { in i2c_stub_init()
363 for (i = 0; i < MAX_CHIPS && chip_addr[i]; i++) { in i2c_stub_init()
364 if (chip_addr[i] < 0x03 || chip_addr[i] > 0x77) { in i2c_stub_init()
366 chip_addr[i]); in i2c_stub_init()
370 pr_info("Virtual chip at 0x%02x\n", chip_addr[i]); in i2c_stub_init()