Lines Matching defs:port
185 int port, num_ports;
200 for (port = 0; port < num_ports; port++) {
201 octeon_i2c_data[port].sys_freq = octeon_get_clock_rate();
202 octeon_i2c_data[port].i2c_freq = 100000;
204 pd = platform_device_alloc("i2c-octeon", port);
210 pd->dev.platform_data = octeon_i2c_data + port;
213 OCTEON_I2C_IO_BASE + (port * OCTEON_I2C_IO_UNIT_OFFSET);
215 switch (port) {
276 /* Octeon mgmt port Ethernet interface. */
281 int port, num_ports;
297 for (port = 0; port < num_ports; port++) {
298 pd = platform_device_alloc("octeon_mgmt", port);
303 switch (port) {