atmdev 2775 drivers/atm/idt77252.c if (card->atmdev->phy && card->atmdev->phy->interrupt) atmdev 2776 drivers/atm/idt77252.c card->atmdev->phy->interrupt(card->atmdev); atmdev 3050 drivers/atm/idt77252.c if (card->atmdev) atmdev 3051 drivers/atm/idt77252.c atm_dev_deregister(card->atmdev); atmdev 3503 drivers/atm/idt77252.c memcpy(card->atmdev->esi, tmp->dev_addr, 6); atmdev 3505 drivers/atm/idt77252.c printk("%s: ESI %pM\n", card->name, card->atmdev->esi); atmdev 3656 drivers/atm/idt77252.c card->atmdev = dev; atmdev 3767 drivers/atm/idt77252.c dev = card->atmdev; atmdev 353 drivers/atm/idt77252.h struct atm_dev *atmdev; /* ATM device desriptor */ atmdev 2107 drivers/atm/lanai.c static int lanai_dev_open(struct atm_dev *atmdev) atmdev 2109 drivers/atm/lanai.c struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; atmdev 2115 drivers/atm/lanai.c lanai->number = atmdev->number; atmdev 2127 drivers/atm/lanai.c atmdev->ci_range.vpi_bits = 0; atmdev 2128 drivers/atm/lanai.c atmdev->ci_range.vci_bits = 0; atmdev 2129 drivers/atm/lanai.c while (1 << atmdev->ci_range.vci_bits < lanai->num_vci) atmdev 2130 drivers/atm/lanai.c atmdev->ci_range.vci_bits++; atmdev 2131 drivers/atm/lanai.c atmdev->link_rate = ATM_25_PCR; atmdev 2215 drivers/atm/lanai.c memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN); atmdev 2219 drivers/atm/lanai.c lanai->base, lanai->pci->irq, atmdev->esi); atmdev 2246 drivers/atm/lanai.c static void lanai_dev_close(struct atm_dev *atmdev) atmdev 2248 drivers/atm/lanai.c struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; atmdev 2440 drivers/atm/lanai.c static int lanai_proc_read(struct atm_dev *atmdev, loff_t *pos, char *page) atmdev 2442 drivers/atm/lanai.c struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; atmdev 2448 drivers/atm/lanai.c atmdev->number, lanai->type==lanai2 ? "2" : "HB", atmdev 2555 drivers/atm/lanai.c struct atm_dev *atmdev; atmdev 2565 drivers/atm/lanai.c atmdev = atm_dev_register(DEV_LABEL, &pci->dev, &ops, -1, NULL); atmdev 2566 drivers/atm/lanai.c if (atmdev == NULL) { atmdev 2573 drivers/atm/lanai.c atmdev->dev_data = lanai; atmdev 2577 drivers/atm/lanai.c result = lanai_dev_open(atmdev); atmdev 2580 drivers/atm/lanai.c atm_dev_deregister(atmdev); atmdev 210 drivers/atm/nicstar.c if (card->atmdev->phy && card->atmdev->phy->stop) atmdev 211 drivers/atm/nicstar.c card->atmdev->phy->stop(card->atmdev); atmdev 217 drivers/atm/nicstar.c atm_dev_deregister(card->atmdev); atmdev 388 drivers/atm/nicstar.c card->atmdev = NULL; atmdev 764 drivers/atm/nicstar.c card->atmdev = atm_dev_register("nicstar", &card->pcidev->dev, &atm_ops, atmdev 766 drivers/atm/nicstar.c if (card->atmdev == NULL) { atmdev 773 drivers/atm/nicstar.c if (mac[i] == NULL || !mac_pton(mac[i], card->atmdev->esi)) { atmdev 775 drivers/atm/nicstar.c card->atmdev->esi, 6); atmdev 776 drivers/atm/nicstar.c if (ether_addr_equal(card->atmdev->esi, "\x00\x00\x00\x00\x00\x00")) { atmdev 779 drivers/atm/nicstar.c card->atmdev->esi, 6); atmdev 783 drivers/atm/nicstar.c printk("nicstar%d: MAC address %pM\n", i, card->atmdev->esi); atmdev 785 drivers/atm/nicstar.c card->atmdev->dev_data = card; atmdev 786 drivers/atm/nicstar.c card->atmdev->ci_range.vpi_bits = card->vpibits; atmdev 787 drivers/atm/nicstar.c card->atmdev->ci_range.vci_bits = card->vcibits; atmdev 788 drivers/atm/nicstar.c card->atmdev->link_rate = card->max_pcr; atmdev 789 drivers/atm/nicstar.c card->atmdev->phy = NULL; atmdev 793 drivers/atm/nicstar.c suni_init(card->atmdev); atmdev 798 drivers/atm/nicstar.c idt77105_init(card->atmdev); atmdev 801 drivers/atm/nicstar.c if (card->atmdev->phy && card->atmdev->phy->start) atmdev 802 drivers/atm/nicstar.c card->atmdev->phy->start(card->atmdev); atmdev 1064 drivers/atm/nicstar.c dev = card->atmdev; atmdev 718 drivers/atm/nicstar.h struct atm_dev *atmdev; atmdev 111 drivers/atm/solos-pci.c struct atm_dev *atmdev[4]; atmdev 140 drivers/atm/solos-pci.c #define SOLOS_CHAN(atmdev) ((int)(unsigned long)(atmdev)->phy_data) atmdev 184 drivers/atm/solos-pci.c struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); atmdev 185 drivers/atm/solos-pci.c struct solos_card *card = atmdev->dev_data; atmdev 212 drivers/atm/solos-pci.c prm.port = SOLOS_CHAN(atmdev); atmdev 239 drivers/atm/solos-pci.c struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); atmdev 240 drivers/atm/solos-pci.c struct solos_card *card = atmdev->dev_data; atmdev 268 drivers/atm/solos-pci.c prm.port = SOLOS_CHAN(atmdev); atmdev 344 drivers/atm/solos-pci.c if (!card->atmdev[port]) atmdev 388 drivers/atm/solos-pci.c atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_LOST); atmdev 404 drivers/atm/solos-pci.c card->atmdev[port]->link_rate = rate_down / 424; atmdev 405 drivers/atm/solos-pci.c atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_FOUND); atmdev 447 drivers/atm/solos-pci.c struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); atmdev 448 drivers/atm/solos-pci.c struct solos_card *card = atmdev->dev_data; atmdev 453 drivers/atm/solos-pci.c skb = skb_dequeue(&card->cli_queue[SOLOS_CHAN(atmdev)]); atmdev 497 drivers/atm/solos-pci.c struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); atmdev 498 drivers/atm/solos-pci.c struct solos_card *card = atmdev->dev_data; atmdev 501 drivers/atm/solos-pci.c err = send_command(card, SOLOS_CHAN(atmdev), buf, count); atmdev 749 drivers/atm/solos-pci.c if (card->atmdev[0]) atmdev 828 drivers/atm/solos-pci.c vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi), atmdev 869 drivers/atm/solos-pci.c if (card->using_dma && card->atmdev[port] && atmdev 1365 drivers/atm/solos-pci.c card->atmdev[i] = atm_dev_register("solos-pci", parent, &fpga_ops, -1, NULL); atmdev 1366 drivers/atm/solos-pci.c if (!card->atmdev[i]) { atmdev 1371 drivers/atm/solos-pci.c if (device_create_file(&card->atmdev[i]->class_dev, &dev_attr_console)) atmdev 1373 drivers/atm/solos-pci.c if (sysfs_create_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group)) atmdev 1376 drivers/atm/solos-pci.c dev_info(&card->dev->dev, "Registered ATM device %d\n", card->atmdev[i]->number); atmdev 1378 drivers/atm/solos-pci.c card->atmdev[i]->ci_range.vpi_bits = 8; atmdev 1379 drivers/atm/solos-pci.c card->atmdev[i]->ci_range.vci_bits = 16; atmdev 1380 drivers/atm/solos-pci.c card->atmdev[i]->dev_data = card; atmdev 1381 drivers/atm/solos-pci.c card->atmdev[i]->phy_data = (void *)(unsigned long)i; atmdev 1382 drivers/atm/solos-pci.c atm_dev_signal_change(card->atmdev[i], ATM_PHY_SIG_FOUND); atmdev 1407 drivers/atm/solos-pci.c if (card->atmdev[i]) { atmdev 1410 drivers/atm/solos-pci.c dev_info(&card->dev->dev, "Unregistering ATM device %d\n", card->atmdev[i]->number); atmdev 1412 drivers/atm/solos-pci.c sysfs_remove_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group); atmdev 1413 drivers/atm/solos-pci.c atm_dev_deregister(card->atmdev[i]);