Home
last modified time | relevance | path

Searched refs:atmdev (Results 1 – 6 of 6) sorted by relevance

/drivers/atm/
Dsolos-pci.c120 struct atm_dev *atmdev[4]; member
149 #define SOLOS_CHAN(atmdev) ((int)(unsigned long)(atmdev)->phy_data) argument
193 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in solos_param_show() local
194 struct solos_card *card = atmdev->dev_data; in solos_param_show()
221 prm.port = SOLOS_CHAN(atmdev); in solos_param_show()
248 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in solos_param_store() local
249 struct solos_card *card = atmdev->dev_data; in solos_param_store()
277 prm.port = SOLOS_CHAN(atmdev); in solos_param_store()
353 if (!card->atmdev[port]) in process_status()
393 atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_LOST); in process_status()
[all …]
Dlanai.c2113 static int lanai_dev_open(struct atm_dev *atmdev) in lanai_dev_open() argument
2115 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; in lanai_dev_open()
2121 lanai->number = atmdev->number; in lanai_dev_open()
2133 atmdev->ci_range.vpi_bits = 0; in lanai_dev_open()
2134 atmdev->ci_range.vci_bits = 0; in lanai_dev_open()
2135 while (1 << atmdev->ci_range.vci_bits < lanai->num_vci) in lanai_dev_open()
2136 atmdev->ci_range.vci_bits++; in lanai_dev_open()
2137 atmdev->link_rate = ATM_25_PCR; in lanai_dev_open()
2220 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN); in lanai_dev_open()
2224 (unsigned long) lanai->base, lanai->pci->irq, atmdev->esi); in lanai_dev_open()
[all …]
Dnicstar.c209 if (card->atmdev->phy && card->atmdev->phy->stop) in nicstar_remove_one()
210 card->atmdev->phy->stop(card->atmdev); in nicstar_remove_one()
216 atm_dev_deregister(card->atmdev); in nicstar_remove_one()
388 card->atmdev = NULL; in ns_init_card()
764 card->atmdev = atm_dev_register("nicstar", &card->pcidev->dev, &atm_ops, in ns_init_card()
766 if (card->atmdev == NULL) { in ns_init_card()
773 if (mac[i] == NULL || !mac_pton(mac[i], card->atmdev->esi)) { in ns_init_card()
775 card->atmdev->esi, 6); in ns_init_card()
776 if (ether_addr_equal(card->atmdev->esi, "\x00\x00\x00\x00\x00\x00")) { in ns_init_card()
779 card->atmdev->esi, 6); in ns_init_card()
[all …]
Didt77252.c2780 if (card->atmdev->phy && card->atmdev->phy->interrupt) in idt77252_interrupt()
2781 card->atmdev->phy->interrupt(card->atmdev); in idt77252_interrupt()
3055 if (card->atmdev) in deinit_card()
3056 atm_dev_deregister(card->atmdev); in deinit_card()
3512 memcpy(card->atmdev->esi, tmp->dev_addr, 6); in init_card()
3514 printk("%s: ESI %pM\n", card->name, card->atmdev->esi); in init_card()
3667 card->atmdev = dev; in idt77252_init_one()
3778 dev = card->atmdev; in idt77252_exit()
Dnicstar.h717 struct atm_dev *atmdev; member
Didt77252.h350 struct atm_dev *atmdev; /* ATM device desriptor */ member