Searched refs:first_port (Results 1 – 6 of 6) sorted by relevance
/drivers/thunderbolt/ |
D | path.c | 242 struct tb_port *in_port, *out_port, *first_port, *last_port; in tb_path_alloc() local 252 first_port = last_port = NULL; in tb_path_alloc() 255 if (!first_port) in tb_path_alloc() 256 first_port = in_port; in tb_path_alloc() 262 if (first_port != src || last_port != dst) { in tb_path_alloc()
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1273 int first_port; member 3220 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed() 3302 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed() 3352 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed() 3376 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving() 4571 hw->dst_ports = 1 << priv->port.first_port; in send_packet() 5284 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED); in netdev_close() 5288 pi = 1 << port->first_port; in netdev_close() 5295 if (port->first_port > 0) in netdev_close() 5447 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open() [all …]
|
/drivers/tty/serial/8250/ |
D | 8250_pci.c | 3913 int num_iomem, num_port, first_port = -1, i; in serial_pci_guess_board() local 3930 if (first_port == -1) in serial_pci_guess_board() 3931 first_port = i; in serial_pci_guess_board() 3943 board->flags = first_port; in serial_pci_guess_board() 3944 board->num_ports = pci_resource_len(dev, first_port) / 8; in serial_pci_guess_board() 3953 first_port = -1; in serial_pci_guess_board() 3958 (first_port == -1 || (first_port + num_port) == i)) { in serial_pci_guess_board() 3960 if (first_port == -1) in serial_pci_guess_board() 3961 first_port = i; in serial_pci_guess_board() 3966 board->flags = first_port | FL_BASE_BARS; in serial_pci_guess_board()
|
/drivers/net/dsa/ocelot/ |
D | felix.c | 290 int first_port; in felix_trap_get_cpu_port() local 295 first_port = __ffs(trap->ingress_port_mask); in felix_trap_get_cpu_port() 296 dp = dsa_to_port(ds, first_port); in felix_trap_get_cpu_port()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 1285 int first_port; in mlx4_QUERY_DEV_CAP_wrapper() local 1301 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); in mlx4_QUERY_DEV_CAP_wrapper() 1302 for (slave_port = 0, real_port = first_port; in mlx4_QUERY_DEV_CAP_wrapper() 1303 real_port < first_port + in mlx4_QUERY_DEV_CAP_wrapper()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 3005 unsigned int first_port; in do_slave_init() local 3012 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); in do_slave_init() 3026 dm[i]->port = first_port + i + 1; in do_slave_init()
|