Home
last modified time | relevance | path

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

12345678910>>...22

/linux/net/atm/
H A Draw.c23 static void atm_push_raw(struct atm_vcc *vcc, struct sk_buff *skb) in atm_push_raw() argument
26 struct sock *sk = sk_atm(vcc); in atm_push_raw()
33 static void atm_pop_raw(struct atm_vcc *vcc, struct sk_buff *skb) in atm_pop_raw() argument
35 struct sock *sk = sk_atm(vcc); in atm_pop_raw()
38 vcc->vci, sk_wmem_alloc_get(sk), ATM_SKB(skb)->acct_truesize); in atm_pop_raw()
39 atm_return_tx(vcc, skb); in atm_pop_raw()
44 static int atm_send_aal0(struct atm_vcc *vcc, struct sk_buff *skb) in atm_send_aal0() argument
52 ((vcc->vpi << ATM_HDR_VPI_SHIFT) | in atm_send_aal0()
53 (vcc->vci << ATM_HDR_VCI_SHIFT))) { in atm_send_aal0()
57 if (vcc->dev->ops->send_bh) in atm_send_aal0()
[all …]
H A Dcommon.c45 struct atm_vcc *vcc = atm_sk(sk); in __vcc_insert_socket() local
46 struct hlist_head *head = &vcc_hash[vcc->vci & (VCC_HTABLE_SIZE - 1)]; in __vcc_insert_socket()
47 sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1); in __vcc_insert_socket()
66 static bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size) in vcc_tx_ready() argument
68 struct sock *sk = sk_atm(vcc); in vcc_tx_ready()
70 if (sk_wmem_alloc_get(sk) && !atm_may_send(vcc, size)) { in vcc_tx_ready()
102 struct atm_vcc *vcc = atm_sk(sk); in vcc_writable() local
104 return (vcc->qos.txtp.max_sdu + in vcc_writable()
127 struct atm_vcc *vcc = atm_sk(sk); in vcc_release_cb() local
129 if (vcc in vcc_release_cb()
143 struct atm_vcc *vcc; vcc_create() local
175 struct atm_vcc *vcc = atm_sk(sk); vcc_destroy_socket() local
213 vcc_release_async(struct atm_vcc * vcc,int reply) vcc_release_async() argument
225 vcc_process_recv_queue(struct atm_vcc * vcc) vcc_process_recv_queue() argument
271 struct atm_vcc *vcc; atm_dev_release_vccs() local
313 check_ci(const struct atm_vcc * vcc,short vpi,int vci) check_ci() argument
338 find_ci(const struct atm_vcc * vcc,short * vpi,int * vci) find_ci() argument
382 __vcc_connect(struct atm_vcc * vcc,struct atm_dev * dev,short vpi,int vci) __vcc_connect() argument
465 struct atm_vcc *vcc = ATM_SD(sock); vcc_connect() local
526 struct atm_vcc *vcc; vcc_recvmsg() local
572 struct atm_vcc *vcc; vcc_sendmsg() local
664 struct atm_vcc *vcc; vcc_poll() local
696 atm_change_qos(struct atm_vcc * vcc,struct atm_qos * qos) atm_change_qos() argument
760 struct atm_vcc *vcc; vcc_setsockopt() local
802 struct atm_vcc *vcc; vcc_getsockopt() local
[all...]
H A Dsignaling.c26 * find_get_vcc - validate and get a reference to a vcc pointer in sigd_put_skb()
27 * @vcc: the vcc pointer to validate in sigd_put_skb()
29 * This function validates that @vcc points to a registered VCC in vcc_hash. in sigd_put_skb()
30 * If found, it increments the socket reference count and returns the vcc. in sigd_put_skb()
31 * The caller must call sock_put(sk_atm(vcc)) when done. in sigd_put_skb()
33 * Returns the vcc pointer if valid, NULL otherwise. in sigd_put_skb()
35 static struct atm_vcc *find_get_vcc(struct atm_vcc *vcc) in sigd_put_skb()
44 if (atm_sk(s) == vcc) { in modify_qos()
47 return vcc; in modify_qos()
37 modify_qos(struct atm_vcc * vcc,struct atmsvc_msg * msg) modify_qos() argument
64 sigd_send(struct atm_vcc * vcc,struct sk_buff * skb) sigd_send() argument
142 sigd_enq2(struct atm_vcc * vcc,enum atmsvc_msg_type type,struct atm_vcc * listen_vcc,const struct sockaddr_atmpvc * pvc,const struct sockaddr_atmsvc * svc,const struct atm_qos * qos,int reply) sigd_enq2() argument
179 sigd_enq(struct atm_vcc * vcc,enum atmsvc_msg_type type,struct atm_vcc * listen_vcc,const struct sockaddr_atmpvc * pvc,const struct sockaddr_atmsvc * svc) sigd_enq() argument
187 purge_vcc(struct atm_vcc * vcc) purge_vcc() argument
197 sigd_close(struct atm_vcc * vcc) sigd_close() argument
233 sigd_attach(struct atm_vcc * vcc) sigd_attach() argument
[all...]
H A Dsvc.c51 static void svc_disconnect(struct atm_vcc *vcc) in svc_disconnect() argument
55 struct sock *sk = sk_atm(vcc); in svc_disconnect()
57 pr_debug("%p\n", vcc); in svc_disconnect()
58 if (test_bit(ATM_VF_REGIS, &vcc->flags)) { in svc_disconnect()
59 sigd_enq(vcc, as_close, NULL, NULL, NULL); in svc_disconnect()
62 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) in svc_disconnect()
71 atm_return(vcc, skb->truesize); in svc_disconnect()
73 sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0); in svc_disconnect()
76 clear_bit(ATM_VF_REGIS, &vcc in svc_disconnect()
83 struct atm_vcc *vcc; svc_release() local
106 struct atm_vcc *vcc; svc_bind() local
162 struct atm_vcc *vcc = ATM_SD(sock); svc_connect() local
291 struct atm_vcc *vcc = ATM_SD(sock); svc_listen() local
437 svc_change_qos(struct atm_vcc * vcc,struct atm_qos * qos) svc_change_qos() argument
462 struct atm_vcc *vcc = ATM_SD(sock); svc_setsockopt() local
536 struct atm_vcc *vcc = ATM_SD(sock); svc_addparty() local
565 struct atm_vcc *vcc = ATM_SD(sock); svc_dropparty() local
592 struct atm_vcc *vcc = ATM_SD(sock); svc_ioctl() local
[all...]
H A Dclip.c57 struct atm_vcc *vcc; in to_atmarpd() local
64 vcc = rcu_dereference(atmarpd); in to_atmarpd()
65 if (!vcc) { in to_atmarpd()
78 atm_force_charge(vcc, skb->truesize); in to_atmarpd()
80 sk = sk_atm(vcc); in to_atmarpd()
127 pr_err("ATMARP: failed (entry %p, vcc 0x%p)\n", entry, clip_vcc); in unlink_clip_vcc()
144 pr_debug("releasing vcc %p->%p of entry %p\n", in neigh_check_cb()
145 cv, cv->vcc, entry); in neigh_check_cb()
146 vcc_release_async(cv->vcc, -ETIMEDOUT); in neigh_check_cb()
179 struct atm_vcc *vcc; in clip_arp_rcv() local
202 clip_push(struct atm_vcc * vcc,struct sk_buff * skb) clip_push() argument
256 clip_pop(struct atm_vcc * vcc,struct sk_buff * skb) clip_pop() argument
330 clip_encap(struct atm_vcc * vcc,int mode) clip_encap() argument
346 struct atm_vcc *vcc; clip_start_xmit() local
426 clip_mkip(struct atm_vcc * vcc,int timeout) clip_mkip() argument
457 clip_setentry(struct atm_vcc * vcc,__be32 ip) clip_setentry() argument
620 atmarpd_close(struct atm_vcc * vcc) atmarpd_close() argument
635 atmarpd_send(struct atm_vcc * vcc,struct sk_buff * skb) atmarpd_send() argument
656 atm_init_atmarp(struct atm_vcc * vcc) atm_init_atmarp() argument
684 struct atm_vcc *vcc = ATM_SD(sock); clip_ioctl() local
817 struct clip_vcc *vcc; global() member
840 struct clip_vcc *vcc = state->vcc; clip_seq_vcc_walk() local
883 struct clip_vcc *vcc = state->vcc; clip_seq_show() local
[all...]
H A Dproc.c141 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) in pvc_info() argument
152 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
153 vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" : in pvc_info()
154 aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr, in pvc_info()
155 class_name[vcc->qos.rxtp.traffic_class], in pvc_info()
156 vcc->qos.txtp.min_pcr, in pvc_info()
157 class_name[vcc->qos.txtp.traffic_class]); in pvc_info()
158 if (test_bit(ATM_VF_IS_CLIP, &vcc->flags)) { in pvc_info()
159 struct clip_vcc *clip_vcc = CLIP_VCC(vcc); in pvc_info()
170 static const char *vcc_state(struct atm_vcc *vcc) in vcc_state() argument
[all …]
H A Dlec.c82 struct atm_vcc *vcc, struct sk_buff *skb);
94 static int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc);
100 struct atm_vcc *vcc,
101 void (*old_push)(struct atm_vcc *vcc,
103 static void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc);
182 lec_send(struct atm_vcc *vcc, struct sk_buff *skb) in lec_send() argument
187 ATM_SKB(skb)->vcc = vcc; in lec_send()
188 atm_account_tx(vcc, skb); in lec_send()
190 if (vcc in lec_send()
212 struct atm_vcc *vcc; lec_start_xmit() local
343 lec_atm_send(struct atm_vcc * vcc,struct sk_buff * skb) lec_atm_send() argument
469 lec_atm_close(struct atm_vcc * vcc) lec_atm_close() argument
576 lec_is_data_direct(struct atm_vcc * vcc) lec_is_data_direct() argument
582 lec_push(struct atm_vcc * vcc,struct sk_buff * skb) lec_push() argument
664 lec_pop(struct atm_vcc * vcc,struct sk_buff * skb) lec_pop() argument
683 lec_vcc_attach(struct atm_vcc * vcc,void __user * arg) lec_vcc_attach() argument
713 lec_mcast_attach(struct atm_vcc * vcc,int arg) lec_mcast_attach() argument
726 lecd_attach(struct atm_vcc * vcc,int arg) lecd_attach() argument
998 struct atm_vcc *vcc = ATM_SD(sock); lane_ioctl() local
1259 struct atm_vcc *vcc = entry->vcc; lec_arp_clear_vccs() local
1273 struct atm_vcc *vcc = entry->recv_vcc; lec_arp_clear_vccs() local
1681 struct atm_vcc *vcc = entry->vcc; lec_arp_check_expire() local
1933 lec_vcc_added(struct lec_priv * priv,const struct atmlec_ioc * ioc_data,struct atm_vcc * vcc,void (* old_push)(struct atm_vcc * vcc,struct sk_buff * skb)) lec_vcc_added() argument
1934 lec_vcc_added(struct lec_priv * priv,const struct atmlec_ioc * ioc_data,struct atm_vcc * vcc,void (* old_push)(struct atm_vcc * vcc,struct sk_buff * skb)) lec_vcc_added() argument
2078 struct atm_vcc *vcc = entry->vcc; lec_flush_complete() local
2118 lec_mcast_make(struct lec_priv * priv,struct atm_vcc * vcc) lec_mcast_make() argument
2156 lec_vcc_close(struct lec_priv * priv,struct atm_vcc * vcc) lec_vcc_close() argument
2215 lec_arp_check_empties(struct lec_priv * priv,struct atm_vcc * vcc,struct sk_buff * skb) lec_arp_check_empties() argument
[all...]
H A Datm_misc.c15 int atm_charge(struct atm_vcc *vcc, int truesize) in atm_charge() argument
17 atm_force_charge(vcc, truesize); in atm_charge()
18 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge()
20 atm_return(vcc, truesize); in atm_charge()
21 atomic_inc(&vcc->stats->rx_drop); in atm_charge()
26 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc, int pdu_size, in atm_alloc_charge() argument
29 struct sock *sk = sk_atm(vcc); in atm_alloc_charge()
32 atm_force_charge(vcc, guess); in atm_alloc_charge()
42 atm_return(vcc, guess); in atm_alloc_charge()
43 atomic_inc(&vcc->stats->rx_drop); in atm_alloc_charge()
H A Dpvc.c32 struct atm_vcc *vcc; in pvc_bind() local
41 vcc = ATM_SD(sock); in pvc_bind()
42 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in pvc_bind()
46 if (test_bit(ATM_VF_PARTIAL, &vcc->flags)) { in pvc_bind()
47 if (vcc->vpi != ATM_VPI_UNSPEC) in pvc_bind()
48 addr->sap_addr.vpi = vcc->vpi; in pvc_bind()
49 if (vcc->vci != ATM_VCI_UNSPEC) in pvc_bind()
50 addr->sap_addr.vci = vcc->vci; in pvc_bind()
93 struct atm_vcc *vcc = ATM_SD(sock); in pvc_getname() local
95 if (!vcc in pvc_getname()
[all...]
/linux/drivers/atm/
H A Datmtcp.c18 extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
25 struct atm_vcc *vcc; /* control VCC; NULL if detached */ member
43 static int atmtcp_send_control(struct atm_vcc *vcc,int type, in atmtcp_send_control() argument
53 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
58 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
68 memset(&new_msg->vcc, in atmtcp_send_control()
91 struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc; atmtcp_recv_control() local
120 atmtcp_v_open(struct atm_vcc * vcc) atmtcp_v_open() argument
144 atmtcp_v_close(struct atm_vcc * vcc) atmtcp_v_close() argument
160 struct atm_vcc *vcc; atmtcp_v_ioctl() local
191 atmtcp_v_send(struct atm_vcc * vcc,struct sk_buff * skb) atmtcp_v_send() argument
246 atmtcp_c_close(struct atm_vcc * vcc) atmtcp_c_close() argument
266 struct atm_vcc *vcc; find_vcc() local
282 atmtcp_c_pre_send(struct atm_vcc * vcc,struct sk_buff * skb) atmtcp_c_pre_send() argument
296 atmtcp_c_send(struct atm_vcc * vcc,struct sk_buff * skb) atmtcp_c_send() argument
397 atmtcp_attach(struct atm_vcc * vcc,int itf) atmtcp_attach() argument
467 struct atm_vcc *vcc = ATM_SD(sock); atmtcp_ioctl() local
[all...]
H A Deni.c307 static void rx_ident_err(struct atm_vcc *vcc) in rx_ident_err() argument
313 dev = vcc->dev; in rx_ident_err()
319 eni_vcc = ENI_VCC(vcc); in rx_ident_err()
322 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci, in rx_ident_err()
338 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, in do_rx_dma() argument
349 eni_dev = ENI_DEV(vcc->dev); in do_rx_dma()
350 eni_vcc = ENI_VCC(vcc); in do_rx_dma()
360 "mis-aligned RX data (0x%lx)\n",vcc->dev->number, in do_rx_dma()
361 vcc->vci,(unsigned long) paddr); in do_rx_dma()
364 ATM_SKB(skb)->vcc in do_rx_dma()
488 discard(struct atm_vcc * vcc,unsigned long size) discard() argument
506 rx_aal0(struct atm_vcc * vcc) rx_aal0() argument
543 rx_aal5(struct atm_vcc * vcc) rx_aal5() argument
612 rx_vcc(struct atm_vcc * vcc) rx_vcc() argument
679 struct atm_vcc *vcc; get_service() local
724 struct atm_vcc *vcc; dequeue_rx() local
775 open_rx_first(struct atm_vcc * vcc) open_rx_first() argument
804 open_rx_second(struct atm_vcc * vcc) open_rx_second() argument
835 close_rx(struct atm_vcc * vcc) close_rx() argument
1029 struct atm_vcc *vcc; do_tx() local
1209 struct atm_vcc *vcc; dequeue_tx() local
1287 reserve_or_set_tx(struct atm_vcc * vcc,struct atm_trafprm * txtp,int set_rsv,int set_shp) reserve_or_set_tx() argument
1375 open_tx_first(struct atm_vcc * vcc) open_tx_first() argument
1384 open_tx_second(struct atm_vcc * vcc) open_tx_second() argument
1390 close_tx(struct atm_vcc * vcc) close_tx() argument
1894 eni_close(struct atm_vcc * vcc) eni_close() argument
1910 eni_open(struct atm_vcc * vcc) eni_open() argument
1956 eni_change_qos(struct atm_vcc * vcc,struct atm_qos * qos,int flgs) eni_change_qos() argument
2034 eni_send(struct atm_vcc * vcc,struct sk_buff * skb) eni_send() argument
2088 struct atm_vcc *vcc; eni_proc_read() local
[all...]
H A Diphase.c206 printk("Fatal err, desc table vcc or skb is NULL\n"); in get_desc()
236 static void clear_lockup (struct atm_vcc *vcc, IADEV *dev) { in clear_lockup() argument
245 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup()
246 vcstatus = (vcstatus_t *) &(dev->testTable[vcc->vci]->vc_status); in clear_lockup()
250 abr_vc += vcc->vci; in clear_lockup()
251 eabr_vc += vcc->vci; in clear_lockup()
262 if((tempCellSlot == dev->testTable[vcc->vci]->lastTime) in clear_lockup()
263 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup()
265 dev->testTable[vcc->vci]->lastTime = tempCellSlot; in clear_lockup()
266 dev->testTable[vcc in clear_lockup()
377 ia_open_abr_vc(IADEV * dev,srv_cls_param_t * srv_p,struct atm_vcc * vcc,u8 flag) ia_open_abr_vc() argument
461 ia_cbr_setup(IADEV * dev,struct atm_vcc * vcc) ia_cbr_setup() argument
576 ia_cbrVc_close(struct atm_vcc * vcc) ia_cbrVc_close() argument
617 struct atm_vcc *vcc; ia_que_tx() local
640 struct atm_vcc *vcc = NULL; ia_tx_poll() local
1099 struct atm_vcc *vcc; global() local
1276 struct atm_vcc *vcc; global() local
1376 open_rx(struct atm_vcc * vcc) global() argument
1690 struct atm_vcc *vcc; global() local
1748 open_tx(struct atm_vcc * vcc) global() argument
2607 ia_close(struct atm_vcc * vcc) global() argument
2692 ia_open(struct atm_vcc * vcc) global() argument
2746 ia_change_qos(struct atm_vcc * vcc,struct atm_qos * qos,int flags) global() argument
2884 ia_pkt_tx(struct atm_vcc * vcc,struct sk_buff * skb) global() argument
3064 ia_send(struct atm_vcc * vcc,struct sk_buff * skb) global() argument
[all...]
H A Dfore200e.c773 struct atm_vcc* vcc; in fore200e_tx_irq() local
799 /* vcc closed since the time the entry was submitted for tx? */ in fore200e_tx_irq()
800 if ((vc_map->vcc == NULL) || in fore200e_tx_irq()
801 (test_bit(ATM_VF_READY, &vc_map->vcc->flags) == 0)) { in fore200e_tx_irq()
803 DPRINTK(1, "no ready vcc found for PDU sent on device %d\n", in fore200e_tx_irq()
809 ASSERT(vc_map->vcc); in fore200e_tx_irq()
811 /* vcc closed then immediately re-opened? */ in fore200e_tx_irq()
814 /* when a vcc is closed, some PDUs may be still pending in the tx queue. in fore200e_tx_irq()
815 if the same vcc is immediately re-opened, those pending PDUs must in fore200e_tx_irq()
817 to the prior incarnation of that vcc in fore200e_tx_irq()
961 fore200e_push_rpd(struct fore200e * fore200e,struct atm_vcc * vcc,struct rpd * rpd) fore200e_push_rpd() argument
1090 struct atm_vcc* vcc; fore200e_rx_irq() local
1211 fore200e_select_scheme(struct atm_vcc * vcc) fore200e_select_scheme() argument
1224 fore200e_activate_vcin(struct fore200e * fore200e,int activate,struct atm_vcc * vcc,int mtu) fore200e_activate_vcin() argument
1305 fore200e_open(struct atm_vcc * vcc) fore200e_open() argument
1416 fore200e_close(struct atm_vcc * vcc) fore200e_close() argument
1468 fore200e_send(struct atm_vcc * vcc,struct sk_buff * skb) fore200e_send() argument
1886 fore200e_change_qos(struct atm_vcc * vcc,struct atm_qos * qos,int flags) fore200e_change_qos() argument
2705 struct atm_vcc* vcc; fore200e_proc_read() local
[all...]
H A Dadummy.c90 adummy_open(struct atm_vcc *vcc) in adummy_open() argument
92 short vpi = vcc->vpi; in adummy_open()
93 int vci = vcc->vci; in adummy_open()
98 set_bit(ATM_VF_ADDR, &vcc->flags); in adummy_open()
99 set_bit(ATM_VF_READY, &vcc->flags); in adummy_open()
105 adummy_close(struct atm_vcc *vcc) in adummy_close() argument
107 clear_bit(ATM_VF_READY, &vcc->flags); in adummy_close()
108 clear_bit(ATM_VF_ADDR, &vcc->flags); in adummy_close()
112 adummy_send(struct atm_vcc *vcc, struct sk_buff *skb) in adummy_send() argument
114 if (vcc in adummy_send()
[all...]
H A 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);
134 static int ns_send_bh(struct atm_vcc *vcc, struct sk_buff *skb);
900 /* For variable rate SCQ vcc must be NULL */
901 static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc) in free_scq() argument
908 vcc = ATM_SKB(scq->skb[i])->vcc; in free_scq()
909 if (vcc in free_scq()
1227 ns_open(struct atm_vcc * vcc) ns_open() argument
1409 ns_close(struct atm_vcc * vcc) ns_close() argument
1622 _ns_send(struct atm_vcc * vcc,struct sk_buff * skb,bool may_sleep) _ns_send() argument
1718 ns_send(struct atm_vcc * vcc,struct sk_buff * skb) ns_send() argument
1723 ns_send_bh(struct atm_vcc * vcc,struct sk_buff * skb) ns_send_bh() argument
1917 struct atm_vcc *vcc; drain_scq() local
1981 struct atm_vcc *vcc; dequeue_rx() local
[all...]
H A 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() local
559 vcc = NULL; in idt77252_tx_dump()
561 vcc = vc->rx_vcc; in idt77252_tx_dump()
563 vcc = vc->tx_vcc; in idt77252_tx_dump()
565 if (!vcc) in idt77252_tx_dump()
671 struct atm_vcc *vcc; free_scq() local
723 struct atm_vcc *vcc = vc->tx_vcc; push_on_scq() local
795 struct atm_vcc *vcc; drain_scq() local
833 struct atm_vcc *vcc; queue_skb() local
1015 struct atm_vcc *vcc; dequeue_rx() local
1244 struct atm_vcc *vcc; idt77252_rx_raw() local
1942 idt77252_send_skb(struct atm_vcc * vcc,struct sk_buff * skb,int oam) idt77252_send_skb() argument
1992 idt77252_send(struct atm_vcc * vcc,struct sk_buff * skb) idt77252_send() argument
1998 idt77252_send_oam(struct atm_vcc * vcc,void * cell,int flags) idt77252_send_oam() argument
2137 idt77252_init_cbr(struct idt77252_dev * card,struct vc_map * vc,struct atm_vcc * vcc,struct atm_qos * qos) idt77252_init_cbr() argument
2207 idt77252_init_ubr(struct idt77252_dev * card,struct vc_map * vc,struct atm_vcc * vcc,struct atm_qos * qos) idt77252_init_ubr() argument
2243 idt77252_init_tx(struct idt77252_dev * card,struct vc_map * vc,struct atm_vcc * vcc,struct atm_qos * qos) idt77252_init_tx() argument
2321 idt77252_init_rx(struct idt77252_dev * card,struct vc_map * vc,struct atm_vcc * vcc,struct atm_qos * qos) idt77252_init_rx() argument
2384 idt77252_open(struct atm_vcc * vcc) idt77252_open() argument
2486 idt77252_close(struct atm_vcc * vcc) idt77252_close() argument
2570 idt77252_change_qos(struct atm_vcc * vcc,struct atm_qos * qos,int flags) idt77252_change_qos() argument
2667 struct atm_vcc *vcc; idt77252_proc_read() local
[all...]
H A 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);
331 struct atm_vcc *vcc; in __find_vcc() local
341 vcc = atm_sk(s); in __find_vcc()
342 if (vcc->dev == he_dev->atm_dev && in __find_vcc()
343 vcc->vci == vci && vcc->vpi == vpi && in __find_vcc()
344 vcc->qos.rxtp.traffic_class != ATM_NONE) { in __find_vcc()
345 return vcc; in __find_vcc()
1645 struct atm_vcc *vcc = NULL; he_service_rbrq() local
2114 he_open(struct atm_vcc * vcc) he_open() argument
2327 he_close(struct atm_vcc * vcc) he_close() argument
2485 he_send(struct atm_vcc * vcc,struct sk_buff * skb) he_send() argument
[all...]
/linux/include/linux/
H A Datmdev.h104 void (*release_cb)(struct atm_vcc *vcc); /* release_sock callback */
105 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
106 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
107 int (*push_oam)(struct atm_vcc *vcc,void *cell);
108 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
135 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm() argument
137 return (struct sock *)vcc; in sk_atm()
181 int (*open)(struct atm_vcc *vcc);
182 void (*close)(struct atm_vcc *vcc);
188 int (*pre_send)(struct atm_vcc *vcc, struct sk_buff *skb);
[all …]
/linux/drivers/usb/atm/
H A Dusbatm.c38 * - unlink all active send urbs of a vcc that is being closed.
43 * - fixed memory leak and vcc->tx_inuse starvation bug
44 * when not enough memory left in vcc.
135 struct atm_vcc *vcc; member
156 static int usbatm_atm_open(struct atm_vcc *vcc);
157 static void usbatm_atm_close(struct atm_vcc *vcc);
159 static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb);
183 static inline void usbatm_pop(struct atm_vcc *vcc, struct sk_buff *skb) in usbatm_pop() argument
185 if (vcc->pop) in usbatm_pop()
186 vcc in usbatm_pop()
293 struct atm_vcc *vcc; usbatm_extract_one_cell() local
459 struct atm_vcc *vcc = ctrl->atm.vcc; usbatm_write_cells() local
600 struct atm_vcc *vcc = UDSL_SKB(skb)->atm.vcc; usbatm_tx_process() local
621 usbatm_cancel_send(struct usbatm_data * instance,struct atm_vcc * vcc) usbatm_cancel_send() argument
644 usbatm_atm_send(struct atm_vcc * vcc,struct sk_buff * skb) usbatm_atm_send() argument
770 usbatm_atm_open(struct atm_vcc * vcc) usbatm_atm_open() argument
849 usbatm_atm_close(struct atm_vcc * vcc) usbatm_atm_close() argument
[all...]
/linux/arch/riscv/boot/dts/allwinner/
H A Dsun20i-common-regulators.dtsi5 reg_vcc: vcc {
7 regulator-name = "vcc";
12 reg_vcc_3v3: vcc-3v3 {
14 regulator-name = "vcc-3v3";
22 vcc-pb-supply = <&reg_vcc_3v3>;
23 vcc-pc-supply = <&reg_vcc_3v3>;
24 vcc-pd-supply = <&reg_vcc_3v3>;
25 vcc-pe-supply = <&reg_vcc_3v3>;
26 vcc-pf-supply = <&reg_vcc_3v3>;
27 vcc-pg-supply = <&reg_vcc_3v3>;
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun55i-h728-x96qpro+.dts32 regulator-name = "vcc-5v";
41 regulator-name = "vcc-3v3";
90 vcc-pb-supply = <&reg_cldo3>; /* via VCC-IO */
91 vcc-pc-supply = <&reg_cldo1>;
92 vcc-pd-supply = <&reg_dcdc4>;
93 vcc-pe-supply = <&reg_dcdc4>;
94 vcc-pf-supply = <&reg_cldo3>; /* actually switchable */
95 vcc-pg-supply = <&reg_bldo1>;
96 vcc-ph-supply = <&reg_cldo3>; /* via VCC-IO */
97 vcc-pi-supply = <&reg_dcdc4>;
[all …]
H A Dsun50i-a64-olinuxino.dts167 vcc-pc-supply = <&reg_dcdc1>;
168 vcc-pd-supply = <&reg_dcdc1>;
169 vcc-pe-supply = <&reg_aldo1>;
170 vcc-pg-supply = <&reg_dldo4>;
179 * vcc-pl-supply = <&reg_aldo2>;
184 vcc-pa-supply = <&reg_dcdc1>;
185 vcc-pb-supply = <&reg_dcdc1>;
186 vcc-pc-supply = <&reg_dcdc1>;
187 vcc-pd-supply = <&reg_dcdc1>;
188 vcc-pe-supply = <&reg_aldo1>;
[all …]
H A Dsun50i-a100-allwinner-perf1.dts47 vcc-pb-supply = <&reg_dcdc1>;
48 vcc-pc-supply = <&reg_eldo1>;
49 vcc-pd-supply = <&reg_dcdc1>;
50 vcc-pe-supply = <&reg_dldo2>;
51 vcc-pf-supply = <&reg_dcdc1>;
52 vcc-pg-supply = <&reg_dldo1>;
53 vcc-ph-supply = <&reg_dcdc1>;
62 * vcc-pl-supply = <&reg_aldo3>;
88 regulator-name = "vcc-pll-avcc";
95 regulator-name = "vcc-dram-1";
[all …]
/linux/drivers/leds/
H A Dleds-regulator.c27 struct regulator *vcc; member
66 ret = regulator_enable(led->vcc); in regulator_led_enable()
82 ret = regulator_disable(led->vcc); in regulator_led_disable()
106 voltage = led_regulator_get_voltage(led->vcc, value); in regulator_led_brightness_set()
110 ret = regulator_set_voltage(led->vcc, voltage, voltage); in regulator_led_brightness_set()
130 struct regulator *vcc; in regulator_led_probe() local
133 vcc = devm_regulator_get_exclusive(dev, "vled"); in regulator_led_probe()
134 if (IS_ERR(vcc)) { in regulator_led_probe()
136 return PTR_ERR(vcc); in regulator_led_probe()
145 led->cdev.max_brightness = led_regulator_get_max_brightness(vcc); in regulator_led_probe()
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsunxi-libretech-all-h3-it.dtsi57 reg_vcc_dram: vcc-dram {
59 regulator-name = "vcc-dram";
69 reg_vcc_io: vcc-io {
71 regulator-name = "vcc-io";
79 reg_vcc_usbwifi: vcc-usbwifi {
81 regulator-name = "vcc-usbwifi";
144 vcc-pa-supply = <&reg_vcc_io>;
145 vcc-pc-supply = <&reg_vcc_io>;
146 vcc-pd-supply = <&reg_vcc_io>;
147 vcc-pe-supply = <&reg_vcc_io>;
[all …]

12345678910>>...22