/openbmc/linux/net/atm/ |
H A D | raw.c | 58 return vcc->dev->ops->send_bh(vcc, skb); in atm_send_aal0() 59 return vcc->dev->ops->send(vcc, skb); in atm_send_aal0() 65 vcc->pop = atm_pop_raw; in atm_init_aal0() 66 vcc->push_oam = NULL; in atm_init_aal0() 74 vcc->pop = atm_pop_raw; in atm_init_aal34() 75 vcc->push_oam = NULL; in atm_init_aal34() 77 vcc->send = vcc->dev->ops->send_bh; in atm_init_aal34() 79 vcc->send = vcc->dev->ops->send; in atm_init_aal34() 87 vcc->push_oam = NULL; in atm_init_aal5() 89 vcc->send = vcc->dev->ops->send_bh; in atm_init_aal5() [all …]
|
H A D | signaling.c | 49 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos() 72 vcc = *(struct atm_vcc **) &msg->vcc; in sigd_send() 80 if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) { in sigd_send() 87 session_vcc = vcc->session ? vcc->session : vcc; in sigd_send() 156 *(struct atm_vcc **) &msg->vcc = vcc; in sigd_enq2() 161 if (vcc) in sigd_enq2() 165 if (vcc) in sigd_enq2() 169 if (vcc) { in sigd_enq2() 175 if (vcc) in sigd_enq2() 183 sigd_enq2(vcc, type, listen_vcc, pvc, svc, vcc ? &vcc->qos : NULL, 0); in sigd_enq() [all …]
|
H A D | common.c | 130 vcc->release_cb(vcc); in vcc_release_cb() 167 vcc->vpi = vcc->vci = 0; /* no VCI/VPI yet */ in vcc_create() 168 vcc->atm_options = vcc->aal_options = 0; in vcc_create() 180 if (vcc->dev && vcc->dev->ops->close) in vcc_destroy_socket() 181 vcc->dev->ops->close(vcc); in vcc_destroy_socket() 183 vcc->push(vcc, NULL); /* atmarpd has no push */ in vcc_destroy_socket() 191 if (vcc->dev && vcc->dev->ops->owner) { in vcc_destroy_socket() 240 vcc->push(vcc, skb); in vcc_process_recv_queue() 484 vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu, in vcc_connect() 486 vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_sdu, in vcc_connect() [all …]
|
H A D | svc.c | 73 sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0); in svc_disconnect() 83 struct atm_vcc *vcc; in svc_release() local 86 vcc = ATM_SD(sock); in svc_release() 120 vcc = ATM_SD(sock); in svc_bind() 133 vcc->local = *addr; in svc_bind() 135 sigd_enq(vcc, as_bind, NULL, NULL, &vcc->local); in svc_bind() 212 sigd_enq(vcc, as_connect, NULL, NULL, &vcc->remote); in svc_connect() 273 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect() 277 error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci); in svc_connect() 306 sigd_enq(vcc, as_listen, NULL, NULL, &vcc->local); in svc_listen() [all …]
|
H A D | clip.c | 170 vcc = ATM_SKB(skb)->vcc; in clip_arp_rcv() 177 CLIP_VCC(vcc)->old_push(vcc, skb); in clip_arp_rcv() 217 ATM_SKB(skb)->vcc = vcc; in clip_push() 376 ATM_SKB(skb)->vcc = vcc = entry->vccs->vcc; in clip_start_xmit() 395 vcc->send(vcc, skb); in clip_start_xmit() 425 clip_vcc->vcc = vcc; in clip_mkip() 809 struct clip_vcc *vcc = state->vcc; in clip_seq_vcc_walk() local 811 vcc = clip_seq_next_vcc(e, vcc); in clip_seq_vcc_walk() 814 vcc = clip_seq_next_vcc(e, vcc); in clip_seq_vcc_walk() 820 state->vcc = vcc; in clip_seq_vcc_walk() [all …]
|
H A D | proc.c | 152 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info() 154 aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr, in pvc_info() 182 if (!vcc->dev) in vcc_info() 185 seq_printf(seq, "%3d %3d %5d ", vcc->dev->number, vcc->vpi, in vcc_info() 186 vcc->vci); in vcc_info() 206 if (!vcc->dev) in svc_info() 211 vcc->dev->number, vcc->vpi, vcc->vci); in svc_info() 214 *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : ""); in svc_info() 258 pvc_info(seq, vcc); in pvc_seq_show() 280 vcc_info(seq, vcc); in vcc_seq_show() [all …]
|
H A D | lec.c | 185 ATM_SKB(skb)->vcc = vcc; in lec_send() 188 if (vcc->send(vcc, skb) < 0) { in lec_send() 285 dev->name, vcc, vcc ? vcc->flags : 0, entry); in lec_start_xmit() 1851 tmp->vcc = entry->vcc; in lec_arp_update() 1897 entry->vcc = tmp->vcc; in lec_arp_update() 1991 entry->vcc = vcc; in lec_vcc_added() 2038 entry->vcc = vcc; in lec_vcc_added() 2136 to_add->vcc = vcc; in lec_mcast_make() 2161 if (vcc == entry->vcc) { in lec_vcc_close() 2172 if (entry->vcc == vcc) { in lec_vcc_close() [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()
|
H A D | pvc.c | 32 struct atm_vcc *vcc; in pvc_bind() local 41 vcc = ATM_SD(sock); 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->dev || !test_bit(ATM_VF_ADDR, &vcc->flags)) in pvc_getname() 100 addr->sap_addr.itf = vcc->dev->number; in pvc_getname() 101 addr->sap_addr.vpi = vcc->vpi; in pvc_getname() [all …]
|
H A D | pppoatm.c | 292 struct atm_vcc *vcc; in pppoatm_send() local 300 vcc = ATM_SKB(skb)->vcc; in pppoatm_send() 301 bh_lock_sock(sk_atm(vcc)); in pppoatm_send() 314 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 332 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 344 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 350 atm_account_tx(vcc, skb); in pppoatm_send() 352 skb, ATM_SKB(skb)->vcc, ATM_SKB(skb)->vcc->dev); in pppoatm_send() 353 ret = ATM_SKB(skb)->vcc->send(ATM_SKB(skb)->vcc, skb) in pppoatm_send() 355 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() [all …]
|
/openbmc/linux/drivers/atm/ |
H A D | atmtcp.c | 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() 69 *(struct atm_vcc **) &new_msg->vcc = vcc; in atmtcp_send_control() 75 out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL; in atmtcp_send_control() 91 struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc; in atmtcp_recv_control() local 200 if (vcc->pop) vcc->pop(vcc,skb); in atmtcp_v_send() 207 if (vcc->pop) vcc->pop(vcc,skb); in atmtcp_v_send() 216 if (vcc->pop) vcc->pop(vcc,skb); in atmtcp_v_send() 226 if (vcc->pop) vcc->pop(vcc,skb); in atmtcp_v_send() 319 if (vcc->pop) vcc->pop(vcc,skb); in atmtcp_c_send() [all …]
|
H A D | eni.c | 364 ATM_SKB(skb)->vcc = vcc; in do_rx_dma() 628 if (ENI_VCC(vcc)->rx(vcc)) return 1; in rx_vcc() 744 vcc = ATM_SKB(skb)->vcc; in dequeue_rx() 766 vcc->push(vcc,skb); in dequeue_rx() 1042 vcc = ATM_SKB(skb)->vcc; in do_tx() 1217 vcc = ATM_SKB(skb)->vcc; in dequeue_tx() 1231 if (vcc->pop) vcc->pop(vcc,skb); in dequeue_tx() 2040 if (vcc->pop) vcc->pop(vcc,skb); in eni_send() 2046 if (vcc->pop) vcc->pop(vcc,skb); in eni_send() 2051 if (vcc->pop) vcc->pop(vcc,skb); in eni_send() [all …]
|
H A D | iphase.c | 651 vcc = ATM_SKB(skb)->vcc; in ia_tx_poll() 673 vcc->pop(vcc, skb1); in ia_tx_poll() 688 vcc->pop(vcc, skb); in ia_tx_poll() 1185 ATM_SKB(skb)->vcc = vcc; 1315 vcc = ATM_SKB(skb)->vcc; 1351 vcc->push(vcc,skb); 1414 vcc->dev->number, vcc->vci); 2636 if (vcc->pop) vcc->pop(vcc, skb); 2901 vcc->pop(vcc, skb); 2939 vcc->pop(vcc, skb); [all …]
|
H A D | fore200e.c | 831 vcc = vc_map->vcc; in fore200e_tx_irq() 1036 vcc->itf, vcc->vpi, vcc->vci); in fore200e_push_rpd() 1216 vcc->itf, vcc->vpi, vcc->vci, scheme); in fore200e_select_scheme() 1329 vc_map->vcc = vcc; in fore200e_open() 1341 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1393 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1439 vcc->itf = vcc->vci = vcc->vpi = 0; in fore200e_close() 1536 vcc->pop(vcc, skb); in fore200e_send() 1582 vcc->pop(vcc, skb); in fore200e_send() 1619 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_send() [all …]
|
H A D | adummy.c | 90 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() 114 if (vcc->pop) in adummy_send() 115 vcc->pop(vcc, skb); in adummy_send() [all …]
|
H A D | nicstar.c | 1663 ATM_SKB(skb)->vcc = vcc; in _ns_send() 1941 vcc = ATM_SKB(skb)->vcc; in drain_scq() 1943 vcc->pop(vcc, skb); in drain_scq() 2058 ATM_SKB(sb)->vcc = vcc; in dequeue_rx() 2060 vcc->push(vcc, sb); in dequeue_rx() 2176 ATM_SKB(skb)->vcc = vcc; in dequeue_rx() 2178 vcc->push(vcc, skb); in dequeue_rx() 2196 vcc->push(vcc, sb); in dequeue_rx() 2215 vcc->push(vcc, skb); in dequeue_rx() 2319 ATM_SKB(hb)->vcc = vcc; in dequeue_rx() [all …]
|
/openbmc/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: 62 vcc-bg-supply: 66 vcc-quad-supply: 70 vcc-mixer-supply: 107 - vcc-vga-supply 108 - vcc-vva-supply 111 - vcc-bg-supply [all …]
|
/openbmc/linux/include/linux/ |
H A D | atmdev.h | 107 int (*push_oam)(struct atm_vcc *vcc,void *cell); 108 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb); 137 return (struct sock *)vcc; in sk_atm() 181 int (*open)(struct atm_vcc *vcc); 182 void (*close)(struct atm_vcc *vcc); 207 struct atm_vcc *vcc; /* ATM VCC */ member 249 ATM_SKB(skb)->atm_options = vcc->atm_options; in atm_account_tx() 254 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge() 260 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return() 267 sk_atm(vcc)->sk_sndbuf; in atm_may_send() [all …]
|
/openbmc/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>;
|
/openbmc/linux/drivers/usb/atm/ |
H A D | usbatm.c | 135 struct atm_vcc *vcc; member 185 if (vcc->pop) in usbatm_pop() 186 vcc->pop(vcc, skb); in usbatm_pop() 312 vcc = instance->cached_vcc->vcc; in usbatm_extract_one_cell() 401 vcc->push(vcc, skb); in usbatm_extract_one_cell() 459 struct atm_vcc *vcc = ctrl->atm.vcc; in usbatm_write_cells() local 470 ptr[1] = (vcc->vpi << 4) | (vcc->vci >> 12); in usbatm_write_cells() 600 struct atm_vcc *vcc = UDSL_SKB(skb)->atm.vcc; in usbatm_tx_process() local 627 if (UDSL_SKB(skb)->atm.vcc == vcc) { in usbatm_cancel_send() 675 ctrl->atm.vcc = vcc; in usbatm_atm_send() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a100-allwinner-perf1.dts | 24 vcc-pb-supply = <®_dcdc1>; 25 vcc-pc-supply = <®_eldo1>; 26 vcc-pd-supply = <®_dcdc1>; 27 vcc-pe-supply = <®_dldo2>; 28 vcc-pf-supply = <®_dcdc1>; 29 vcc-pg-supply = <®_dldo1>; 30 vcc-ph-supply = <®_dcdc1>; 39 * vcc-pl-supply = <®_aldo3>; 72 regulator-name = "vcc-dram-1"; 79 regulator-name = "vcc-usb-pl"; [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>; 184 vcc-pa-supply = <®_dcdc1>; 185 vcc-pb-supply = <®_dcdc1>; 226 regulator-name = "vcc-pe"; 233 regulator-name = "vcc-pl"; 247 regulator-name = "vcc-3v3"; 267 regulator-name = "vcc-ddr3"; [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-regulator.c | 27 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() 159 led->vcc = vcc; in regulator_led_probe() [all …]
|
/openbmc/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 { 144 vcc-pa-supply = <®_vcc_io>; 145 vcc-pc-supply = <®_vcc_io>; 146 vcc-pd-supply = <®_vcc_io>; 147 vcc-pe-supply = <®_vcc_io>; 148 vcc-pf-supply = <®_vcc_io>; [all …]
|