Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/atm/
Dsolos-pci.c111 struct atm_dev *atmdev[4]; member
140 #define SOLOS_CHAN(atmdev) ((int)(unsigned long)(atmdev)->phy_data) argument
184 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in solos_param_show() local
185 struct solos_card *card = atmdev->dev_data; in solos_param_show()
212 prm.port = SOLOS_CHAN(atmdev); in solos_param_show()
239 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in solos_param_store() local
240 struct solos_card *card = atmdev->dev_data; in solos_param_store()
268 prm.port = SOLOS_CHAN(atmdev); in solos_param_store()
344 if (!card->atmdev[port]) in process_status()
388 atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_LOST); in process_status()
[all …]
Dlanai.c2107 static int lanai_dev_open(struct atm_dev *atmdev) in lanai_dev_open() argument
2109 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; in lanai_dev_open()
2115 lanai->number = atmdev->number; in lanai_dev_open()
2127 atmdev->ci_range.vpi_bits = 0; in lanai_dev_open()
2128 atmdev->ci_range.vci_bits = 0; in lanai_dev_open()
2129 while (1 << atmdev->ci_range.vci_bits < lanai->num_vci) in lanai_dev_open()
2130 atmdev->ci_range.vci_bits++; in lanai_dev_open()
2131 atmdev->link_rate = ATM_25_PCR; in lanai_dev_open()
2215 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN); in lanai_dev_open()
2219 lanai->base, lanai->pci->irq, atmdev->esi); in lanai_dev_open()
[all …]
Dnicstar.c210 if (card->atmdev->phy && card->atmdev->phy->stop) in nicstar_remove_one()
211 card->atmdev->phy->stop(card->atmdev); in nicstar_remove_one()
217 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.c2776 if (card->atmdev->phy && card->atmdev->phy->interrupt) in idt77252_interrupt()
2777 card->atmdev->phy->interrupt(card->atmdev); in idt77252_interrupt()
3051 if (card->atmdev) in deinit_card()
3052 atm_dev_deregister(card->atmdev); in deinit_card()
3504 memcpy(card->atmdev->esi, tmp->dev_addr, 6); in init_card()
3506 printk("%s: ESI %pM\n", card->name, card->atmdev->esi); in init_card()
3657 card->atmdev = dev; in idt77252_init_one()
3768 dev = card->atmdev; in idt77252_exit()
Dnicstar.h718 struct atm_dev *atmdev; member
Didt77252.h353 struct atm_dev *atmdev; /* ATM device desriptor */ member