/Linux-v4.19/drivers/firewire/ |
D | core-topology.c | 111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument 115 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create() 124 node->port_count = port_count; in fw_node_create() 152 for (i = 0; i < node->port_count; i++) { in update_hop_count() 188 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local 203 next_sid = count_ports(sid, &port_count, &child_port_count); in build_tree() 234 node = fw_node_create(q, port_count, card->color); in build_tree() 248 for (i = 0; i < port_count; i++) { in build_tree() 339 for (i = 0; i < node->port_count; i++) { in for_each_fw_node() 408 for (i = 0; i < tree->port_count; i++) { in move_tree() [all …]
|
D | core.h | 179 u8 port_count; member
|
/Linux-v4.19/drivers/tty/serial/ |
D | mux.c | 455 int port_count = get_mux_port_count(dev); in mux_probe() local 456 printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count); in mux_probe() 458 dev_set_drvdata(&dev->dev, (void *)(long)port_count); in mux_probe() 460 port_count * MUX_LINE_OFFSET, "Mux"); in mux_probe() 472 for(i = 0; i < port_count; ++i, ++port_cnt) { in mux_probe() 505 int port_count = (long)dev_get_drvdata(&dev->dev); in mux_remove() local 512 BUG_ON(i + port_count > port_cnt); in mux_remove() 515 for(j = 0; j < port_count; ++j, ++i) { in mux_remove() 523 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET); in mux_remove()
|
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_netdev.c | 143 u8 i, port_count = 0; in opa_vnic_process_vema_config() local 174 port_num[port_count++] = i; in opa_vnic_process_vema_config() 185 adapter->flow_tbl[i] = port_count ? port_num[i % port_count] : in opa_vnic_process_vema_config()
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 60 static void nes_init_csr_ne020(struct nes_device *nesdev, u8 hw_rev, u8 port_count); 61 static int nes_init_serdes(struct nes_device *nesdev, u8 hw_rev, u8 port_count, 249 u32 port_count; in nes_init_adapter() local 299 if ((port_count = nes_reset_adapter_ne020(nesdev, &OneG_Mode)) == 0) in nes_init_adapter() 371 if (nes_init_serdes(nesdev, hw_rev, port_count, nesadapter, in nes_init_adapter() 376 nes_init_csr_ne020(nesdev, hw_rev, port_count); in nes_init_adapter() 392 nesadapter->port_count = port_count; in nes_init_adapter() 498 if (nesadapter->port_count == 1) { in nes_init_adapter() 508 if (nesadapter->port_count == 2) in nes_init_adapter() 531 if ((!nesadapter->OneG_Mode) && (nesadapter->port_count == 2)) { in nes_init_adapter() [all …]
|
D | nes.h | 94 #define NES_CCEQ_SIZE ((nesadapter->max_cq / nesadapter->port_count) - 32)
|
D | nes.c | 582 nesdev->nesadapter->port_count) { in nes_probe() 598 nesdev->nesadapter->port_count; in nes_probe()
|
D | nes_nic.c | 1712 if (nesvnic->nesdev->nesadapter->port_count == 1 && in nes_netdev_init() 1725 if (nesvnic->nesdev->nesadapter->port_count == 2 || in nes_netdev_init() 1726 (nesvnic->nesdev->nesadapter->port_count == 1 && in nes_netdev_init()
|
D | nes_hw.h | 1175 u8 port_count; member
|
D | nes_utils.c | 258 nesadapter->port_count, in nes_read_eeprom_values()
|
D | nes_verbs.c | 3807 nesibdev->max_cq = (nesadapter->max_cq-NES_FIRST_QPN) / nesadapter->port_count; in nes_register_ofa_device() 3808 nesibdev->max_mr = nesadapter->max_mr / nesadapter->port_count; in nes_register_ofa_device() 3809 nesibdev->max_qp = (nesadapter->max_qp-NES_FIRST_QPN) / nesadapter->port_count; in nes_register_ofa_device() 3810 nesibdev->max_pd = nesadapter->max_pd / nesadapter->port_count; in nes_register_ofa_device()
|
/Linux-v4.19/drivers/tty/ |
D | isicom.c | 187 unsigned char port_count; member 414 count = isi_card[card].port_count; in isicom_tx() 540 if (channel + 1 > card->port_count) { in isicom_interrupt() 789 for (channel = 0; channel < bp->port_count; channel++, port++) in isicom_setup_board() 845 if (line > ((board * 16) + card->port_count - 1)) in isicom_find_port() 1341 board->port_count = (portcount == 4) ? 4 : 8; in reset_card() 1346 board->port_count = 16; in reset_card() 1599 for (index = 0; index < board->port_count; index++) { in isicom_probe() 1629 for (i = 0; i < board->port_count; i++) { in isicom_remove()
|
D | synclink_gt.c | 249 int port_count; /* count of ports on adapter */ member 2354 for(i=0; i < info->port_count ; i++) { in slgt_interrupt() 2378 for (i=0 ; i < info->port_count ; i++) { in slgt_interrupt() 2386 for(i=0; i < info->port_count ; i++) { in slgt_interrupt() 3608 int port_count = 1; in device_init() local 3611 port_count = 2; in device_init() 3613 port_count = 4; in device_init() 3616 for (i=0; i < port_count; ++i) { in device_init() 3628 for (i=0; i < port_count; ++i) { in device_init() 3631 port_array[i]->port_count = port_count; in device_init() [all …]
|
D | synclinkmp.c | 225 int port_count; member 2530 if (info->port_count == 4) { in synclinkmp_interrupt() 2547 for(i=0; i < info->port_count ; i++) { in synclinkmp_interrupt() 2589 for(i=0; i < info->port_count ; i++) { in synclinkmp_interrupt() 5300 info->port_array[0]->port_count = 0; in adapter_test() 5305 info->port_array[0]->port_count = 2; in adapter_test() 5309 info->port_array[0]->port_count += 2; in adapter_test() 5319 (info->port_count == 4 && !irq_test(info->port_array[2])) || in adapter_test() 5320 (info->port_count == 4 && !irq_test(info->port_array[3]))) { in adapter_test() 5328 (info->port_count == 4 && !loopback_test(info->port_array[2])) || in adapter_test() [all …]
|
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | sdio.c | 1377 u32 port_count; in mwifiex_sdio_card_to_host_mp_aggr() local 1379 for (i = 0, port_count = 0; i < card->max_ports; i++) in mwifiex_sdio_card_to_host_mp_aggr() 1381 port_count++; in mwifiex_sdio_card_to_host_mp_aggr() 1386 port_count--; in mwifiex_sdio_card_to_host_mp_aggr() 1388 (port_count << 8)) + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr() 1809 u32 port_count; in mwifiex_host_to_card_mp_aggr() local 1812 for (i = 0, port_count = 0; i < card->max_ports; i++) in mwifiex_host_to_card_mp_aggr() 1814 port_count++; in mwifiex_host_to_card_mp_aggr() 1819 port_count--; in mwifiex_host_to_card_mp_aggr() 1821 (port_count << 8)) + card->mpa_tx.start_port; in mwifiex_host_to_card_mp_aggr()
|
/Linux-v4.19/drivers/net/ethernet/rocker/ |
D | rocker.h | 65 unsigned int port_count; member
|
D | rocker_ofdpa.c | 1451 unsigned int port_count = ofdpa->rocker->port_count; in ofdpa_port_vlan_flood_group() local 1458 group_ids = kcalloc(port_count, sizeof(u32), GFP_KERNEL); in ofdpa_port_vlan_flood_group() 1467 for (i = 0; i < port_count; i++) { in ofdpa_port_vlan_flood_group() 1497 unsigned int port_count = ofdpa->rocker->port_count; in ofdpa_port_vlan_l2_groups() local 1526 for (i = 0; i < port_count; i++) { in ofdpa_port_vlan_l2_groups()
|
D | rocker_main.c | 929 if (port_number >= rocker->port_count) in rocker_event_link_change() 966 if (port_number >= rocker->port_count) in rocker_event_mac_vlan_seen() 2550 for (i = 0; i < rocker->port_count; i++) { in rocker_remove_ports() 2655 alloc_size = sizeof(struct rocker_port *) * rocker->port_count; in rocker_probe_ports() 2659 for (i = 0; i < rocker->port_count; i++) { in rocker_probe_ports() 2682 if (msix_entries != ROCKER_MSIX_VEC_COUNT(rocker->port_count)) in rocker_msix_init() 2872 rocker->port_count = rocker_read32(rocker, PORT_PHYS_COUNT); in rocker_probe()
|
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_debugfs.c | 542 for (i = 0; i < priv->port_count; i++) { in mvpp2_dbgfs_flow_entry_init() 690 for (i = 0; i < priv->port_count; i++) { in mvpp2_dbgfs_init()
|
D | mvpp2.h | 734 int port_count; member
|
/Linux-v4.19/drivers/usb/early/ |
D | xhci-dbc.c | 368 u32 val, port_offset, port_count; in xdbc_reset_debug_port() local 382 port_count = XHCI_EXT_PORT_COUNT(val); in xdbc_reset_debug_port() 384 xdbc_do_reset_debug_port(port_offset, port_count); in xdbc_reset_debug_port()
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci-mem.c | 2114 u32 temp, port_offset, port_count; in xhci_add_in_port() local 2143 port_count = XHCI_EXT_PORT_COUNT(temp); in xhci_add_in_port() 2147 addr, port_offset, port_count, major_revision); in xhci_add_in_port() 2149 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port() 2204 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_lrc.c | 532 port_set(port, port_pack(i915_request_get(rq), port_count(port))); in port_assign() 622 GEM_BUG_ON(!port_count(&port[0])); in execlists_dequeue() 660 if (port_count(&port[1])) in execlists_dequeue()
|
D | intel_ringbuffer.h | 253 #define port_count(p) ptr_unmask_bits((p)->request_count, EXECLIST_COUNT_BITS) macro
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 899 u8 port_count; member 915 u8 port_count; member
|