/kernel/linux/linux-5.10/drivers/atm/ |
D | adummy.c | 35 struct atm_dev *atm_dev; member 48 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __set_signal() local 56 atm_dev_signal_change(atm_dev, signal); in __set_signal() 65 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __show_signal() local 66 return sprintf(buf, "%d\n", atm_dev->signal); in __show_signal() 81 adummy_start(struct atm_dev *dev) in adummy_start() 124 adummy_proc_read(struct atm_dev *dev, loff_t *pos, char *page) in adummy_proc_read() 145 struct atm_dev *atm_dev; in adummy_init() local 158 atm_dev = atm_dev_register(DEV_LABEL, NULL, &adummy_ops, -1, NULL); in adummy_init() 159 if (!atm_dev) { in adummy_init() [all …]
|
D | suni.c | 60 struct atm_dev *dev; in suni_hz() 96 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats() 116 static int change_diag(struct atm_dev *dev,void __user *arg,int set) in change_diag() 136 static int get_diag(struct atm_dev *dev,void __user *arg) in get_diag() 153 static int set_loopback(struct atm_dev *dev,int mode) in set_loopback() 196 static int set_sonet(struct atm_dev *dev) in set_sonet() 210 static int set_sdh(struct atm_dev *dev) in set_sdh() 225 static int get_framing(struct atm_dev *dev, void __user *arg) in get_framing() 240 static int set_framing(struct atm_dev *dev, void __user *arg) in set_framing() 256 static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in suni_ioctl() [all …]
|
D | idt77105.c | 36 struct atm_dev *dev; /* device back-pointer */ 62 static u16 get_counter(struct atm_dev *dev, int counter) in get_counter() 87 struct atm_dev *dev; in idt77105_stats_timer_func() 116 struct atm_dev *dev; in idt77105_restart_timer_func() 142 static int fetch_stats(struct atm_dev *dev,struct idt77105_stats __user *arg,int zero) in fetch_stats() 159 static int set_loopback(struct atm_dev *dev,int mode) in set_loopback() 189 static int idt77105_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in idt77105_ioctl() 213 static void idt77105_int(struct atm_dev *dev) in idt77105_int() 261 static int idt77105_start(struct atm_dev *dev) in idt77105_start() 321 static int idt77105_stop(struct atm_dev *dev) in idt77105_stop() [all …]
|
D | uPD98402.c | 41 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats() 59 static int set_framing(struct atm_dev *dev,unsigned char framing) in set_framing() 87 static int get_sense(struct atm_dev *dev,u8 __user *arg) in get_sense() 103 static int set_loopback(struct atm_dev *dev,int mode) in set_loopback() 136 static int uPD98402_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in uPD98402_ioctl() 170 static void stat_event(struct atm_dev *dev) in stat_event() 186 static void uPD98402_int(struct atm_dev *dev) in uPD98402_int() 211 static int uPD98402_start(struct atm_dev *dev) in uPD98402_start() 233 static int uPD98402_stop(struct atm_dev *dev) in uPD98402_stop() 249 int uPD98402_init(struct atm_dev *dev) in uPD98402_init()
|
D | he.c | 101 static int he_ioctl(struct atm_dev *dev, unsigned int cmd, void __user *arg); 104 static int he_proc_read(struct atm_dev *dev,loff_t *pos,char *page); 105 static int he_start(struct atm_dev *dev); 107 static void he_phy_put(struct atm_dev *, unsigned char, unsigned long); 108 static unsigned char he_phy_get(struct atm_dev *, unsigned long); 342 if (vcc->dev == he_dev->atm_dev && in __find_vcc() 354 struct atm_dev *atm_dev = NULL; in he_init_one() local 368 atm_dev = atm_dev_register(DEV_LABEL, &pci_dev->dev, &he_ops, -1, NULL); in he_init_one() 369 if (!atm_dev) { in he_init_one() 373 pci_set_drvdata(pci_dev, atm_dev); in he_init_one() [all …]
|
D | atmtcp.c | 114 static void atmtcp_v_dev_close(struct atm_dev *dev) in atmtcp_v_dev_close() 157 static int atmtcp_v_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in atmtcp_v_ioctl() 235 static int atmtcp_v_proc(struct atm_dev *dev,loff_t *pos,char *page) in atmtcp_v_proc() 248 struct atm_dev *atmtcp_dev; in atmtcp_c_close() 251 atmtcp_dev = (struct atm_dev *) vcc->dev_data; in atmtcp_c_close() 263 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc() 285 struct atm_dev *dev; in atmtcp_c_send() 352 static struct atm_dev atmtcp_control_dev = { 360 static int atmtcp_create(int itf,int persist,struct atm_dev **result) in atmtcp_create() 363 struct atm_dev *dev; in atmtcp_create() [all …]
|
D | firestream.h | 460 struct atm_dev *atm_dev; member 486 #define FS_DEV(atm_dev) ((struct fs_dev *) (atm_dev)->dev_data) argument
|
D | horizon.c | 2002 u8 * esi = dev->atm_dev->esi; in hrz_init() 2531 static int hrz_ioctl (struct atm_dev * atm_dev, unsigned int cmd, void *arg) { 2532 hrz_dev * dev = HRZ_DEV(atm_dev); 2537 unsigned char hrz_phy_get (struct atm_dev * atm_dev, unsigned long addr) { 2538 hrz_dev * dev = HRZ_DEV(atm_dev); 2543 static void hrz_phy_put (struct atm_dev * atm_dev, unsigned char value, 2545 hrz_dev * dev = HRZ_DEV(atm_dev); 2558 static int hrz_proc_read (struct atm_dev * atm_dev, loff_t * pos, char * page) { in hrz_proc_read() argument 2559 hrz_dev * dev = HRZ_DEV(atm_dev); in hrz_proc_read() 2655 dev->atm_dev = atm_dev_register(DEV_LABEL, &pci_dev->dev, &hrz_ops, -1, in hrz_probe() [all …]
|
D | zatm.c | 123 static struct atm_dev *zatm_boards = NULL; 180 static void refill_pool(struct atm_dev *dev,int pool) in refill_pool() 258 static void drain_free(struct atm_dev *dev,int pool) in drain_free() 280 static void use_pool(struct atm_dev *dev,int pool) in use_pool() 308 static void unuse_pool(struct atm_dev *dev,int pool) in unuse_pool() 361 static void poll_rx(struct atm_dev *dev,int mbx) in poll_rx() 600 static int start_rx(struct atm_dev *dev) in start_rx() 744 static void poll_tx(struct atm_dev *dev,int mbx) in poll_tx() 789 static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) in alloc_shaper() 853 static void dealloc_shaper(struct atm_dev *dev,int shaper) in dealloc_shaper() [all …]
|
D | horizon.h | 419 struct atm_dev * atm_dev; member 465 #define HRZ_DEV(atm_dev) ((hrz_dev *) (atm_dev)->dev_data) argument
|
D | eni.c | 151 static struct atm_dev *eni_boards = NULL; 172 static void dump(struct atm_dev *dev) in dump() 309 struct atm_dev *dev; in rx_ident_err() 651 static void poll_rx(struct atm_dev *dev) in poll_rx() 676 static void get_service(struct atm_dev *dev) in get_service() 720 static void dequeue_rx(struct atm_dev *dev) in dequeue_rx() 899 static int start_rx(struct atm_dev *dev) in start_rx() 1180 static void poll_tx(struct atm_dev *dev) in poll_tx() 1204 static void dequeue_tx(struct atm_dev *dev) in dequeue_tx() 1431 static int start_tx(struct atm_dev *dev) in start_tx() [all …]
|
D | firestream.c | 1223 static int fs_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) 1249 static void fs_phy_put(struct atm_dev *dev,unsigned char value, 1257 static unsigned char fs_phy_get(struct atm_dev *dev,unsigned long addr) 1769 dev->atm_dev->ci_range.vpi_bits = 12; in fs_init() 1770 dev->atm_dev->ci_range.vci_bits = 16; in fs_init() 1778 dev->atm_dev->ci_range.vpi_bits = FS155_VPI_BITS; in fs_init() 1779 dev->atm_dev->ci_range.vci_bits = FS155_VCI_BITS; in fs_init() 1880 dev->atm_dev->dev_data = dev; in fs_init() 1892 struct atm_dev *atm_dev; in firestream_init_one() local 1903 atm_dev = atm_dev_register("fs", &pci_dev->dev, &ops, -1, NULL); in firestream_init_one() [all …]
|
D | suni.h | 235 struct atm_dev *dev; /* device back-pointer */ 239 int suni_init(struct atm_dev *dev);
|
D | ambassador.h | 630 struct atm_dev * atm_dev; member 637 #define AMB_DEV(atm_dev) ((amb_dev *) (atm_dev)->dev_data) argument
|
/kernel/linux/linux-5.10/include/linux/ |
D | atmdev.h | 101 struct atm_dev *dev; /* device back pointer */ 147 struct atm_dev { struct 180 void (*dev_close)(struct atm_dev *dev); argument 183 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); 185 int (*compat_ioctl)(struct atm_dev *dev,unsigned int cmd, 190 void (*phy_put)(struct atm_dev *dev,unsigned char value, 192 unsigned char (*phy_get)(struct atm_dev *dev,unsigned long addr); 194 int (*proc_read)(struct atm_dev *dev,loff_t *pos,char *page); 199 int (*start)(struct atm_dev *dev); 200 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); [all …]
|
/kernel/linux/linux-5.10/net/atm/ |
D | resources.h | 30 int atm_proc_dev_register(struct atm_dev *dev); 31 void atm_proc_dev_deregister(struct atm_dev *dev); 35 static inline int atm_proc_dev_register(struct atm_dev *dev) in atm_proc_dev_register() 40 static inline void atm_proc_dev_deregister(struct atm_dev *dev) in atm_proc_dev_deregister() 47 int atm_register_sysfs(struct atm_dev *adev, struct device *parent); 48 void atm_unregister_sysfs(struct atm_dev *adev);
|
D | atm_sysfs.c | 12 #define to_atm_dev(cldev) container_of(cldev, struct atm_dev, class_dev) 17 struct atm_dev *adev = to_atm_dev(cdev); in show_type() 25 struct atm_dev *adev = to_atm_dev(cdev); in show_address() 34 struct atm_dev *adev = to_atm_dev(cdev); in show_atmaddress() 56 struct atm_dev *adev = to_atm_dev(cdev); in show_atmindex() 64 struct atm_dev *adev = to_atm_dev(cdev); in show_carrier() 73 struct atm_dev *adev = to_atm_dev(cdev); in show_link_rate() 113 struct atm_dev *adev; in atm_uevent() 130 struct atm_dev *adev = to_atm_dev(cdev); in atm_release() 141 int atm_register_sysfs(struct atm_dev *adev, struct device *parent) in atm_register_sysfs() [all …]
|
D | resources.c | 35 static struct atm_dev *__alloc_atm_dev(const char *type) in __alloc_atm_dev() 37 struct atm_dev *dev; in __alloc_atm_dev() 52 static struct atm_dev *__atm_dev_lookup(int number) in __atm_dev_lookup() 54 struct atm_dev *dev; in __atm_dev_lookup() 58 dev = list_entry(p, struct atm_dev, dev_list); in __atm_dev_lookup() 67 struct atm_dev *atm_dev_lookup(int number) in atm_dev_lookup() 69 struct atm_dev *dev; in atm_dev_lookup() 78 struct atm_dev *atm_dev_register(const char *type, struct device *parent, in atm_dev_register() 82 struct atm_dev *dev, *inuse; in atm_dev_register() 139 void atm_dev_deregister(struct atm_dev *dev) in atm_dev_deregister() [all …]
|
D | addr.h | 13 void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type); 14 int atm_add_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, 16 int atm_del_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, 18 int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user *buf,
|
D | addr.c | 40 static void notify_sigd(const struct atm_dev *dev) in notify_sigd() 48 void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t atype) in atm_reset_addr() 68 int atm_add_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, in atm_add_addr() 103 int atm_del_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, in atm_del_addr() 133 int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user * buf, in atm_get_addr()
|
D | proc.c | 53 static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev) in atm_dev_info() 233 struct atm_dev *dev = list_entry(v, struct atm_dev, dev_list); in atm_dev_seq_show() 318 struct atm_dev *dev; in proc_dev_atm_read() 348 int atm_proc_dev_register(struct atm_dev *dev) in atm_proc_dev_register() 373 void atm_proc_dev_deregister(struct atm_dev *dev) in atm_proc_dev_deregister()
|
/kernel/linux/linux-5.10/drivers/usb/atm/ |
D | usbatm.c | 155 static void usbatm_atm_dev_close(struct atm_dev *atm_dev); 158 static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user *arg); 160 static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page); 719 static void usbatm_atm_dev_close(struct atm_dev *atm_dev) in usbatm_atm_dev_close() argument 721 struct usbatm_data *instance = atm_dev->dev_data; in usbatm_atm_dev_close() 726 atm_dev->dev_data = NULL; /* catch bugs */ in usbatm_atm_dev_close() 730 static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page) in usbatm_atm_proc_read() argument 732 struct usbatm_data *instance = atm_dev->dev_data; in usbatm_atm_proc_read() 742 return sprintf(page, "MAC: %pM\n", atm_dev->esi); in usbatm_atm_proc_read() 747 atomic_read(&atm_dev->stats.aal5.tx), in usbatm_atm_proc_read() [all …]
|
D | usbatm.h | 41 (instance)->atm_dev->number , ## arg) 51 (instance)->atm_dev->number, ##__VA_ARGS__) 54 (instance)->atm_dev->number, ##__VA_ARGS__) 87 int (*atm_start) (struct usbatm_data *, struct atm_dev *); 90 void (*atm_stop) (struct usbatm_data *, struct atm_dev *); 136 struct atm_dev *atm_dev; member
|
D | speedtch.c | 489 struct atm_dev *atm_dev = usbatm->atm_dev; in speedtch_check_status() local 514 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in speedtch_check_status() 522 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_UNKNOWN); in speedtch_check_status() 527 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in speedtch_check_status() 542 atm_dev->link_rate = down_speed * 1000 / 424; in speedtch_check_status() 543 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_FOUND); in speedtch_check_status() 551 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_UNKNOWN); in speedtch_check_status() 647 static int speedtch_atm_start(struct usbatm_data *usbatm, struct atm_dev *atm_dev) in speedtch_atm_start() argument 657 memset(atm_dev->esi, 0, sizeof(atm_dev->esi)); in speedtch_atm_start() 660 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start() [all …]
|
D | cxacru.c | 309 if (instance == NULL || instance->usbatm->atm_dev == NULL) in mac_address_show() 312 return sprintf(buf, "%pM\n", instance->usbatm->atm_dev->esi); in mac_address_show() 770 struct atm_dev *atm_dev) in cxacru_atm_start() argument 781 atm_dev->esi, sizeof(atm_dev->esi)); in cxacru_atm_start() 813 printk(KERN_INFO "%s%d: %s %pM\n", atm_dev->type, atm_dev->number, in cxacru_atm_start() 814 usbatm_instance->description, atm_dev->esi); in cxacru_atm_start() 827 struct atm_dev *atm_dev = usbatm->atm_dev; in cxacru_poll_status() local 874 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() 879 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() 884 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() [all …]
|