/linux/sound/usb/ |
A D | mixer_scarlett_gen2.c | 440 .port_count = { 488 .port_count = { 540 .port_count = { 616 .port_count = { 662 .port_count = { 724 .port_count = { 794 .port_count = { 1444 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_populate_mux() local 1511 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_usb_set_mux() local 1711 const int (*port_count)[SCARLETT2_PORT_DIRNS] = info->port_count; in scarlett2_update_volumes() local [all …]
|
/linux/drivers/firewire/ |
A D | core-topology.c | 100 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() 397 for (i = 0; i < tree->port_count; i++) { in move_tree() 425 WARN_ON(node0->port_count != node1->port_count); in update_tree() [all …]
|
A D | core.h | 177 u8 port_count; member
|
/linux/drivers/tty/serial/ |
A D | mux.c | 451 int port_count = get_mux_port_count(dev); in mux_probe() local 452 printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count); in mux_probe() 454 dev_set_drvdata(&dev->dev, (void *)(long)port_count); in mux_probe() 456 port_count * MUX_LINE_OFFSET, "Mux"); in mux_probe() 468 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 502 int port_count = (long)dev_get_drvdata(&dev->dev); in mux_remove() local 509 BUG_ON(i + port_count > port_cnt); in mux_remove() 512 for(j = 0; j < port_count; ++j, ++i) { in mux_remove() 520 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET); in mux_remove()
|
/linux/drivers/net/netdevsim/ |
A D | bus.c | 146 nsim_bus_dev_new(unsigned int id, unsigned int port_count, unsigned int num_queues); 151 unsigned int id, port_count, num_queues; in new_device_store() local 155 err = sscanf(buf, "%u %u %u", &id, &port_count, &num_queues); in new_device_store() 158 port_count = 1; in new_device_store() 181 nsim_bus_dev = nsim_bus_dev_new(id, port_count, num_queues); in new_device_store() 282 nsim_bus_dev_new(unsigned int id, unsigned int port_count, unsigned int num_queues) in nsim_bus_dev_new() argument 297 nsim_bus_dev->port_count = port_count; in nsim_bus_dev_new()
|
A D | netdevsim.h | 351 unsigned int port_count; member
|
A D | dev.c | 1447 unsigned int port_count) in nsim_dev_port_add_all() argument 1451 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() 1598 err = nsim_dev_port_add_all(nsim_dev, nsim_bus_dev->port_count); in nsim_drv_probe()
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
A D | opa_vnic_netdev.c | 141 u8 i, port_count = 0; in opa_vnic_process_vema_config() local 172 port_num[port_count++] = i; in opa_vnic_process_vema_config() 183 adapter->flow_tbl[i] = port_count ? port_num[i % port_count] : in opa_vnic_process_vema_config()
|
/linux/drivers/scsi/elx/libefc/ |
A D | efc_fabric.c | 654 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/drivers/net/wireless/marvell/mwifiex/ |
A D | sdio.c | 1795 u32 port_count; in mwifiex_sdio_card_to_host_mp_aggr() local 1797 for (i = 0, port_count = 0; i < card->max_ports; i++) in mwifiex_sdio_card_to_host_mp_aggr() 1799 port_count++; in mwifiex_sdio_card_to_host_mp_aggr() 1804 port_count--; in mwifiex_sdio_card_to_host_mp_aggr() 1806 (port_count << 8)) + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr() 2227 u32 port_count; in mwifiex_host_to_card_mp_aggr() local 2230 for (i = 0, port_count = 0; i < card->max_ports; i++) in mwifiex_host_to_card_mp_aggr() 2232 port_count++; in mwifiex_host_to_card_mp_aggr() 2237 port_count--; in mwifiex_host_to_card_mp_aggr() 2239 (port_count << 8)) + card->mpa_tx.start_port; in mwifiex_host_to_card_mp_aggr()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_main.c | 714 sparx5->port_count = of_get_child_count(ports); in mchp_sparx5_probe() 716 configs = kcalloc(sparx5->port_count, in mchp_sparx5_probe() 807 for (idx = 0; idx < sparx5->port_count; ++idx) { in mchp_sparx5_probe()
|
/linux/drivers/net/ethernet/rocker/ |
A D | rocker.h | 61 unsigned int port_count; member
|
A D | rocker_main.c | 928 if (port_number >= rocker->port_count) in rocker_event_link_change() 965 if (port_number >= rocker->port_count) in rocker_event_mac_vlan_seen() 2531 for (i = 0; i < rocker->port_count; i++) { in rocker_remove_ports() 2637 alloc_size = sizeof(struct rocker_port *) * rocker->port_count; in rocker_probe_ports() 2641 for (i = 0; i < rocker->port_count; i++) { in rocker_probe_ports() 2664 if (msix_entries != ROCKER_MSIX_VEC_COUNT(rocker->port_count)) in rocker_msix_init() 2918 rocker->port_count = rocker_read32(rocker, PORT_PHYS_COUNT); in rocker_probe()
|
A D | rocker_ofdpa.c | 1448 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/drivers/tty/ |
A D | synclink_gt.c | 2316 for(i=0; i < info->port_count ; i++) { in slgt_interrupt() 3533 int port_count = 1; in device_init() local 3536 port_count = 2; in device_init() 3538 port_count = 4; in device_init() 3541 for (i=0; i < port_count; ++i) { in device_init() 3553 for (i=0; i < port_count; ++i) { in device_init() 3556 port_array[i]->port_count = port_count; in device_init() 3566 for (i = 1; i < port_count; ++i) { in device_init() 3583 for (i=1 ; i < port_count ; i++) { in device_init() 3590 for (i = 0; i < port_count; ++i) { in device_init() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_edif_bsg.h | 122 uint8_t port_count; member
|
/linux/tools/testing/selftests/bpf/ |
A D | test_offload.py | 350 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/drivers/usb/early/ |
A D | xhci-dbc.c | 369 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/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_debugfs.c | 497 for (i = 0; i < priv->port_count; i++) { in mvpp2_dbgfs_flow_entry_init() 725 for (i = 0; i < priv->port_count; i++) { in mvpp2_dbgfs_init()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera.h | 246 u32 port_count; member
|
A D | prestera_switchdev.c | 231 int port_count; in prestera_port_vlan_bridge_leave() local 234 port_count = prestera_bridge_vlan_port_count(br_port->bridge, vid); in prestera_port_vlan_bridge_leave() 238 last_port = port_count == 1; in prestera_port_vlan_bridge_leave()
|
/linux/drivers/usb/cdns3/ |
A D | cdnsp-mem.c | 1126 u32 temp, port_offset, port_count; in cdnsp_add_in_port() local 1135 port_count = CDNSP_EXT_PORT_COUNT(temp); in cdnsp_add_in_port() 1137 trace_cdnsp_port_info(addr, port_offset, port_count, port->maj_rev); in cdnsp_add_in_port()
|
/linux/drivers/power/supply/ |
A D | cros_peripheral_charger.c | 119 return rsp.port_count; in cros_pchg_port_count()
|
/linux/drivers/scsi/mpt3sas/ |
A D | mpt3sas_scsih.c | 6142 return port_count; in _scsih_get_port_table_after_reset() 6165 for (j = 0; j < port_count; j++) { in _scsih_get_port_table_after_reset() 6182 port_count++; in _scsih_get_port_table_after_reset() 6186 return port_count; in _scsih_get_port_table_after_reset() 6283 for (i = 0; i < port_count; i++) { in _scsih_del_phy_part_of_anther_port() 6311 int index, int port_count) in _scsih_add_or_del_phys_from_existing_port() argument 6402 u32 port_count = 0; in _scsih_sas_port_refresh() local 6435 if (!port_count) in _scsih_sas_port_refresh() 6439 for (j = 0; j < port_count; j++) in _scsih_sas_port_refresh() 6458 for (j = 0; j < port_count; j++) { in _scsih_sas_port_refresh() [all …]
|
/linux/drivers/usb/host/ |
A D | xhci-mem.c | 2120 u32 temp, port_offset, port_count; in xhci_add_in_port() local 2159 port_count = XHCI_EXT_PORT_COUNT(temp); in xhci_add_in_port() 2163 addr, port_offset, port_count, major_revision); in xhci_add_in_port() 2165 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port() 2216 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
|