Searched defs:ret (Results 251 - 275 of 5654) sorted by relevance

<<11121314151617181920>>

/drivers/pcmcia/
H A Dpxa2xx_balloon3.c108 int ret; local
117 ret = platform_device_add_data(balloon3_pcmcia_device,
120 if (!ret)
121 ret = platform_device_add(balloon3_pcmcia_device);
123 if (ret)
126 return ret;
H A Dpxa2xx_cm_x270.c27 int ret = gpio_request(GPIO_PCMCIA_RESET, "PCCard reset"); local
28 if (ret)
29 return ret;
37 return ret;
83 int ret; local
90 ret = platform_device_add_data(cmx270_pcmcia_device, &cmx270_pcmcia_ops,
93 if (ret == 0) {
95 ret = platform_device_add(cmx270_pcmcia_device);
98 if (ret)
101 return ret;
[all...]
H A Dpxa2xx_hx4700.c27 int ret; local
29 ret = gpio_request_array(gpios, ARRAY_SIZE(gpios));
30 if (ret)
48 return ret;
H A Dpxa2xx_mainstone.c92 int ret = 0; local
101 ret = -1;
113 ret = -1;
123 default: ret = -1;
126 return ret;
141 int ret; local
150 ret = platform_device_add_data(mst_pcmcia_device, &mst_pcmcia_ops,
152 if (ret == 0)
153 ret = platform_device_add(mst_pcmcia_device);
155 if (ret)
[all...]
H A Dpxa2xx_palmld.c30 int ret; local
32 ret = gpio_request_array(palmld_pcmcia_gpios,
38 return ret;
81 int ret; local
90 ret = platform_device_add_data(palmld_pcmcia_device, &palmld_pcmcia_ops,
93 if (!ret)
94 ret = platform_device_add(palmld_pcmcia_device);
96 if (ret)
99 return ret;
H A Dpxa2xx_palmtc.c34 int ret; local
36 ret = gpio_request_array(palmtc_pcmcia_gpios,
42 return ret;
106 int ret = 1; local
109 ret = palmtc_wifi_powerdown();
111 ret = palmtc_wifi_powerup();
113 return ret;
133 int ret; local
142 ret = platform_device_add_data(palmtc_pcmcia_device, &palmtc_pcmcia_ops,
145 if (!ret)
[all...]
H A Dpxa2xx_palmtx.c30 int ret; local
32 ret = gpio_request_array(palmtx_pcmcia_gpios,
38 return ret;
83 int ret; local
92 ret = platform_device_add_data(palmtx_pcmcia_device, &palmtx_pcmcia_ops,
95 if (!ret)
96 ret = platform_device_add(palmtx_pcmcia_device);
98 if (ret)
101 return ret;
H A Dpxa2xx_stargate2.c98 int ret; local
107 ret = gpio_request_array(sg2_pcmcia_gpios, ARRAY_SIZE(sg2_pcmcia_gpios));
108 if (ret)
111 ret = platform_device_add_data(sg2_pcmcia_device,
114 if (ret)
117 ret = platform_device_add(sg2_pcmcia_device);
118 if (ret)
127 return ret;
H A Dpxa2xx_trizeps4.c98 int ret = 0; local
110 ret = -1;
122 ret = -1;
139 return ret;
172 int ret; local
181 ret = platform_device_add_data(trizeps_pcmcia_device,
184 if (ret == 0)
185 ret = platform_device_add(trizeps_pcmcia_device);
187 if (ret)
190 return ret;
[all...]
H A Dpxa2xx_vpac270.c36 int ret; local
39 ret = gpio_request_array(vpac270_pcmcia_gpios,
47 ret = gpio_request_array(vpac270_cf_gpios,
56 return ret;
110 int ret; local
119 ret = platform_device_add_data(vpac270_pcmcia_device,
122 if (!ret)
123 ret = platform_device_add(vpac270_pcmcia_device);
125 if (ret)
128 return ret;
[all...]
H A Dsa1100_assabet.c100 int ret = -ENODEV; local
103 ret = sa11xx_drv_pcmcia_probe(dev, &assabet_pcmcia_ops, 1, 1);
105 return ret;
H A Dsa1100_cerf.c25 int ret; local
27 ret = gpio_request_one(CERF_GPIO_CF_RESET, GPIOF_OUT_INIT_LOW, "CF_RESET");
28 if (ret)
29 return ret;
86 int ret = -ENODEV; local
89 ret = sa11xx_drv_pcmcia_probe(dev, &cerf_pcmcia_ops, CERF_SOCKET, 1);
91 return ret;
H A Dsa1100_h3600.c158 int ret = -ENODEV; local
161 ret = sa11xx_drv_pcmcia_probe(dev, &h3600_pcmcia_ops, 0, 2);
163 return ret;
H A Dsa1100_simpad.c114 int ret = -ENODEV; local
117 ret = sa11xx_drv_pcmcia_probe(dev, &simpad_pcmcia_ops, 1, 1);
119 return ret;
H A Dsa1111_jornada720.c31 int ret; local
81 ret = sa1111_pcmcia_configure_socket(skt, state);
82 if (ret == 0)
85 return ret;
97 int ret = -ENODEV; local
111 ret = sa1111_pcmcia_add(sadev, &jornada720_pcmcia_ops,
115 return ret;
H A Dsa1111_lubbock.c37 int ret = 0; local
91 ret = -1;
108 ret = -1;
132 ret = -1;
139 ret = -1;
145 ret = -1;
148 if (ret == 0)
149 ret = sa1111_pcmcia_configure_socket(skt, state);
151 if (ret == 0) {
157 if (ret
213 int ret = -ENODEV; local
[all...]
H A Dsa1111_neponset.c48 int ret; local
95 ret = sa1111_pcmcia_configure_socket(skt, state);
96 if (ret == 0) {
101 return ret;
113 int ret = -ENODEV; local
124 ret = sa1111_pcmcia_add(sadev, &neponset_pcmcia_ops,
128 return ret;
/drivers/platform/x86/
H A Dintel_mid_powerbtn.c41 int ret; local
44 ret = intel_msic_reg_read(INTEL_MSIC_PBSTATUS, &pbstat);
47 if (ret < 0) {
49 " MSIC_PB_STATUS\n", ret);
/drivers/power/reset/
H A Das3722-poweroff.c34 int ret; local
41 ret = as3722_update_bits(as3722_pm_poweroff->as3722,
43 if (ret < 0)
45 "RESET_CONTROL_REG update failed, %d\n", ret);
/drivers/regulator/
H A Ddummy.c47 int ret; local
54 ret = PTR_ERR(dummy_regulator_rdev);
55 pr_err("Failed to register regulator: %d\n", ret);
56 return ret;
74 int ret; local
82 ret = platform_device_add(dummy_pdev);
83 if (ret != 0) {
84 pr_err("Failed to register dummy regulator device: %d\n", ret);
89 ret = platform_driver_register(&dummy_regulator_driver);
90 if (ret !
[all...]
H A Drn5t618-regulator.c79 int ret; local
91 ret = of_regulator_match(&pdev->dev, regulators, rn5t618_matches,
94 if (ret < 0) {
96 ret);
107 int ret, i; local
109 ret = rn5t618_regulator_parse_dt(pdev);
110 if (ret)
111 return ret;
/drivers/rtc/
H A Drtc-au1xxx.c68 int ret; local
73 ret = -ENODEV;
77 ret = -ETIMEDOUT;
105 ret = PTR_ERR(rtcdev);
114 return ret;
/drivers/s390/block/
H A Dscm_drv.c38 int ret; local
51 ret = scm_blk_dev_setup(bdev, scmdev);
52 if (ret) {
59 return ret;
/drivers/spi/
H A Dspi-dw-mmio.c37 int ret; local
69 ret = clk_prepare_enable(dwsmmio->clk);
70 if (ret)
71 return ret;
92 ret = cs_gpio;
97 ret = devm_gpio_request(&pdev->dev, cs_gpio,
99 if (ret)
105 ret = dw_spi_add_host(&pdev->dev, dws);
106 if (ret)
114 return ret;
[all...]
/drivers/staging/comedi/
H A Dcomedi_pci.c139 int ret; local
141 ret = comedi_driver_register(comedi_driver);
142 if (ret < 0)
143 return ret;
145 ret = pci_register_driver(pci_driver);
146 if (ret < 0) {
148 return ret;

Completed in 2100 milliseconds

<<11121314151617181920>>