Home
last modified time | relevance | path

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

12345678910>>...15

/linux/net/atm/
H A 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 bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size) in vcc_tx_ready() argument
67 struct sock *sk = sk_atm(vcc); in vcc_tx_ready()
69 if (sk_wmem_alloc_get(sk) && !atm_may_send(vcc, size)) { in vcc_tx_ready()
101 struct atm_vcc *vcc = atm_sk(sk); in vcc_writable() local
103 return (vcc->qos.txtp.max_sdu + in vcc_writable()
126 struct atm_vcc *vcc = atm_sk(sk); in vcc_release_cb() local
128 if (vcc->release_cb) in vcc_release_cb()
[all …]
H A 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()
/linux/include/linux/
H A Datmdev.h81 void (*release_cb)(struct atm_vcc *vcc); /* release_sock callback */
82 void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
83 void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
84 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
103 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm() argument
105 return (struct sock *)vcc; in sk_atm()
131 int (*open)(struct atm_vcc *vcc);
132 void (*close)(struct atm_vcc *vcc);
138 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
144 struct atm_vcc *vcc; /* ATM VCC */ member
[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/drivers/usb/atm/
H A Dusbatm.c135 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()
293 struct atm_vcc *vcc; in usbatm_extract_one_cell() local
312 vcc = instance->cached_vcc->vcc; in usbatm_extract_one_cell()
319 atomic_inc(&vcc->stats->rx_err); in usbatm_extract_one_cell()
[all …]
/linux/arch/arm64/boot/dts/allwinner/
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 …]
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-h64-remix-mini-pc.dts39 regulator-name = "vcc-5v";
165 vcc-pb-supply = <&reg_dcdc1>;
166 vcc-pc-supply = <&reg_dcdc1>;
167 vcc-pd-supply = <&reg_dcdc1>;
168 vcc-pe-supply = <&reg_dcdc1>;
169 vcc-pf-supply = <&reg_dcdc1>;
170 vcc-pg-supply = <&reg_dldo4>;
171 vcc-ph-supply = <&reg_dcdc1>;
183 * vcc-pl-supply = <&reg_aldo2>;
223 regulator-name = "vcc-3v3";
[all …]
H A Dsun55i-a527-cubie-a5e.dts52 regulator-name = "vcc-5v";
140 vcc-pb-supply = <&reg_cldo3>; /* via VCC-IO */
141 vcc-pc-supply = <&reg_cldo1>;
142 vcc-pd-supply = <&reg_cldo3>;
143 vcc-pe-supply = <&reg_aldo2>;
144 vcc-pf-supply = <&reg_cldo3>; /* actually switchable */
145 vcc-pg-supply = <&reg_bldo1>;
146 vcc-ph-supply = <&reg_cldo3>; /* via VCC-IO */
147 vcc-pi-supply = <&reg_cldo3>;
148 vcc-pj-supply = <&reg_cldo4>;
[all …]
H A Dsun50i-h6-orangepi.dtsi60 regulator-name = "vcc-5v";
111 vcc-pc-supply = <&reg_bldo2>;
112 vcc-pd-supply = <&reg_cldo1>;
113 vcc-pg-supply = <&reg_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 Dsun50i-h618-longan-module-3h.dtsi45 regulator-name = "vcc-1v8-pll";
52 regulator-name = "vcc-3v3-io";
80 vcc-pc-supply = <&reg_dldo1>;
81 vcc-pf-supply = <&reg_dldo1>;
82 vcc-pg-supply = <&reg_aldo1>;
83 vcc-ph-supply = <&reg_dldo1>;
84 vcc-pi-supply = <&reg_dldo1>;
H A Dsun50i-a133-liontron-h-a133l.dts39 regulator-name = "vcc-5v";
114 vcc-pb-supply = <&reg_dcdc1>;
115 vcc-pc-supply = <&reg_eldo1>;
116 vcc-pf-supply = <&reg_dcdc1>;
117 vcc-ph-supply = <&reg_dcdc1>;
141 regulator-name = "vcc-codec-avcc";
148 regulator-name = "vcc-dram-1";
155 regulator-name = "vcc-usb-pl";
162 regulator-name = "vcc-io-usb-pd-emmc";
190 regulator-name = "vcc-dram";
[all …]
H A Dsun50i-h6-beelink-gs1.dts57 regulator-name = "vcc-5v";
151 vcc-pd-supply = <&reg_cldo1>;
152 vcc-pg-supply = <&reg_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 Dsun50i-a64-pine64.dts171 regulator-name = "vcc-pl";
178 regulator-name = "vcc-pll-avcc";
182 regulator-name = "vcc-phy";
189 regulator-name = "vcc-3v3";
210 regulator-name = "vcc-dram";
223 regulator-name = "vcc-hdmi";
229 regulator-name = "vcc-mipi";
235 regulator-name = "vcc-wifi";
247 regulator-name = "vcc-1v2-hsic";
263 regulator-name = "vcc-rtc";
[all …]
H A Dsun50i-h616-orangepi-zero2.dts60 regulator-name = "vcc-sys";
133 regulator-name = "vcc-eth-mmc";
144 vcc-pc-supply = <&reg_aldo1>;
145 vcc-pf-supply = <&reg_aldo1>;
146 vcc-pg-supply = <&reg_bldo1>;
147 vcc-ph-supply = <&reg_aldo1>;
148 vcc-pi-supply = <&reg_aldo1>;
H A Dsun50i-h618-transpeed-8k618-t.dts30 regulator-name = "vcc-5v";
39 regulator-name = "vcc-3v3";
139 regulator-name = "vcc-1v8-pll";
146 regulator-name = "vcc-3v3-io-mmc";
174 vcc-pc-supply = <&reg_aldo1>;
175 vcc-pg-supply = <&reg_dldo1>;
176 vcc-ph-supply = <&reg_dldo1>;
177 vcc-pi-supply = <&reg_dldo1>;
H A Dsun50i-a64-nanopi-a64.dts169 regulator-name = "vcc-pl";
176 regulator-name = "vcc-pll-avcc";
183 regulator-name = "vcc-3v3";
199 regulator-name = "vcc-dram";
213 regulator-name = "vcc-hdmi-dsi";
220 regulator-name = "vcc-pg-wifi-io";
232 regulator-name = "vcc-1v2-hsic";
248 regulator-name = "vcc-rtc";
252 vcc-hdmi-supply = <&reg_dldo1>;
H A Dsun50i-a64-amarula-relic.dts136 * Schematic shows both dldo4 and eldo1 connected for vcc-io-wifi, but
138 * 0Ohm register to vcc-io-wifi so eldo1 is used.
194 regulator-name = "vcc-pl";
201 regulator-name = "vcc-pll-avcc";
208 regulator-name = "vcc-3v3";
224 regulator-name = "vcc-dram";
237 regulator-name = "vcc-hdmi-dsi-sensor";
243 regulator-name = "vcc-mipi";
255 regulator-name = "vcc-wifi-io";
279 regulator-name = "vcc-1v2-hsic";
[all …]
/linux/drivers/leds/
H A Dleds-regulator.c26 struct regulator *vcc; member
65 ret = regulator_enable(led->vcc); in regulator_led_enable()
81 ret = regulator_disable(led->vcc); in regulator_led_disable()
105 voltage = led_regulator_get_voltage(led->vcc, value); in regulator_led_brightness_set()
109 ret = regulator_set_voltage(led->vcc, voltage, voltage); in regulator_led_brightness_set()
129 struct regulator *vcc; in regulator_led_probe() local
132 vcc = devm_regulator_get_exclusive(dev, "vled"); in regulator_led_probe()
133 if (IS_ERR(vcc)) { in regulator_led_probe()
135 return PTR_ERR(vcc); in regulator_led_probe()
144 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 …]
H A Dsun8i-r40-feta40i.dtsi38 vcc-pa-supply = <&reg_dcdc1>;
39 vcc-pc-supply = <&reg_aldo2>;
40 vcc-pd-supply = <&reg_dcdc1>;
41 vcc-pf-supply = <&reg_dldo4>;
42 vcc-pg-supply = <&reg_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 Dsun9i-a80-optimus.dts191 vcc-pa-supply = <&reg_ldo_io1>;
192 vcc-pb-supply = <&reg_aldo2>;
193 vcc-pc-supply = <&reg_dcdc1>;
194 vcc-pd-supply = <&reg_dcdc1>;
195 vcc-pe-supply = <&reg_eldo2>;
196 vcc-pf-supply = <&reg_dcdc1>;
197 vcc-pg-supply = <&reg_ldo_io0>;
198 vcc-ph-supply = <&reg_dcdc1>;
206 vcc-pl-supply = <&reg_dldo2>;
207 vcc-pm-supply = <&reg_eldo3>;
[all …]
H A Dsunxi-d1s-t113-mangopi-mq-r.dtsi32 regulator-name = "vcc-5v";
41 regulator-name = "vcc-3v3";
50 regulator-name = "vcc-core";
104 vcc-pb-supply = <&reg_3v3>;
105 vcc-pd-supply = <&reg_3v3>;
106 vcc-pe-supply = <&reg_avdd2v8>;
107 vcc-pf-supply = <&reg_3v3>;
108 vcc-pg-supply = <&reg_3v3>;
/linux/drivers/pcmcia/
H A Dmax1600.c68 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()
105 vcc / 10, vcc % 10); in max1600_configure()
/linux/drivers/gnss/
H A Dmtk.c21 struct regulator *vcc; member
29 ret = regulator_enable(data->vcc); in mtk_set_active()
41 ret = regulator_disable(data->vcc); in mtk_set_standby()
84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in mtk_probe()
85 if (IS_ERR(data->vcc)) { in mtk_probe()
86 ret = PTR_ERR(data->vcc); in mtk_probe()

12345678910>>...15