Searched refs:atmdev (Results 1 - 52 of 52) sorted by relevance

/linux-4.1.27/net/atm/
H A Daddr.h10 #include <linux/atmdev.h>
H A Dresources.h9 #include <linux/atmdev.h>
H A Dsignaling.h10 #include <linux/atmdev.h>
H A Draw.c8 #include <linux/atmdev.h>
H A Datm_misc.c7 #include <linux/atmdev.h>
H A Dmpoa_caches.h7 #include <linux/atmdev.h>
H A Daddr.c6 #include <linux/atmdev.h>
H A Datm_sysfs.c7 #include <linux/atmdev.h>
H A Dlec_arpc.h9 #include <linux/atmdev.h>
H A Dpvc.c8 #include <linux/atmdev.h> /* ATM devices */
H A Dlec.h10 #include <linux/atmdev.h>
H A Dioctl.c12 #include <linux/atmdev.h>
H A Dsignaling.c15 #include <linux/atmdev.h>
H A Dproc.c21 #include <linux/atmdev.h>
H A Dresources.c14 #include <linux/atmdev.h>
H A Dbr2684.c24 #include <linux/atmdev.h>
H A Dclip.c19 #include <linux/atmdev.h>
H A Dcommon.c11 #include <linux/atmdev.h>
H A Dpppoatm.c44 #include <linux/atmdev.h>
H A Dsvc.c19 #include <linux/atmdev.h>
H A Dmpc.c27 #include <linux/atmdev.h>
H A Dlec.c30 #include <linux/atmdev.h>
/linux-4.1.27/include/uapi/linux/
H A Datm_idt77105.h12 #include <linux/atmdev.h>
H A Datmdev.h0 /* atmdev.h - ATM device driver declarations and various related items */
/linux-4.1.27/drivers/atm/
H A Dsolos-pci.c35 #include <linux/atmdev.h>
120 struct atm_dev *atmdev[4]; member in struct:solos_card
149 #define SOLOS_CHAN(atmdev) ((int)(unsigned long)(atmdev)->phy_data)
193 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); solos_param_show() local
194 struct solos_card *card = atmdev->dev_data; solos_param_show()
221 prm.port = SOLOS_CHAN(atmdev); solos_param_show()
248 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); solos_param_store() local
249 struct solos_card *card = atmdev->dev_data; solos_param_store()
277 prm.port = SOLOS_CHAN(atmdev); solos_param_store()
353 if (!card->atmdev[port]) process_status()
393 atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_LOST); process_status()
409 card->atmdev[port]->link_rate = rate_down / 424; process_status()
410 atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_FOUND); process_status()
450 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); console_show() local
451 struct solos_card *card = atmdev->dev_data; console_show()
456 skb = skb_dequeue(&card->cli_queue[SOLOS_CHAN(atmdev)]); console_show()
500 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); console_store() local
501 struct solos_card *card = atmdev->dev_data; console_store()
504 err = send_command(card, SOLOS_CHAN(atmdev), buf, count); console_store()
755 if (card->atmdev[0]) solos_irq()
829 vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi), solos_bh()
870 if (card->using_dma && card->atmdev[port] && solos_bh()
1362 card->atmdev[i] = atm_dev_register("solos-pci", parent, &fpga_ops, -1, NULL); atm_init()
1363 if (!card->atmdev[i]) { atm_init()
1368 if (device_create_file(&card->atmdev[i]->class_dev, &dev_attr_console)) atm_init()
1370 if (sysfs_create_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group)) atm_init()
1373 dev_info(&card->dev->dev, "Registered ATM device %d\n", card->atmdev[i]->number); atm_init()
1375 card->atmdev[i]->ci_range.vpi_bits = 8; atm_init()
1376 card->atmdev[i]->ci_range.vci_bits = 16; atm_init()
1377 card->atmdev[i]->dev_data = card; atm_init()
1378 card->atmdev[i]->phy_data = (void *)(unsigned long)i; atm_init()
1379 atm_dev_signal_change(card->atmdev[i], ATM_PHY_SIG_FOUND); atm_init()
1404 if (card->atmdev[i]) { atm_remove()
1407 dev_info(&card->dev->dev, "Unregistering ATM device %d\n", card->atmdev[i]->number); atm_remove()
1409 sysfs_remove_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group); atm_remove()
1410 atm_dev_deregister(card->atmdev[i]); atm_remove()
H A Dnicstar.c38 #include <linux/atmdev.h>
209 if (card->atmdev->phy && card->atmdev->phy->stop) nicstar_remove_one()
210 card->atmdev->phy->stop(card->atmdev); nicstar_remove_one()
216 atm_dev_deregister(card->atmdev); nicstar_remove_one()
388 card->atmdev = NULL; ns_init_card()
764 card->atmdev = atm_dev_register("nicstar", &card->pcidev->dev, &atm_ops, ns_init_card()
766 if (card->atmdev == NULL) { ns_init_card()
773 if (mac[i] == NULL || !mac_pton(mac[i], card->atmdev->esi)) { ns_init_card()
775 card->atmdev->esi, 6); ns_init_card()
776 if (ether_addr_equal(card->atmdev->esi, "\x00\x00\x00\x00\x00\x00")) { ns_init_card()
779 card->atmdev->esi, 6); ns_init_card()
783 printk("nicstar%d: MAC address %pM\n", i, card->atmdev->esi); ns_init_card()
785 card->atmdev->dev_data = card; ns_init_card()
786 card->atmdev->ci_range.vpi_bits = card->vpibits; ns_init_card()
787 card->atmdev->ci_range.vci_bits = card->vcibits; ns_init_card()
788 card->atmdev->link_rate = card->max_pcr; ns_init_card()
789 card->atmdev->phy = NULL; ns_init_card()
793 suni_init(card->atmdev); ns_init_card()
798 idt77105_init(card->atmdev); ns_init_card()
801 if (card->atmdev->phy && card->atmdev->phy->start) ns_init_card()
802 card->atmdev->phy->start(card->atmdev); ns_init_card()
1062 dev = card->atmdev; ns_irq_handler()
H A Dadummy.c21 #include <linux/atmdev.h>
H A Didt77105.h9 #include <linux/atmdev.h>
H A Dzatm.h11 #include <linux/atmdev.h>
H A Dlanai.c60 #include <linux/atmdev.h>
2113 static int lanai_dev_open(struct atm_dev *atmdev) lanai_dev_open() argument
2115 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; lanai_dev_open()
2121 lanai->number = atmdev->number; lanai_dev_open()
2133 atmdev->ci_range.vpi_bits = 0; lanai_dev_open()
2134 atmdev->ci_range.vci_bits = 0; lanai_dev_open()
2135 while (1 << atmdev->ci_range.vci_bits < lanai->num_vci) lanai_dev_open()
2136 atmdev->ci_range.vci_bits++; lanai_dev_open()
2137 atmdev->link_rate = ATM_25_PCR; lanai_dev_open()
2220 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN); lanai_dev_open()
2224 (unsigned long) lanai->base, lanai->pci->irq, atmdev->esi); lanai_dev_open()
2251 static void lanai_dev_close(struct atm_dev *atmdev) lanai_dev_close() argument
2253 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; lanai_dev_close()
2445 static int lanai_proc_read(struct atm_dev *atmdev, loff_t *pos, char *page) lanai_proc_read() argument
2447 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; lanai_proc_read()
2453 atmdev->number, lanai->type==lanai2 ? "2" : "HB", lanai_proc_read()
2560 struct atm_dev *atmdev; lanai_init_one() local
2570 atmdev = atm_dev_register(DEV_LABEL, &pci->dev, &ops, -1, NULL); lanai_init_one()
2571 if (atmdev == NULL) { lanai_init_one()
2578 atmdev->dev_data = lanai; lanai_init_one()
2582 result = lanai_dev_open(atmdev); lanai_init_one()
2585 atm_dev_deregister(atmdev); lanai_init_one()
H A Deni.h10 #include <linux/atmdev.h>
H A Didt77252.c36 #include <linux/atmdev.h>
2780 if (card->atmdev->phy && card->atmdev->phy->interrupt) idt77252_interrupt()
2781 card->atmdev->phy->interrupt(card->atmdev); idt77252_interrupt()
3055 if (card->atmdev) deinit_card()
3056 atm_dev_deregister(card->atmdev); deinit_card()
3512 memcpy(card->atmdev->esi, tmp->dev_addr, 6); init_card()
3514 printk("%s: ESI %pM\n", card->name, card->atmdev->esi); init_card()
3667 card->atmdev = dev; idt77252_init_one()
3778 dev = card->atmdev; idt77252_exit()
H A DuPD98402.c9 #include <linux/atmdev.h>
H A Dnicstar.h22 #include <linux/atmdev.h>
717 struct atm_dev *atmdev; member in struct:ns_dev
H A Datmtcp.c8 #include <linux/atmdev.h>
H A Didt77105.c10 #include <linux/atmdev.h>
H A Dsuni.c17 #include <linux/atmdev.h>
H A Dsuni.h10 #include <linux/atmdev.h>
H A Didt77252.h350 struct atm_dev *atmdev; /* ATM device desriptor */ member in struct:idt77252_dev
H A Dzatm.c12 #include <linux/atmdev.h>
H A Deni.c12 #include <linux/atmdev.h>
H A Dfirestream.c39 #include <linux/atmdev.h>
H A Dambassador.c31 #include <linux/atmdev.h>
H A Dfore200e.c34 #include <linux/atmdev.h>
H A Dhe.c76 #include <linux/atmdev.h>
H A Dhorizon.c34 #include <linux/atmdev.h>
H A Diphase.c49 #include <linux/atmdev.h>
/linux-4.1.27/include/net/
H A Datmclip.h11 #include <linux/atmdev.h>
/linux-4.1.27/drivers/usb/atm/
H A Dusbatm.h28 #include <linux/atmdev.h>
/linux-4.1.27/include/linux/
H A Datmdev.h0 /* atmdev.h - ATM device driver declarations and various related items */
14 #include <uapi/linux/atmdev.h>
/linux-4.1.27/net/sched/
H A Dsch_atm.c12 #include <linux/atmdev.h>
/linux-4.1.27/fs/
H A Dcompat_ioctl.c89 #include <linux/atmdev.h>

Completed in 1050 milliseconds