/linux-6.6.21/drivers/tty/serial/ |
D | mux.c | 45 static unsigned int port_cnt __read_mostly; 355 for(i = 0; i < port_cnt; ++i) { in mux_poll() 439 if(!port_cnt) { in mux_probe() 449 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 450 struct uart_port *port = &mux_ports[port_cnt].port; in mux_probe() 462 port->line = port_cnt; in mux_probe() 480 for(i = 0; i < port_cnt; ++i) { in mux_remove() 484 BUG_ON(i + port_count > port_cnt); in mux_remove() 544 if(port_cnt > 0) { in mux_init() 565 if(port_cnt > 0) { in mux_exit()
|
/linux-6.6.21/drivers/usb/misc/ |
D | usb251xb.c | 153 u8 port_cnt; member 161 .port_cnt = 2, 169 .port_cnt = 2, 177 .port_cnt = 2, 185 .port_cnt = 3, 193 .port_cnt = 3, 201 .port_cnt = 4, 209 .port_cnt = 4, 217 .port_cnt = 7, 225 .port_cnt = 7, [all …]
|
/linux-6.6.21/drivers/net/dsa/microchip/ |
D | ksz_common.c | 1120 .port_cnt = 3, /* total port count */ 1150 .port_cnt = 5, /* total cpu and user ports */ 1189 .port_cnt = 5, /* total cpu and user ports */ 1214 .port_cnt = 5, /* total cpu and user ports */ 1239 .port_cnt = 3, 1262 .port_cnt = 7, /* total physical port count */ 1296 .port_cnt = 6, /* total physical port count */ 1328 .port_cnt = 7, /* total physical port count */ 1358 .port_cnt = 3, /* total port count */ 1384 .port_cnt = 3, /* total port count */ [all …]
|
D | ksz9477.c | 369 if (port < dev->info->port_cnt) { in ksz9477_flush_dyn_mac_table() 836 for (p = 0; p < dev->info->port_cnt; p++) { in ksz9477_port_mirror_add() 878 for (p = 0; p < dev->info->port_cnt; p++) { in ksz9477_port_mirror_del() 1015 for (i = 0; i < dev->info->port_cnt; i++) { in ksz9477_config_cpu_port() 1060 for (i = 0; i < dev->info->port_cnt; i++) { in ksz9477_config_cpu_port() 1149 dev->port_mask = (1 << dev->info->port_cnt) - 1; in ksz9477_switch_init()
|
D | lan937x_main.c | 350 dev->port_mask = (1 << dev->info->port_cnt) - 1; in lan937x_switch_init()
|
D | ksz8795.c | 954 if ((uint)port < dev->info->port_cnt) { in ksz8_flush_dyn_mac_table() 960 cnt = dev->info->port_cnt; in ksz8_flush_dyn_mac_table() 1466 dev->phy_port_cnt = dev->info->port_cnt - 1; in ksz8_switch_init()
|
D | ksz_common.h | 57 int port_cnt; member
|
/linux-6.6.21/net/smc/ |
D | smc_ib.c | 911 u8 port_cnt; in smc_ib_ndev_change() local 916 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_ndev_change() 917 for (i = 0; i < min_t(size_t, port_cnt, SMC_MAX_PORTS); i++) { in smc_ib_ndev_change() 938 u8 port_cnt; in smc_ib_add_dev() local 962 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev() 964 smcibdev->ibdev->name, port_cnt); in smc_ib_add_dev() 966 i < min_t(size_t, port_cnt, SMC_MAX_PORTS); in smc_ib_add_dev()
|
/linux-6.6.21/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 502 for (pidx = 0; pidx < ndev->swcfg->port_cnt; pidx++) { in idt_scan_ports() 2828 .port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12} 2832 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2836 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2840 .port_cnt = 3, .ports = {0, 8, 16} 2844 .port_cnt = 4, .ports = {0, 8, 12, 16} 2848 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2852 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} 2856 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
|
D | ntb_hw_idt.h | 1049 unsigned char port_cnt; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 322 mdev->port_cnt = 0; in mlx4_en_probe() 324 mdev->port_cnt++; in mlx4_en_probe()
|
D | mlx4_en.h | 417 u32 port_cnt; member
|
/linux-6.6.21/include/linux/ |
D | switchtec.h | 298 u32 port_cnt; member
|
/linux-6.6.21/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1275 int port_cnt; member 2925 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed() 3004 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed() 3054 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed() 3078 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving() 5149 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open() 5534 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++) in mdio_write() 6695 port->port_cnt = port_count; in pcidev_init()
|
/linux-6.6.21/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 635 static void srpt_unregister_mad_agent(struct srpt_device *sdev, int port_cnt) in srpt_unregister_mad_agent() argument 643 for (i = 1; i <= port_cnt; i++) { in srpt_unregister_mad_agent()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 11648 int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1; in bnx2x_shared_fcoe_funcs() local 11650 for (port = 0; port < port_cnt; port++) { in bnx2x_shared_fcoe_funcs()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 4869 u8 port_cnt; member
|
D | bnxt.c | 9632 bp->port_count = resp->port_cnt; in bnxt_hwrm_phy_qcaps()
|