| /Linux-v5.4/drivers/tty/serial/ |
| D | mux.c | 49 static unsigned int port_cnt __read_mostly; 378 for(i = 0; i < port_cnt; ++i) { in mux_poll() 462 if(!port_cnt) { in mux_probe() 472 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 473 struct uart_port *port = &mux_ports[port_cnt].port; in mux_probe() 485 port->line = port_cnt; in mux_probe() 508 for(i = 0; i < port_cnt; ++i) { in mux_remove() 512 BUG_ON(i + port_count > port_cnt); in mux_remove() 573 if(port_cnt > 0) { in mux_init() 594 if(port_cnt > 0) { in mux_exit()
|
| /Linux-v5.4/drivers/usb/misc/ |
| D | usb251xb.c | 156 u8 port_cnt; member 164 .port_cnt = 2, 172 .port_cnt = 2, 180 .port_cnt = 3, 188 .port_cnt = 3, 196 .port_cnt = 4, 204 .port_cnt = 4, 212 .port_cnt = 7, 220 .port_cnt = 7, 378 const char *prop_name, u8 port_cnt, in usb251xb_get_ports_field() argument [all …]
|
| /Linux-v5.4/drivers/net/dsa/microchip/ |
| D | ksz8795.c | 998 ds->num_ports = dev->port_cnt + 1; in ksz8795_config_cpu_port() 1022 if (i == dev->port_cnt) in ksz8795_config_cpu_port() 1159 dev->port_cnt = SWITCH_PORT_NUM; in ksz8795_switch_detect() 1169 dev->port_cnt--; in ksz8795_switch_detect() 1170 dev->last_port = dev->port_cnt; in ksz8795_switch_detect() 1190 int port_cnt; member 1201 .port_cnt = 4, /* total physical port count */ 1210 .port_cnt = 3, /* total physical port count */ 1219 .port_cnt = 4, /* total physical port count */ 1237 dev->port_cnt = chip->port_cnt; in ksz8795_switch_init() [all …]
|
| D | ksz9477.c | 1296 ds->num_ports = dev->port_cnt; in ksz9477_config_cpu_port() 1298 for (i = 0; i < dev->port_cnt; i++) { in ksz9477_config_cpu_port() 1498 int port_cnt; member 1510 .port_cnt = 7, /* total physical port count */ 1520 .port_cnt = 7, /* total physical port count */ 1530 .port_cnt = 3, /* total port count */ 1539 .port_cnt = 7, /* total physical port count */ 1557 dev->port_cnt = chip->port_cnt; in ksz9477_switch_init() 1566 if (!dev->port_cnt) in ksz9477_switch_init() 1569 dev->port_mask = (1 << dev->port_cnt) - 1; in ksz9477_switch_init()
|
| D | ksz_common.h | 70 int port_cnt; member
|
| D | ksz_common.c | 28 for (i = 0; i < dev->port_cnt; i++) { in ksz_update_port_member()
|
| /Linux-v5.4/net/smc/ |
| D | smc_ib.c | 523 u8 port_cnt; in smc_ib_add_dev() local 545 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev() 547 i < min_t(size_t, port_cnt, SMC_MAX_PORTS); in smc_ib_add_dev()
|
| /Linux-v5.4/drivers/ntb/hw/idt/ |
| D | ntb_hw_idt.c | 502 for (pidx = 0; pidx < ndev->swcfg->port_cnt; pidx++) { in idt_scan_ports() 2852 .port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12} 2856 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2860 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2864 .port_cnt = 3, .ports = {0, 8, 16} 2868 .port_cnt = 4, .ports = {0, 8, 12, 16} 2872 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2876 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2880 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
|
| D | ntb_hw_idt.h | 1049 unsigned char port_cnt; member
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_main.c | 318 mdev->port_cnt = 0; in mlx4_en_add() 320 mdev->port_cnt++; in mlx4_en_add()
|
| D | mlx4_en.h | 419 u32 port_cnt; member
|
| /Linux-v5.4/include/linux/ |
| D | switchtec.h | 179 u32 port_cnt; member
|
| /Linux-v5.4/drivers/net/ethernet/micrel/ |
| D | ksz884x.c | 1342 int port_cnt; member 3293 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed() 3375 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed() 3425 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed() 3449 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving() 5528 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open() 5914 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++) in mdio_write() 7071 port->port_cnt = port_count; in pcidev_init()
|
| /Linux-v5.4/drivers/infiniband/hw/hns/ |
| D | hns_roce_hw_v1.c | 4514 int port_cnt = 0; in hns_roce_get_cfg() local 4591 hr_dev->iboe.netdevs[port_cnt] = netdev; in hns_roce_get_cfg() 4592 hr_dev->iboe.phy_port[port_cnt] = phy_port; in hns_roce_get_cfg() 4598 port_cnt++; in hns_roce_get_cfg() 4602 if (port_cnt == 0) { in hns_roce_get_cfg() 4607 hr_dev->caps.num_ports = port_cnt; in hns_roce_get_cfg()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_hsi.h | 3184 u8 port_cnt; member
|
| D | bnxt.c | 8435 bp->port_count = resp->port_cnt; in bnxt_hwrm_phy_qcaps()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_main.c | 11705 int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1; in bnx2x_shared_fcoe_funcs() local 11707 for (port = 0; port < port_cnt; port++) { in bnx2x_shared_fcoe_funcs()
|