Home
last modified time | relevance | path

Searched refs:port_cnt (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dmux.c45 static unsigned int port_cnt __read_mostly;
374 for(i = 0; i < port_cnt; ++i) { in mux_poll()
458 if(!port_cnt) { in mux_probe()
468 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe()
469 struct uart_port *port = &mux_ports[port_cnt].port; in mux_probe()
481 port->line = port_cnt; in mux_probe()
505 for(i = 0; i < port_cnt; ++i) { in mux_remove()
509 BUG_ON(i + port_count > port_cnt); in mux_remove()
570 if(port_cnt > 0) { in mux_init()
591 if(port_cnt > in mux_exit()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A 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 > in mux_exit()
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A 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
381 usb251xb_get_ports_field(struct usb251xb *hub, const char *prop_name, u8 port_cnt, bool ds_only, u8 *fld) usb251xb_get_ports_field() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A 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
380 usb251xb_get_ports_field(struct usb251xb *hub, const char *prop_name, u8 port_cnt, bool ds_only, u8 *fld) usb251xb_get_ports_field() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
H A Dksz8795.c1054 ds->num_ports = dev->port_cnt + 1; in ksz8795_config_cpu_port()
1078 if (i == dev->port_cnt) in ksz8795_config_cpu_port()
1216 dev->port_cnt = SWITCH_PORT_NUM; in ksz8795_switch_detect()
1226 dev->port_cnt--; in ksz8795_switch_detect()
1227 dev->last_port = dev->port_cnt; in ksz8795_switch_detect()
1247 int port_cnt; member
1258 .port_cnt = 4, /* total physical port count */
1267 .port_cnt = 3, /* total physical port count */
1276 .port_cnt = 4, /* total physical port count */
1294 dev->port_cnt in ksz8795_switch_init()
[all...]
H A Dksz9477.c1273 ds->num_ports = dev->port_cnt; in ksz9477_config_cpu_port()
1275 for (i = 0; i < dev->port_cnt; i++) { in ksz9477_config_cpu_port()
1496 int port_cnt; member
1508 .port_cnt = 7, /* total physical port count */
1518 .port_cnt = 7, /* total physical port count */
1528 .port_cnt = 3, /* total port count */
1537 .port_cnt = 7, /* total physical port count */
1556 dev->port_cnt = chip->port_cnt; in ksz9477_switch_init()
1565 if (!dev->port_cnt) in ksz9477_switch_init()
[all...]
H A Dksz_common.c28 for (i = 0; i < dev->port_cnt; i++) { in ksz_update_port_member()
423 for (port_num = 0; port_num < dev->port_cnt; ++port_num) in ksz_switch_register()
H A Dksz_common.h72 int port_cnt; member
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz_common.c1120 .port_cnt = 3, /* total port count */
1150 .port_cnt = 5, /* total cpu and user ports */
1181 * port_cnt is configured as 5, even though it is 4
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
[all...]
H A 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()
H A Dlan937x_main.c350 dev->port_mask = (1 << dev->info->port_cnt) - 1; in lan937x_switch_init()
H A 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()
H A Dksz_common.h57 int port_cnt; member
/kernel/linux/linux-5.10/net/smc/
H A Dsmc_ib.c564 u8 port_cnt; in smc_ib_add_dev() local
588 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev()
590 smcibdev->ibdev->name, port_cnt); in smc_ib_add_dev()
592 i < min_t(size_t, port_cnt, SMC_MAX_PORTS); in smc_ib_add_dev()
/kernel/linux/linux-6.6/net/smc/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c318 mdev->port_cnt = 0; in mlx4_en_add()
320 mdev->port_cnt++; in mlx4_en_add()
H A Dmlx4_en.h424 u32 port_cnt; member
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/
H A Dntb_hw_idt.c502 for (pidx = 0; pidx < ndev->swcfg->port_cnt; pidx++) { in idt_scan_ports()
2846 .port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12}
2850 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
2854 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
2858 .port_cnt = 3, .ports = {0, 8, 16}
2862 .port_cnt = 4, .ports = {0, 8, 12, 16}
2866 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
2870 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
2874 .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20}
H A Dntb_hw_idt.h1044 * @port_cnt: Total number of NT endpoint ports
1049 unsigned char port_cnt; member
/kernel/linux/linux-6.6/drivers/ntb/hw/idt/
H A 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}
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c322 mdev->port_cnt = 0; in mlx4_en_probe()
324 mdev->port_cnt++; in mlx4_en_probe()
/kernel/linux/linux-5.10/include/linux/
H A Dswitchtec.h296 u32 port_cnt; member
/kernel/linux/linux-6.6/include/linux/
H A Dswitchtec.h298 u32 port_cnt; member
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
H A Dksz884x.c1330 * @port_cnt: Number of ports this port supports.
1343 int port_cnt; member
3295 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed()
3377 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed()
3427 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed()
3451 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving()
5524 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open()
5909 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++) in mdio_write()
7065 port->port_cnt = port_count; in pcidev_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/
H A Dksz884x.c1262 * @port_cnt: Number of ports this port supports.
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()

Completed in 53 milliseconds

12