Searched refs:i2c_ad (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Dpcilynx.c1298 struct i2c_adapter *i2c_ad; local
1302 i2c_ad = kzalloc(sizeof(*i2c_ad), GFP_KERNEL);
1303 if (!i2c_ad) FAIL("failed to allocate I2C adapter memory");
1305 strlcpy(i2c_ad->name, "PCILynx I2C", sizeof(i2c_ad->name));
1307 i2c_ad->algo_data = &i2c_adapter_data;
1309 i2c_ad->dev.parent = &dev->dev;
1318 if (i2c_bit_add_bus(i2c_ad) < 0)
1320 kfree(i2c_ad);
[all...]

Completed in 108 milliseconds