/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 | 189 u8 port_count; member in struct:fw_node
|
/drivers/tty/serial/ |
H A D | mux.c | 476 int port_count = get_mux_port_count(dev); local 477 printk(KERN_INFO "Serial mux driver (%d ports) Revision: 0.6\n", port_count); 479 dev_set_drvdata(&dev->dev, (void *)(long)port_count); 481 port_count * MUX_LINE_OFFSET, "Mux"); 493 for(i = 0; i < port_count; ++i, ++port_cnt) { 526 int port_count = (long)dev_get_drvdata(&dev->dev); local 533 BUG_ON(i + port_count > port_cnt); 536 for(j = 0; j < port_count; ++j, ++i) { 544 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET);
|
/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++) 1637 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 2385 for(i=0; i < info->port_count ; i++) { 2409 for (i=0 ; i < info->port_count ; i++) { 2417 for(i=0; i < info->port_count ; i++) { 3637 int port_count = 1; local 3640 port_count = 2; 3642 port_count = 4; 3645 for (i=0; i < port_count; ++i) { 3655 for (i=0; i < port_count; ++i) { 3658 port_array[i]->port_count [all...] |
H A D | synclinkmp.c | 225 int port_count; member in struct:_synclinkmp_info 2557 if (info->port_count == 4) { 2574 for(i=0; i < info->port_count ; i++) { 2616 for(i=0; i < info->port_count ; i++) { 5314 info->port_array[0]->port_count = 0; 5319 info->port_array[0]->port_count = 2; 5323 info->port_array[0]->port_count += 2; 5333 (info->port_count == 4 && !irq_test(info->port_array[2])) || 5334 (info->port_count == 4 && !irq_test(info->port_array[3]))) { 5342 (info->port_count [all...] |
/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, 259 u32 port_count; local 309 if ((port_count = nes_reset_adapter_ne020(nesdev, &OneG_Mode)) == 0) 382 if (nes_init_serdes(nesdev, hw_rev, port_count, nesadapter, 387 nes_init_csr_ne020(nesdev, hw_rev, port_count); 402 nesadapter->port_count = port_count; 508 if (nesadapter->port_count == 1) { 518 if (nesadapter->port_count 647 u32 port_count; local 751 nes_init_serdes(struct nes_device *nesdev, u8 hw_rev, u8 port_count, struct nes_adapter *nesadapter, u8 OneG_Mode) argument 868 nes_init_csr_ne020(struct nes_device *nesdev, u8 hw_rev, u8 port_count) argument [all...] |
H A D | nes_hw.h | 1178 u8 port_count; member in struct:nes_adapter
|
/drivers/usb/host/ |
H A D | xhci-mem.c | 2048 u32 temp, port_offset, port_count; local 2062 port_count = XHCI_EXT_PORT_COUNT(temp); 2065 addr, port_offset, port_count, major_revision); 2067 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) 2088 for (i = port_offset; i < (port_offset + port_count); i++) {
|
/drivers/scsi/megaraid/ |
H A D | megaraid_sas.h | 495 u8 port_count; member in struct:megasas_ctrl_info::__anon4719 511 u8 port_count; member in struct:megasas_ctrl_info::__anon4720
|
/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 6937 int port_count; local 6991 port_count = 1; 7012 port_count = SWITCH_PORT_NUM; 7090 port->port_cnt = port_count; 7098 for (cnt = 0, pi = i; cnt < port_count; cnt++, pi++) {
|