Home
last modified time | relevance | path

Searched refs:port_count (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
A Ddevlink_linecard.sh64 local port_count=$1; shift
68 [ $current == $port_count ]
81 local port_count=$2
84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc"
191 local port_count
193 port_count=$(lc_wait_until_port_count_is $lc $expected_port_count \
195 [ $port_count != 0 ]
197 [ $port_count == $expected_port_count ]
198 check_err $? "Unexpected port count linecard $lc (got $port_count, expected $expected_port_count)"
/linux-6.3-rc2/drivers/firewire/
A Dcore-topology.c100 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
104 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create()
113 node->port_count = port_count; in fw_node_create()
141 for (i = 0; i < node->port_count; i++) { in update_hop_count()
192 next_sid = count_ports(sid, &port_count, &child_port_count); in build_tree()
223 node = fw_node_create(q, port_count, card->color); in build_tree()
237 for (i = 0; i < port_count; i++) { in build_tree()
328 for (i = 0; i < node->port_count; i++) { in for_each_fw_node()
394 for (i = 0; i < tree->port_count; i++) { in move_tree()
422 WARN_ON(node0->port_count != node1->port_count); in update_tree()
[all …]
A Dcore.h177 u8 port_count; member
/linux-6.3-rc2/sound/usb/
A Dmixer_scarlett_gen2.c456 .port_count = {
504 .port_count = {
556 .port_count = {
634 .port_count = {
680 .port_count = {
742 .port_count = {
812 .port_count = {
871 .port_count = {
1568 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_populate_mux() local
1635 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_set_mux() local
[all …]
/linux-6.3-rc2/drivers/tty/serial/
A Dmux.c432 int port_count = get_mux_port_count(dev); in mux_probe() local
433 printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count); in mux_probe()
435 dev_set_drvdata(&dev->dev, (void *)(long)port_count); in mux_probe()
437 port_count * MUX_LINE_OFFSET, "Mux"); in mux_probe()
449 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe()
477 int port_count = (long)dev_get_drvdata(&dev->dev); in mux_remove() local
484 BUG_ON(i + port_count > port_cnt); in mux_remove()
487 for(j = 0; j < port_count; ++j, ++i) { in mux_remove()
495 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET); in mux_remove()
/linux-6.3-rc2/drivers/net/netdevsim/
A Dbus.c132 nsim_bus_dev_new(unsigned int id, unsigned int port_count, unsigned int num_queues);
137 unsigned int id, port_count, num_queues; in new_device_store() local
141 err = sscanf(buf, "%u %u %u", &id, &port_count, &num_queues); in new_device_store()
144 port_count = 1; in new_device_store()
167 nsim_bus_dev = nsim_bus_dev_new(id, port_count, num_queues); in new_device_store()
268 nsim_bus_dev_new(unsigned int id, unsigned int port_count, unsigned int num_queues) in nsim_bus_dev_new() argument
283 nsim_bus_dev->port_count = port_count; in nsim_bus_dev_new()
A Dnetdevsim.h372 unsigned int port_count; member
A Ddev.c1444 unsigned int port_count) in nsim_dev_port_add_all() argument
1448 for (i = 0; i < port_count; i++) { in nsim_dev_port_add_all()
1501 err = nsim_dev_port_add_all(nsim_dev, nsim_bus_dev->port_count); in nsim_dev_reload_create()
1607 err = nsim_dev_port_add_all(nsim_dev, nsim_bus_dev->port_count); in nsim_drv_probe()
/linux-6.3-rc2/drivers/net/wwan/t7xx/
A Dt7xx_port_proxy.c48 i < (proxy)->port_count; \
445 unsigned int port_count = ARRAY_SIZE(t7xx_md_port_conf); in t7xx_proxy_alloc() local
450 port_prox = devm_kzalloc(dev, sizeof(*port_prox) + sizeof(struct t7xx_port) * port_count, in t7xx_proxy_alloc()
458 for (i = 0; i < port_count; i++) in t7xx_proxy_alloc()
461 port_prox->port_count = port_count; in t7xx_proxy_alloc()
A Dt7xx_port_ctrl_msg.c130 unsigned int version, port_count, i; in t7xx_port_enum_msg_handler() local
143 port_count = FIELD_GET(PORT_MSG_PRT_CNT, le32_to_cpu(port_msg->info)); in t7xx_port_enum_msg_handler()
144 for (i = 0; i < port_count; i++) { in t7xx_port_enum_msg_handler()
A Dt7xx_port_proxy.h35 int port_count; member
/linux-6.3-rc2/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_netdev.c140 u8 i, port_count = 0; in opa_vnic_process_vema_config() local
171 port_num[port_count++] = i; in opa_vnic_process_vema_config()
182 adapter->flow_tbl[i] = port_count ? port_num[i % port_count] : in opa_vnic_process_vema_config()
/linux-6.3-rc2/drivers/scsi/elx/libefc/
A Defc_fabric.c654 u32 port_id = 0, port_count, plist_count; in efc_process_gidpt_payload() local
682 port_count = 0; in efc_process_gidpt_payload()
684 port_count++; in efc_process_gidpt_payload()
688 active_nodes = kcalloc(port_count, sizeof(*active_nodes), GFP_ATOMIC); in efc_process_gidpt_payload()
714 for (j = 0; j < port_count; j++) { in efc_process_gidpt_payload()
726 for (i = 0; i < port_count; i++) { in efc_process_gidpt_payload()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dsdio.c1812 u32 port_count; in mwifiex_sdio_card_to_host_mp_aggr() local
1814 for (i = 0, port_count = 0; i < card->max_ports; i++) in mwifiex_sdio_card_to_host_mp_aggr()
1816 port_count++; in mwifiex_sdio_card_to_host_mp_aggr()
1821 port_count--; in mwifiex_sdio_card_to_host_mp_aggr()
1823 (port_count << 8)) + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr()
2244 u32 port_count; in mwifiex_host_to_card_mp_aggr() local
2247 for (i = 0, port_count = 0; i < card->max_ports; i++) in mwifiex_host_to_card_mp_aggr()
2249 port_count++; in mwifiex_host_to_card_mp_aggr()
2254 port_count--; in mwifiex_host_to_card_mp_aggr()
2256 (port_count << 8)) + card->mpa_tx.start_port; in mwifiex_host_to_card_mp_aggr()
/linux-6.3-rc2/drivers/net/ethernet/rocker/
A Drocker.h61 unsigned int port_count; member
A Drocker_main.c928 if (port_number >= rocker->port_count) in rocker_event_link_change()
965 if (port_number >= rocker->port_count) in rocker_event_mac_vlan_seen()
2519 for (i = 0; i < rocker->port_count; i++) { in rocker_remove_ports()
2623 alloc_size = sizeof(struct rocker_port *) * rocker->port_count; in rocker_probe_ports()
2627 for (i = 0; i < rocker->port_count; i++) { in rocker_probe_ports()
2650 if (msix_entries != ROCKER_MSIX_VEC_COUNT(rocker->port_count)) in rocker_msix_init()
2895 rocker->port_count = rocker_read32(rocker, PORT_PHYS_COUNT); in rocker_probe()
A Drocker_ofdpa.c1448 unsigned int port_count = ofdpa->rocker->port_count; in ofdpa_port_vlan_flood_group() local
1455 group_ids = kcalloc(port_count, sizeof(u32), GFP_KERNEL); in ofdpa_port_vlan_flood_group()
1464 for (i = 0; i < port_count; i++) { in ofdpa_port_vlan_flood_group()
1494 unsigned int port_count = ofdpa->rocker->port_count; in ofdpa_port_vlan_l2_groups() local
1523 for (i = 0; i < port_count; i++) { in ofdpa_port_vlan_l2_groups()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_main.c776 sparx5->port_count = of_get_child_count(ports); in mchp_sparx5_probe()
778 configs = kcalloc(sparx5->port_count, in mchp_sparx5_probe()
870 for (idx = 0; idx < sparx5->port_count; ++idx) { in mchp_sparx5_probe()
/linux-6.3-rc2/drivers/tty/
A Dsynclink_gt.c2313 for(i=0; i < info->port_count ; i++) { in slgt_interrupt()
3530 int port_count = 1; in device_init() local
3533 port_count = 2; in device_init()
3535 port_count = 4; in device_init()
3538 for (i=0; i < port_count; ++i) { in device_init()
3550 for (i=0; i < port_count; ++i) { in device_init()
3553 port_array[i]->port_count = port_count; in device_init()
3563 for (i = 1; i < port_count; ++i) { in device_init()
3580 for (i=1 ; i < port_count ; i++) { in device_init()
3587 for (i = 0; i < port_count; ++i) { in device_init()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_offload.py350 def __init__(self, port_count=1): argument
354 self.ctrl_write("new_device", "%u %u" % (addr, port_count))
365 self.wait_for_netdevs(port_count)
376 for port_index in range(port_count):
387 def wait_for_netdevs(self, port_count): argument
396 if len(ifnames) == port_count:
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_edif_bsg.h133 uint8_t port_count; member
/linux-6.3-rc2/drivers/mfd/
A Dcros_ec_dev.c255 if (retval >= 0 && pchg_count.port_count) { in ec_device_probe()
/linux-6.3-rc2/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_debugfs.c497 for (i = 0; i < priv->port_count; i++) { in mvpp2_dbgfs_flow_entry_init()
731 for (i = 0; i < priv->port_count; i++) { in mvpp2_dbgfs_init()
/linux-6.3-rc2/drivers/usb/early/
A Dxhci-dbc.c369 u32 val, port_offset, port_count; in xdbc_reset_debug_port() local
383 port_count = XHCI_EXT_PORT_COUNT(val); in xdbc_reset_debug_port()
385 xdbc_do_reset_debug_port(port_offset, port_count); in xdbc_reset_debug_port()
/linux-6.3-rc2/drivers/power/supply/
A Dcros_peripheral_charger.c120 return rsp.port_count; in cros_pchg_port_count()

Completed in 82 milliseconds

12