/linux-6.6.21/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 | 59 struct atm_dev *dev; in suni_hz() 95 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats() 115 static int change_diag(struct atm_dev *dev,void __user *arg,int set) in change_diag() 135 static int get_diag(struct atm_dev *dev,void __user *arg) in get_diag() 152 static int set_loopback(struct atm_dev *dev,int mode) in set_loopback() 195 static int set_sonet(struct atm_dev *dev) in set_sonet() 209 static int set_sdh(struct atm_dev *dev) in set_sdh() 224 static int get_framing(struct atm_dev *dev, void __user *arg) in get_framing() 239 static int set_framing(struct atm_dev *dev, void __user *arg) in set_framing() 255 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 | 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 | 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() 1182 static void poll_tx(struct atm_dev *dev) in poll_tx() 1206 static void dequeue_tx(struct atm_dev *dev) in dequeue_tx() 1433 static int start_tx(struct atm_dev *dev) in start_tx() [all …]
|
D | suni.h | 235 struct atm_dev *dev; /* device back-pointer */ 239 int suni_init(struct atm_dev *dev);
|
D | fore200e.c | 378 free_irq(fore200e->irq, fore200e->atm_dev); in fore200e_shutdown() 421 atm_dev_deregister(fore200e->atm_dev); in fore200e_shutdown() 456 DPRINTK(2,"FIFO OUT full, device %d\n", fore200e->atm_dev->number); in fore200e_pca_irq_check() 803 fore200e->atm_dev->number); in fore200e_tx_irq() 826 fore200e->atm_dev->number); in fore200e_tx_irq() 1106 fore200e->atm_dev->number, in fore200e_rx_irq() 1119 fore200e->atm_dev->number, in fore200e_rx_irq() 1158 struct fore200e* fore200e = FORE200E_DEV((struct atm_dev*)dev); in fore200e_interrupt() 1162 DPRINTK(3, "interrupt NOT triggered by device %d\n", fore200e->atm_dev->number); in fore200e_interrupt() 1165 DPRINTK(3, "interrupt triggered by device %d\n", fore200e->atm_dev->number); in fore200e_interrupt() [all …]
|
D | solos-pci.c | 111 struct atm_dev *atmdev[4]; 166 static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci); 184 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in solos_param_show() 239 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in solos_param_store() 447 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in console_show() 497 struct atm_dev *atmdev = container_of(dev, struct atm_dev, class_dev); in console_store() 897 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc()
|
D | iphase.c | 74 static unsigned char ia_phy_get(struct atm_dev *dev, unsigned long addr); 78 static struct atm_dev *_ia_dev[8]; 1014 static struct atm_dev *ia_boards = NULL; 1054 static void rx_excp_rcvd(struct atm_dev *dev) 1083 static void free_desc(struct atm_dev *dev, int desc) 1095 static int rx_pkt(struct atm_dev *dev) 1210 static void rx_intr(struct atm_dev *dev) 1272 static void rx_dle_intr(struct atm_dev *dev) 1419 static int rx_init(struct atm_dev *dev) 1659 static void tx_intr(struct atm_dev *dev) [all …]
|
D | idt77105.h | 80 int idt77105_init(struct atm_dev *dev);
|
/linux-6.6.21/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, 191 void (*phy_put)(struct atm_dev *dev,unsigned char value, 193 unsigned char (*phy_get)(struct atm_dev *dev,unsigned long addr); 195 int (*proc_read)(struct atm_dev *dev,loff_t *pos,char *page); 200 int (*start)(struct atm_dev *dev); 201 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); [all …]
|
/linux-6.6.21/net/atm/ |
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 type_show() 25 struct atm_dev *adev = to_atm_dev(cdev); in address_show() 34 struct atm_dev *adev = to_atm_dev(cdev); in atmaddress_show() 56 struct atm_dev *adev = to_atm_dev(cdev); in atmindex_show() 64 struct atm_dev *adev = to_atm_dev(cdev); in carrier_show() 73 struct atm_dev *adev = to_atm_dev(cdev); in link_rate_show() 113 const 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.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 | 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 | 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() 65 struct atm_dev *atm_dev_lookup(int number) in atm_dev_lookup() 67 struct atm_dev *dev; in atm_dev_lookup() 76 struct atm_dev *atm_dev_register(const char *type, struct device *parent, in atm_dev_register() 80 struct atm_dev *dev, *inuse; in atm_dev_register() 137 void atm_dev_deregister(struct atm_dev *dev) in atm_dev_deregister() 175 static int fetch_stats(struct atm_dev *dev, struct atm_dev_stats __user *arg, in fetch_stats() [all …]
|
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()
|
D | common.h | 54 void atm_dev_release_vccs(struct atm_dev *dev);
|
D | common.c | 245 void atm_dev_signal_change(struct atm_dev *dev, char signal) in atm_dev_signal_change() 262 void atm_dev_release_vccs(struct atm_dev *dev) in atm_dev_release_vccs() 382 static int __vcc_connect(struct atm_vcc *vcc, struct atm_dev *dev, short vpi, in __vcc_connect() 464 struct atm_dev *dev; in vcc_connect() 503 struct atm_dev, dev_list); in vcc_connect()
|
/linux-6.6.21/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() 824 struct atm_dev *atm_dev = usbatm->atm_dev; in cxacru_poll_status() local 871 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() 876 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() 881 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() 886 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() 891 atm_dev_signal_change(atm_dev, ATM_PHY_SIG_LOST); in cxacru_poll_status() [all …]
|
D | xusbatm.c | 149 struct atm_dev *atm_dev) in xusbatm_atm_start() argument 154 eth_random_addr(atm_dev->esi); in xusbatm_atm_start()
|