| /linux/net/atm/ |
| H A D | common.c | 44 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 D | atm_misc.c | 14 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 D | atmdev.h | 81 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 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/usb/atm/ |
| H A D | usbatm.c | 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() 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 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 | 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 | 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 | 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-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-h618-longan-module-3h.dtsi | 45 regulator-name = "vcc-1v8-pll"; 52 regulator-name = "vcc-3v3-io"; 80 vcc-pc-supply = <®_dldo1>; 81 vcc-pf-supply = <®_dldo1>; 82 vcc-pg-supply = <®_aldo1>; 83 vcc-ph-supply = <®_dldo1>; 84 vcc-pi-supply = <®_dldo1>;
|
| H A D | sun50i-a133-liontron-h-a133l.dts | 39 regulator-name = "vcc-5v"; 114 vcc-pb-supply = <®_dcdc1>; 115 vcc-pc-supply = <®_eldo1>; 116 vcc-pf-supply = <®_dcdc1>; 117 vcc-ph-supply = <®_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 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-a64-pine64.dts | 171 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 D | sun50i-h616-orangepi-zero2.dts | 60 regulator-name = "vcc-sys"; 133 regulator-name = "vcc-eth-mmc"; 144 vcc-pc-supply = <®_aldo1>; 145 vcc-pf-supply = <®_aldo1>; 146 vcc-pg-supply = <®_bldo1>; 147 vcc-ph-supply = <®_aldo1>; 148 vcc-pi-supply = <®_aldo1>;
|
| H A D | sun50i-h618-transpeed-8k618-t.dts | 30 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 = <®_aldo1>; 175 vcc-pg-supply = <®_dldo1>; 176 vcc-ph-supply = <®_dldo1>; 177 vcc-pi-supply = <®_dldo1>;
|
| H A D | sun50i-a64-nanopi-a64.dts | 169 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 = <®_dldo1>;
|
| H A D | sun50i-a64-amarula-relic.dts | 136 * 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 D | leds-regulator.c | 26 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 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 …]
|
| H A D | sunxi-d1s-t113-mangopi-mq-r.dtsi | 32 regulator-name = "vcc-5v"; 41 regulator-name = "vcc-3v3"; 50 regulator-name = "vcc-core"; 104 vcc-pb-supply = <®_3v3>; 105 vcc-pd-supply = <®_3v3>; 106 vcc-pe-supply = <®_avdd2v8>; 107 vcc-pf-supply = <®_3v3>; 108 vcc-pg-supply = <®_3v3>;
|
| /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() 105 vcc / 10, vcc % 10); in max1600_configure()
|
| /linux/drivers/gnss/ |
| H A D | mtk.c | 21 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()
|