Home
last modified time | relevance | path

Searched refs:atm_vcc (Results 1 – 25 of 25) sorted by relevance

/drivers/atm/
Dfirestream.c780 struct atm_vcc *atm_vcc; in process_incoming() local
801 atm_vcc = dev->atm_vccs[channo]; in process_incoming()
803 atm_vcc = NULL; in process_incoming()
810 if (atm_vcc) { in process_incoming()
818 ATM_SKB(skb)->vcc = atm_vcc; in process_incoming()
819 atomic_inc(&atm_vcc->stats->rx); in process_incoming()
822 atm_vcc->push (atm_vcc, skb); in process_incoming()
839 if (atm_vcc) in process_incoming()
840 atomic_inc(&atm_vcc->stats->rx_drop); in process_incoming()
844 if (atm_vcc) in process_incoming()
[all …]
Datmtcp.c17 extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
24 struct atm_vcc *vcc; /* control VCC; NULL if detached */
42 static int atmtcp_send_control(struct atm_vcc *vcc,int type, in atmtcp_send_control()
46 struct atm_vcc *out_vcc; in atmtcp_send_control()
68 *(struct atm_vcc **) &new_msg->vcc = vcc; in atmtcp_send_control()
90 struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc; in atmtcp_recv_control()
119 static int atmtcp_v_open(struct atm_vcc *vcc) in atmtcp_v_open()
143 static void atmtcp_v_close(struct atm_vcc *vcc) in atmtcp_v_close()
159 struct atm_vcc *vcc; in atmtcp_v_ioctl()
190 static int atmtcp_v_send(struct atm_vcc *vcc,struct sk_buff *skb) in atmtcp_v_send()
[all …]
Dhorizon.c1035 struct atm_vcc * vcc = ATM_SKB(skb)->vcc; in rx_schedule()
1315 struct atm_vcc * atm_vcc; in rx_data_av_handler() local
1319 atm_vcc = dev->rxer[rx_channel]; in rx_data_av_handler()
1323 if (atm_vcc) { in rx_data_av_handler()
1325 if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) { in rx_data_av_handler()
1327 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_data_av_handler()
1329 struct sk_buff * skb = atm_alloc_charge (atm_vcc, rx_len, GFP_ATOMIC); in rx_data_av_handler()
1338 ATM_SKB(skb)->vcc = atm_vcc; in rx_data_av_handler()
1586 static int hrz_send (struct atm_vcc * atm_vcc, struct sk_buff * skb) { in hrz_send() argument
1589 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_send()
[all …]
Dambassador.c482 struct atm_vcc * atm_vcc = dev->rxer[vc]; in rx_complete() local
485 if (atm_vcc) { in rx_complete()
487 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_complete()
489 if (atm_charge (atm_vcc, skb->truesize)) { in rx_complete()
492 ATM_SKB(skb)->vcc = atm_vcc; in rx_complete()
498 atomic_inc(&atm_vcc->stats->rx); in rx_complete()
501 atm_vcc->push (atm_vcc, skb); in rx_complete()
513 atomic_inc(&atm_vcc->stats->rx_drop); in rx_complete()
1013 static int amb_open (struct atm_vcc * atm_vcc) in amb_open() argument
1024 amb_dev * dev = AMB_DEV(atm_vcc->dev); in amb_open()
[all …]
Deni.h53 int (*rx)(struct atm_vcc *vcc); /* RX function, NULL if none */
63 struct atm_vcc *next; /* next pending RX */
97 struct atm_vcc *fast,*last_fast;/* queues of VCCs with pending PDUs */
98 struct atm_vcc *slow,*last_slow;
99 struct atm_vcc **rx_map; /* for fast lookups */
Deni.c308 #define ENI_VCC_NOS ((struct atm_vcc *) 1)
311 static void rx_ident_err(struct atm_vcc *vcc) in rx_ident_err()
342 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, in do_rx_dma()
489 static void discard(struct atm_vcc *vcc,unsigned long size) in discard()
507 static int rx_aal0(struct atm_vcc *vcc) in rx_aal0()
544 static int rx_aal5(struct atm_vcc *vcc) in rx_aal5()
613 static inline int rx_vcc(struct atm_vcc *vcc) in rx_vcc()
655 struct atm_vcc *curr; in poll_rx()
680 struct atm_vcc *vcc; in get_service()
725 struct atm_vcc *vcc; in dequeue_rx()
[all …]
Dadummy.c89 adummy_open(struct atm_vcc *vcc) in adummy_open()
104 adummy_close(struct atm_vcc *vcc) in adummy_close()
111 adummy_send(struct atm_vcc *vcc, struct sk_buff *skb) in adummy_send()
Dzatm.c316 static void exception(struct atm_vcc *vcc)
372 struct atm_vcc *vcc; in poll_rx()
482 static int open_rx_first(struct atm_vcc *vcc) in open_rx_first()
534 static int open_rx_second(struct atm_vcc *vcc) in open_rx_second()
556 static void close_rx(struct atm_vcc *vcc) in close_rx()
605 size = sizeof(struct atm_vcc *)*zatm_dev->chans; in start_rx()
631 struct atm_vcc *vcc; in do_tx()
709 static inline void dequeue_tx(struct atm_vcc *vcc) in dequeue_tx()
868 static void close_tx(struct atm_vcc *vcc) in close_tx()
912 static int open_tx_first(struct atm_vcc *vcc) in open_tx_first()
[all …]
Dzatm.h70 struct atm_vcc **tx_map; /* TX VCCs */
71 struct atm_vcc **rx_map; /* RX VCCs */
Dfirestream.h489 struct atm_vcc **atm_vccs;
503 #define FS_VCC(atm_vcc) ((struct fs_vcc *) (atm_vcc)->dev_data) argument
Dsolos-pci.c101 struct atm_vcc *vcc;
172 struct atm_vcc *vcc);
175 static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci);
182 static inline void solos_pop(struct atm_vcc *vcc, struct sk_buff *skb) in solos_pop()
781 struct atm_vcc *vcc; in solos_bh()
895 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc()
898 struct atm_vcc *vcc = NULL; in find_vcc()
916 static int popen(struct atm_vcc *vcc) in popen()
949 static void pclose(struct atm_vcc *vcc) in pclose()
1027 struct atm_vcc *vcc) in fpga_queue()
[all …]
Dhorizon.h445 struct atm_vcc * rxer[MAX_VCS];
481 #define HRZ_VCC(atm_vcc) ((hrz_vcc *) (atm_vcc)->dev_data) argument
Dambassador.h639 struct atm_vcc * rxer[NUM_VCS];
653 #define AMB_VCC(atm_vcc) ((amb_vcc *) (atm_vcc)->dev_data) argument
Didt77252.c122 static int idt77252_open(struct atm_vcc *vcc);
123 static void idt77252_close(struct atm_vcc *vcc);
124 static int idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb);
125 static int idt77252_send_oam(struct atm_vcc *vcc, void *cell,
130 static int idt77252_change_qos(struct atm_vcc *vcc, struct atm_qos *qos,
549 struct atm_vcc *vcc; in idt77252_tx_dump()
672 struct atm_vcc *vcc; in free_scq()
724 struct atm_vcc *vcc = vc->tx_vcc; in push_on_scq()
796 struct atm_vcc *vcc; in drain_scq()
834 struct atm_vcc *vcc; in queue_skb()
[all …]
Diphase.c234 static void clear_lockup (struct atm_vcc *vcc, IADEV *dev) { in clear_lockup()
375 struct atm_vcc *vcc, u8 flag) in ia_open_abr_vc()
459 static int ia_cbr_setup (IADEV *dev, struct atm_vcc *vcc) { in ia_cbr_setup()
574 static void ia_cbrVc_close (struct atm_vcc *vcc) { in ia_cbrVc_close()
610 static int ia_pkt_tx (struct atm_vcc *vcc, struct sk_buff *skb);
615 struct atm_vcc *vcc; in ia_que_tx()
638 struct atm_vcc *vcc = NULL; in ia_tx_poll()
1095 struct atm_vcc *vcc;
1272 struct atm_vcc *vcc;
1372 static int open_rx(struct atm_vcc *vcc)
[all …]
Dlanai.c237 struct atm_vcc *atmvcc; /* atm_vcc who is receiver */
241 struct atm_vcc *atmvcc; /* atm_vcc who is transmitter */
293 struct atm_vcc *cbrvcc;
695 static inline void lanai_free_skb(struct atm_vcc *atmvcc, struct sk_buff *skb) in lanai_free_skb()
2007 const struct atm_vcc *atmvcc) in vci_is_ok()
2036 const struct atm_vcc *atmvcc, short *vpip, vci_t *vcip) in lanai_normalize_ci()
2289 static void lanai_close(struct atm_vcc *atmvcc) in lanai_close()
2325 static int lanai_open(struct atm_vcc *atmvcc) in lanai_open()
2407 static int lanai_send(struct atm_vcc *atmvcc, struct sk_buff *skb) in lanai_send()
2449 static int lanai_change_qos(struct atm_vcc *atmvcc, in lanai_change_qos()
Dfore200e.c857 struct atm_vcc* vcc; in fore200e_tx_irq()
1050 fore200e_push_rpd(struct fore200e* fore200e, struct atm_vcc* vcc, struct rpd* rpd) in fore200e_push_rpd()
1181 struct atm_vcc* vcc; in fore200e_rx_irq()
1302 fore200e_select_scheme(struct atm_vcc* vcc) in fore200e_select_scheme()
1315 fore200e_activate_vcin(struct fore200e* fore200e, int activate, struct atm_vcc* vcc, int mtu) in fore200e_activate_vcin()
1396 fore200e_open(struct atm_vcc *vcc) in fore200e_open()
1505 fore200e_close(struct atm_vcc* vcc) in fore200e_close()
1555 fore200e_send(struct atm_vcc *vcc, struct sk_buff *skb) in fore200e_send()
1786 fore200e_getsockopt(struct atm_vcc* vcc, int level, int optname, void __user *optval, int optlen) in fore200e_getsockopt()
1798 fore200e_setsockopt(struct atm_vcc* vcc, int level, int optname, void __user *optval, unsigned int … in fore200e_setsockopt()
[all …]
Didt77252.h211 struct atm_vcc *tx_vcc;
212 struct atm_vcc *rx_vcc;
Dhe.c98 static int he_open(struct atm_vcc *vcc);
99 static void he_close(struct atm_vcc *vcc);
100 static int he_send(struct atm_vcc *vcc, struct sk_buff *skb);
327 static __inline__ struct atm_vcc*
331 struct atm_vcc *vcc; in __find_vcc()
1657 struct atm_vcc *vcc = NULL; in he_service_rbrq()
2126 he_open(struct atm_vcc *vcc) in he_open()
2339 he_close(struct atm_vcc *vcc) in he_close()
2497 he_send(struct atm_vcc *vcc, struct sk_buff *skb) in he_send()
Dhe.h134 struct atm_vcc *vcc;
241 struct atm_vcc *vcc;
Dnicstar.c127 static void free_scq(ns_dev *card, scq_info * scq, struct atm_vcc *vcc);
130 static int ns_open(struct atm_vcc *vcc);
131 static void ns_close(struct atm_vcc *vcc);
133 static int ns_send(struct atm_vcc *vcc, struct sk_buff *skb);
909 static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc) in free_scq()
1235 static int ns_open(struct atm_vcc *vcc) in ns_open()
1417 static void ns_close(struct atm_vcc *vcc) in ns_close()
1630 static int ns_send(struct atm_vcc *vcc, struct sk_buff *skb) in ns_send()
1913 struct atm_vcc *vcc; in drain_scq()
1977 struct atm_vcc *vcc; in dequeue_rx()
Dnicstar.h699 struct atm_vcc *tx_vcc, *rx_vcc;
Dfore200e.h827 struct atm_vcc* vcc; /* vcc entry */
Diphase.h1016 struct atm_vcc **rx_open; /* list of all open VCs */
/drivers/usb/atm/
Dusbatm.c150 struct atm_vcc *vcc;
171 static int usbatm_atm_open(struct atm_vcc *vcc);
172 static void usbatm_atm_close(struct atm_vcc *vcc);
174 static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb);
198 static inline void usbatm_pop(struct atm_vcc *vcc, struct sk_buff *skb) in usbatm_pop()
308 struct atm_vcc *vcc; in usbatm_extract_one_cell()
478 struct atm_vcc *vcc = ctrl->atm.vcc; in usbatm_write_cells()
623 struct atm_vcc *vcc = UDSL_SKB(skb)->atm.vcc; in usbatm_tx_process()
644 struct atm_vcc *vcc) in usbatm_cancel_send()
669 static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb) in usbatm_atm_send()
[all …]