Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/atm/
Datmtcp.c17 extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
24 struct atm_vcc *vcc; /* control VCC; NULL if detached */ member
42 static int atmtcp_send_control(struct atm_vcc *vcc,int type, in atmtcp_send_control() argument
52 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
57 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control()
67 memset(&new_msg->vcc,0,sizeof(atm_kptr_t)); in atmtcp_send_control()
68 *(struct atm_vcc **) &new_msg->vcc = vcc; in atmtcp_send_control()
69 old_test = test_bit(flag,&vcc->flags); in atmtcp_send_control()
71 add_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control()
72 while (test_bit(flag,&vcc->flags) == old_test) { in atmtcp_send_control()
[all …]
Deni.c311 static void rx_ident_err(struct atm_vcc *vcc) in rx_ident_err() argument
317 dev = vcc->dev; in rx_ident_err()
323 eni_vcc = ENI_VCC(vcc); in rx_ident_err()
326 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci, in rx_ident_err()
342 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, in do_rx_dma() argument
353 eni_dev = ENI_DEV(vcc->dev); in do_rx_dma()
354 eni_vcc = ENI_VCC(vcc); in do_rx_dma()
364 "mis-aligned RX data (0x%lx)\n",vcc->dev->number, in do_rx_dma()
365 vcc->vci,(unsigned long) paddr); in do_rx_dma()
368 ATM_SKB(skb)->vcc = vcc; in do_rx_dma()
[all …]
Dzatm.c316 static void exception(struct atm_vcc *vcc)
319 struct zatm_dev *zatm_dev = ZATM_DEV(vcc->dev);
320 struct zatm_vcc *zatm_vcc = ZATM_VCC(vcc);
372 struct atm_vcc *vcc; in poll_rx() local
420 vcc = zatm_dev->rx_map[chan]; in poll_rx()
421 pos = ZATM_VCC(vcc)->pool; in poll_rx()
430 vcc = NULL; in poll_rx()
462 if (vcc) atomic_inc(&vcc->stats->rx_err); in poll_rx()
465 if (!atm_charge(vcc,skb->truesize)) { in poll_rx()
470 ATM_SKB(skb)->vcc = vcc; in poll_rx()
[all …]
Dfore200e.c858 struct atm_vcc* vcc; in fore200e_tx_irq() local
885 if ((vc_map->vcc == NULL) || in fore200e_tx_irq()
886 (test_bit(ATM_VF_READY, &vc_map->vcc->flags) == 0)) { in fore200e_tx_irq()
894 ASSERT(vc_map->vcc); in fore200e_tx_irq()
917 vcc = vc_map->vcc; in fore200e_tx_irq()
918 ASSERT(vcc); in fore200e_tx_irq()
921 if (vcc->pop) { in fore200e_tx_irq()
922 vcc->pop(vcc, entry->skb); in fore200e_tx_irq()
929 if (atomic_read(&sk_atm(vcc)->sk_wmem_alloc) < 0) { in fore200e_tx_irq()
930 atomic_set(&sk_atm(vcc)->sk_wmem_alloc, 0); in fore200e_tx_irq()
[all …]
Diphase.c235 static void clear_lockup (struct atm_vcc *vcc, IADEV *dev) { in clear_lockup() argument
244 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup()
245 vcstatus = (vcstatus_t *) &(dev->testTable[vcc->vci]->vc_status); in clear_lockup()
249 abr_vc += vcc->vci; in clear_lockup()
250 eabr_vc += vcc->vci; in clear_lockup()
261 if((tempCellSlot == dev->testTable[vcc->vci]->lastTime) in clear_lockup()
262 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup()
264 dev->testTable[vcc->vci]->lastTime = tempCellSlot; in clear_lockup()
265 dev->testTable[vcc->vci]->fract = tempFract; in clear_lockup()
281 shd_tbl[i] = vcc->vci; in clear_lockup()
[all …]
Dadummy.c89 adummy_open(struct atm_vcc *vcc) in adummy_open() argument
91 short vpi = vcc->vpi; in adummy_open()
92 int vci = vcc->vci; in adummy_open()
97 set_bit(ATM_VF_ADDR, &vcc->flags); in adummy_open()
98 set_bit(ATM_VF_READY, &vcc->flags); in adummy_open()
104 adummy_close(struct atm_vcc *vcc) in adummy_close() argument
106 clear_bit(ATM_VF_READY, &vcc->flags); in adummy_close()
107 clear_bit(ATM_VF_ADDR, &vcc->flags); in adummy_close()
111 adummy_send(struct atm_vcc *vcc, struct sk_buff *skb) in adummy_send() argument
113 if (vcc->pop) in adummy_send()
[all …]
Dnicstar.c125 static void free_scq(ns_dev *card, scq_info * scq, struct atm_vcc *vcc);
128 static int ns_open(struct atm_vcc *vcc);
129 static void ns_close(struct atm_vcc *vcc);
131 static int ns_send(struct atm_vcc *vcc, struct sk_buff *skb);
900 static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc) in free_scq() argument
907 vcc = ATM_SKB(scq->skb[i])->vcc; in free_scq()
908 if (vcc->pop != NULL) in free_scq()
909 vcc->pop(vcc, scq->skb[i]); in free_scq()
915 if (vcc == NULL) { in free_scq()
923 if (vcc->pop != NULL) in free_scq()
[all …]
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()
[all …]
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()
1648 struct atm_vcc *vcc = NULL; in he_service_rbrq() local
[all …]
Dsolos-pci.c101 struct atm_vcc *vcc; member
172 struct atm_vcc *vcc);
182 static inline void solos_pop(struct atm_vcc *vcc, struct sk_buff *skb) in solos_pop() argument
184 if (vcc->pop) in solos_pop()
185 vcc->pop(vcc, skb); in solos_pop()
781 struct atm_vcc *vcc; in solos_bh() local
834 vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi), in solos_bh()
836 if (!vcc) { in solos_bh()
844 atm_charge(vcc, skb->truesize); in solos_bh()
845 vcc->push(vcc, skb); in solos_bh()
[all …]
Dhorizon.c785 if (ATM_SKB(skb)->vcc->pop) { in hrz_kfree_skb()
786 ATM_SKB(skb)->vcc->pop (ATM_SKB(skb)->vcc, skb); in hrz_kfree_skb()
1019 struct atm_vcc * vcc = ATM_SKB(skb)->vcc; in rx_schedule() local
1021 atomic_inc(&vcc->stats->rx); in rx_schedule()
1024 vcc->push (vcc, skb); in rx_schedule()
1173 atomic_inc(&ATM_SKB(skb)->vcc->stats->tx); in tx_schedule()
1314 ATM_SKB(skb)->vcc = atm_vcc; in rx_data_av_handler()
1438 static short setup_idle_tx_channel (hrz_dev * dev, hrz_vcc * vcc) { in setup_idle_tx_channel() argument
1483 u16 channel = vcc->channel; in setup_idle_tx_channel()
1493 vcc->tx_xbr_bits); in setup_idle_tx_channel()
[all …]
Dfirestream.c376 if (ATM_SKB(skb)->vcc->pop) in fs_kfree_skb()
377 ATM_SKB(skb)->vcc->pop (ATM_SKB(skb)->vcc, skb); in fs_kfree_skb()
738 if (skb == FS_VCC (ATM_SKB(skb)->vcc)->last_skb) { in process_txdone_queue()
739 FS_VCC (ATM_SKB(skb)->vcc)->last_skb = NULL; in process_txdone_queue()
740 wake_up_interruptible (& FS_VCC (ATM_SKB(skb)->vcc)->close_wait); in process_txdone_queue()
752 atomic_inc(&ATM_SKB(skb)->vcc->stats->tx); in process_txdone_queue()
818 ATM_SKB(skb)->vcc = atm_vcc; in process_incoming()
862 struct fs_vcc *vcc; in fs_open() local
893 vcc = kmalloc(sizeof(struct fs_vcc), GFP_KERNEL); in fs_open()
894 fs_dprintk (FS_DEBUG_ALLOC, "Alloc VCC: %p(%Zd)\n", vcc, sizeof(struct fs_vcc)); in fs_open()
[all …]
Dambassador.c441 if (ATM_SKB(skb)->vcc->pop) { in amb_kfree_skb()
442 ATM_SKB(skb)->vcc->pop (ATM_SKB(skb)->vcc, skb); in amb_kfree_skb()
457 atomic_inc(&ATM_SKB(skb)->vcc->stats->tx); in tx_complete()
492 ATM_SKB(skb)->vcc = atm_vcc; in rx_complete()
1025 amb_vcc * vcc; in amb_open() local
1139 vcc = kmalloc (sizeof(amb_vcc), GFP_KERNEL); in amb_open()
1140 if (!vcc) { in amb_open()
1144 atm_vcc->dev_data = (void *) vcc; in amb_open()
1155 vcc->tx_frame_bits = tx_frame_bits; in amb_open()
1189 vcc->rx_info.pool = pool; in amb_open()
[all …]
Dhe.h134 struct atm_vcc *vcc; member
237 #define HE_LOOKUP_VCC(dev, cid) ((dev)->he_vcc_table[(cid)].vcc)
241 struct atm_vcc *vcc; member
329 #define HE_VCC(vcc) ((struct he_vcc *)(vcc->dev_data)) argument
Deni.h53 int (*rx)(struct atm_vcc *vcc); /* RX function, NULL if none */
Dnicstarmac.copyright22 * (skb->atm.iovcnt != 0) for Rx skb's passed to vcc->push.
Dfore200e.h827 struct atm_vcc* vcc; /* vcc entry */ member
Dlanai.c1418 ATM_SKB(skb)->vcc = lvcc->rx.atmvcc; in vcc_rx_aal5()
2412 ATM_SKB(skb)->vcc = atmvcc; in lanai_send()
/linux-4.4.14/net/atm/
Dsignaling.c36 static void modify_qos(struct atm_vcc *vcc, struct atmsvc_msg *msg) in modify_qos() argument
40 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || in modify_qos()
41 !test_bit(ATM_VF_READY, &vcc->flags)) in modify_qos()
44 if (!vcc->dev->ops->change_qos) in modify_qos()
48 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos()
63 static int sigd_send(struct atm_vcc *vcc, struct sk_buff *skb) in sigd_send() argument
70 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in sigd_send()
71 vcc = *(struct atm_vcc **) &msg->vcc; in sigd_send()
72 pr_debug("%d (0x%lx)\n", (int)msg->type, (unsigned long)vcc); in sigd_send()
73 sk = sk_atm(vcc); in sigd_send()
[all …]
Dcommon.c44 struct atm_vcc *vcc = atm_sk(sk); in __vcc_insert_socket() local
45 struct hlist_head *head = &vcc_hash[vcc->vci & (VCC_HTABLE_SIZE - 1)]; in __vcc_insert_socket()
46 sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1); in __vcc_insert_socket()
65 static struct sk_buff *alloc_tx(struct atm_vcc *vcc, unsigned int size) in alloc_tx() argument
68 struct sock *sk = sk_atm(vcc); in alloc_tx()
70 if (sk_wmem_alloc_get(sk) && !atm_may_send(vcc, size)) { in alloc_tx()
106 struct atm_vcc *vcc = atm_sk(sk); in vcc_writable() local
108 return (vcc->qos.txtp.max_sdu + in vcc_writable()
131 struct atm_vcc *vcc = atm_sk(sk); in vcc_release_cb() local
133 if (vcc->release_cb) in vcc_release_cb()
[all …]
Draw.c22 static void atm_push_raw(struct atm_vcc *vcc, struct sk_buff *skb) in atm_push_raw() argument
25 struct sock *sk = sk_atm(vcc); in atm_push_raw()
32 static void atm_pop_raw(struct atm_vcc *vcc, struct sk_buff *skb) in atm_pop_raw() argument
34 struct sock *sk = sk_atm(vcc); in atm_pop_raw()
37 vcc->vci, sk_wmem_alloc_get(sk), skb->truesize); in atm_pop_raw()
43 static int atm_send_aal0(struct atm_vcc *vcc, struct sk_buff *skb) in atm_send_aal0() argument
51 ((vcc->vpi << ATM_HDR_VPI_SHIFT) | in atm_send_aal0()
52 (vcc->vci << ATM_HDR_VCI_SHIFT))) { in atm_send_aal0()
56 return vcc->dev->ops->send(vcc, skb); in atm_send_aal0()
59 int atm_init_aal0(struct atm_vcc *vcc) in atm_init_aal0() argument
[all …]
Dsvc.c45 static void svc_disconnect(struct atm_vcc *vcc) in svc_disconnect() argument
49 struct sock *sk = sk_atm(vcc); in svc_disconnect()
51 pr_debug("%p\n", vcc); in svc_disconnect()
52 if (test_bit(ATM_VF_REGIS, &vcc->flags)) { in svc_disconnect()
53 sigd_enq(vcc, as_close, NULL, NULL, NULL); in svc_disconnect()
56 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) in svc_disconnect()
65 atm_return(vcc, skb->truesize); in svc_disconnect()
67 sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0); in svc_disconnect()
70 clear_bit(ATM_VF_REGIS, &vcc->flags); in svc_disconnect()
77 struct atm_vcc *vcc; in svc_release() local
[all …]
Dclip.c132 cv, cv->vcc, entry); in neigh_check_cb()
133 vcc_release_async(cv->vcc, -ETIMEDOUT); in neigh_check_cb()
166 struct atm_vcc *vcc; in clip_arp_rcv() local
169 vcc = ATM_SKB(skb)->vcc; in clip_arp_rcv()
170 if (!vcc || !atm_charge(vcc, skb->truesize)) { in clip_arp_rcv()
174 pr_debug("pushing to %p\n", vcc); in clip_arp_rcv()
175 pr_debug("using %p\n", CLIP_VCC(vcc)->old_push); in clip_arp_rcv()
176 CLIP_VCC(vcc)->old_push(vcc, skb); in clip_arp_rcv()
189 static void clip_push(struct atm_vcc *vcc, struct sk_buff *skb) in clip_push() argument
191 struct clip_vcc *clip_vcc = CLIP_VCC(vcc); in clip_push()
[all …]
Dproc.c154 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) in pvc_info() argument
165 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
166 vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" : in pvc_info()
167 aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr, in pvc_info()
168 class_name[vcc->qos.rxtp.traffic_class], in pvc_info()
169 vcc->qos.txtp.min_pcr, in pvc_info()
170 class_name[vcc->qos.txtp.traffic_class]); in pvc_info()
171 if (test_bit(ATM_VF_IS_CLIP, &vcc->flags)) { in pvc_info()
172 struct clip_vcc *clip_vcc = CLIP_VCC(vcc); in pvc_info()
183 static const char *vcc_state(struct atm_vcc *vcc) in vcc_state() argument
[all …]
Dlec.c78 struct atm_vcc *vcc, struct sk_buff *skb);
90 static int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc);
96 struct atm_vcc *vcc,
97 void (*old_push)(struct atm_vcc *vcc,
99 static void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc);
177 lec_send(struct atm_vcc *vcc, struct sk_buff *skb) in lec_send() argument
181 ATM_SKB(skb)->vcc = vcc; in lec_send()
182 ATM_SKB(skb)->atm_options = vcc->atm_options; in lec_send()
184 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in lec_send()
185 if (vcc->send(vcc, skb) < 0) { in lec_send()
[all …]
Datm_misc.c14 int atm_charge(struct atm_vcc *vcc, int truesize) in atm_charge() argument
16 atm_force_charge(vcc, truesize); in atm_charge()
17 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge()
19 atm_return(vcc, truesize); in atm_charge()
20 atomic_inc(&vcc->stats->rx_drop); in atm_charge()
25 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc, int pdu_size, in atm_alloc_charge() argument
28 struct sock *sk = sk_atm(vcc); in atm_alloc_charge()
31 atm_force_charge(vcc, guess); in atm_alloc_charge()
41 atm_return(vcc, guess); in atm_alloc_charge()
42 atomic_inc(&vcc->stats->rx_drop); in atm_alloc_charge()
Dpvc.c31 struct atm_vcc *vcc; in pvc_bind() local
40 vcc = ATM_SD(sock); in pvc_bind()
41 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in pvc_bind()
45 if (test_bit(ATM_VF_PARTIAL, &vcc->flags)) { in pvc_bind()
46 if (vcc->vpi != ATM_VPI_UNSPEC) in pvc_bind()
47 addr->sap_addr.vpi = vcc->vpi; in pvc_bind()
48 if (vcc->vci != ATM_VCI_UNSPEC) in pvc_bind()
49 addr->sap_addr.vci = vcc->vci; in pvc_bind()
92 struct atm_vcc *vcc = ATM_SD(sock); in pvc_getname() local
94 if (!vcc->dev || !test_bit(ATM_VF_ADDR, &vcc->flags)) in pvc_getname()
[all …]
Dpppoatm.c295 struct atm_vcc *vcc; in pppoatm_send() local
298 ATM_SKB(skb)->vcc = pvcc->atmvcc; in pppoatm_send()
303 vcc = ATM_SKB(skb)->vcc; in pppoatm_send()
304 bh_lock_sock(sk_atm(vcc)); in pppoatm_send()
305 if (sock_owned_by_user(sk_atm(vcc))) { in pppoatm_send()
314 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || in pppoatm_send()
315 test_bit(ATM_VF_CLOSE, &vcc->flags) || in pppoatm_send()
316 !test_bit(ATM_VF_READY, &vcc->flags)) { in pppoatm_send()
317 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
335 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
[all …]
Dmpc.c86 static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry);
89 static void mpoad_close(struct atm_vcc *vcc);
90 static int msg_from_mpoad(struct atm_vcc *vcc, struct sk_buff *skb);
92 static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb);
141 static struct mpoa_client *find_mpc_by_vcc(struct atm_vcc *vcc) in find_mpc_by_vcc() argument
147 if (mpc->mpoad_vcc == vcc) in find_mpc_by_vcc()
605 static int atm_mpoa_vcc_attach(struct atm_vcc *vcc, void __user *arg) in atm_mpoa_vcc_attach() argument
639 in_entry->shortcut = vcc; in atm_mpoa_vcc_attach()
645 vcc->proto_data = mpc->dev; in atm_mpoa_vcc_attach()
646 vcc->push = mpc_push; in atm_mpoa_vcc_attach()
[all …]
Dprotocols.h9 int atm_init_aal0(struct atm_vcc *vcc); /* "raw" AAL0 */
10 int atm_init_aal34(struct atm_vcc *vcc);/* "raw" AAL3/4 transport */
11 int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
Dsignaling.h22 void sigd_enq2(struct atm_vcc *vcc,enum atmsvc_msg_type type,
25 void sigd_enq(struct atm_vcc *vcc,enum atmsvc_msg_type type,
28 int sigd_attach(struct atm_vcc *vcc);
Dlec_arpc.h18 struct atm_vcc *vcc; /* Vcc this entry is attached */ member
21 void (*old_push) (struct atm_vcc *vcc, struct sk_buff *skb);
24 void (*old_recv_push) (struct atm_vcc *vcc, struct sk_buff *skb);
Dmpoa_caches.c76 static in_cache_entry *in_cache_get_by_vcc(struct atm_vcc *vcc, in in_cache_get_by_vcc() argument
84 if (entry->shortcut == vcc) { in in_cache_get_by_vcc()
193 struct atm_vcc *vcc; in in_cache_remove_entry() local
196 vcc = entry->shortcut; in in_cache_remove_entry()
213 if (vcc != NULL) { in in_cache_remove_entry()
214 eg_cache_entry *eg_entry = client->eg_ops->get_by_vcc(vcc, in in_cache_remove_entry()
220 vcc_release_async(vcc, -EPIPE); in in_cache_remove_entry()
375 static eg_cache_entry *eg_cache_get_by_vcc(struct atm_vcc *vcc, in eg_cache_get_by_vcc() argument
384 if (entry->shortcut == vcc) { in eg_cache_get_by_vcc()
430 struct atm_vcc *vcc; in eg_cache_remove_entry() local
[all …]
Dlec.h148 void (*old_pop) (struct atm_vcc *vcc, struct sk_buff *skb);
152 #define LEC_VCC_PRIV(vcc) ((struct lec_vcc_priv *)((vcc)->user_back)) argument
Dcommon.h26 void vcc_process_recv_queue(struct atm_vcc *vcc);
51 int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);
Dbr2684.c69 void (*old_push)(struct atm_vcc *vcc, struct sk_buff *skb);
70 void (*old_pop)(struct atm_vcc *vcc, struct sk_buff *skb);
71 void (*old_release_cb)(struct atm_vcc *vcc);
184 static void br2684_pop(struct atm_vcc *vcc, struct sk_buff *skb) in br2684_pop() argument
186 struct br2684_vcc *brvcc = BR2684_VCC(vcc); in br2684_pop()
188 pr_debug("(vcc %p ; net_dev %p )\n", vcc, brvcc->device); in br2684_pop()
189 brvcc->old_pop(vcc, skb); in br2684_pop()
253 ATM_SKB(skb)->vcc = atmvcc = brvcc->atmvcc; in br2684_xmit_vcc()
506 ATM_SKB(skb)->vcc = atmvcc; /* needed ? */ in br2684_push()
Dioctl.c54 struct atm_vcc *vcc; in do_vcc_ioctl() local
59 vcc = ATM_SD(sock); in do_vcc_ioctl()
63 !test_bit(ATM_VF_READY, &vcc->flags)) { in do_vcc_ioctl()
130 error = sigd_attach(vcc); in do_vcc_ioctl()
Dmpoa_caches.h38 in_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc,
68 eg_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc, struct mpoa_client *client);
DKconfig72 large number of IP-only vcc's. Do not enable this unless you are sure
/linux-4.4.14/include/linux/
Datmdev.h102 void (*release_cb)(struct atm_vcc *vcc); /* release_sock callback */
103 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
104 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
105 int (*push_oam)(struct atm_vcc *vcc,void *cell);
106 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
133 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm() argument
135 return (struct sock *)vcc; in sk_atm()
184 int (*open)(struct atm_vcc *vcc);
185 void (*close)(struct atm_vcc *vcc);
191 int (*getsockopt)(struct atm_vcc *vcc,int level,int optname,
[all …]
Datm_tcp.h13 int (*attach)(struct atm_vcc *vcc,int itf);
Dfsl_devices.h143 int(*voltage_set)(int slot, int vcc, int vpp);
/linux-4.4.14/net/rfkill/
Drfkill-regulator.c27 struct regulator *vcc; member
39 regulator_disable(rfkill_data->vcc); in rfkill_regulator_set_block()
44 ret = regulator_enable(rfkill_data->vcc); in rfkill_regulator_set_block()
51 regulator_is_enabled(rfkill_data->vcc)); in rfkill_regulator_set_block()
64 struct regulator *vcc; in rfkill_regulator_probe() local
78 vcc = regulator_get_exclusive(&pdev->dev, "vrfkill"); in rfkill_regulator_probe()
79 if (IS_ERR(vcc)) { in rfkill_regulator_probe()
81 ret = PTR_ERR(vcc); in rfkill_regulator_probe()
99 if (regulator_is_enabled(vcc)) { in rfkill_regulator_probe()
103 rfkill_data->vcc = vcc; in rfkill_regulator_probe()
[all …]
/linux-4.4.14/drivers/usb/atm/
Dusbatm.c150 struct atm_vcc *vcc; member
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() argument
200 if (vcc->pop) in usbatm_pop()
201 vcc->pop(vcc, skb); in usbatm_pop()
308 struct atm_vcc *vcc; in usbatm_extract_one_cell() local
327 vcc = instance->cached_vcc->vcc; in usbatm_extract_one_cell()
334 atomic_inc(&vcc->stats->rx_err); in usbatm_extract_one_cell()
[all …]
/linux-4.4.14/drivers/leds/
Dleds-regulator.c33 struct regulator *vcc; member
72 ret = regulator_enable(led->vcc); in regulator_led_enable()
88 ret = regulator_disable(led->vcc); in regulator_led_disable()
110 voltage = led_regulator_get_voltage(led->vcc, led->value); in regulator_led_set_value()
114 ret = regulator_set_voltage(led->vcc, voltage, voltage); in regulator_led_set_value()
148 struct regulator *vcc; in regulator_led_probe() local
156 vcc = devm_regulator_get_exclusive(&pdev->dev, "vled"); in regulator_led_probe()
157 if (IS_ERR(vcc)) { in regulator_led_probe()
159 return PTR_ERR(vcc); in regulator_led_probe()
166 led->cdev.max_brightness = led_regulator_get_max_brightness(vcc); in regulator_led_probe()
[all …]
/linux-4.4.14/net/sched/
Dsch_atm.c40 #define VCC2FLOW(vcc) ((struct atm_flow_data *) ((vcc)->user_back)) argument
45 struct atm_vcc *vcc; /* VCC; NULL if VCC is closed */ member
46 void (*old_pop)(struct atm_vcc *vcc,
149 flow->vcc->pop = flow->old_pop; in atm_tc_put()
162 static void sch_atm_pop(struct atm_vcc *vcc, struct sk_buff *skb) in sch_atm_pop() argument
164 struct atm_qdisc_data *p = VCC2FLOW(vcc)->parent; in sch_atm_pop()
166 pr_debug("sch_atm_pop(vcc %p,skb %p,[qdisc %p])\n", vcc, skb, p); in sch_atm_pop()
167 VCC2FLOW(vcc)->old_pop(vcc, skb); in sch_atm_pop()
282 flow->vcc = ATM_SD(sock); /* speedup */ in atm_tc_change()
283 flow->vcc->user_back = flow; in atm_tc_change()
[all …]
/linux-4.4.14/include/net/
Datmclip.h17 #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back)) argument
22 struct atm_vcc *vcc; /* VCC descriptor */ member
29 void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb);
31 void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb);
/linux-4.4.14/Documentation/devicetree/bindings/clock/st/
Dst,clkgen-mux.txt13 "st,stih416-clkgenc-vcc-hd", "st,clkgen-mux"
14 "st,stih416-clkgenf-vcc-fvdp", "st,clkgen-mux"
15 "st,stih416-clkgenf-vcc-hva", "st,clkgen-mux"
16 "st,stih416-clkgenf-vcc-hd", "st,clkgen-mux"
17 "st,stih416-clkgenf-vcc-sd", "st,clkgen-mux"
32 compatible = "st,stih416-clkgenf-vcc-hva", "st,clkgen-mux";
Dst,clkgen-vcc.txt16 "st,stih416-clkgenc", "st,vcc"
17 "st,stih416-clkgenf", "st,vcc"
35 clockgen_c_vcc: clockgen-c-vcc@0xfe8308ac {
37 compatible = "st,stih416-clkgenc", "st,clkgen-vcc";
Dst,clkgen.txt50 [6] Documentation/devicetree/bindings/clock/st,vcc.txt
/linux-4.4.14/Documentation/devicetree/bindings/ufs/
Dufshcd-pltfrm.txt20 - vcc-supply : phandle to VCC supply regulator node
23 - vcc-supply-1p8 : For embedded UFS devices, valid VCC range is 1.7-1.95V
28 - vcc-max-microamp : specifies max. load that can be drawn from vcc supply
53 vcc-supply = <&xxx_reg1>;
54 vcc-supply-1p8;
57 vcc-max-microamp = 500000;
/linux-4.4.14/drivers/iio/dac/
Dm62332.c34 struct regulator *vcc; member
58 res = regulator_enable(data->vcc); in m62332_set_value()
72 regulator_disable(data->vcc); in m62332_set_value()
96 ret = regulator_get_voltage(data->vcc); in m62332_read_raw()
213 data->vcc = devm_regulator_get(&client->dev, "VCC"); in m62332_probe()
214 if (IS_ERR(data->vcc)) in m62332_probe()
215 return PTR_ERR(data->vcc); in m62332_probe()
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
Dpanel-sharp-ls037v7dw01.c26 struct regulator *vcc; member
105 if (ddata->vcc) { in sharp_ls_enable()
106 r = regulator_enable(ddata->vcc); in sharp_ls_enable()
113 regulator_disable(ddata->vcc); in sharp_ls_enable()
151 if (ddata->vcc) in sharp_ls_disable()
152 regulator_disable(ddata->vcc); in sharp_ls_disable()
289 ddata->vcc = devm_regulator_get(&pdev->dev, "envdd"); in sharp_ls_probe_of()
290 if (IS_ERR(ddata->vcc)) { in sharp_ls_probe_of()
292 return PTR_ERR(ddata->vcc); in sharp_ls_probe_of()
/linux-4.4.14/drivers/hwmon/
Dab8500.c38 int vcc; member
62 if (cfg->vcc < 0 || v_ntc >= cfg->vcc) in ab8500_voltage_to_temp()
65 r_ntc = v_ntc * cfg->r_up / (cfg->vcc - v_ntc); in ab8500_voltage_to_temp()
178 ab8500_data->cfg.vcc = THERMAL_VCC; in abx500_hwmon_init()
/linux-4.4.14/drivers/usb/phy/
Dphy-generic.c146 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_init()
147 if (regulator_enable(nop->vcc)) in usb_gen_phy_init()
169 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_shutdown()
170 if (regulator_disable(nop->vcc)) in usb_gen_phy_shutdown()
273 nop->vcc = devm_regulator_get(dev, "vcc"); in usb_phy_gen_create_phy()
274 if (IS_ERR(nop->vcc)) { in usb_phy_gen_create_phy()
276 PTR_ERR(nop->vcc)); in usb_phy_gen_create_phy()
Dphy-generic.h12 struct regulator *vcc; member
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dlm90.txt29 - vcc-supply: vcc regulator for the supply voltage.
41 vcc-supply = <&palmas_ldo6_reg>;
/linux-4.4.14/drivers/pcmcia/
Dpcmcia_cis.c164 unsigned int vcc = p_dev->socket->socket.Vcc; in pcmcia_do_loop_config() local
176 if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) { in pcmcia_do_loop_config()
177 if (vcc != cfg->vcc.param[CISTPL_POWER_VNOM] / 10000) in pcmcia_do_loop_config()
179 } else if (dflt->vcc.present & (1 << CISTPL_POWER_VNOM)) { in pcmcia_do_loop_config()
180 if (vcc != dflt->vcc.param[CISTPL_POWER_VNOM] / 10000) in pcmcia_do_loop_config()
Delectra_cf.c125 unsigned int vcc; in electra_cf_set_socket() local
131 vcc = (s->flags & SS_RESET) ? 0 : s->Vcc; in electra_cf_set_socket()
133 switch (vcc) { in electra_cf_set_socket()
Dat91_cf.c100 int vcc = gpio_is_valid(cf->board->vcc_pin); in at91_cf_get_status() local
105 if (!vcc || gpio_get_value(cf->board->vcc_pin)) in at91_cf_get_status()
Dcistpl.c1112 p = parse_power(p, q, &entry->vcc); in parse_cftable_entry()
1116 entry->vcc.present = 0; in parse_cftable_entry()
/linux-4.4.14/drivers/mmc/host/
Dpxamci.c83 struct regulator *vcc; member
89 host->vcc = regulator_get_optional(mmc_dev(host->mmc), "vmmc"); in pxamci_init_ocr()
91 if (IS_ERR(host->vcc)) in pxamci_init_ocr()
92 host->vcc = NULL; in pxamci_init_ocr()
94 host->mmc->ocr_avail = mmc_regulator_get_ocrmask(host->vcc); in pxamci_init_ocr()
100 if (host->vcc == NULL) { in pxamci_init_ocr()
114 if (host->vcc) { in pxamci_set_power()
118 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, vdd); in pxamci_set_power()
122 ret = mmc_regulator_set_ocr(host->mmc, host->vcc, 0); in pxamci_set_power()
127 if (!host->vcc && host->pdata && in pxamci_set_power()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/ata/
Datmel-at91_cf.txt7 and reset gpio's are mandatory while irq and vcc gpio's are
16 0 /* vcc */
/linux-4.4.14/Documentation/devicetree/bindings/net/
Ddavicom-dm9000.txt15 - vcc-supply : phandle of regulator that will be used to enable power to chip
27 vcc-supply = <&eth0_power>;
/linux-4.4.14/arch/arm/boot/dts/
Dstih416-clock.dtsi570 "clk-s-c-vcc-sd",
574 clk_s_vcc_hd: clk-s-vcc-hd@fe8308b8 {
576 compatible = "st,stih416-clkgenc-vcc-hd", "st,clkgen-mux";
592 clockgen_c_vcc: clockgen-c-vcc@fe8308ac {
594 compatible = "st,stih416-clkgenc", "st,clkgen-vcc";
660 compatible = "st,stih416-clkgenf-vcc-fvdp", "st,clkgen-mux";
669 compatible = "st,stih416-clkgenf-vcc-hva", "st,clkgen-mux";
676 clk_m_f_vcc_hd: clk-m-f-vcc-hd@fd32086c {
678 compatible = "st,stih416-clkgenf-vcc-hd", "st,clkgen-mux";
685 clk_m_f_vcc_sd: clk-m-f-vcc-sd@fd32086c {
[all …]
Dsun6i-a31s-primo81.dts181 regulator-name = "vcc-lcd";
194 regulator-name = "vcc-3v0";
221 regulator-name = "vcc-dram";
227 regulator-name = "vcc-wifi";
243 vcc-lcd-supply = <&reg_dc1sw>;
Dsun6i-a31-hummingbird.dts193 regulator-name = "vcc-wifi";
213 regulator-name = "vcc-3v0";
240 regulator-name = "vcc-dram";
Domap3-cm-t3x.dtsi44 vcc-supply = <&hsusb1_power>;
50 vcc-supply = <&hsusb2_power>;
220 vcc-supply = <&ads7846reg>;
Domap3-tao3530.dtsi25 cpu0-supply = <&vcc>;
48 vcc-supply = <&hsusb2_power>;
59 /* Regulator to enable/switch the vcc of the Wifi module */
Dsun6i-a31s-sina31s-core.dtsi104 regulator-name = "vcc-3v0";
131 regulator-name = "vcc-dram";
Domap3-panel-sharp-ls037v7dw01.dtsi61 vcc-supply = <&lcd_3v3>;
Domap3-devkit8000-lcd-common.dtsi50 vcc-supply = <&vio>;
Dbcm4708-netgear-r6250.dts34 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
Darmada-388-gp.dts140 vcc-supply = <&reg_usb2_0_vbus>;
232 vcc-supply = <&reg_usb2_1_vbus>;
238 vcc-supply = <&reg_usb3_vbus>;
Drk3288-veyron-chromebook.dtsi77 vcc_5v: vcc-5v {
166 vcc-supply = <&vcc33_io>;
Domap3-ldp.dts25 cpu0-supply = <&vcc>;
303 regulator-name = "vcc";
Domap3-pandora-common.dtsi17 cpu0-supply = <&vcc>;
207 vcc-supply = <&vaux2>;
611 vcc-supply = <&vaux4>;
632 vcc-supply = <&vaux1>;
Domap3-cm-t3x30.dtsi10 cpu0-supply = <&vcc>;
Drk3288-evb.dtsi112 vcc_host: vcc-host-regulator {
123 vcc_phy: vcc-phy-regulator {
Domap3-beagle-xm.dts18 cpu0-supply = <&vcc>;
91 vcc-supply = <&hsusb2_power>;
Domap3-evm-common.dtsi11 cpu0-supply = <&vcc>;
Dimx27-phytec-phycard-s-rdk.dts75 vcc-supply = <&reg_3v3>;
Dimx6q-dmo-edmqmx6.dts251 vcc-supply = <&sw2_reg>;
265 vcc-supply = <&sw2_reg>;
Dste-href-stuib.dtsi45 vcc-supply = <&db8500_vsmps2_reg>;
Dsun5i-a13-q8-tablet.dts55 regulator-name = "vcc-wifi";
Dtwl4030.dtsi48 vcc: regulator-vdd1 { label
Domap3-beagle.dts18 cpu0-supply = <&vcc>;
66 vcc-supply = <&hsusb2_power>;
Drk3288-r89.dts81 vcc_host: vcc-host-regulator {
92 vcc_otg: vcc-otg-regulator {
Dlogicpd-torpedo-som.dtsi12 cpu0-supply = <&vcc>;
Domap3-n950-n9.dtsi16 cpu0-supply = <&vcc>;
Domap3-lilly-a83x.dtsi53 vcc-supply = <&reg_vcc3>;
318 vcc-supply = <&reg_vcc3>;
Domap3-overo-common-lcd43.dtsi159 vcc-supply = <&ads7846reg>;
Domap3-overo-common-lcd35.dtsi148 vcc-supply = <&ads7846reg>;
Dsun6i-a31s-sina31s.dts148 regulator-name = "vcc-gmac-phy";
Domap3-zoom3.dts19 cpu0-supply = <&vcc>;
Drk3288-rock2-square.dts66 vcc_usb_host: vcc-host-regulator {
Dimx27-phytec-phycore-rdk.dts63 vcc-supply = <&reg_5v0>;
Dsun5i-a13-hsg-h702.dts190 regulator-name = "vcc-wifi";
Dsun5i-r8-chip.dts177 regulator-name = "vcc-1v8";
Dimx27-phytec-phycore-som.dtsi53 vcc-supply = <&sw3_reg>;
Dsun5i-a10s-wobo-i5.dts198 regulator-name = "vcc-wifi";
Dsun5i-a13-inet-98v-rev2.dts196 regulator-name = "vcc-wifi";
Drk3288-veyron-jerry.dts194 vcc-supply = <&vcc33_io>;
Domap3-igep0020-common.dtsi60 vcc-supply = <&hsusb1_power>;
Darmada-385-db-ap.dts207 vcc-supply = <&reg_xhci0_vbus>;
Domap4-var-som-om44.dtsi46 vcc-supply = <&vbat>;
Domap3-overo-base.dtsi47 vcc-supply = <&hsusb2_power>;
Dsun5i-a13-utoo-p66.dts232 regulator-name = "vcc-wifi";
Darmada-385-linksys.dtsi218 vcc-supply = <&reg_xhci0_vbus>;
Domap4-panda-common.dtsi87 vcc-supply = <&hsusb1_power>;
Domap3-gta04.dtsi20 cpu0-supply = <&vcc>;
Drk3288-veyron.dtsi115 vcc_5v: vcc-5v {
Dtegra30-cardhu.dtsi334 vcc-supply = <&sys_3v3_reg>;
Domap5-cm-t54.dts340 vcc-supply = <&ads7846reg>;
Dam57xx-beagle-x15.dts612 vcc-supply = <&vdd_3v3>;
Dexynos5420-peach-pit.dts615 vcc-supply = <&tps65090_fet5>;
Dexynos5800-peach-pi.dts602 vcc-supply = <&tps65090_fet5>;
Domap3-n900.dts42 cpu0-supply = <&vcc>;
Dtegra114-dalmore.dts786 vcc-supply = <&palmas_ldo6_reg>;
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dusb-nop-xceiv.txt16 - vcc-supply: phandle to the regulator that provides power to the PHY.
32 vcc-supply = <&hsusb1_vcc_regulator>;
/linux-4.4.14/Documentation/devicetree/bindings/iio/
Diio-bindings.txt68 io-channel-names = "vcc", "vdd";
71 This represents a device with two IIO inputs, named "vcc" and "vdd".
72 The vcc channel is connected to output 1 of the &adc device, and the
/linux-4.4.14/drivers/input/mouse/
Delan_i2c_core.c63 struct regulator *vcc; member
139 error = regulator_enable(data->vcc); in elan_enable_power()
166 error = regulator_disable(data->vcc); in elan_disable_power()
964 regulator_disable(data->vcc); in elan_disable_regulator()
1009 data->vcc = devm_regulator_get(&client->dev, "vcc"); in elan_probe()
1010 if (IS_ERR(data->vcc)) { in elan_probe()
1011 error = PTR_ERR(data->vcc); in elan_probe()
1019 error = regulator_enable(data->vcc); in elan_probe()
1029 regulator_disable(data->vcc); in elan_probe()
Dcyapa.c1250 regulator_disable(cyapa->vcc); in cyapa_disable_regulator()
1286 cyapa->vcc = devm_regulator_get(dev, "vcc"); in cyapa_probe()
1287 if (IS_ERR(cyapa->vcc)) { in cyapa_probe()
1288 error = PTR_ERR(cyapa->vcc); in cyapa_probe()
1293 error = regulator_enable(cyapa->vcc); in cyapa_probe()
Dcyapa.h324 struct regulator *vcc; member
/linux-4.4.14/include/uapi/linux/
Datm_tcp.h37 atm_kptr_t vcc; /* both directions */ member
Datmsvc.h24 atm_kptr_t vcc; member
/linux-4.4.14/drivers/usb/serial/
Diuu_phoenix.c65 int vcc; /* vcc (either 3 or 5 V) */ member
93 priv->vcc = vcc_default; in iuu_port_probe()
1102 static int iuu_vcc_set(struct usb_serial_port *port, unsigned int vcc) in iuu_vcc_set() argument
1112 buf[1] = vcc & 0xFF; in iuu_vcc_set()
1113 buf[2] = (vcc >> 8) & 0xFF; in iuu_vcc_set()
1114 buf[3] = (vcc >> 16) & 0xFF; in iuu_vcc_set()
1115 buf[4] = (vcc >> 24) & 0xFF; in iuu_vcc_set()
1138 return sprintf(buf, "%d\n", priv->vcc); in vcc_mode_show()
1160 priv->vcc = v; in vcc_mode_store()
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts125 vcc_host: vcc-host-regulator {
137 vcc_io: vcc-io-regulator {
147 vcc_lan: vcc-lan-regulator {
157 vcc_sys: vcc-sys-regulator {
/linux-4.4.14/Documentation/devicetree/bindings/input/
Delan_i2c.txt16 - vcc-supply: a phandle for the regulator supplying 3.3V power.
Dads7846.txt24 vcc-supply A regulator node for the supply voltage.
81 vcc-supply = <&reg_vcc3>;
Dcypress,cyapa.txt16 - vcc-supply: a phandle for the regulator supplying 3.3V power.
/linux-4.4.14/include/linux/mfd/
Dstmpe.h87 struct regulator *vcc; member
/linux-4.4.14/include/pcmcia/
Dcistpl.h462 cistpl_power_t vcc, vpp1, vpp2; member
483 cistpl_power_t vcc, vpp1, vpp2; member
/linux-4.4.14/drivers/mfd/
Dstmpe.c1189 stmpe->vcc = devm_regulator_get_optional(ci->dev, "vcc"); in stmpe_probe()
1190 if (!IS_ERR(stmpe->vcc)) { in stmpe_probe()
1191 ret = regulator_enable(stmpe->vcc); in stmpe_probe()
1269 if (!IS_ERR(stmpe->vcc)) in stmpe_remove()
1270 regulator_disable(stmpe->vcc); in stmpe_remove()
/linux-4.4.14/drivers/memstick/core/
Dms_block.h95 unsigned char vcc; member
Dmspro_block.c87 unsigned char vcc; member
367 x_sys->vcc); in mspro_block_attr_show_sysinfo()
/linux-4.4.14/drivers/scsi/ufs/
Dufs.h479 struct ufs_vreg *vcc; member
Dufshcd-pltfrm.c214 err = ufshcd_populate_vreg(dev, "vcc", &info->vcc); in ufshcd_parse_regulator_info()
Dufshcd.c4109 if (!hba->vreg_info.vcc || !hba->vreg_info.vccq || in ufshcd_find_max_sup_active_icc_level()
4117 if (hba->vreg_info.vcc) in ufshcd_find_max_sup_active_icc_level()
4119 hba->vreg_info.vcc->max_uA, in ufshcd_find_max_sup_active_icc_level()
4462 ret = ufshcd_toggle_vreg(dev, info->vcc, on); in ufshcd_setup_vreg()
4478 ufshcd_toggle_vreg(dev, info->vcc, false); in ufshcd_setup_vreg()
4519 ret = ufshcd_get_vreg(dev, info->vcc); in ufshcd_init_vreg()
4894 ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, false); in ufshcd_vreg_set_lpm()
4910 ret = ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, true); in ufshcd_vreg_set_hpm()
4925 ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, false); in ufshcd_vreg_set_hpm()
/linux-4.4.14/Documentation/hwmon/
Dsht1549 * The regulator supply name is set to "vcc".
/linux-4.4.14/Documentation/power/regulator/
Dmachine.txt20 const char *supply; /* consumer supply - e.g. "vcc" */
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dlp872x.txt87 vcc: buck {
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dsdhci-st.txt48 - vqmmc-supply: Phandle to the regulator dt node, mentioned as the vcc/vdd
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dst,sta350.txt18 - vcc-supply: regulator spec, providing 5V - 26V
/linux-4.4.14/drivers/mtd/onenand/
Donenand_base.c3460 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local
3462 vcc = device & ONENAND_DEVICE_VCC_MASK; in onenand_print_device_info()
3472 vcc ? "2.65/3.3" : "1.8", in onenand_print_device_info()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_els.c4595 uint16_t vcc; in lpfc_rdp_res_sfp_desc() local
4631 vcc = (page_a2[SFF_VCC_B1] << 8 | in lpfc_rdp_res_sfp_desc()
4643 desc->sfp_info.vcc = cpu_to_be16(vcc); in lpfc_rdp_res_sfp_desc()
Dlpfc_hw.h1169 uint16_t vcc; member