| /linux/net/atm/ |
| H A D | common.c | 45 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 D | raw.c | 23 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 D | svc.c | 51 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 D | proc.c | 139 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) in pvc_info() argument 150 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info() 151 vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" : in pvc_info() 152 aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr, in pvc_info() 153 class_name[vcc->qos.rxtp.traffic_class], in pvc_info() 154 vcc->qos.txtp.min_pcr, in pvc_info() 155 class_name[vcc->qos.txtp.traffic_class]); in pvc_info() 159 static const char *vcc_state(struct atm_vcc *vcc) in vcc_state() argument 163 return map[ATM_VF2VS(vcc->flags)]; in vcc_state() 166 static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc) in vcc_info() argument [all …]
|
| H A D | pvc.c | 32 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...] |
| H A D | atm_misc.c | 15 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()
|
| /linux/Documentation/devicetree/bindings/iio/frequency/ |
| H A D | adi,admv1013.yaml | 42 vcc-drv-supply: 50 vcc-vva-supply: 54 vcc-amp1-supply: 58 vcc-amp2-supply: 62 vcc-env-supply: 66 vcc-bg-supply: 70 vcc-bg2-supply: 74 vcc-mixer-supply: 78 vcc-quad-supply: 112 - vcc-drv-supply [all …]
|
| H A D | adi,admv1014.yaml | 42 vcc-if-bb-supply: 46 vcc-vga-supply: 50 vcc-vva-supply: 54 vcc-lna-3p3-supply: 58 vcc-lna-1p5-supply: 62 vcc-bg-supply: 66 vcc-quad-supply: 70 vcc-mixer-supply: 106 - vcc-if-bb-supply 107 - vcc-vga-supply [all …]
|
| /linux/drivers/tty/ |
| H A D | vcc.c | 2 /* vcc.c: sun4v virtual channel concentrator 46 /* Microseconds that thread will delay waiting for a vcc port ref */ 108 * vcc_table_add() - Add VCC port to the VCC table 109 * @port: pointer to the VCC port 111 * Return: index of the port in the VCC table on success, 135 * vcc_table_remove() - Removes a VCC port from the VCC table 136 * @index: Index into the VCC table 151 * vcc_get() - Gets a reference to VCC port 152 * @index: Index into the VCC table 155 * Return: reference to the VCC port, if found [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-a64-olinuxino.dts | 167 vcc-pc-supply = <®_dcdc1>; 168 vcc-pd-supply = <®_dcdc1>; 169 vcc-pe-supply = <®_aldo1>; 170 vcc-pg-supply = <®_dldo4>; 179 * vcc-pl-supply = <®_aldo2>; 184 vcc-pa-supply = <®_dcdc1>; 185 vcc-pb-supply = <®_dcdc1>; 186 vcc-pc-supply = <®_dcdc1>; 187 vcc-pd-supply = <®_dcdc1>; 188 vcc-pe-supply = <®_aldo1>; [all …]
|
| H A D | sun55i-h728-x96qpro+.dts | 32 regulator-name = "vcc-5v"; 41 regulator-name = "vcc-3v3"; 90 vcc-pb-supply = <®_cldo3>; /* via VCC-IO */ 91 vcc-pc-supply = <®_cldo1>; 92 vcc-pd-supply = <®_dcdc4>; 93 vcc-pe-supply = <®_dcdc4>; 94 vcc-pf-supply = <®_cldo3>; /* actually switchable */ 95 vcc-pg-supply = <®_bldo1>; 96 vcc-ph-supply = <®_cldo3>; /* via VCC-IO */ 97 vcc-pi-supply = <®_dcdc4>; [all …]
|
| H A D | sun50i-a100-allwinner-perf1.dts | 47 vcc-pb-supply = <®_dcdc1>; 48 vcc-pc-supply = <®_eldo1>; 49 vcc-pd-supply = <®_dcdc1>; 50 vcc-pe-supply = <®_dldo2>; 51 vcc-pf-supply = <®_dcdc1>; 52 vcc-pg-supply = <®_dldo1>; 53 vcc-ph-supply = <®_dcdc1>; 62 * vcc-pl-supply = <®_aldo3>; 88 regulator-name = "vcc-pll-avcc"; 95 regulator-name = "vcc-dram-1"; [all …]
|
| H A D | sun55i-a527-cubie-a5e.dts | 52 regulator-name = "vcc-5v"; 140 vcc-pb-supply = <®_cldo3>; /* via VCC-IO */ 141 vcc-pc-supply = <®_cldo1>; 142 vcc-pd-supply = <®_cldo3>; 143 vcc-pe-supply = <®_aldo2>; 144 vcc-pf-supply = <®_cldo3>; /* actually switchable */ 145 vcc-pg-supply = <®_bldo1>; 146 vcc-ph-supply = <®_cldo3>; /* via VCC-IO */ 147 vcc-pi-supply = <®_cldo3>; 148 vcc-pj-supply = <®_cldo4>; [all …]
|
| H A D | sun50i-h64-remix-mini-pc.dts | 39 regulator-name = "vcc-5v"; 165 vcc-pb-supply = <®_dcdc1>; 166 vcc-pc-supply = <®_dcdc1>; 167 vcc-pd-supply = <®_dcdc1>; 168 vcc-pe-supply = <®_dcdc1>; 169 vcc-pf-supply = <®_dcdc1>; 170 vcc-pg-supply = <®_dldo4>; 171 vcc-ph-supply = <®_dcdc1>; 183 * vcc-pl-supply = <®_aldo2>; 223 regulator-name = "vcc-3v3"; [all …]
|
| H A D | sun50i-h6-orangepi.dtsi | 60 regulator-name = "vcc-5v"; 111 vcc-pc-supply = <®_bldo2>; 112 vcc-pd-supply = <®_cldo1>; 113 vcc-pg-supply = <®_aldo1>; 141 regulator-name = "vcc-pl"; 147 regulator-name = "vcc-ac200"; 161 regulator-name = "vcc-bias-pll"; 168 regulator-name = "vcc-efuse-pcie-hdmi-io"; 175 regulator-name = "vcc-dcxoio"; 186 regulator-name = "vcc-3v3"; [all …]
|
| H A D | sun50i-h6-beelink-gs1.dts | 57 regulator-name = "vcc-5v"; 151 vcc-pd-supply = <®_cldo1>; 152 vcc-pg-supply = <®_aldo1>; 180 regulator-name = "vcc-pl"; 186 regulator-name = "vcc-ac200"; 201 regulator-name = "vcc-bias-pll"; 208 regulator-name = "vcc-efuse-pcie-hdmi-io"; 215 regulator-name = "vcc-dcxoio"; 226 regulator-name = "vcc-3v3"; 232 regulator-name = "vcc-wifi-1"; [all …]
|
| H A D | sun50i-h618-orangepi-zero2w.dts | 40 regulator-name = "vcc-5v"; 49 regulator-name = "vcc-3v3"; 89 vcc-pc-supply = <®_dldo1>; 90 vcc-pf-supply = <®_dldo1>; /* internally via VCC-IO */ 91 vcc-pg-supply = <®_aldo1>; 92 vcc-ph-supply = <®_dldo1>; /* internally via VCC-IO */ 93 vcc-pi-supply = <®_dldo1>; 112 /* Supplies VCC-PLL and DRAM */ 120 /* Supplies VCC-IO, so needs to be always on. */
|
| /linux/drivers/usb/atm/ |
| H A D | usbatm.c | 38 * - 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->pop(vcc, skb); in usbatm_pop() [all …]
|
| /linux/arch/riscv/boot/dts/allwinner/ |
| H A D | sun20i-common-regulators.dtsi | 5 reg_vcc: vcc { 7 regulator-name = "vcc"; 12 reg_vcc_3v3: vcc-3v3 { 14 regulator-name = "vcc-3v3"; 22 vcc-pb-supply = <®_vcc_3v3>; 23 vcc-pc-supply = <®_vcc_3v3>; 24 vcc-pd-supply = <®_vcc_3v3>; 25 vcc-pe-supply = <®_vcc_3v3>; 26 vcc-pf-supply = <®_vcc_3v3>; 27 vcc-pg-supply = <®_vcc_3v3>;
|
| /linux/drivers/leds/ |
| H A D | leds-regulator.c | 27 struct regulator *vcc; member 66 ret = regulator_enable(led->vcc); in regulator_led_enable() 68 dev_err(led->cdev.dev, "Failed to enable vcc: %d\n", ret); in regulator_led_enable() 82 ret = regulator_disable(led->vcc); in regulator_led_disable() 84 dev_err(led->cdev.dev, "Failed to disable vcc: %d\n", ret); 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() [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sunxi-libretech-all-h3-it.dtsi | 57 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 = <®_vcc_io>; 145 vcc-pc-supply = <®_vcc_io>; 146 vcc-pd-supply = <®_vcc_io>; 147 vcc-pe-supply = <®_vcc_io>; [all …]
|
| H A D | sun8i-r40-feta40i.dtsi | 38 vcc-pa-supply = <®_dcdc1>; 39 vcc-pc-supply = <®_aldo2>; 40 vcc-pd-supply = <®_dcdc1>; 41 vcc-pf-supply = <®_dldo4>; 42 vcc-pg-supply = <®_dldo1>; 49 regulator-name = "vcc-3v3-tv-usb"; 56 regulator-name = "vcc-pa"; 70 regulator-name = "vcc-3v3"; 91 regulator-name = "vcc-dram"; 98 regulator-name = "vcc-wifi-io"; [all …]
|
| H A D | sun9i-a80-optimus.dts | 191 vcc-pa-supply = <®_ldo_io1>; 192 vcc-pb-supply = <®_aldo2>; 193 vcc-pc-supply = <®_dcdc1>; 194 vcc-pd-supply = <®_dcdc1>; 195 vcc-pe-supply = <®_eldo2>; 196 vcc-pf-supply = <®_dcdc1>; 197 vcc-pg-supply = <®_ldo_io0>; 198 vcc-ph-supply = <®_dcdc1>; 206 vcc-pl-supply = <®_dldo2>; 207 vcc-pm-supply = <®_eldo3>; [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | max1600.c | 68 int max1600_configure(struct max1600 *m, unsigned int vcc, unsigned int vpp) in max1600_configure() argument 80 } else if (vpp == vcc) { in max1600_configure() 89 } else if (vpp != vcc && vpp != 0) { in max1600_configure() 94 if (vcc == 0) { in max1600_configure() 97 } else if (vcc == 33) { /* VY */ in max1600_configure() 100 } else if (vcc == 50) { /* VX */ in max1600_configure() 104 dev_err(m->dev, "unrecognised Vcc %u.%uV\n", in max1600_configure() 105 vcc / 10, vcc % 10); in max1600_configure() 112 * except the VCC pins are inverted. in max1600_configure()
|
| /linux/drivers/atm/ |
| H A D | solos-pci.c | 92 struct atm_vcc *vcc; member 163 struct atm_vcc *vcc); 173 static inline void solos_pop(struct atm_vcc *vcc, struct sk_buff *skb) in solos_pop() argument 175 if (vcc->pop) in solos_pop() 176 vcc->pop(vcc, skb); in solos_pop() 775 struct atm_vcc *vcc; in solos_bh() local 828 vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi), in solos_bh() 830 if (!vcc) { in solos_bh() 838 atm_charge(vcc, skb->truesize); in solos_bh() 839 vcc->push(vcc, skb); in solos_bh() [all …]
|