Searched refs:card_no (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/drivers/input/gameport/ |
D | lightning.c | 219 static int __init l4_create_ports(int card_no) in l4_create_ports() argument 227 idx = card_no * 4 + i; in l4_create_ports() 255 static int __init l4_add_card(int card_no) in l4_add_card() argument 262 outb(L4_SELECT_DIGITAL + card_no, L4_PORT); in l4_add_card() 271 if (inb(L4_PORT) != L4_SELECT_DIGITAL + card_no) in l4_add_card() 286 result = l4_create_ports(card_no); in l4_add_card() 291 card_no ? "secondary" : "primary", rev >> 4, rev, L4_PORT); in l4_add_card() 294 l4 = &l4_ports[card_no * 4 + i]; in l4_add_card()
|
/linux-3.4.99/drivers/net/wan/ |
D | farsync.c | 462 int card_no; /* Inst of the card on the system */ member 1153 card->card_no, port->index, rxp); in fst_log_rx_error() 1158 card->card_no, port->index); in fst_log_rx_error() 1163 card->card_no, port->index); in fst_log_rx_error() 1168 len, card->card_no, port->index); in fst_log_rx_error() 1247 card->card_no, port->index); in fst_intr_rx() 1458 fst_q_work_item(&fst_work_intq, card->card_no); in do_bottom_half_rx() 1492 card->card_no, card->state); in fst_intr() 1551 card->card_no, int_retry_count); in fst_intr() 1560 fst_q_work_item(&fst_work_intq, card->card_no); in fst_intr() [all …]
|
/linux-3.4.99/drivers/tty/ |
D | cyclades.c | 3701 unsigned int device_id, nchan = 0, card_no, i; in cy_pci_probe() local 3831 for (card_no = 0; card_no < NR_CARDS; card_no++) { in cy_pci_probe() 3832 if (cy_card[card_no].base_addr == NULL) in cy_pci_probe() 3835 if (card_no == NR_CARDS) { /* no more cy_cards available */ in cy_pci_probe() 3846 IRQF_SHARED, "Cyclom-Y", &cy_card[card_no]); in cy_pci_probe() 3851 cy_card[card_no].num_chips = nchan / CyPORTS_PER_CHIP; in cy_pci_probe() 3858 cy_card[card_no].hw_ver = mailbox; in cy_pci_probe() 3859 cy_card[card_no].num_chips = (unsigned int)-1; in cy_pci_probe() 3860 cy_card[card_no].board_ctrl = &zfw_ctrl->board_ctrl; in cy_pci_probe() 3866 &cy_card[card_no]); in cy_pci_probe() [all …]
|
/linux-3.4.99/drivers/net/tokenring/ |
D | olympic.c | 211 static int card_no = -1 ; in olympic_probe() local 214 card_no++ ; in olympic_probe() 251 if ((pkt_buf_sz[card_no] < 100) || (pkt_buf_sz[card_no] > 18000) ) in olympic_probe() 254 olympic_priv->pkt_buf_sz = pkt_buf_sz[card_no] ; in olympic_probe() 257 olympic_priv->olympic_ring_speed = ringspeed[card_no] ; in olympic_probe() 258 olympic_priv->olympic_message_level = message_level[card_no] ; in olympic_probe() 259 olympic_priv->olympic_network_monitor = network_monitor[card_no]; in olympic_probe()
|
D | 3c359.c | 293 static int card_no = -1 ; in xl_probe() local 296 card_no++ ; in xl_probe() 332 if ((pkt_buf_sz[card_no] < 100) || (pkt_buf_sz[card_no] > 18000) ) in xl_probe() 335 xl_priv->pkt_buf_sz = pkt_buf_sz[card_no] ; in xl_probe() 338 xl_priv->xl_ring_speed = ringspeed[card_no] ; in xl_probe() 339 xl_priv->xl_message_level = message_level[card_no] ; in xl_probe()
|
D | lanstreamer.c | 245 static int card_no=-1; in streamer_init_one() local 252 card_no++; in streamer_init_one() 344 if ((pkt_buf_sz[card_no] < 100) || (pkt_buf_sz[card_no] > 18000)) in streamer_init_one() 347 streamer_priv->pkt_buf_sz = pkt_buf_sz[card_no]; in streamer_init_one() 349 streamer_priv->streamer_ring_speed = ringspeed[card_no]; in streamer_init_one() 350 streamer_priv->streamer_message_level = message_level[card_no]; in streamer_init_one()
|