Home
last modified time | relevance | path

Searched refs:port_cnt (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/tty/serial/
Dmux.c45 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/
Dusb251xb.c153 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/
Dksz_common.c1120 .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 …]
Dksz9477.c369 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()
Dlan937x_main.c350 dev->port_mask = (1 << dev->info->port_cnt) - 1; in lan937x_switch_init()
Dksz8795.c954 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()
Dksz_common.h57 int port_cnt; member
/linux-6.6.21/net/smc/
Dsmc_ib.c911 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/
Dntb_hw_idt.c502 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}
Dntb_hw_idt.h1049 unsigned char port_cnt; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_main.c322 mdev->port_cnt = 0; in mlx4_en_probe()
324 mdev->port_cnt++; in mlx4_en_probe()
Dmlx4_en.h417 u32 port_cnt; member
/linux-6.6.21/include/linux/
Dswitchtec.h298 u32 port_cnt; member
/linux-6.6.21/drivers/net/ethernet/micrel/
Dksz884x.c1275 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/
Dib_srpt.c635 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/
Dbnx2x_main.c11648 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/
Dbnxt_hsi.h4869 u8 port_cnt; member
Dbnxt.c9632 bp->port_count = resp->port_cnt; in bnxt_hwrm_phy_qcaps()