Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/pse-pd/
Dtps23881.c347 int port_cnt) in tps23881_get_unused_chan() argument
355 for (j = 0; j < port_cnt; j++) { in tps23881_get_unused_chan()
386 int i, ret, port_cnt = 0, cnt_4ch_grp1 = 0, cnt_4ch_grp2 = 4; in tps23881_sort_port_matrix() local
400 tmp_port_matrix[port_cnt].exist = true; in tps23881_sort_port_matrix()
401 tmp_port_matrix[port_cnt].is_4p = true; in tps23881_sort_port_matrix()
402 tmp_port_matrix[port_cnt].pi_id = i; in tps23881_sort_port_matrix()
403 tmp_port_matrix[port_cnt].hw_chan[0] = port_matrix[i].hw_chan[0]; in tps23881_sort_port_matrix()
404 tmp_port_matrix[port_cnt].hw_chan[1] = port_matrix[i].hw_chan[1]; in tps23881_sort_port_matrix()
409 tmp_port_matrix[port_cnt].lgcl_chan[0] = (*cnt)++; in tps23881_sort_port_matrix()
410 tmp_port_matrix[port_cnt].lgcl_chan[1] = (*cnt)++; in tps23881_sort_port_matrix()
[all …]
Dpd692x0.c849 int i, j, port_cnt; in pd692x0_set_port_matrix() local
856 port_cnt = 0; in pd692x0_set_port_matrix()
865 port_cnt += j; in pd692x0_set_port_matrix()
875 port_matrix->hw_port_a = port_cnt; in pd692x0_set_port_matrix()
877 port_matrix->hw_port_b = port_cnt; in pd692x0_set_port_matrix()
/linux-6.12.1/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.12.1/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.12.1/drivers/net/dsa/microchip/
Dksz_common.c1326 .port_cnt = 3, /* total port count */
1357 .port_cnt = 5, /* total cpu and user ports */
1398 .port_cnt = 5, /* total cpu and user ports */
1425 .port_cnt = 5, /* total cpu and user ports */
1452 .port_cnt = 3,
1486 .port_cnt = 5, /* total cpu and user ports */
1509 .port_cnt = 5, /* total cpu and user ports */
1532 .port_cnt = 7, /* total physical port count */
1568 .port_cnt = 6, /* total physical port count */
1603 .port_cnt = 7, /* total physical port count */
[all …]
Dksz9477.c434 if (port < dev->info->port_cnt) { in ksz9477_flush_dyn_mac_table()
901 for (p = 0; p < dev->info->port_cnt; p++) { in ksz9477_port_mirror_add()
943 for (p = 0; p < dev->info->port_cnt; p++) { in ksz9477_port_mirror_del()
1085 for (i = 0; i < dev->info->port_cnt; i++) { in ksz9477_config_cpu_port()
1130 for (i = 0; i < dev->info->port_cnt; i++) { in ksz9477_config_cpu_port()
1305 dev->port_mask = (1 << dev->info->port_cnt) - 1; in ksz9477_switch_init()
Dlan937x_main.c356 dev->port_mask = (1 << dev->info->port_cnt) - 1; in lan937x_switch_init()
Dksz8.c1284 if ((uint)port < dev->info->port_cnt) { in ksz8_flush_dyn_mac_table()
1290 cnt = dev->info->port_cnt; in ksz8_flush_dyn_mac_table()
1962 dev->phy_port_cnt = dev->info->port_cnt - 1; in ksz8_switch_init()
Dksz_common.h63 int port_cnt; member
/linux-6.12.1/net/smc/
Dsmc_ib.c914 u8 port_cnt; in smc_ib_ndev_change() local
919 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_ndev_change()
920 for (i = 0; i < min_t(size_t, port_cnt, SMC_MAX_PORTS); i++) { in smc_ib_ndev_change()
939 u8 port_cnt; in smc_ib_add_dev() local
963 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev()
965 smcibdev->ibdev->name, port_cnt); in smc_ib_add_dev()
967 i < min_t(size_t, port_cnt, SMC_MAX_PORTS); in smc_ib_add_dev()
/linux-6.12.1/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.12.1/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.h419 u32 port_cnt; member
/linux-6.12.1/include/linux/
Dswitchtec.h298 u32 port_cnt; member
/linux-6.12.1/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.12.1/drivers/infiniband/ulp/srpt/
Dib_srpt.c694 static void srpt_unregister_mad_agent(struct srpt_device *sdev, int port_cnt) in srpt_unregister_mad_agent() argument
702 for (i = 1; i <= port_cnt; i++) { in srpt_unregister_mad_agent()
/linux-6.12.1/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.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h5322 u8 port_cnt; member
Dbnxt.c11231 bp->port_count = resp->port_cnt; in bnxt_hwrm_phy_qcaps()