| /drivers/atm/ |
| 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() 321 if (vcc->pop) vcc->pop(vcc,skb); in atmtcp_c_send() [all …]
|
| 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 …]
|
| A D | iphase.c | 652 vcc = ATM_SKB(skb)->vcc; in ia_tx_poll() 674 vcc->pop(vcc, skb1); in ia_tx_poll() 689 vcc->pop(vcc, skb); in ia_tx_poll() 1186 ATM_SKB(skb)->vcc = vcc; 1316 vcc = ATM_SKB(skb)->vcc; 1352 vcc->push(vcc,skb); 1415 vcc->dev->number, vcc->vci); 2637 if (vcc->pop) vcc->pop(vcc, skb); 2902 vcc->pop(vcc, skb); 2940 vcc->pop(vcc, skb); [all …]
|
| A D | fore200e.c | 828 vcc = vc_map->vcc; in fore200e_tx_irq() 1033 vcc->itf, vcc->vpi, vcc->vci); in fore200e_push_rpd() 1213 vcc->itf, vcc->vpi, vcc->vci, scheme); in fore200e_select_scheme() 1326 vc_map->vcc = vcc; in fore200e_open() 1338 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1390 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_open() 1436 vcc->itf = vcc->vci = vcc->vpi = 0; in fore200e_close() 1533 vcc->pop(vcc, skb); in fore200e_send() 1579 vcc->pop(vcc, skb); in fore200e_send() 1616 vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), in fore200e_send() [all …]
|
| A D | nicstar.c | 1664 ATM_SKB(skb)->vcc = vcc; in _ns_send() 1942 vcc = ATM_SKB(skb)->vcc; in drain_scq() 1944 vcc->pop(vcc, skb); in drain_scq() 2059 ATM_SKB(sb)->vcc = vcc; in dequeue_rx() 2061 vcc->push(vcc, sb); in dequeue_rx() 2177 ATM_SKB(skb)->vcc = vcc; in dequeue_rx() 2179 vcc->push(vcc, skb); in dequeue_rx() 2197 vcc->push(vcc, sb); in dequeue_rx() 2216 vcc->push(vcc, skb); in dequeue_rx() 2320 ATM_SKB(hb)->vcc = vcc; in dequeue_rx() [all …]
|
| A D | idt77252.c | 680 vcc = ATM_SKB(skb)->vcc; in free_scq() 682 vcc->pop(vcc, skb); in free_scq() 691 vcc = ATM_SKB(skb)->vcc; in free_scq() 693 vcc->pop(vcc, skb); in free_scq() 807 vcc = ATM_SKB(skb)->vcc; in drain_scq() 810 vcc->pop(vcc, skb); in drain_scq() 849 vcc = ATM_SKB(skb)->vcc; in queue_skb() 1100 vcc->push(vcc, sb); in dequeue_rx() 1172 vcc->push(vcc, skb); in dequeue_rx() 1195 vcc->push(vcc, skb); in dequeue_rx() [all …]
|
| 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 …]
|
| A D | he.c | 1716 vcc->vpi, vcc->vci); in he_service_rbrq() 1763 ATM_SKB(skb)->vcc = vcc; in he_service_rbrq() 1766 vcc->push(vcc, skb); in he_service_rbrq() 2431 tpd->vcc = vcc; in he_close() 2504 vcc->pop(vcc, skb); in he_send() 2515 vcc->pop(vcc, skb); in he_send() 2527 vcc->pop(vcc, skb); in he_send() 2560 tpd->vcc = vcc; in he_send() 2569 vcc->pop(vcc, skb); in he_send() 2594 tpd->vcc = vcc; in he_send() [all …]
|
| A D | solos-pci.c | 176 vcc->pop(vcc, skb); in solos_pop() 830 if (!vcc) { in solos_bh() 839 vcc->push(vcc, skb); in solos_bh() 907 if (vcc->dev == dev && vcc->vci == vci && in find_vcc() 912 vcc = NULL; in find_vcc() 915 return vcc; in find_vcc() 961 if (SKB_CB(skb)->vcc == vcc) { in pclose() 1034 SKB_CB(skb)->vcc = vcc; in fpga_queue() 1118 vcc = SKB_CB(oldskb)->vcc; in fpga_tx() 1120 if (vcc) { in fpga_tx() [all …]
|
| /drivers/usb/atm/ |
| 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 …]
|
| /drivers/leds/ |
| 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 …]
|
| /drivers/pcmcia/ |
| 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()
|
| /drivers/usb/phy/ |
| A D | phy-generic.c | 54 if (!IS_ERR(nop->vcc) && !device_may_wakeup(x->dev)) in nop_set_suspend() 55 ret = regulator_disable(nop->vcc); in nop_set_suspend() 57 if (!IS_ERR(nop->vcc) && !device_may_wakeup(x->dev)) in nop_set_suspend() 58 ret = regulator_enable(nop->vcc); in nop_set_suspend() 135 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_init() 136 if (regulator_enable(nop->vcc)) in usb_gen_phy_init() 161 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_shutdown() 162 if (regulator_disable(nop->vcc)) in usb_gen_phy_shutdown() 254 nop->vcc = devm_regulator_get_optional(dev, "vcc"); in usb_phy_gen_create_phy() 255 if (IS_ERR(nop->vcc) && PTR_ERR(nop->vcc) != -ENODEV) in usb_phy_gen_create_phy() [all …]
|
| /drivers/gnss/ |
| A D | ubx.c | 21 struct regulator *vcc; member 29 ret = regulator_enable(data->vcc); in ubx_set_active() 41 ret = regulator_disable(data->vcc); in ubx_set_standby() 85 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe() 86 if (IS_ERR(data->vcc)) { in ubx_probe() 87 ret = PTR_ERR(data->vcc); in ubx_probe()
|
| 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()
|
| A D | sirf.c | 42 struct regulator *vcc; member 299 ret = regulator_disable(data->vcc); in sirf_runtime_suspend() 314 ret2 = regulator_enable(data->vcc); in sirf_runtime_suspend() 336 ret = regulator_enable(data->vcc); in sirf_runtime_resume() 428 data->vcc = devm_regulator_get(dev, "vcc"); in sirf_probe() 429 if (IS_ERR(data->vcc)) { in sirf_probe() 430 ret = PTR_ERR(data->vcc); in sirf_probe() 455 ret = regulator_enable(data->vcc); in sirf_probe() 529 regulator_disable(data->vcc); in sirf_probe() 551 regulator_disable(data->vcc); in sirf_remove()
|
| /drivers/gpu/drm/bridge/ |
| A D | thc63lvd1024.c | 29 struct regulator *vcc; member 90 ret = regulator_enable(thc63->vcc); in thc63_enable() 109 ret = regulator_disable(thc63->vcc); in thc63_disable() 192 thc63->vcc = devm_regulator_get(thc63->dev, "vcc"); in thc63_probe() 193 if (IS_ERR(thc63->vcc)) { in thc63_probe() 194 if (PTR_ERR(thc63->vcc) == -EPROBE_DEFER) in thc63_probe() 198 PTR_ERR(thc63->vcc)); in thc63_probe() 199 return PTR_ERR(thc63->vcc); in thc63_probe()
|
| A D | ti-tdp158.c | 16 struct regulator *vcc; // 3.3V member 27 err = regulator_enable(tdp158->vcc); in tdp158_enable() 45 regulator_disable(tdp158->vcc); in tdp158_disable() 80 tdp158->vcc = devm_regulator_get(dev, "vcc"); in tdp158_probe() 81 if (IS_ERR(tdp158->vcc)) in tdp158_probe() 82 return dev_err_probe(dev, PTR_ERR(tdp158->vcc), "vcc"); in tdp158_probe()
|
| A D | lvds-codec.c | 25 struct regulator *vcc; member 51 ret = regulator_enable(lvds_codec->vcc); in lvds_codec_enable() 70 ret = regulator_disable(lvds_codec->vcc); in lvds_codec_disable() 129 lvds_codec->vcc = devm_regulator_get(lvds_codec->dev, "power"); in lvds_codec_probe() 130 if (IS_ERR(lvds_codec->vcc)) in lvds_codec_probe() 131 return dev_err_probe(dev, PTR_ERR(lvds_codec->vcc), in lvds_codec_probe()
|
| /drivers/video/fbdev/omap2/omapfb/displays/ |
| A D | panel-sharp-ls037v7dw01.c | 21 struct regulator *vcc; member 95 if (ddata->vcc) { in sharp_ls_enable() 96 r = regulator_enable(ddata->vcc); in sharp_ls_enable() 103 regulator_disable(ddata->vcc); in sharp_ls_enable() 141 if (ddata->vcc) in sharp_ls_disable() 142 regulator_disable(ddata->vcc); in sharp_ls_disable() 212 ddata->vcc = devm_regulator_get(&pdev->dev, "envdd"); in sharp_ls_probe_of() 213 if (IS_ERR(ddata->vcc)) in sharp_ls_probe_of() 214 return dev_err_probe(&pdev->dev, PTR_ERR(ddata->vcc), in sharp_ls_probe_of()
|
| /drivers/iio/dac/ |
| A D | m62332.c | 25 struct regulator *vcc; member 47 res = regulator_enable(data->vcc); in m62332_set_value() 61 regulator_disable(data->vcc); in m62332_set_value() 85 ret = regulator_get_voltage(data->vcc); in m62332_read_raw() 195 data->vcc = devm_regulator_get(&client->dev, "VCC"); in m62332_probe() 196 if (IS_ERR(data->vcc)) in m62332_probe() 197 return PTR_ERR(data->vcc); in m62332_probe()
|
| /drivers/input/serio/ |
| A D | ams_delta_serio.c | 36 struct regulator *vcc; member 97 return regulator_enable(priv->vcc); in ams_delta_serio_open() 105 regulator_disable(priv->vcc); in ams_delta_serio_close() 122 priv->vcc = devm_regulator_get(&pdev->dev, "vcc"); in ams_delta_serio_init() 123 if (IS_ERR(priv->vcc)) { in ams_delta_serio_init() 124 err = PTR_ERR(priv->vcc); in ams_delta_serio_init()
|
| /drivers/input/misc/ |
| A D | gpio-vibra.c | 30 struct regulator *vcc; member 43 err = regulator_enable(vibrator->vcc); in gpio_vibrator_start() 61 regulator_disable(vibrator->vcc); in gpio_vibrator_stop() 115 vibrator->vcc = devm_regulator_get(&pdev->dev, "vcc"); in gpio_vibrator_probe() 116 if (IS_ERR(vibrator->vcc)) in gpio_vibrator_probe() 117 return dev_err_probe(&pdev->dev, PTR_ERR(vibrator->vcc), in gpio_vibrator_probe()
|
| /drivers/nvmem/ |
| A D | qfprom.c | 79 struct regulator *vcc; member 156 ret = regulator_set_voltage(priv->vcc, 0, INT_MAX); in qfprom_disable_fuse_blowing() 160 ret = regulator_disable(priv->vcc); in qfprom_disable_fuse_blowing() 208 ret = regulator_set_voltage(priv->vcc, qfprom_blow_uV, INT_MAX); in qfprom_enable_fuse_blowing() 214 ret = regulator_enable(priv->vcc); in qfprom_enable_fuse_blowing() 237 regulator_disable(priv->vcc); in qfprom_enable_fuse_blowing() 437 priv->vcc = devm_regulator_get(&pdev->dev, "vcc"); in qfprom_probe() 438 if (IS_ERR(priv->vcc)) in qfprom_probe() 439 return PTR_ERR(priv->vcc); in qfprom_probe()
|
| /drivers/gpu/drm/panel/ |
| A D | panel-leadtek-ltk500hd1829.c | 40 struct regulator *vcc; member 507 regulator_disable(ctx->vcc); in ltk500hd1829_unprepare() 519 ret = regulator_enable(ctx->vcc); in ltk500hd1829_prepare() 567 regulator_disable(ctx->vcc); in ltk500hd1829_prepare() 623 ctx->vcc = devm_regulator_get(dev, "vcc"); in ltk500hd1829_probe() 624 if (IS_ERR(ctx->vcc)) { in ltk500hd1829_probe() 625 ret = PTR_ERR(ctx->vcc); in ltk500hd1829_probe()
|