/drivers/firewire/ |
H A D | core-topology.c | 111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) argument 115 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]), 125 node->port_count = port_count; 153 for (i = 0; i < node->port_count; i++) { 189 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; local 204 next_sid = count_ports(sid, &port_count, &child_port_count); 235 node = fw_node_create(q, port_count, card->color); 249 for (i = 0; i < port_count; i++) { 340 for (i = 0; i < node->port_count; [all...] |
H A D | core.h | 178 u8 port_count; member in struct:fw_node
|
/drivers/tty/serial/ |
H A D | mux.c | 464 int port_count = get_mux_port_count(dev); local 465 printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count); 467 dev_set_drvdata(&dev->dev, (void *)(long)port_count); 469 port_count * MUX_LINE_OFFSET, "Mux"); 481 for(i = 0; i < port_count; ++i, ++port_cnt) { 514 int port_count = (long)dev_get_drvdata(&dev->dev); local 521 BUG_ON(i + port_count > port_cnt); 524 for(j = 0; j < port_count; ++j, ++i) { 532 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET);
|
/drivers/infiniband/hw/nes/ |
H A D | nes_hw.c | 67 static void nes_init_csr_ne020(struct nes_device *nesdev, u8 hw_rev, u8 port_count); 68 static int nes_init_serdes(struct nes_device *nesdev, u8 hw_rev, u8 port_count, 258 u32 port_count; local 308 if ((port_count = nes_reset_adapter_ne020(nesdev, &OneG_Mode)) == 0) 381 if (nes_init_serdes(nesdev, hw_rev, port_count, nesadapter, 386 nes_init_csr_ne020(nesdev, hw_rev, port_count); 401 nesadapter->port_count = port_count; 507 if (nesadapter->port_count == 1) { 517 if (nesadapter->port_count 646 u32 port_count; local 750 nes_init_serdes(struct nes_device *nesdev, u8 hw_rev, u8 port_count, struct nes_adapter *nesadapter, u8 OneG_Mode) argument 867 nes_init_csr_ne020(struct nes_device *nesdev, u8 hw_rev, u8 port_count) argument [all...] |
H A D | nes.h | 91 #define NES_CCEQ_SIZE ((nesadapter->max_cq / nesadapter->port_count) - 32)
|
H A D | nes.c | 590 nesdev->nesadapter->port_count) { 606 nesdev->nesadapter->port_count;
|
H A D | nes_nic.c | 1721 if (nesvnic->nesdev->nesadapter->port_count == 1 && 1734 if (nesvnic->nesdev->nesadapter->port_count == 2 || 1735 (nesvnic->nesdev->nesadapter->port_count == 1 &&
|
H A D | nes_hw.h | 1178 u8 port_count; member in struct:nes_adapter
|
H A D | nes_utils.c | 254 /* port_count is set by soft reset reg */ 255 nes_debug(NES_DBG_HW, "port_count = %u, port 0 -> %u, port 1 -> %u," 257 nesadapter->port_count,
|
H A D | nes_verbs.c | 4013 nesibdev->max_cq = (nesadapter->max_cq-NES_FIRST_QPN) / nesadapter->port_count; 4014 nesibdev->max_mr = nesadapter->max_mr / nesadapter->port_count; 4015 nesibdev->max_qp = (nesadapter->max_qp-NES_FIRST_QPN) / nesadapter->port_count; 4016 nesibdev->max_pd = nesadapter->max_pd / nesadapter->port_count;
|
/drivers/net/wireless/mwifiex/ |
H A D | sdio.c | 1209 u32 port_count; local 1211 for (i = 0, port_count = 0; i < card->max_ports; i++) 1213 port_count++; 1216 * port_count -1", so decrease the count by 1 1218 port_count--; 1220 (port_count << 8)) + card->mpa_rx.start_port; 1596 u32 port_count; local 1599 for (i = 0, port_count = 0; i < card->max_ports; i++) 1601 port_count++; 1604 * port_count [all...] |
/drivers/tty/ |
H A D | isicom.c | 191 unsigned char port_count; member in struct:isi_board 422 count = isi_card[card].port_count; 548 if (channel + 1 > card->port_count) { 549 pr_warning("%s(0x%lx): %d(channel) > port_count.\n", 802 for (channel = 0; channel < bp->port_count; channel++, port++) 858 if (line > ((board * 16) + card->port_count - 1)) 1355 board->port_count = (portcount == 4) ? 4 : 8; 1360 board->port_count = 16; 1613 for (index = 0; index < board->port_count; index++) { 1643 for (i = 0; i < board->port_count; [all...] |
H A D | synclink_gt.c | 250 int port_count; /* count of ports on adapter */ member in struct:slgt_info 2379 for(i=0; i < info->port_count ; i++) { 2403 for (i=0 ; i < info->port_count ; i++) { 2411 for(i=0; i < info->port_count ; i++) { 3641 int port_count = 1; local 3644 port_count = 2; 3646 port_count = 4; 3649 for (i=0; i < port_count; ++i) { 3661 for (i=0; i < port_count; ++i) { 3664 port_array[i]->port_count [all...] |
H A D | synclinkmp.c | 225 int port_count; member in struct:_synclinkmp_info 2555 if (info->port_count == 4) { 2572 for(i=0; i < info->port_count ; i++) { 2614 for(i=0; i < info->port_count ; i++) { 5320 info->port_array[0]->port_count = 0; 5325 info->port_array[0]->port_count = 2; 5329 info->port_array[0]->port_count += 2; 5339 (info->port_count == 4 && !irq_test(info->port_array[2])) || 5340 (info->port_count == 4 && !irq_test(info->port_array[3]))) { 5348 (info->port_count [all...] |
/drivers/usb/host/ |
H A D | xhci-mem.c | 2077 u32 temp, port_offset, port_count; local 2091 port_count = XHCI_EXT_PORT_COUNT(temp); 2095 addr, port_offset, port_count, major_revision); 2097 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) 2125 for (i = port_offset; i < (port_offset + port_count); i++) {
|
H A D | xhci.c | 4203 u32 port_offset, port_count; local 4210 port_count = XHCI_EXT_PORT_COUNT(xhci->ext_caps[i]); 4212 port < port_offset + port_count)
|
/drivers/scsi/megaraid/ |
H A D | megaraid_sas.h | 590 u8 port_count; member in struct:megasas_ctrl_info::__anon5819 606 u8 port_count; member in struct:megasas_ctrl_info::__anon5820
|
/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 6938 int port_count; local 6992 port_count = 1; 7013 port_count = SWITCH_PORT_NUM; 7082 port->port_cnt = port_count; 7090 for (cnt = 0, pi = i; cnt < port_count; cnt++, pi++) {
|
/drivers/net/ethernet/marvell/ |
H A D | mvpp2.c | 6306 int port_count, first_rxq; local 6349 port_count = of_get_available_child_count(dn); 6350 if (port_count == 0) { 6356 priv->port_list = devm_kcalloc(&pdev->dev, port_count,
|