Searched defs:ret (Results 1 - 25 of 5654) sorted by relevance

1234567891011>>

/drivers/base/
H A Dpinctrl.c24 int ret; local
33 ret = PTR_ERR(dev->pins->p);
41 ret = 0;
45 ret = pinctrl_select_state(dev->pins->p, dev->pins->default_state);
46 if (ret) {
84 if (ret != -EPROBE_DEFER)
85 ret = 0;
87 return ret;
H A Dsyscore.c52 int ret = 0; local
68 ret = ops->suspend();
69 if (ret)
87 return ret;
/drivers/clk/
H A Dclk-bcm2835.c33 int ret; local
49 ret = clk_register_clkdev(clk, NULL, "20201000.uart");
50 if (ret)
57 ret = clk_register_clkdev(clk, NULL, "20215000.uart");
58 if (ret)
/drivers/media/usb/dvb-usb/
H A Ddvb-usb-i2c.c12 int ret = 0; local
29 if ((ret = i2c_add_adapter(&d->i2c_adap)) < 0)
34 return ret;
/drivers/pcmcia/
H A Dpxa2xx_cm_x2xx.c25 int ret = -ENODEV; local
28 ret = cmx255_pcmcia_init();
30 ret = cmx270_pcmcia_init();
32 return ret;
/drivers/leds/
H A Dleds-gpio-register.c28 struct platform_device *ret; local
39 ret = platform_device_register_resndata(NULL, "leds-gpio", id,
41 if (IS_ERR(ret))
44 return ret;
/drivers/net/wireless/ti/wl12xx/
H A Dacx.c32 int ret; local
36 ret = -ENOMEM;
42 ret = wl1271_cmd_configure(wl, ACX_HOST_IF_CFG_BITMAP,
44 if (ret < 0) {
45 wl1271_warning("wl1271 bitmap config opt failed: %d", ret);
52 return ret;
/drivers/gpu/drm/msm/
H A Dmsm_ringbuffer.c24 int ret; local
30 ret = -ENOMEM;
37 ret = PTR_ERR(ring->bo);
53 return ERR_PTR(ret);
/drivers/gpu/drm/nouveau/core/engine/disp/
H A Dhdanva3.c40 int ret, i; local
48 return ret;
H A Dhdanvd0.c41 int ret, i; local
49 return ret;
H A Dhdminv84.c39 int ret; local
54 return ret;
H A Dhdminva3.c39 int ret; local
54 return ret;
H A Dhdminvd0.c39 int ret; local
53 return ret;
H A Dhdminve0.c40 int ret; local
54 return ret;
H A Dsornv50.c43 int ret; local
51 return ret;
/drivers/gpu/drm/nouveau/core/subdev/ltc/
H A Dgk104.c32 int ret; local
34 ret = nvkm_ltc_init(priv);
35 if (ret)
36 return ret;
/drivers/gpu/drm/nouveau/core/subdev/timer/
H A Dgk20a.c33 int ret; local
35 ret = nouveau_timer_init(&priv->base);
36 if (ret)
37 return ret;
/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c54 int ret; local
64 ret = (*fn)(filp, cmd, arg);
66 ret = nouveau_drm_ioctl(filp, cmd, arg);
68 return ret;
/drivers/infiniband/hw/mthca/
H A Dmthca_uar.c56 int ret; local
58 ret = mthca_alloc_init(&dev->uar_table.alloc,
62 if (ret)
63 return ret;
65 ret = mthca_init_db_tab(dev);
66 if (ret)
69 return ret;
/drivers/pci/
H A Dirq.c40 enum pci_lost_interrupt_reason ret; local
44 ret = PCI_LOST_IRQ_DISABLE_MSIX;
47 ret = PCI_LOST_IRQ_DISABLE_MSI;
49 return ret;
/drivers/staging/comedi/drivers/
H A Damplc_dio200.c251 int ret; local
253 ret = comedi_request_region(dev, it->options[0], 0x20);
254 if (ret)
255 return ret;
H A Damplc_pc236.c52 int ret; local
58 ret = comedi_request_region(dev, it->options[0], 0x4);
59 if (ret)
60 return ret;
/drivers/usb/dwc3/
H A Dhost.c27 int ret; local
32 ret = -ENOMEM;
44 ret = platform_device_add_resources(xhci, dwc->xhci_resources,
46 if (ret) {
57 ret = platform_device_add_data(xhci, &pdata, sizeof(pdata));
58 if (ret) {
63 ret = platform_device_add(xhci);
64 if (ret) {
75 return ret;
/drivers/usb/musb/
H A Dmusb_am335x.c8 int ret; local
12 ret = of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);
13 if (ret)
19 return ret;
/drivers/video/
H A Dof_videomode.c35 int ret; local
46 ret = videomode_from_timings(disp, vm, index);
47 if (ret)
48 return ret;

Completed in 391 milliseconds

1234567891011>>