Home
last modified time | relevance | path

Searched refs:IS_ERR (Results 1 – 200 of 4916) sorted by relevance

12345678910>>...25

/linux-4.4.14/drivers/cpufreq/
Dimx6q-cpufreq.c58 if (IS_ERR(opp)) { in imx6q_set_target()
74 if (!IS_ERR(pu_reg)) { in imx6q_set_target()
151 if (!IS_ERR(pu_reg)) { in imx6q_set_target()
206 if (IS_ERR(arm_clk) || IS_ERR(pll1_sys_clk) || IS_ERR(pll1_sw_clk) || in imx6q_cpufreq_probe()
207 IS_ERR(step_clk) || IS_ERR(pll2_pfd2_396m_clk)) { in imx6q_cpufreq_probe()
216 if (IS_ERR(pll2_bus_clk) || IS_ERR(secondary_sel_clk)) { in imx6q_cpufreq_probe()
226 if (IS_ERR(arm_reg) || IS_ERR(soc_reg)) { in imx6q_cpufreq_probe()
313 if (!IS_ERR(pu_reg)) { in imx6q_cpufreq_probe()
351 if (!IS_ERR(arm_reg)) in imx6q_cpufreq_probe()
353 if (!IS_ERR(pu_reg)) in imx6q_cpufreq_probe()
[all …]
Dmt8173-cpufreq.c193 if (IS_ERR(opp)) { in mtk_cpufreq_set_target()
278 if (IS_ERR(info->cdev)) { in mtk_cpufreq_ready()
308 if (IS_ERR(cpu_clk)) { in mtk_cpu_dvfs_info_init()
319 if (IS_ERR(inter_clk)) { in mtk_cpu_dvfs_info_init()
332 if (IS_ERR(proc_reg)) { in mtk_cpu_dvfs_info_init()
357 if (IS_ERR(opp)) { in mtk_cpu_dvfs_info_init()
368 info->sram_reg = IS_ERR(sram_reg) ? NULL : sram_reg; in mtk_cpu_dvfs_info_init()
376 info->need_voltage_tracking = !IS_ERR(sram_reg); in mtk_cpu_dvfs_info_init()
384 if (!IS_ERR(proc_reg)) in mtk_cpu_dvfs_info_init()
386 if (!IS_ERR(sram_reg)) in mtk_cpu_dvfs_info_init()
[all …]
Dcpufreq-dt.c66 if (!IS_ERR(cpu_reg)) { in set_target()
71 if (IS_ERR(opp)) { in set_target()
91 if (!IS_ERR(cpu_reg) && new_freq > old_freq) { in set_target()
103 if (!IS_ERR(cpu_reg) && volt_old > 0) in set_target()
109 if (!IS_ERR(cpu_reg) && new_freq < old_freq) { in set_target()
144 if (IS_ERR(cpu_reg)) { in allocate_resources()
166 if (IS_ERR(cpu_clk)) { in allocate_resources()
168 if (!IS_ERR(cpu_reg)) in allocate_resources()
285 if (!IS_ERR(cpu_reg)) { in cpufreq_init()
299 if (IS_ERR(opp)) { in cpufreq_init()
[all …]
Dtegra124-cpufreq.c97 if (IS_ERR(priv->vdd_cpu_reg)) { in tegra124_cpufreq_probe()
103 if (IS_ERR(priv->cpu_clk)) { in tegra124_cpufreq_probe()
109 if (IS_ERR(priv->dfll_clk)) { in tegra124_cpufreq_probe()
115 if (IS_ERR(priv->pllx_clk)) { in tegra124_cpufreq_probe()
121 if (IS_ERR(priv->pllp_clk)) { in tegra124_cpufreq_probe()
137 if (IS_ERR(priv->cpufreq_dt_pdev)) { in tegra124_cpufreq_probe()
203 if (IS_ERR(pdev)) { in tegra_cpufreq_init()
Dtegra20-cpufreq.c184 if (IS_ERR(cpu_clk)) in tegra_cpufreq_init()
188 if (IS_ERR(pll_x_clk)) in tegra_cpufreq_init()
192 if (IS_ERR(pll_p_clk)) in tegra_cpufreq_init()
196 if (IS_ERR(emc_clk)) { in tegra_cpufreq_init()
Dkirkwood-cpufreq.c115 if (IS_ERR(priv.base)) in kirkwood_cpufreq_probe()
125 if (IS_ERR(priv.cpu_clk)) { in kirkwood_cpufreq_probe()
134 if (IS_ERR(priv.ddr_clk)) { in kirkwood_cpufreq_probe()
144 if (IS_ERR(priv.powersave_clk)) { in kirkwood_cpufreq_probe()
Dspear-cpufreq.c64 if (IS_ERR(sys_pclk)) in spear1340_cpu_get_possible_parent()
82 if (IS_ERR(sys_clk)) { in spear1340_set_cpu_rate()
121 if (IS_ERR(srcclk)) { in spear_cpufreq_target()
214 if (IS_ERR(spear_cpufreq.clk)) { in spear_cpufreq_probe()
Ds3c2412-cpufreq.c199 if (IS_ERR(hclk)) { in s3c2412_cpufreq_add()
205 if (IS_ERR(fclk)) { in s3c2412_cpufreq_add()
221 if (IS_ERR(armclk)) { in s3c2412_cpufreq_add()
227 if (IS_ERR(xtal)) { in s3c2412_cpufreq_add()
Ds3c2440-cpufreq.c275 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()
Dls1x-cpufreq.c151 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
160 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
169 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
178 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
/linux-4.4.14/arch/m68k/amiga/
Dplatform.c146 if (IS_ERR(pdev)) in amiga_init_devices()
155 if (IS_ERR(pdev)) in amiga_init_devices()
164 if (IS_ERR(pdev)) in amiga_init_devices()
171 if (IS_ERR(pdev)) in amiga_init_devices()
179 if (IS_ERR(pdev)) in amiga_init_devices()
187 if (IS_ERR(pdev)) in amiga_init_devices()
198 if (IS_ERR(pdev)) in amiga_init_devices()
211 if (IS_ERR(pdev)) in amiga_init_devices()
218 if (IS_ERR(pdev)) in amiga_init_devices()
225 if (IS_ERR(pdev)) in amiga_init_devices()
[all …]
/linux-4.4.14/drivers/usb/gadget/legacy/
Dnokia.c160 if (!IS_ERR(fi_phonet)) { in nokia_bind_config()
162 if (IS_ERR(f_phonet)) in nokia_bind_config()
166 if (!IS_ERR(fi_obex1)) { in nokia_bind_config()
168 if (IS_ERR(f_obex1)) in nokia_bind_config()
172 if (!IS_ERR(fi_obex2)) { in nokia_bind_config()
174 if (IS_ERR(f_obex2)) in nokia_bind_config()
179 if (IS_ERR(f_acm)) { in nokia_bind_config()
185 if (IS_ERR(f_ecm)) { in nokia_bind_config()
191 if (IS_ERR(f_msg)) { in nokia_bind_config()
293 if (IS_ERR(fi_phonet)) in nokia_bind()
[all …]
Dmulti.c148 if (IS_ERR(f_rndis)) in rndis_do_config()
156 if (IS_ERR(f_acm_rndis)) { in rndis_do_config()
166 if (IS_ERR(f_msg_rndis)) { in rndis_do_config()
230 if (IS_ERR(f_ecm)) in cdc_do_config()
239 if (IS_ERR(f_acm_multi)) { in cdc_do_config()
249 if (IS_ERR(f_msg_multi)) { in cdc_do_config()
319 if (IS_ERR(fi_ecm)) in multi_bind()
333 if (IS_ERR(fi_rndis)) { in multi_bind()
365 if (IS_ERR(fi_acm)) { in multi_bind()
372 if (IS_ERR(fi_msg)) { in multi_bind()
Dether.c224 if (IS_ERR(f_rndis)) in rndis_do_config()
267 if (IS_ERR(f_eem)) in eth_do_config()
277 if (IS_ERR(f_ecm)) in eth_do_config()
287 if (IS_ERR(f_geth)) in eth_do_config()
321 if (IS_ERR(fi_eem)) in eth_bind()
335 if (IS_ERR(fi_ecm)) in eth_bind()
347 if (IS_ERR(fi_geth)) in eth_bind()
384 if (IS_ERR(fi_rndis)) { in eth_bind()
Dg_ffs.c213 if (IS_ERR(fi_ffs[i])) { in gfs_init()
332 if (IS_ERR(fi_ecm)) in gfs_bind()
340 if (IS_ERR(fi_geth)) in gfs_bind()
353 if (IS_ERR(fi_rndis)) { in gfs_bind()
508 if (IS_ERR(f_ffs[gc->num][i])) { in gfs_do_config()
535 if (!IS_ERR(f_ffs[gc->num][i])) in gfs_do_config()
550 if (IS_ERR(f_ecm)) in eth_bind_config()
559 if (IS_ERR(f_geth)) in eth_bind_config()
578 if (IS_ERR(f_rndis)) in bind_rndis_config()
Dcdc2.c103 if (IS_ERR(f_ecm)) { in cdc_do_config()
113 if (IS_ERR(f_acm)) { in cdc_do_config()
155 if (IS_ERR(fi_ecm)) in cdc_bind()
167 if (IS_ERR(fi_serial)) { in cdc_bind()
Dacm_ms.c123 if (IS_ERR(f_acm)) in acm_ms_do_config()
127 if (IS_ERR(f_msg)) { in acm_ms_do_config()
167 if (IS_ERR(f_acm_inst)) in acm_ms_bind()
171 if (IS_ERR(fi_msg)) { in acm_ms_bind()
Dmass_storage.c132 if (IS_ERR(f_msg)) in msg_do_config()
165 if (IS_ERR(fi_msg)) in msg_bind()
230 if (!IS_ERR(f_msg)) in msg_unbind()
233 if (!IS_ERR(fi_msg)) in msg_unbind()
/linux-4.4.14/scripts/coccinelle/tests/
Dodd_ptr_err.cocci1 /// PTR_ERR should access the value just tested by IS_ERR
3 //# IS_ERR that is wrong.
21 if (IS_ERR(x=e) || ...) {
32 if (IS_ERR(x) || ...) {
47 if (IS_ERR(x) || ...) {
49 when != IS_ERR(...)
69 if (IS_ERR@j0(x) || ...) {
71 when != IS_ERR(...)
88 * if (IS_ERR@j0(x) || ...) {
90 when != IS_ERR(...)
[all …]
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c108 if (IS_ERR(bsp_priv->grf)) { in rk3288_set_to_rgmii()
127 if (IS_ERR(bsp_priv->grf)) { in rk3288_set_to_rmii()
140 if (IS_ERR(bsp_priv->grf)) { in rk3288_set_rgmii_speed()
162 if (IS_ERR(bsp_priv->grf)) { in rk3288_set_rmii_speed()
220 if (IS_ERR(bsp_priv->grf)) { in rk3368_set_to_rgmii()
239 if (IS_ERR(bsp_priv->grf)) { in rk3368_set_to_rmii()
252 if (IS_ERR(bsp_priv->grf)) { in rk3368_set_rgmii_speed()
274 if (IS_ERR(bsp_priv->grf)) { in rk3368_set_rmii_speed()
306 if (IS_ERR(bsp_priv->mac_clk_rx)) in gmac_clk_init()
311 if (IS_ERR(bsp_priv->mac_clk_tx)) in gmac_clk_init()
[all …]
/linux-4.4.14/drivers/bluetooth/
Dbtbcm.c46 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
94 if (IS_ERR(skb)) { in btbcm_set_bdaddr()
117 if (IS_ERR(skb)) { in btbcm_patchram()
152 if (IS_ERR(skb)) { in btbcm_patchram()
174 if (IS_ERR(skb)) { in btbcm_reset()
190 if (IS_ERR(skb)) { in btbcm_read_local_name()
211 if (IS_ERR(skb)) { in btbcm_read_local_version()
231 if (IS_ERR(skb)) { in btbcm_read_verbose_config()
251 if (IS_ERR(skb)) { in btbcm_read_usb_product()
292 if (IS_ERR(skb)) in btbcm_initialize()
[all …]
Dbtintel.c44 if (IS_ERR(skb)) { in btintel_check_bdaddr()
82 if (IS_ERR(skb)) { in btintel_set_bdaddr()
111 if (IS_ERR(skb)) { in btintel_set_diag()
137 if (IS_ERR(skb)) { in btintel_set_diag_mfg()
151 if (IS_ERR(skb)) { in btintel_set_diag_mfg()
171 if (IS_ERR(skb)) { in btintel_hw_error()
179 if (IS_ERR(skb)) { in btintel_hw_error()
230 if (IS_ERR(skb)) in btintel_secure_send()
269 if (IS_ERR(skb)) { in btintel_load_ddc_config()
298 if (IS_ERR(skb)) { in btintel_set_event_mask()
[all …]
/linux-4.4.14/drivers/mfd/
Dtwl-core.c733 if (IS_ERR(child)) in add_children()
741 if (IS_ERR(child)) in add_children()
750 if (IS_ERR(child)) in add_children()
764 if (IS_ERR(child)) in add_children()
771 if (IS_ERR(child)) in add_children()
778 if (IS_ERR(child)) in add_children()
810 if (IS_ERR(child)) in add_children()
816 if (IS_ERR(child)) in add_children()
822 if (IS_ERR(child)) in add_children()
833 if (IS_ERR(child)) in add_children()
[all …]
Domap-usb-host.c320 if (!IS_ERR(omap->ehci_logic_fck)) in usbhs_runtime_resume()
326 if (!IS_ERR(omap->hsic60m_clk[i])) { in usbhs_runtime_resume()
335 if (!IS_ERR(omap->hsic480m_clk[i])) { in usbhs_runtime_resume()
346 if (!IS_ERR(omap->utmi_clk[i])) { in usbhs_runtime_resume()
374 if (!IS_ERR(omap->hsic60m_clk[i])) in usbhs_runtime_suspend()
377 if (!IS_ERR(omap->hsic480m_clk[i])) in usbhs_runtime_suspend()
382 if (!IS_ERR(omap->utmi_clk[i])) in usbhs_runtime_suspend()
390 if (!IS_ERR(omap->ehci_logic_fck)) in usbhs_runtime_suspend()
603 if (IS_ERR(omap->uhh_base)) in usbhs_omap_probe()
686 if (IS_ERR(omap->ehci_logic_fck)) { in usbhs_omap_probe()
[all …]
Datmel-hlcdc.c99 if (IS_ERR(hregmap->regs)) in atmel_hlcdc_probe()
107 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
113 if (IS_ERR(hlcdc->sys_clk)) { in atmel_hlcdc_probe()
119 if (IS_ERR(hlcdc->slow_clk)) { in atmel_hlcdc_probe()
126 if (IS_ERR(hlcdc->regmap)) in atmel_hlcdc_probe()
/linux-4.4.14/drivers/phy/
Dphy-ti-pipe3.c343 if (IS_ERR(phy->pll_ctrl_base)) in ti_pipe3_probe()
347 if (IS_ERR(phy->sys_clk)) { in ti_pipe3_probe()
354 if (IS_ERR(phy->refclk)) { in ti_pipe3_probe()
365 if (IS_ERR(phy->wkupclk)) { in ti_pipe3_probe()
373 if (IS_ERR(phy->dpll_reset_syscon)) { in ti_pipe3_probe()
391 if (IS_ERR(clk)) { in ti_pipe3_probe()
398 if (IS_ERR(clk)) { in ti_pipe3_probe()
405 if (IS_ERR(clk)) { in ti_pipe3_probe()
412 if (IS_ERR(phy->div_clk)) { in ti_pipe3_probe()
443 if (!IS_ERR(phy->refclk)) { in ti_pipe3_probe()
[all …]
Dphy-omap-usb2.c52 if (IS_ERR(x)) in omap_usb2_set_comparator()
226 if (IS_ERR(phy->phy_base)) in omap_usb2_probe()
258 if (IS_ERR(generic_phy)) { in omap_usb2_probe()
267 if (IS_ERR(phy_provider)) { in omap_usb2_probe()
273 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
276 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
288 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
291 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
300 if (!IS_ERR(phy->optclk)) in omap_usb2_probe()
313 if (!IS_ERR(phy->optclk)) in omap_usb2_remove()
[all …]
Dphy-sun9i-usb.c138 if (IS_ERR(phy->clk)) { in sun9i_usb_phy_probe()
144 if (IS_ERR(phy->clk)) { in sun9i_usb_phy_probe()
150 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe()
156 if (IS_ERR(phy->clk)) { in sun9i_usb_phy_probe()
162 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe()
170 if (IS_ERR(phy->pmu)) in sun9i_usb_phy_probe()
174 if (IS_ERR(phy->phy)) { in sun9i_usb_phy_probe()
Dphy-samsung-usb2.c179 if (IS_ERR(drv->reg_phy)) { in samsung_usb2_phy_probe()
186 if (IS_ERR(drv->reg_pmu)) { in samsung_usb2_phy_probe()
194 if (IS_ERR(drv->reg_sys)) { in samsung_usb2_phy_probe()
201 if (IS_ERR(drv->clk)) { in samsung_usb2_phy_probe()
207 if (IS_ERR(drv->ref_clk)) { in samsung_usb2_phy_probe()
220 if (IS_ERR(drv->vbus)) { in samsung_usb2_phy_probe()
233 if (IS_ERR(p->phy)) { in samsung_usb2_phy_probe()
247 if (IS_ERR(phy_provider)) { in samsung_usb2_phy_probe()
Dphy-stih407-usb.c109 if (IS_ERR(phy_dev->rstc)) { in stih407_usb2_picophy_probe()
115 if (IS_ERR(phy_dev->rstport)) { in stih407_usb2_picophy_probe()
124 if (IS_ERR(phy_dev->regmap)) { in stih407_usb2_picophy_probe()
144 if (IS_ERR(phy)) { in stih407_usb2_picophy_probe()
153 if (IS_ERR(phy_provider)) in stih407_usb2_picophy_probe()
Dphy-omap-control.c39 if (IS_ERR(dev) || !dev) { in omap_control_pcie_pcs()
74 if (IS_ERR(dev) || !dev) { in omap_control_phy_power()
215 if (IS_ERR(dev) || !dev) in omap_control_usb_set_mode()
302 if (IS_ERR(control_phy->otghs_control)) in omap_control_phy_probe()
308 if (IS_ERR(control_phy->power)) { in omap_control_phy_probe()
318 if (IS_ERR(control_phy->sys_clk)) { in omap_control_phy_probe()
328 if (IS_ERR(control_phy->pcie_pcs)) in omap_control_phy_probe()
Dphy-core.c370 if (IS_ERR(phy_provider) || !try_module_get(phy_provider->owner)) { in _of_phy_get()
411 if (IS_ERR(phy)) in of_phy_get()
431 if (!phy || IS_ERR(phy)) in phy_put()
517 if (IS_ERR(phy)) in phy_get()
543 if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV)) in phy_optional_get()
569 if (!IS_ERR(phy)) { in devm_phy_get()
597 if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV)) in devm_phy_optional_get()
624 if (!IS_ERR(phy)) { in devm_of_phy_get()
657 if (IS_ERR(phy)) { in devm_of_phy_get_by_index()
720 if (IS_ERR(phy->pwr)) { in phy_create()
[all …]
Dphy-mvebu-sata.c97 if (IS_ERR(priv->base)) in phy_mvebu_sata_probe()
101 if (IS_ERR(priv->clk)) in phy_mvebu_sata_probe()
105 if (IS_ERR(phy)) in phy_mvebu_sata_probe()
112 if (IS_ERR(phy_provider)) in phy_mvebu_sata_probe()
Dphy-exynos5-usbdrd.c554 if (IS_ERR(phy_drd->clk)) { in exynos5_usbdrd_phy_clk_handle()
560 if (IS_ERR(phy_drd->ref_clk)) { in exynos5_usbdrd_phy_clk_handle()
575 if (IS_ERR(phy_drd->pipeclk)) { in exynos5_usbdrd_phy_clk_handle()
582 if (IS_ERR(phy_drd->utmiclk)) { in exynos5_usbdrd_phy_clk_handle()
589 if (IS_ERR(phy_drd->itpclk)) { in exynos5_usbdrd_phy_clk_handle()
681 if (IS_ERR(phy_drd->reg_phy)) in exynos5_usbdrd_phy_probe()
697 if (IS_ERR(reg_pmu)) { in exynos5_usbdrd_phy_probe()
723 if (IS_ERR(phy_drd->vbus)) { in exynos5_usbdrd_phy_probe()
733 if (IS_ERR(phy_drd->vbus_boost)) { in exynos5_usbdrd_phy_probe()
747 if (IS_ERR(phy)) { in exynos5_usbdrd_phy_probe()
[all …]
Dphy-sun4i-usb.c551 if (IS_ERR(data->base)) in sun4i_usb_phy_probe()
556 if (IS_ERR(data->id_det_gpio)) in sun4i_usb_phy_probe()
561 if (IS_ERR(data->vbus_det_gpio)) in sun4i_usb_phy_probe()
567 if (IS_ERR(data->vbus_power_supply)) in sun4i_usb_phy_probe()
583 if (IS_ERR(data->extcon)) in sun4i_usb_phy_probe()
599 if (IS_ERR(phy->vbus)) { in sun4i_usb_phy_probe()
611 if (IS_ERR(phy->clk)) { in sun4i_usb_phy_probe()
618 if (IS_ERR(phy->reset)) { in sun4i_usb_phy_probe()
628 if (IS_ERR(phy->pmu)) in sun4i_usb_phy_probe()
633 if (IS_ERR(phy->phy)) { in sun4i_usb_phy_probe()
[all …]
Dphy-exynos5250-sata.c180 if (IS_ERR(sata_phy->regs)) in exynos_sata_phy_probe()
185 if (IS_ERR(sata_phy->pmureg)) { in exynos_sata_phy_probe()
202 if (IS_ERR(sata_phy->phyclk)) { in exynos_sata_phy_probe()
214 if (IS_ERR(sata_phy->phy)) { in exynos_sata_phy_probe()
224 if (IS_ERR(phy_provider)) { in exynos_sata_phy_probe()
Dphy-pistachio-usb.c150 if (IS_ERR(p_phy->cr_top)) { in pistachio_usb_phy_probe()
157 if (IS_ERR(p_phy->phy_clk)) { in pistachio_usb_phy_probe()
171 if (IS_ERR(phy)) { in pistachio_usb_phy_probe()
180 if (IS_ERR(provider)) { in pistachio_usb_phy_probe()
Dphy-exynos-mipi-video.c63 if (!IS_ERR(state->regmap)) { in __set_phy_state()
145 if (IS_ERR(state->regmap)) { in exynos_mipi_video_phy_probe()
153 if (IS_ERR(state->regs)) in exynos_mipi_video_phy_probe()
163 if (IS_ERR(phy)) { in exynos_mipi_video_phy_probe()
Dphy-lpc18xx-usb-otg.c101 if (IS_ERR(lpc->reg)) { in lpc18xx_usb_otg_phy_probe()
107 if (IS_ERR(lpc->clk)) { in lpc18xx_usb_otg_phy_probe()
113 if (IS_ERR(lpc->phy)) { in lpc18xx_usb_otg_phy_probe()
Dphy-rockchip-usb.c104 if (IS_ERR(grf)) { in rockchip_usb_phy_probe()
127 if (IS_ERR(rk_phy->clk)) in rockchip_usb_phy_probe()
131 if (IS_ERR(rk_phy->phy)) { in rockchip_usb_phy_probe()
Dphy-tusb1210.c73 if (IS_ERR(tusb->gpio_reset)) in tusb1210_probe()
80 if (IS_ERR(tusb->gpio_cs)) in tusb1210_probe()
108 if (IS_ERR(tusb->phy)) in tusb1210_probe()
Dphy-qcom-ipq806x-sata.c150 if (IS_ERR(phy->mmio)) in qcom_ipq806x_sata_phy_probe()
154 if (IS_ERR(generic_phy)) { in qcom_ipq806x_sata_phy_probe()
164 if (IS_ERR(phy->cfg_clk)) { in qcom_ipq806x_sata_phy_probe()
174 if (IS_ERR(phy_provider)) { in qcom_ipq806x_sata_phy_probe()
/linux-4.4.14/arch/arm/mach-exynos/
Dpm_domains.c55 if (IS_ERR(pd->asb_clk[i])) in exynos_pd_power()
63 if (IS_ERR(pd->clk[i])) in exynos_pd_power()
92 if (IS_ERR(pd->clk[i])) in exynos_pd_power()
95 if (IS_ERR(pd->pclk[i])) in exynos_pd_power()
104 if (IS_ERR(pd->asb_clk[i])) in exynos_pd_power()
162 if (IS_ERR(pd->asb_clk[i])) in exynos4_pm_init_power_domain()
167 if (IS_ERR(pd->oscclk)) in exynos4_pm_init_power_domain()
175 if (IS_ERR(pd->clk[i])) in exynos4_pm_init_power_domain()
184 if (IS_ERR(pd->clk[0])) in exynos4_pm_init_power_domain()
202 if (IS_ERR(child_domain)) in exynos4_pm_init_power_domain()
[all …]
/linux-4.4.14/drivers/clk/samsung/
Dclk-exynos-audss.c91 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown()
96 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown()
101 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown()
125 if (IS_ERR(reg_base)) { in exynos_audss_clk_probe()
146 if (!IS_ERR(pll_ref)) in exynos_audss_clk_probe()
148 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
169 if (!IS_ERR(cdclk)) in exynos_audss_clk_probe()
171 if (!IS_ERR(sclk_audio)) in exynos_audss_clk_probe()
207 if (!IS_ERR(sclk_pcm_in)) in exynos_audss_clk_probe()
220 if (IS_ERR(clk_table[i])) { in exynos_audss_clk_probe()
[all …]
Dclk-s5pv210-audss.c78 if (IS_ERR(reg_base)) { in s5pv210_audss_clk_probe()
93 if (IS_ERR(hclk)) { in s5pv210_audss_clk_probe()
99 if (IS_ERR(pll_in)) { in s5pv210_audss_clk_probe()
105 if (IS_ERR(sclk_audio)) { in s5pv210_audss_clk_probe()
114 if (!IS_ERR(pll_ref)) in s5pv210_audss_clk_probe()
125 if (!IS_ERR(cdclk)) in s5pv210_audss_clk_probe()
168 if (IS_ERR(clk_table[i])) { in s5pv210_audss_clk_probe()
190 if (!IS_ERR(clk_table[i])) in s5pv210_audss_clk_probe()
204 if (!IS_ERR(clk_table[i])) in s5pv210_audss_clk_remove()
/linux-4.4.14/security/keys/
Dkeyctl.c83 if (IS_ERR(description)) { in SYSCALL_DEFINE5()
118 if (IS_ERR(keyring_ref)) { in SYSCALL_DEFINE5()
128 if (!IS_ERR(key_ref)) { in SYSCALL_DEFINE5()
177 if (IS_ERR(description)) { in SYSCALL_DEFINE4()
187 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4()
199 if (IS_ERR(dest_ref)) { in SYSCALL_DEFINE4()
207 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
216 if (IS_ERR(key)) { in SYSCALL_DEFINE4()
257 if (IS_ERR(key_ref)) { in keyctl_get_keyring_ID()
287 if (IS_ERR(name)) { in keyctl_join_session_keyring()
[all …]
Dprocess_keys.c76 if (IS_ERR(uid_keyring)) { in install_user_keyrings()
80 if (IS_ERR(uid_keyring)) { in install_user_keyrings()
91 if (IS_ERR(session_keyring)) { in install_user_keyrings()
96 if (IS_ERR(session_keyring)) { in install_user_keyrings()
138 if (IS_ERR(keyring)) in install_thread_keyring_to_cred()
184 if (IS_ERR(keyring)) in install_process_keyring_to_cred()
235 if (IS_ERR(keyring)) in install_session_keyring_to_cred()
341 if (!IS_ERR(key_ref)) in search_my_process_keyrings()
359 if (!IS_ERR(key_ref)) in search_my_process_keyrings()
383 if (!IS_ERR(key_ref)) in search_my_process_keyrings()
[all …]
Dpersistent.c30 if (IS_ERR(reg)) in key_create_persistent_register()
65 if (IS_ERR(persistent)) in key_create_persistent()
105 if (!IS_ERR(persistent_ref)) in key_get_persistent()
155 if (IS_ERR(dest_ref)) in keyctl_get_persistent()
/linux-4.4.14/arch/s390/hypfs/
Dhypfs_vm.c116 if (IS_ERR(rc)) \
135 if (IS_ERR(guest_dir)) in hpyfs_vm_create_guest()
141 if (IS_ERR(cpus_dir)) in hpyfs_vm_create_guest()
158 if (IS_ERR(mem_dir)) in hpyfs_vm_create_guest()
167 if (IS_ERR(samples_dir)) in hpyfs_vm_create_guest()
186 if (IS_ERR(data)) in hypfs_vm_create_files()
191 if (IS_ERR(dir)) { in hypfs_vm_create_files()
196 if (IS_ERR(file)) { in hypfs_vm_create_files()
203 if (IS_ERR(dir)) { in hypfs_vm_create_files()
208 if (IS_ERR(file)) { in hypfs_vm_create_files()
[all …]
Dhypfs_diag.c445 if (!IS_ERR(buf)) { in diag204_probe()
464 if (IS_ERR(buf)) { in diag204_probe()
500 if (IS_ERR(buf)) in diag204_store()
646 if (IS_ERR(rc)) in hypfs_create_cpu_files()
650 if (IS_ERR(rc)) in hypfs_create_cpu_files()
656 if (IS_ERR(rc)) in hypfs_create_cpu_files()
675 if (IS_ERR(lpar_dir)) in hypfs_create_lpar_files()
678 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
700 if (IS_ERR(cpu_dir)) in hypfs_create_phys_cpu_files()
704 if (IS_ERR(rc)) in hypfs_create_phys_cpu_files()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h364 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
391 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
407 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
422 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
437 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
452 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
468 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
483 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
501 if (IS_ERR(skb)) in ath10k_wmi_vdev_create()
516 if (IS_ERR(skb)) in ath10k_wmi_vdev_delete()
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c293 if (IS_ERR(plane)) { in modeset_init()
301 if (IS_ERR(plane)) { in modeset_init()
313 if (IS_ERR(panel)) { in modeset_init()
320 if (IS_ERR(plane)) { in modeset_init()
327 if (IS_ERR(crtc)) { in modeset_init()
334 if (IS_ERR(encoder)) { in modeset_init()
347 if (IS_ERR(connector)) { in modeset_init()
360 if (IS_ERR(plane)) { in modeset_init()
367 if (IS_ERR(crtc)) { in modeset_init()
374 if (IS_ERR(encoder)) { in modeset_init()
[all …]
/linux-4.4.14/drivers/s390/block/
Ddasd_devmap.c344 if (IS_ERR(devmap)) in dasd_parse_range()
360 if (!IS_ERR(residual_str)) in dasd_parse_next_element()
388 if(IS_ERR(parsestring)) { in dasd_parse()
467 return IS_ERR(dasd_find_busid(bus_id)) ? -ENOENT : 0; in dasd_busid_known()
529 if (IS_ERR(devmap)) in dasd_devmap_from_cdev()
547 if (IS_ERR(devmap)) in dasd_create_device()
551 if (IS_ERR(device)) in dasd_create_device()
598 BUG_ON(IS_ERR(devmap)); in dasd_delete_device()
680 if (IS_ERR(devmap)) in dasd_add_link_to_gendisk()
719 if (!IS_ERR(devmap)) in dasd_ff_show()
[all …]
/linux-4.4.14/drivers/media/rc/img-ir/
Dimg-ir-core.c61 if (!IS_ERR(priv->clk)) in img_ir_setup()
106 if (IS_ERR(priv->reg_base)) in img_ir_probe()
111 if (IS_ERR(priv->clk)) in img_ir_probe()
116 if (IS_ERR(priv->sys_clk)) in img_ir_probe()
123 if (!IS_ERR(priv->sys_clk)) { in img_ir_probe()
159 if (!IS_ERR(priv->sys_clk)) in img_ir_probe()
172 if (!IS_ERR(priv->clk)) in img_ir_remove()
174 if (!IS_ERR(priv->sys_clk)) in img_ir_remove()
/linux-4.4.14/scripts/coccinelle/api/
Dptr_ret.cocci2 /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
23 - if (IS_ERR(ptr)) return PTR_ERR(ptr); else return 0;
30 - if (IS_ERR(ptr)) return PTR_ERR(ptr); return 0;
37 - (IS_ERR(ptr) ? PTR_ERR(ptr) : 0)
45 * if@p1 (IS_ERR(ptr)) return PTR_ERR(ptr); else return 0;
52 * if@p2 (IS_ERR(ptr)) return PTR_ERR(ptr); return 0;
59 * IS_ERR@p3(ptr) ? PTR_ERR(ptr) : 0
/linux-4.4.14/drivers/clk/berlin/
Dbg2.c517 if (!IS_ERR(clk)) { in berlin2_clock_setup()
523 if (!IS_ERR(clk)) { in berlin2_clock_setup()
531 if (IS_ERR(clk)) in berlin2_clock_setup()
536 if (IS_ERR(clk)) in berlin2_clock_setup()
541 if (IS_ERR(clk)) in berlin2_clock_setup()
550 if (IS_ERR(clk)) in berlin2_clock_setup()
557 if (IS_ERR(clk)) in berlin2_clock_setup()
564 if (IS_ERR(clk)) in berlin2_clock_setup()
571 if (IS_ERR(clk)) in berlin2_clock_setup()
580 if (IS_ERR(clk)) in berlin2_clock_setup()
[all …]
/linux-4.4.14/drivers/s390/char/
Dtape_std.c61 if (IS_ERR(request)) in tape_std_assign()
110 if (IS_ERR(request)) in tape_std_unassign()
136 if (IS_ERR(request)) { in tape_std_display()
166 if (IS_ERR(request)) in tape_std_read_block_id()
244 if (IS_ERR(new)) in tape_std_mtsetblk()
278 if (IS_ERR(request)) in tape_std_mtfsf()
303 if (IS_ERR(request)) in tape_std_mtfsr()
335 if (IS_ERR(request)) in tape_std_mtbsr()
365 if (IS_ERR(request)) in tape_std_mtweof()
390 if (IS_ERR(request)) in tape_std_mtbsfm()
[all …]
Dfs3270.c256 if (IS_ERR(ib)) in fs3270_read()
259 if (!IS_ERR(rq)) { in fs3270_read()
300 if (IS_ERR(ib)) in fs3270_write()
303 if (!IS_ERR(rq)) { in fs3270_write()
382 if (IS_ERR(fp->init)) { in fs3270_alloc_view()
452 if (!IS_ERR(fp)) { in fs3270_open()
459 if (IS_ERR(fp)) { in fs3270_open()
474 if (IS_ERR(ib)) { in fs3270_open()
/linux-4.4.14/drivers/base/
Dpinctrl.c31 if (IS_ERR(dev->pins->p)) { in pinctrl_bind_pins()
39 if (IS_ERR(dev->pins->default_state)) { in pinctrl_bind_pins()
47 if (IS_ERR(dev->pins->init_state)) { in pinctrl_bind_pins()
70 if (IS_ERR(dev->pins->sleep_state)) in pinctrl_bind_pins()
76 if (IS_ERR(dev->pins->idle_state)) in pinctrl_bind_pins()
/linux-4.4.14/drivers/mmc/core/
Dpwrseq_simple.c48 if (!IS_ERR(pwrseq->ext_clk) && !pwrseq->clk_enabled) { in mmc_pwrseq_simple_pre_power_on()
71 if (!IS_ERR(pwrseq->ext_clk) && pwrseq->clk_enabled) { in mmc_pwrseq_simple_power_off()
84 if (!IS_ERR(pwrseq->ext_clk)) in mmc_pwrseq_simple_free()
108 if (IS_ERR(pwrseq->ext_clk) && in mmc_pwrseq_simple_alloc()
115 if (IS_ERR(pwrseq->reset_gpios)) { in mmc_pwrseq_simple_alloc()
124 if (!IS_ERR(pwrseq->ext_clk)) in mmc_pwrseq_simple_alloc()
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight-replicator.c78 if (IS_ERR(pdata)) in replicator_probe()
89 if (!IS_ERR(drvdata->atclk)) { in replicator_probe()
111 if (IS_ERR(drvdata->csdev)) { in replicator_probe()
122 if (!IS_ERR(drvdata->atclk)) in replicator_probe()
136 if (!IS_ERR(drvdata->atclk)) in replicator_remove()
149 if (drvdata && !IS_ERR(drvdata->atclk)) in replicator_runtime_suspend()
159 if (drvdata && !IS_ERR(drvdata->atclk)) in replicator_runtime_resume()
Dcoresight-replicator-qcom.c116 if (IS_ERR(pdata)) in replicator_probe()
127 if (!IS_ERR(drvdata->atclk)) { in replicator_probe()
135 if (IS_ERR(base)) in replicator_probe()
152 if (IS_ERR(drvdata->csdev)) in replicator_probe()
173 if (drvdata && !IS_ERR(drvdata->atclk)) in replicator_runtime_suspend()
183 if (drvdata && !IS_ERR(drvdata->atclk)) in replicator_runtime_resume()
Dcoresight-tpiu.c128 if (IS_ERR(pdata)) in tpiu_probe()
139 if (!IS_ERR(drvdata->atclk)) { in tpiu_probe()
148 if (IS_ERR(base)) in tpiu_probe()
168 if (IS_ERR(drvdata->csdev)) in tpiu_probe()
188 if (drvdata && !IS_ERR(drvdata->atclk)) in tpiu_runtime_suspend()
198 if (drvdata && !IS_ERR(drvdata->atclk)) in tpiu_runtime_resume()
Dcoresight-funnel.c185 if (IS_ERR(pdata)) in funnel_probe()
196 if (!IS_ERR(drvdata->atclk)) { in funnel_probe()
205 if (IS_ERR(base)) in funnel_probe()
222 if (IS_ERR(drvdata->csdev)) in funnel_probe()
242 if (drvdata && !IS_ERR(drvdata->atclk)) in funnel_runtime_suspend()
252 if (drvdata && !IS_ERR(drvdata->atclk)) in funnel_runtime_resume()
/linux-4.4.14/arch/arm/mach-omap2/
Ddevices.c63 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); in omap3_l3_init()
88 WARN(IS_ERR(pdev), "%s: could not build device, err %ld\n", in omap_init_mbox()
148 WARN(IS_ERR(pdev), "Can't build omap_device for %s:%s\n", in omap_mcspi_init()
178 WARN(IS_ERR(pdev), "Can't build omap_device for omap_rng\n"); in omap_init_rng()
191 WARN(IS_ERR(pdev), "Can't build omap_device for omap-sham\n"); in omap_init_sham()
204 WARN(IS_ERR(pdev), "Can't build omap_device for omap-aes\n"); in omap_init_aes()
281 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); in omap_gpmc_init()
Dvoltage.c57 if (!voltdm || IS_ERR(voltdm)) { in voltdm_get_voltage()
79 if (!voltdm || IS_ERR(voltdm)) { in voltdm_scale()
124 if (!voltdm || IS_ERR(voltdm)) { in voltdm_reset()
154 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_volttable()
182 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_voltdata()
216 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_register_pmic()
250 if (IS_ERR(sys_ck)) { in omap_voltage_late_init()
Dclockdomain.c201 if (IS_ERR(cd)) in _clkdm_add_wkdep()
244 if (IS_ERR(cd)) in _clkdm_del_wkdep()
289 if (IS_ERR(cd)) in _clkdm_add_sleepdep()
334 if (IS_ERR(cd)) in _clkdm_del_sleepdep()
581 if (IS_ERR(cd)) in clkdm_add_wkdep()
610 if (IS_ERR(cd)) in clkdm_del_wkdep()
643 if (IS_ERR(cd)) in clkdm_read_wkdep()
701 if (IS_ERR(cd)) in clkdm_add_sleepdep()
732 if (IS_ERR(cd)) in clkdm_del_sleepdep()
767 if (IS_ERR(cd)) in clkdm_read_sleepdep()
[all …]
Domap2-restart.c56 if (IS_ERR(reset_virt_prcm_set_ck)) in omap2xxx_common_look_up_clks_for_reset()
60 if (IS_ERR(reset_sys_ck)) in omap2xxx_common_look_up_clks_for_reset()
Dpm.c86 if (WARN(IS_ERR(pdev), "%s: could not build omap_device for %s\n", in _init_omap_device()
154 if (IS_ERR(dev)) { in omap2_set_init_voltage()
168 if (IS_ERR(clk)) { in omap2_set_init_voltage()
178 if (IS_ERR(opp)) { in omap2_set_init_voltage()
Dclock.c155 if (WARN(IS_ERR(mpu_ck), "clock: failed to get %s.\n", mpu_ck_name)) in omap2_clk_print_new_rates()
159 if (WARN(IS_ERR(core_ck), "clock: failed to get %s.\n", core_ck_name)) in omap2_clk_print_new_rates()
163 if (WARN(IS_ERR(hfclkin_ck), "Failed to get %s.\n", hfclkin_ck_name)) in omap2_clk_print_new_rates()
/linux-4.4.14/kernel/
Dnsproxy.c71 if (IS_ERR(new_nsp->mnt_ns)) { in create_new_namespaces()
77 if (IS_ERR(new_nsp->uts_ns)) { in create_new_namespaces()
83 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces()
90 if (IS_ERR(new_nsp->pid_ns_for_children)) { in create_new_namespaces()
96 if (IS_ERR(new_nsp->net_ns)) { in create_new_namespaces()
151 if (IS_ERR(new_ns)) in copy_namespaces()
192 if (IS_ERR(*new_nsp)) { in unshare_nsproxy_namespaces()
230 if (IS_ERR(file)) in SYSCALL_DEFINE2()
239 if (IS_ERR(new_nsproxy)) { in SYSCALL_DEFINE2()
Daudit_watch.c203 if (IS_ERR(watch)) in audit_to_watch()
223 if (IS_ERR(new)) { in audit_dupe_watch()
281 if (IS_ERR(nwatch)) { in audit_update_watch()
296 if (IS_ERR(nentry)) { in audit_update_watch()
365 if (IS_ERR(d)) in audit_get_nd()
436 if (IS_ERR(parent)) { in audit_add_watch()
514 if (IS_ERR(audit_watch_group)) { in audit_watch_init()
532 if (IS_ERR(audit_mark)) { in audit_dupe_exe()
/linux-4.4.14/drivers/s390/cio/
Ditcw.c194 if (IS_ERR(chunk)) in itcw_init()
210 if (IS_ERR(chunk)) in itcw_init()
218 if (IS_ERR(chunk)) in itcw_init()
228 if (IS_ERR(chunk)) in itcw_init()
236 if (IS_ERR(chunk)) in itcw_init()
242 if (IS_ERR(chunk)) in itcw_init()
249 if (IS_ERR(chunk)) in itcw_init()
256 if (IS_ERR(chunk)) in itcw_init()
263 if (IS_ERR(chunk)) in itcw_init()
/linux-4.4.14/fs/9p/
Dvfs_inode_dotl.c165 if (IS_ERR(st)) in v9fs_inode_from_fid_dotl()
259 if (IS_ERR(res)) in v9fs_vfs_atomic_open_dotl()
277 if (IS_ERR(dfid)) { in v9fs_vfs_atomic_open_dotl()
285 if (IS_ERR(ofid)) { in v9fs_vfs_atomic_open_dotl()
312 if (IS_ERR(fid)) { in v9fs_vfs_atomic_open_dotl()
319 if (IS_ERR(inode)) { in v9fs_vfs_atomic_open_dotl()
343 if (IS_ERR(inode_fid)) { in v9fs_vfs_atomic_open_dotl()
405 if (IS_ERR(dfid)) { in v9fs_vfs_mkdir_dotl()
427 if (IS_ERR(fid)) { in v9fs_vfs_mkdir_dotl()
438 if (IS_ERR(inode)) { in v9fs_vfs_mkdir_dotl()
[all …]
Dvfs_inode.c556 if (IS_ERR(st)) in v9fs_inode_from_fid()
599 if (IS_ERR(dfid)) { in v9fs_remove()
610 if (IS_ERR(v9fid)) in v9fs_remove()
657 if (IS_ERR(dfid)) { in v9fs_create()
665 if (IS_ERR(ofid)) { in v9fs_create()
680 if (IS_ERR(fid)) { in v9fs_create()
691 if (IS_ERR(inode)) { in v9fs_create()
733 if (IS_ERR(fid)) in v9fs_vfs_create()
762 if (IS_ERR(fid)) { in v9fs_vfs_mkdir()
802 if (IS_ERR(dfid)) in v9fs_vfs_lookup()
[all …]
Dacl.c42 if (IS_ERR(acl)) in __v9fs_get_acl()
73 if (!IS_ERR(dacl) && !IS_ERR(pacl)) { in v9fs_get_acl()
79 if (!IS_ERR(dacl)) in v9fs_get_acl()
82 if (!IS_ERR(pacl)) in v9fs_get_acl()
195 if (IS_ERR(acl)) in v9fs_acl_mode()
234 if (IS_ERR(acl)) in v9fs_xattr_get_acl()
272 if (IS_ERR(acl)) in v9fs_xattr_set_acl()
Dfid.c159 if (IS_ERR(fid)) in v9fs_fid_lookup_with_uid()
187 if (IS_ERR(fid)) { in v9fs_fid_lookup_with_uid()
205 if (!IS_ERR(fid)) { in v9fs_fid_lookup_with_uid()
265 if (IS_ERR(fid)) in v9fs_fid_clone()
277 if (IS_ERR(fid)) in v9fs_fid_clone_with_uid()
290 if (IS_ERR(fid)) in v9fs_writeback_fid()
Dxattr.c38 if (IS_ERR(attr_fid)) { in v9fs_fid_xattr_get()
78 if (IS_ERR(fid)) in v9fs_xattr_get()
100 if (IS_ERR(fid)) in v9fs_xattr_set()
119 if (IS_ERR(fid)) in v9fs_fid_xattr_set()
Dvfs_super.c131 if (IS_ERR(fid)) { in v9fs_mount()
137 if (IS_ERR(sb)) { in v9fs_mount()
149 if (IS_ERR(inode)) { in v9fs_mount()
163 if (IS_ERR(st)) { in v9fs_mount()
173 if (IS_ERR(st)) { in v9fs_mount()
249 if (IS_ERR(fid)) { in v9fs_statfs()
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_mech.c206 if (IS_ERR(p)) in simple_get_netobj()
226 if (IS_ERR(p)) in get_key()
245 if (IS_ERR(p)) in get_key()
250 if (IS_ERR(*res)) { in get_key()
280 if (IS_ERR(p)) in gss_import_v1_context()
302 if (IS_ERR(p)) in gss_import_v1_context()
309 if (IS_ERR(p)) in gss_import_v1_context()
316 if (IS_ERR(p)) in gss_import_v1_context()
319 if (IS_ERR(p)) in gss_import_v1_context()
322 if (IS_ERR(p)) in gss_import_v1_context()
[all …]
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dw.c227 if (IS_ERR(d->clk) || !old) in dw8250_set_termios()
423 if (IS_ERR(data->clk) && PTR_ERR(data->clk) != -EPROBE_DEFER) in dw8250_probe()
425 if (IS_ERR(data->clk) && PTR_ERR(data->clk) == -EPROBE_DEFER) in dw8250_probe()
443 if (IS_ERR(data->clk) && PTR_ERR(data->clk) == -EPROBE_DEFER) { in dw8250_probe()
447 if (!IS_ERR(data->pclk)) { in dw8250_probe()
456 if (IS_ERR(data->rst) && PTR_ERR(data->rst) == -EPROBE_DEFER) { in dw8250_probe()
460 if (!IS_ERR(data->rst)) in dw8250_probe()
495 if (!IS_ERR(data->rst)) in dw8250_probe()
499 if (!IS_ERR(data->pclk)) in dw8250_probe()
503 if (!IS_ERR(data->clk)) in dw8250_probe()
[all …]
/linux-4.4.14/drivers/net/wimax/i2400m/
Ddebugfs.c248 if (IS_ERR(dentry)) { in i2400m_debugfs_add()
266 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
275 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
284 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
315 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
324 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
333 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
342 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
350 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
358 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
/linux-4.4.14/sound/soc/samsung/
Dsmdk_spdif.c30 if (IS_ERR(fout_epll)) { in set_audio_clock_heirachy()
37 if (IS_ERR(mout_epll)) { in set_audio_clock_heirachy()
45 if (IS_ERR(sclk_audio0)) { in set_audio_clock_heirachy()
53 if (IS_ERR(sclk_spdif)) { in set_audio_clock_heirachy()
86 if (IS_ERR(fout_epll)) { in set_audio_clock_rate()
95 if (IS_ERR(sclk_spdif)) { in set_audio_clock_rate()
/linux-4.4.14/fs/btrfs/tests/
Dinode-tests.c243 if (IS_ERR(root)) { in test_btrfs_get_extent()
276 if (IS_ERR(em)) { in test_btrfs_get_extent()
300 if (IS_ERR(em)) { in test_btrfs_get_extent()
321 if (IS_ERR(em)) { in test_btrfs_get_extent()
347 if (IS_ERR(em)) { in test_btrfs_get_extent()
369 if (IS_ERR(em)) { in test_btrfs_get_extent()
396 if (IS_ERR(em)) { in test_btrfs_get_extent()
424 if (IS_ERR(em)) { in test_btrfs_get_extent()
445 if (IS_ERR(em)) { in test_btrfs_get_extent()
478 if (IS_ERR(em)) { in test_btrfs_get_extent()
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c218 if (IS_ERR(encoder)) { in construct_encoder()
274 if (IS_ERR(encoder)) { in modeset_init_intf()
293 if (IS_ERR(encoder)) { in modeset_init_intf()
329 if (IS_ERR(dsi_encs[i])) { in modeset_init_intf()
379 if (IS_ERR(plane)) { in modeset_init()
387 if (IS_ERR(crtc)) { in modeset_init()
402 if (IS_ERR(plane)) { in modeset_init()
416 if (IS_ERR(plane)) { in modeset_init()
459 if (IS_ERR(clk) && mandatory) { in get_clk()
463 if (IS_ERR(clk)) in get_clk()
[all …]
/linux-4.4.14/drivers/hwmon/
Dg762.c287 if (IS_ERR(data)) in do_set_pwm_mode()
317 if (IS_ERR(data)) in do_set_fan_div()
357 if (IS_ERR(data)) in do_set_fan_gear_mode()
393 if (IS_ERR(data)) in do_set_fan_pulses()
423 if (IS_ERR(data)) in do_set_pwm_enable()
464 if (IS_ERR(data)) in do_set_pwm_polarity()
518 if (IS_ERR(data)) in do_set_fan_target()
540 if (IS_ERR(data)) in do_set_fan_startv()
605 if (IS_ERR(clk)) { in g762_of_clock_enable()
744 if (IS_ERR(data)) in get_fan_rpm()
[all …]
/linux-4.4.14/drivers/base/regmap/
Dregmap-mmio.c98 if (!IS_ERR(ctx->clk)) { in regmap_mmio_gather_write()
131 if (!IS_ERR(ctx->clk)) in regmap_mmio_gather_write()
158 if (!IS_ERR(ctx->clk)) { in regmap_mmio_read()
191 if (!IS_ERR(ctx->clk)) in regmap_mmio_read()
201 if (!IS_ERR(ctx->clk)) { in regmap_mmio_free_context()
280 if (IS_ERR(ctx->clk)) { in regmap_mmio_gen_context()
308 if (IS_ERR(ctx)) in __regmap_init_mmio_clk()
326 if (IS_ERR(ctx)) in __devm_regmap_init_mmio_clk()
/linux-4.4.14/drivers/usb/host/
Dehci-orion.c195 if (IS_ERR(regs)) { in ehci_orion_drv_probe()
221 if (!IS_ERR(priv->clk)) in ehci_orion_drv_probe()
225 if (IS_ERR(priv->phy)) { in ehci_orion_drv_probe()
274 if (!IS_ERR(priv->phy)) in ehci_orion_drv_probe()
277 if (!IS_ERR(priv->phy)) in ehci_orion_drv_probe()
281 if (!IS_ERR(priv->clk)) in ehci_orion_drv_probe()
298 if (!IS_ERR(priv->phy)) { in ehci_orion_drv_remove()
303 if (!IS_ERR(priv->clk)) in ehci_orion_drv_remove()
Dohci-exynos.c66 if (IS_ERR(phy)) { in exynos_ohci_get_phy()
89 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_enable()
93 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_enable()
106 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_disable()
147 if (IS_ERR(exynos_ohci->clk)) { in exynos_ohci_probe()
159 if (IS_ERR(hcd->regs)) { in exynos_ohci_probe()
Dehci-exynos.c77 if (IS_ERR(phy)) { in exynos_ehci_get_phy()
100 if (!IS_ERR(exynos_ehci->phy[i])) in exynos_ehci_phy_enable()
104 if (!IS_ERR(exynos_ehci->phy[i])) in exynos_ehci_phy_enable()
117 if (!IS_ERR(exynos_ehci->phy[i])) in exynos_ehci_phy_disable()
179 if (IS_ERR(exynos_ehci->clk)) { in exynos_ehci_probe()
191 if (IS_ERR(hcd->regs)) { in exynos_ehci_probe()
Dxhci-plat.c118 if (IS_ERR(hcd->regs)) { in xhci_plat_probe()
131 if (!IS_ERR(clk)) { in xhci_plat_probe()
166 if (IS_ERR(hcd->usb_phy)) { in xhci_plat_probe()
198 if (!IS_ERR(clk)) in xhci_plat_probe()
219 if (!IS_ERR(clk)) in xhci_plat_remove()
Dohci-st.c167 if (IS_ERR(priv->phy)) { in st_ohci_platform_probe()
174 if (IS_ERR(priv->clks[clk])) { in st_ohci_platform_probe()
186 if (IS_ERR(priv->clk48)) { in st_ohci_platform_probe()
192 if (IS_ERR(priv->pwr)) { in st_ohci_platform_probe()
198 if (IS_ERR(priv->rst)) { in st_ohci_platform_probe()
213 if (IS_ERR(hcd->regs)) { in st_ohci_platform_probe()
Dehci-st.c185 if (IS_ERR(priv->phy)) { in st_ehci_platform_probe()
192 if (IS_ERR(priv->clks[clk])) { in st_ehci_platform_probe()
204 if (IS_ERR(priv->clk48)) { in st_ehci_platform_probe()
210 if (IS_ERR(priv->pwr)) { in st_ehci_platform_probe()
218 if (IS_ERR(priv->rst)) { in st_ehci_platform_probe()
235 if (IS_ERR(hcd->regs)) { in st_ehci_platform_probe()
Dehci-mxc.c73 if (IS_ERR(hcd->regs)) { in ehci_mxc_drv_probe()
86 if (IS_ERR(priv->usbclk)) { in ehci_mxc_drv_probe()
93 if (IS_ERR(priv->ahbclk)) { in ehci_mxc_drv_probe()
101 if (IS_ERR(priv->phyclk)) in ehci_mxc_drv_probe()
/linux-4.4.14/sound/soc/codecs/
Dtlv320aic32x4.c684 if (!IS_ERR(aic32x4->supply_ldo)) in aic32x4_disable_regulators()
687 if (!IS_ERR(aic32x4->supply_dv)) in aic32x4_disable_regulators()
690 if (!IS_ERR(aic32x4->supply_av)) in aic32x4_disable_regulators()
706 if (IS_ERR(aic32x4->supply_iov)) { in aic32x4_setup_regulators()
711 if (IS_ERR(aic32x4->supply_ldo)) { in aic32x4_setup_regulators()
715 if (IS_ERR(aic32x4->supply_dv)) { in aic32x4_setup_regulators()
719 if (IS_ERR(aic32x4->supply_av)) { in aic32x4_setup_regulators()
724 if (IS_ERR(aic32x4->supply_dv) && in aic32x4_setup_regulators()
727 if (IS_ERR(aic32x4->supply_av) && in aic32x4_setup_regulators()
738 if (!IS_ERR(aic32x4->supply_ldo)) { in aic32x4_setup_regulators()
[all …]
/linux-4.4.14/fs/
Danon_inodes.c78 if (IS_ERR(anon_inode_inode)) in anon_inode_getfile()
106 if (IS_ERR(file)) in anon_inode_getfile()
151 if (IS_ERR(file)) { in anon_inode_getfd()
168 if (IS_ERR(anon_inode_mnt)) in anon_inode_init()
172 if (IS_ERR(anon_inode_inode)) in anon_inode_init()
/linux-4.4.14/kernel/bpf/
Dinode.c68 if (IS_ERR(raw)) { in bpf_fd_probe_obj()
135 if (IS_ERR(inode)) in bpf_mkdir()
159 if (IS_ERR(inode)) in bpf_mkobj_ops()
209 if (IS_ERR(dentry)) in bpf_obj_do_pin()
241 if (IS_ERR(pname)) in bpf_obj_pin_user()
245 if (IS_ERR(raw)) { in bpf_obj_pin_user()
280 if (!IS_ERR(raw)) in bpf_obj_do_get()
298 if (IS_ERR(pname)) in bpf_obj_get_user()
302 if (IS_ERR(raw)) { in bpf_obj_get_user()
/linux-4.4.14/drivers/clk/
Dclk-moxart.c40 if (IS_ERR(ref_clk)) { in moxart_of_pll_clk_init()
46 if (IS_ERR(clk)) { in moxart_of_pll_clk_init()
83 if (IS_ERR(pll_clk)) { in moxart_of_apb_clk_init()
89 if (IS_ERR(clk)) { in moxart_of_apb_clk_init()
Dclkdev.c76 if (!IS_ERR(clk)) { in __of_clk_get_by_name()
181 if (IS_ERR(clk)) in clk_get_sys()
204 if (!IS_ERR(clk) || PTR_ERR(clk) == -EPROBE_DEFER) in clk_get()
333 if (IS_ERR(r)) in clk_add_alias()
376 if (IS_ERR(clk)) in clk_register_clkdev()
402 if (IS_ERR(clk)) in clk_register_clkdevs()
Dclk-conf.c42 if (IS_ERR(pclk)) { in __set_clk_parents()
57 if (IS_ERR(clk)) { in __set_clk_parents()
101 if (IS_ERR(clk)) { in __set_clk_rates()
/linux-4.4.14/arch/arm/mach-rockchip/
Dplatsmp.c78 if (IS_ERR(rstc) && read_cpuid_part() != ARM_CPU_PART_CORTEX_A9) { in pmu_set_power_domain()
89 if (!IS_ERR(rstc) && !on) in pmu_set_power_domain()
108 if (!IS_ERR(rstc)) { in pmu_set_power_domain()
227 if (!IS_ERR(pmu)) in rockchip_smp_prepare_pmu()
231 if (!IS_ERR(pmu)) in rockchip_smp_prepare_pmu()
249 if (IS_ERR(pmu)) { in rockchip_smp_prepare_pmu()
/linux-4.4.14/fs/nfs/
Dnfs3client.c30 if (IS_ERR(server->client_acl)) in nfs_init_server_aclclient()
53 if (!IS_ERR(server)) in nfs3_create_server()
64 if (!IS_ERR(server) && !IS_ERR(source->client_acl)) in nfs3_clone_server()
Dnfs4namespace.c88 if (!IS_ERR(path)) { in nfs4_path()
107 if (IS_ERR(path)) in nfs4_validate_fspath()
111 if (IS_ERR(fs_path)) in nfs4_validate_fspath()
178 if (IS_ERR(new)) in nfs_find_best_sec()
186 if (IS_ERR(cred)) { in nfs_find_best_sec()
249 if (IS_ERR(mnt_path)) in try_location()
283 if (!IS_ERR(mnt)) in try_location()
336 if (!IS_ERR(mnt)) in nfs_follow_referral()
407 if (IS_ERR(client)) in nfs4_submount()
/linux-4.4.14/drivers/nvmem/
Drockchip-efuse.c134 if (IS_ERR(base)) in rockchip_efuse_probe()
139 if (IS_ERR(context)) in rockchip_efuse_probe()
143 if (IS_ERR(clk)) in rockchip_efuse_probe()
154 if (IS_ERR(regmap)) { in rockchip_efuse_probe()
160 if (IS_ERR(nvmem)) in rockchip_efuse_probe()
Dqfprom.c48 if (IS_ERR(base)) in qfprom_probe()
54 if (IS_ERR(regmap)) { in qfprom_probe()
60 if (IS_ERR(nvmem)) in qfprom_probe()
Dimx-ocotp.c112 if (IS_ERR(priv->base)) in imx_ocotp_probe()
121 if (IS_ERR(regmap)) { in imx_ocotp_probe()
127 if (IS_ERR(nvmem)) in imx_ocotp_probe()
Dmxs-ocotp.c195 if (IS_ERR(otp->base)) in mxs_ocotp_probe()
199 if (IS_ERR(otp->clk)) in mxs_ocotp_probe()
213 if (IS_ERR(regmap)) { in mxs_ocotp_probe()
221 if (IS_ERR(otp->nvmem)) { in mxs_ocotp_probe()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-a10-pll2.c58 if (IS_ERR(reg)) in sun4i_pll2_setup()
135 WARN_ON(IS_ERR(clks[SUN4I_A10_PLL2_1X])); in sun4i_pll2_setup()
149 WARN_ON(IS_ERR(clks[SUN4I_A10_PLL2_2X])); in sun4i_pll2_setup()
158 WARN_ON(IS_ERR(clks[SUN4I_A10_PLL2_4X])); in sun4i_pll2_setup()
167 WARN_ON(IS_ERR(clks[SUN4I_A10_PLL2_8X])); in sun4i_pll2_setup()
Dclk-sun9i-core.c96 if (IS_ERR(reg)) { in sun9i_a80_pll4_setup()
157 if (IS_ERR(reg)) { in sun9i_a80_gt_setup()
221 if (IS_ERR(reg)) { in sun9i_a80_ahb_setup()
247 if (IS_ERR(reg)) { in sun9i_a80_apb0_setup()
313 if (IS_ERR(reg)) { in sun9i_a80_apb1_setup()
Dclk-a10-codec.c30 if (IS_ERR(reg)) in sun4i_codec_clk_setup()
40 if (!IS_ERR(clk)) in sun4i_codec_clk_setup()
/linux-4.4.14/drivers/gpio/
Ddevres.c113 if (IS_ERR(desc)) { in devm_gpiod_get_index()
158 if (!IS_ERR(desc) || (PTR_ERR(desc) == -EPROBE_DEFER)) in devm_get_gpiod_from_child()
161 if (IS_ERR(desc)) { in devm_get_gpiod_from_child()
193 if (IS_ERR(desc)) { in devm_gpiod_get_index_optional()
225 if (IS_ERR(descs)) { in devm_gpiod_get_array()
255 if (IS_ERR(descs) && (PTR_ERR(descs) == -ENOENT)) in devm_gpiod_get_array_optional()
/linux-4.4.14/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c104 if (!IS_ERR(pcb_tz)) { in __ti_thermal_get_temp()
136 if (!data || IS_ERR(data)) in ti_thermal_bind()
159 if (!data || IS_ERR(data)) in ti_thermal_unbind()
333 if (!data || IS_ERR(data)) in ti_thermal_expose_sensor()
342 if (IS_ERR(data->ti_thermal)) { in ti_thermal_expose_sensor()
348 if (IS_ERR(data->ti_thermal)) { in ti_thermal_expose_sensor()
404 if (!data || IS_ERR(data)) in ti_thermal_register_cpu_cooling()
412 if (IS_ERR(data->cool_dev)) { in ti_thermal_register_cpu_cooling()
/linux-4.4.14/drivers/misc/
Datmel_tclib.c125 if (IS_ERR(clk)) in tc_probe()
129 if (IS_ERR(tc->slow_clk)) in tc_probe()
134 if (IS_ERR(tc->regs)) in tc_probe()
151 if (IS_ERR(tc->clk[1])) in tc_probe()
154 if (IS_ERR(tc->clk[2])) in tc_probe()
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/
Dhdmi.c113 if (IS_ERR(hdmi->phy)) { in hdmi_init()
122 if (IS_ERR(hdmi->mmio)) { in hdmi_init()
134 if (IS_ERR(hdmi->qfprom_mmio)) { in hdmi_init()
150 if (IS_ERR(reg)) { in hdmi_init()
171 if (IS_ERR(reg)) { in hdmi_init()
191 if (IS_ERR(clk)) { in hdmi_init()
211 if (IS_ERR(clk)) { in hdmi_init()
224 if (IS_ERR(hdmi->i2c)) { in hdmi_init()
232 if (IS_ERR(hdmi->hdcp_ctrl)) { in hdmi_init()
267 if (IS_ERR(hdmi->bridge)) { in hdmi_modeset_init()
[all …]
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_xs.c253 if (IS_ERR(ret)) in xenbus_dev_request_and_reply()
304 if (IS_ERR(ret)) in xs_talkv()
338 if (IS_ERR(reply)) in xs_error()
397 if (IS_ERR(path)) in xenbus_directory()
402 if (IS_ERR(strings)) in xenbus_directory()
417 if (IS_ERR(d)) in xenbus_exists()
435 if (IS_ERR(path)) in xenbus_read()
455 if (IS_ERR(path)) in xenbus_write()
477 if (IS_ERR(path)) in xenbus_mkdir()
493 if (IS_ERR(path)) in xenbus_rm()
[all …]
/linux-4.4.14/net/openvswitch/
Dvport-gre.c59 if (IS_ERR(vport)) in gre_tnl_create()
64 if (IS_ERR(dev)) { in gre_tnl_create()
81 if (IS_ERR(vport)) in gre_create()
Dvport-geneve.c82 if (IS_ERR(vport)) in geneve_tnl_create()
90 if (IS_ERR(dev)) { in geneve_tnl_create()
108 if (IS_ERR(vport)) in geneve_create()
Dvport-vxlan.c113 if (IS_ERR(vport)) in vxlan_tnl_create()
127 if (IS_ERR(dev)) { in vxlan_tnl_create()
145 if (IS_ERR(vport)) in vxlan_create()
/linux-4.4.14/include/linux/pinctrl/
Dconsumer.h139 if (IS_ERR(p)) in pinctrl_get_select()
143 if (IS_ERR(s)) { in pinctrl_get_select()
171 if (IS_ERR(p)) in devm_pinctrl_get_select()
175 if (IS_ERR(s)) { in devm_pinctrl_get_select()
/linux-4.4.14/drivers/clk/mmp/
Dclk.c37 if (IS_ERR(clk)) { in mmp_register_fixed_rate_clks()
59 if (IS_ERR(clk)) { in mmp_register_fixed_factor_clks()
85 if (IS_ERR(clk)) { in mmp_register_general_gate_clks()
113 if (IS_ERR(clk)) { in mmp_register_gate_clks()
141 if (IS_ERR(clk)) { in mmp_register_mux_clks()
168 if (IS_ERR(clk)) { in mmp_register_div_clks()
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.c64 if (IS_ERR(clk)) { in mtk_clk_register_fixed_clks()
87 if (IS_ERR(clk)) { in mtk_clk_register_factors()
110 if (IS_ERR(regmap)) { in mtk_clk_register_gates()
126 if (IS_ERR(clk)) { in mtk_clk_register_gates()
211 if (IS_ERR(clk)) { in mtk_clk_register_composite()
235 if (IS_ERR(clk)) { in mtk_clk_register_composites()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_compositor.c213 if (IS_ERR(compo->clk_compo_main)) { in sti_compositor_probe()
219 if (IS_ERR(compo->clk_compo_aux)) { in sti_compositor_probe()
225 if (IS_ERR(compo->clk_pix_main)) { in sti_compositor_probe()
231 if (IS_ERR(compo->clk_pix_aux)) { in sti_compositor_probe()
239 if (!IS_ERR(compo->rst_main)) in sti_compositor_probe()
244 if (!IS_ERR(compo->rst_aux)) in sti_compositor_probe()
/linux-4.4.14/drivers/clk/hisilicon/
Dclk.c86 if (IS_ERR(clk)) { in hisi_clk_register_fixed_rate()
107 if (IS_ERR(clk)) { in hisi_clk_register_fixed_factor()
132 if (IS_ERR(clk)) { in hisi_clk_register_mux()
161 if (IS_ERR(clk)) { in hisi_clk_register_divider()
189 if (IS_ERR(clk)) { in hisi_clk_register_gate()
217 if (IS_ERR(clk)) { in hisi_clk_register_gate_sep()
246 if (IS_ERR(clk)) { in hi6220_clk_register_divider()
/linux-4.4.14/drivers/clk/ti/
Dapll.c146 if (IS_ERR(ad->clk_ref) || IS_ERR(ad->clk_bypass)) { in omap_clk_register_apll()
156 if (!IS_ERR(clk)) { in omap_clk_register_apll()
207 if (IS_ERR(ad->control_reg) || IS_ERR(ad->idlest_reg)) in of_dra7_apll_setup()
388 if (IS_ERR(ad->control_reg) || IS_ERR(ad->autoidle_reg) || in of_omap2_apll_setup()
389 IS_ERR(ad->idlest_reg)) in of_omap2_apll_setup()
393 if (!IS_ERR(clk)) { in of_omap2_apll_setup()
/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_drv.c161 if (IS_ERR(vsp1->bru)) { in vsp1_create_entities()
169 if (IS_ERR(vsp1->hsi)) { in vsp1_create_entities()
177 if (IS_ERR(vsp1->hst)) { in vsp1_create_entities()
186 if (IS_ERR(vsp1->lif)) { in vsp1_create_entities()
196 if (IS_ERR(vsp1->lut)) { in vsp1_create_entities()
208 if (IS_ERR(rpf)) { in vsp1_create_entities()
219 if (IS_ERR(vsp1->sru)) { in vsp1_create_entities()
231 if (IS_ERR(uds)) { in vsp1_create_entities()
244 if (IS_ERR(wpf)) { in vsp1_create_entities()
497 if (IS_ERR(vsp1->mmio)) in vsp1_probe()
[all …]
/linux-4.4.14/drivers/base/power/opp/
Dcore.c222 if (IS_ERR(dev_opp)) in dev_pm_opp_get_max_clock_latency()
252 if (IS_ERR(dev_opp) || !dev_opp->suspend_opp || in dev_pm_opp_get_suspend_opp()
278 if (IS_ERR(dev_opp)) { in dev_pm_opp_get_opp_count()
332 if (IS_ERR(dev_opp)) { in dev_pm_opp_find_freq_exact()
385 if (IS_ERR(dev_opp)) in dev_pm_opp_find_freq_ceil()
435 if (IS_ERR(dev_opp)) in dev_pm_opp_find_freq_floor()
447 if (!IS_ERR(opp)) in dev_pm_opp_find_freq_floor()
503 if (!IS_ERR(dev_opp)) in _add_device_opp()
628 if (IS_ERR(dev_opp)) in dev_pm_opp_remove()
994 if (IS_ERR(dev_opp)) { in _opp_set_availability()
[all …]
/linux-4.4.14/arch/arm/mach-davinci/
Dclock.c66 if (clk == NULL || IS_ERR(clk)) in davinci_clk_reset()
80 if (clk == NULL || IS_ERR(clk) || !clk->reset) in davinci_clk_reset_assert()
89 if (clk == NULL || IS_ERR(clk) || !clk->reset) in davinci_clk_reset_deassert()
102 else if (IS_ERR(clk)) in clk_enable()
117 if (clk == NULL || IS_ERR(clk)) in clk_disable()
128 if (clk == NULL || IS_ERR(clk)) in clk_get_rate()
137 if (clk == NULL || IS_ERR(clk)) in clk_round_rate()
166 else if (IS_ERR(clk)) in clk_set_rate()
190 else if (IS_ERR(clk)) in clk_set_parent()
215 if (clk == NULL || IS_ERR(clk)) in clk_register()
[all …]
/linux-4.4.14/drivers/media/platform/s5p-tv/
Dmixer_drv.c241 if (!IS_ERR(res->sclk_dac)) in mxr_release_clocks()
243 if (!IS_ERR(res->sclk_hdmi)) in mxr_release_clocks()
245 if (!IS_ERR(res->sclk_mixer)) in mxr_release_clocks()
247 if (!IS_ERR(res->vp)) in mxr_release_clocks()
249 if (!IS_ERR(res->mixer)) in mxr_release_clocks()
261 if (IS_ERR(res->mixer)) { in mxr_acquire_clocks()
266 if (IS_ERR(res->vp)) { in mxr_acquire_clocks()
271 if (IS_ERR(res->sclk_mixer)) { in mxr_acquire_clocks()
276 if (IS_ERR(res->sclk_hdmi)) { in mxr_acquire_clocks()
281 if (IS_ERR(res->sclk_dac)) { in mxr_acquire_clocks()
/linux-4.4.14/arch/c6x/platforms/
Dpll.c52 if (clk == NULL || IS_ERR(clk)) in clk_enable()
67 if (clk == NULL || IS_ERR(clk)) in clk_disable()
78 if (clk == NULL || IS_ERR(clk)) in clk_get_rate()
87 if (clk == NULL || IS_ERR(clk)) in clk_round_rate()
114 if (clk == NULL || IS_ERR(clk)) in clk_set_rate()
136 if (clk == NULL || IS_ERR(clk)) in clk_set_parent()
161 if (clk == NULL || IS_ERR(clk)) in clk_register()
193 if (clk == NULL || IS_ERR(clk)) in clk_unregister()
/linux-4.4.14/drivers/iio/dac/
Dad5791.c358 if (!IS_ERR(st->reg_vdd)) { in ad5791_probe()
371 if (!IS_ERR(st->reg_vss)) { in ad5791_probe()
386 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
428 if (!IS_ERR(st->reg_vss)) in ad5791_probe()
431 if (!IS_ERR(st->reg_vdd)) in ad5791_probe()
442 if (!IS_ERR(st->reg_vdd)) in ad5791_remove()
445 if (!IS_ERR(st->reg_vss)) in ad5791_remove()
/linux-4.4.14/fs/ubifs/
Dfind.c189 if (IS_ERR(lprops)) in scan_for_dirty()
325 if (IS_ERR(lp)) { in ubifs_find_dirty_leb()
338 if (IS_ERR(lp)) { in ubifs_find_dirty_leb()
468 if (IS_ERR(lprops)) in do_find_free_space()
541 if (IS_ERR(lprops)) { in ubifs_find_free_space()
550 if (IS_ERR(lprops)) { in ubifs_find_free_space()
648 if (IS_ERR(lprops)) in scan_for_leb_for_idx()
695 if (IS_ERR(lprops)) { in ubifs_find_free_leb_for_idx()
715 if (IS_ERR(lprops)) { in ubifs_find_free_leb_for_idx()
876 if (IS_ERR(lprops)) in find_dirty_idx_leb()
[all …]
Dtnc.c271 if (IS_ERR(zn)) in dirty_cow_znode()
613 if (IS_ERR(znode)) in tnc_next()
617 if (IS_ERR(znode)) in tnc_next()
657 if (IS_ERR(znode)) in tnc_prev()
662 if (IS_ERR(znode)) in tnc_prev()
1126 if (IS_ERR(znode) || !p) in dirty_cow_bottom_up()
1171 if (IS_ERR(znode)) in ubifs_lookup_level0()
1197 if (IS_ERR(znode)) in ubifs_lookup_level0()
1306 if (IS_ERR(znode)) in lookup_level0_dirty()
1311 if (IS_ERR(znode)) in lookup_level0_dirty()
[all …]
/linux-4.4.14/security/apparmor/
Dapparmorfs.c126 if (!IS_ERR(data)) { in profile_load()
148 if (!IS_ERR(data)) { in profile_replace()
175 if (!IS_ERR(data)) { in profile_remove()
394 if (IS_ERR(dent)) in create_profile_file()
413 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
432 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
437 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
442 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
448 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
455 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
[all …]
/linux-4.4.14/net/9p/
Dclient.c341 if (IS_ERR(c->tagpool)) { in p9_tag_init()
659 if (IS_ERR(req)) in p9_client_flush()
699 if (IS_ERR(req)) in p9_client_prepare_req()
735 if (IS_ERR(req)) in p9_client_rpc()
832 if (IS_ERR(req)) in p9_client_zc_rpc()
958 if (IS_ERR(req)) in p9_client_version()
1029 if (IS_ERR(clnt->fidpool)) { in p9_client_create()
1115 if (IS_ERR(fid)) { in p9_client_attach()
1124 if (IS_ERR(req)) { in p9_client_attach()
1166 if (IS_ERR(fid)) { in p9_client_walk()
[all …]
/linux-4.4.14/drivers/usb/phy/
Dphy-generic.c146 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_init()
151 if (!IS_ERR(nop->clk)) in usb_gen_phy_init()
166 if (!IS_ERR(nop->clk)) in usb_gen_phy_shutdown()
169 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_shutdown()
260 if (IS_ERR(nop->clk)) { in usb_phy_gen_create_phy()
265 if (!IS_ERR(nop->clk) && clk_rate) { in usb_phy_gen_create_phy()
274 if (IS_ERR(nop->vcc)) { in usb_phy_gen_create_phy()
Dphy.c123 if (!IS_ERR(phy)) { in devm_usb_get_phy()
151 if (IS_ERR(phy) || !try_module_get(phy->dev->driver->owner)) { in usb_get_phy()
154 if (!IS_ERR(phy)) in usb_get_phy()
202 if (IS_ERR(phy)) { in devm_usb_get_phy_by_node()
286 if (IS_ERR(phy) || !try_module_get(phy->dev->driver->owner)) { in usb_get_phy_dev()
288 if (!IS_ERR(phy)) in usb_get_phy_dev()
323 if (!IS_ERR(phy)) { in devm_usb_get_phy_dev()
/linux-4.4.14/drivers/clk/mvebu/
Dcommon.c142 WARN_ON(IS_ERR(clk_data.clks[0])); in mvebu_coreclk_setup()
155 WARN_ON(IS_ERR(clk_data.clks[1])); in mvebu_coreclk_setup()
167 WARN_ON(IS_ERR(clk_data.clks[2+n])); in mvebu_coreclk_setup()
179 WARN_ON(IS_ERR(clk_data.clks[2 + desc->num_ratios])); in mvebu_coreclk_setup()
257 if (!IS_ERR(clk)) { in mvebu_clk_gating_setup()
287 WARN_ON(IS_ERR(ctrl->gates[n])); in mvebu_clk_gating_setup()
/linux-4.4.14/fs/ceph/
Dexport.c77 if (IS_ERR(req)) in __fh_to_dentry()
92 if (IS_ERR(dentry)) { in __fh_to_dentry()
135 if (IS_ERR(req)) in __get_parent()
157 if (IS_ERR(dentry)) { in __get_parent()
200 if (IS_ERR(dentry) && PTR_ERR(dentry) == -ENOENT) in ceph_fh_to_parent()
215 if (IS_ERR(req)) in ceph_get_name()
/linux-4.4.14/drivers/devfreq/exynos/
Dexynos5_bus.c97 if (IS_ERR(opp)) { in exynos5_busfreq_int_target()
210 if (IS_ERR(opp)) { in exynos5_busfreq_int_pm_notifier_event()
298 if (IS_ERR(data->vdd_int)) { in exynos5_busfreq_int_probe()
304 if (IS_ERR(data->int_clk)) { in exynos5_busfreq_int_probe()
312 if (IS_ERR(opp)) { in exynos5_busfreq_int_probe()
339 if (IS_ERR(data->devfreq)) in exynos5_busfreq_int_probe()
410 if (IS_ERR(exynos5_devfreq_pdev)) { in exynos5_busfreq_int_init()
/linux-4.4.14/drivers/pwm/
Dpwm-sti.c272 if (IS_ERR(pc->prescale_low)) in sti_pwm_probe_dt()
277 if (IS_ERR(pc->prescale_high)) in sti_pwm_probe_dt()
282 if (IS_ERR(pc->pwm_en)) in sti_pwm_probe_dt()
287 if (IS_ERR(pc->pwm_int_en)) in sti_pwm_probe_dt()
318 if (IS_ERR(pc->mmio)) in sti_pwm_probe()
323 if (IS_ERR(pc->regmap)) in sti_pwm_probe()
345 if (IS_ERR(pc->clk)) { in sti_pwm_probe()
/linux-4.4.14/drivers/dca/
Ddca-sysfs.c43 if (IS_ERR(cd)) in dca_sysfs_add_req()
71 if (IS_ERR(cd)) { in dca_sysfs_add_provider()
96 if (IS_ERR(dca_class)) { in dca_sysfs_init()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c94 if (IS_ERR(mailbox)) in mlx4_SET_PORT_PRIO2TC()
121 if (IS_ERR(mailbox)) in mlx4_SET_PORT_SCHEDULER()
168 if (IS_ERR(mailbox)) in mlx4_ALLOCATE_VPP_get()
202 if (IS_ERR(mailbox)) in mlx4_ALLOCATE_VPP_set()
230 if (IS_ERR(mailbox)) in mlx4_SET_VPORT_QOS_get()
267 if (IS_ERR(mailbox)) in mlx4_SET_VPORT_QOS_set()
/linux-4.4.14/fs/f2fs/
Dinline.c88 if (IS_ERR(ipage)) { in f2fs_read_inline_data()
187 if (IS_ERR(ipage)) { in f2fs_convert_inline_inode()
259 f2fs_bug_on(sbi, IS_ERR(ipage)); in recover_inline_data()
277 f2fs_bug_on(sbi, IS_ERR(ipage)); in recover_inline_data()
303 if (IS_ERR(ipage)) in find_in_inline_dir()
335 if (IS_ERR(ipage)) in f2fs_parent_inline_dir()
446 if (IS_ERR(ipage)) in f2fs_add_inline_entry()
463 if (IS_ERR(page)) { in f2fs_add_inline_entry()
533 if (IS_ERR(ipage)) in f2fs_empty_inline_dir()
561 if (IS_ERR(ipage)) in f2fs_read_inline_dir()
[all …]
/linux-4.4.14/net/rfkill/
Drfkill-gpio.c48 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) in rfkill_gpio_set_power()
54 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power()
116 if (IS_ERR(gpio)) in rfkill_gpio_probe()
122 if (IS_ERR(gpio)) in rfkill_gpio_probe()
/linux-4.4.14/drivers/clk/at91/
Dclk-slow.c156 if (IS_ERR(clk)) in at91_clk_register_slow_osc()
178 if (IS_ERR(clk)) in of_at91sam9x5_clk_slow_osc_setup()
266 if (IS_ERR(clk)) in at91_clk_register_slow_rc_osc()
288 if (IS_ERR(clk)) in of_at91sam9x5_clk_slow_rc_osc_setup()
361 if (IS_ERR(clk)) in at91_clk_register_sam9x5_slow()
387 if (IS_ERR(clk)) in of_at91sam9x5_clk_slow_setup()
434 if (IS_ERR(clk)) in at91_clk_register_sam9260_slow()
460 if (IS_ERR(clk)) in of_at91sam9260_clk_slow_setup()
/linux-4.4.14/net/ipv6/
Dinet6_connection_sock.c92 if (IS_ERR(dst)) in inet6_csk_route_req()
147 if (!IS_ERR(dst)) in inet6_csk_route_socket()
161 if (IS_ERR(dst)) { in inet6_csk_xmit()
186 if (IS_ERR(dst)) in inet6_csk_update_pmtu()
191 return IS_ERR(dst) ? NULL : dst; in inet6_csk_update_pmtu()
/linux-4.4.14/drivers/platform/x86/
Dintel_oaktrail.c178 if (IS_ERR(wifi_rfkill)) { in oaktrail_rfkill_init()
187 if (IS_ERR(bt_rfkill)) { in oaktrail_rfkill_init()
196 if (IS_ERR(gps_rfkill)) { in oaktrail_rfkill_init()
205 if (IS_ERR(wwan_rfkill)) { in oaktrail_rfkill_init()
258 if (IS_ERR(bd)) { in oaktrail_backlight_init()
/linux-4.4.14/sound/soc/
Dsoc-ac97.c106 if (IS_ERR(ac97)) in snd_soc_new_ac97_codec()
189 if (IS_ERR(p)) { in snd_soc_ac97_parse_pinctl()
196 if (IS_ERR(state)) { in snd_soc_ac97_parse_pinctl()
203 if (IS_ERR(state)) { in snd_soc_ac97_parse_pinctl()
210 if (IS_ERR(state)) { in snd_soc_ac97_parse_pinctl()
/linux-4.4.14/fs/reiserfs/
Dxattr.c152 if (IS_ERR(xaroot)) in open_xa_dir()
162 if (!IS_ERR(xadir) && d_really_is_negative(xadir)) { in open_xa_dir()
208 if (IS_ERR(dentry)) { in fill_with_dentries()
249 if (IS_ERR(dir)) { in reiserfs_for_each_xattr()
384 if (IS_ERR(xadir)) in xattr_lookup()
389 if (IS_ERR(xafile)) { in xattr_lookup()
431 if (!IS_ERR(page)) { in reiserfs_get_page()
469 if (IS_ERR(xadir)) in lookup_and_delete_xattr()
474 if (IS_ERR(dentry)) { in lookup_and_delete_xattr()
520 if (IS_ERR(dentry)) in reiserfs_xattr_set_handle()
[all …]
/linux-4.4.14/sound/soc/qcom/
Dlpass-cpu.c36 if (IS_ERR(drvdata->mi2s_osr_clk[dai->driver->id])) in lpass_cpu_daiops_set_sysclk()
53 if (!IS_ERR(drvdata->mi2s_osr_clk[dai->driver->id])) { in lpass_cpu_daiops_startup()
67 if (!IS_ERR(drvdata->mi2s_osr_clk[dai->driver->id])) in lpass_cpu_daiops_startup()
83 if (!IS_ERR(drvdata->mi2s_osr_clk[dai->driver->id])) in lpass_cpu_daiops_shutdown()
394 if (IS_ERR((void const __force *)drvdata->lpaif)) { in asoc_qcom_lpass_cpu_platform_probe()
406 if (IS_ERR(drvdata->lpaif_map)) { in asoc_qcom_lpass_cpu_platform_probe()
424 if (IS_ERR(drvdata->mi2s_osr_clk[dai_id])) { in asoc_qcom_lpass_cpu_platform_probe()
438 if (IS_ERR(drvdata->mi2s_bit_clk[dai_id])) { in asoc_qcom_lpass_cpu_platform_probe()
448 if (IS_ERR(drvdata->ahbix_clk)) { in asoc_qcom_lpass_cpu_platform_probe()
/linux-4.4.14/fs/ntfs/
Dsuper.c389 if (IS_ERR(m)) { in ntfs_write_volume_flags()
1042 if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) { in load_and_init_mft_mirror()
1043 if (!IS_ERR(tmp_ino)) in load_and_init_mft_mirror()
1117 if (IS_ERR(mft_page)) { in check_mft_mirror()
1125 if (IS_ERR(mirr_page)) { in check_mft_mirror()
1223 if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) { in load_and_check_logfile()
1224 if (!IS_ERR(tmp_ino)) in load_and_check_logfile()
1308 if (IS_ERR(vi) || is_bad_inode(vi)) { in check_windows_hibernation_status()
1309 if (!IS_ERR(vi)) in check_windows_hibernation_status()
1312 return IS_ERR(vi) ? PTR_ERR(vi) : -EIO; in check_windows_hibernation_status()
[all …]
/linux-4.4.14/fs/afs/
Ddir.c197 if (!IS_ERR(page)) { in afs_dir_get_page()
348 if (IS_ERR(page)) { in afs_dir_iterate()
477 if (IS_ERR(inode)) { in afs_try_auto_mntpt()
521 if (IS_ERR(key)) { in afs_lookup()
536 if (!IS_ERR(inode)) { in afs_lookup()
556 if (IS_ERR(inode)) { in afs_lookup()
599 if (IS_ERR(key)) in afs_d_revalidate()
747 if (IS_ERR(key)) { in afs_mkdir()
759 if (IS_ERR(inode)) { in afs_mkdir()
808 if (IS_ERR(key)) { in afs_rmdir()
[all …]
Dsuper.c165 if (IS_ERR(cell)) in afs_parse_options()
270 if (IS_ERR(cell)) { in afs_parse_device_name()
330 if (IS_ERR(inode)) in afs_fill_super()
386 if (IS_ERR(key)) { in afs_mount()
395 if (IS_ERR(vol)) { in afs_mount()
411 if (IS_ERR(sb)) { in afs_mount()
537 if (IS_ERR(key)) in afs_statfs()
/linux-4.4.14/security/integrity/
Ddigsig_asymmetric.c40 if (IS_ERR(kref)) in request_asymmetric_key()
48 if (IS_ERR(key)) { in request_asymmetric_key()
87 if (IS_ERR(key)) in asymmetric_verify()
Ddigsig.c45 if (IS_ERR(keyring[id])) { in integrity_digsig_verify()
77 if (!IS_ERR(keyring[id])) in integrity_init_keyring()
109 if (IS_ERR(key)) { in integrity_load_x509()
/linux-4.4.14/drivers/mtd/
Dmtdsuper.c68 if (IS_ERR(sb)) in mount_mtd_aux()
110 if (IS_ERR(mtd)) { in mount_mtd_nr()
149 if (!IS_ERR(mtd)) in mount_mtd()
180 if (IS_ERR(bdev)) { in mount_mtd()
/linux-4.4.14/fs/qnx6/
Ddir.c30 if (!IS_ERR(page)) in qnx6_get_page()
55 if (IS_ERR(page)) in qnx6_longname()
79 if (IS_ERR(lf)) { in qnx6_dir_longfilename()
132 if (IS_ERR(page)) { in qnx6_readdir()
183 if (IS_ERR(lf)) in qnx6_long_match()
235 if (!IS_ERR(page)) { in qnx6_find_entry()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dmmp-driver.c115 if (!IS_ERR(mcam->clk[i])) in mcam_clk_enable()
125 if (!IS_ERR(mcam->clk[i])) in mcam_clk_disable()
279 if (IS_ERR(cam->mipi_clk)) in mmpcam_calc_dphy()
327 if (IS_ERR(mcam->clk[i])) in mcam_init_clk()
367 if ((IS_ERR(cam->mipi_clk) && mcam->dphy[2] == 0)) in mmpcam_probe()
381 if (IS_ERR(mcam->regs)) in mmpcam_probe()
390 if (IS_ERR(cam->power_regs)) in mmpcam_probe()
/linux-4.4.14/drivers/usb/chipidea/
Dci_hdrc_imx.c150 if (IS_ERR(data->clk_ipg)) { in imx_get_clks()
153 if (IS_ERR(data->clk)) { in imx_get_clks()
164 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
172 if (IS_ERR(data->clk_per)) { in imx_get_clks()
265 if (IS_ERR(data->usbmisc_data)) in ci_hdrc_imx_probe()
277 if (IS_ERR(data->phy)) { in ci_hdrc_imx_probe()
303 if (IS_ERR(data->ci_pdev)) { in ci_hdrc_imx_probe()
Dci_hdrc_usb2.c69 if (!IS_ERR(priv->clk)) { in ci_hdrc_usb2_probe()
85 if (IS_ERR(priv->ci_pdev)) { in ci_hdrc_usb2_probe()
102 if (!IS_ERR(priv->clk)) in ci_hdrc_usb2_probe()
/linux-4.4.14/drivers/usb/gadget/udc/
Dfsl_mxc_udc.c41 if (IS_ERR(mxc_ipg_clk)) { in fsl_udc_clk_init()
47 if (IS_ERR(mxc_ahb_clk)) { in fsl_udc_clk_init()
53 if (IS_ERR(mxc_per_clk)) { in fsl_udc_clk_init()
/linux-4.4.14/drivers/iommu/
Diommu-sysfs.c95 if (!dev || IS_ERR(dev)) in iommu_device_destroy()
111 if (!dev || IS_ERR(dev)) in iommu_device_link()
129 if (!dev || IS_ERR(dev)) in iommu_device_unlink()
Dexynos-iommu.c337 if (!IS_ERR(data->clk_master)) in exynos_sysmmu_irq()
370 if (!IS_ERR(data->clk_master)) in exynos_sysmmu_irq()
380 if (!IS_ERR(data->clk_master)) in __sysmmu_disable_nocount()
387 if (!IS_ERR(data->clk_master)) in __sysmmu_disable_nocount()
441 if (!IS_ERR(data->clk_master)) in __sysmmu_enable_nocount()
453 if (!IS_ERR(data->clk_master)) in __sysmmu_enable_nocount()
497 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_flpdcache()
505 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_flpdcache()
518 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_entry()
539 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_entry()
[all …]
/linux-4.4.14/drivers/base/power/
Ddomain.c275 if (!IS_ERR(genpd)) { in genpd_dev_pm_qos_notifier()
401 if (IS_ERR(genpd)) in pm_genpd_runtime_suspend()
475 if (IS_ERR(genpd)) in pm_genpd_runtime_resume()
678 if (IS_ERR(genpd)) in pm_genpd_prepare()
751 if (IS_ERR(genpd)) in pm_genpd_suspend()
772 if (IS_ERR(genpd)) in pm_genpd_suspend_late()
792 if (IS_ERR(genpd)) in pm_genpd_suspend_noirq()
825 if (IS_ERR(genpd)) in pm_genpd_resume_noirq()
859 if (IS_ERR(genpd)) in pm_genpd_resume_early()
880 if (IS_ERR(genpd)) in pm_genpd_resume()
[all …]
/linux-4.4.14/fs/hfsplus/
Dbitmap.c37 if (IS_ERR(page)) { in hfsplus_block_allocate()
82 if (IS_ERR(page)) { in hfsplus_block_allocate()
133 if (IS_ERR(page)) { in hfsplus_block_allocate()
185 if (IS_ERR(page)) in hfsplus_block_free()
219 if (IS_ERR(page)) in hfsplus_block_free()
Dbtree.c150 if (IS_ERR(inode)) in hfs_btree_open()
161 if (IS_ERR(page)) in hfs_btree_open()
288 if (IS_ERR(node)) in hfs_btree_write()
319 if (IS_ERR(node)) in hfs_bmap_new_bmap()
377 if (IS_ERR(node)) in hfs_bmap_alloc()
422 if (IS_ERR(next_node)) in hfs_bmap_alloc()
448 if (IS_ERR(node)) in hfs_bmap_free()
465 if (IS_ERR(node)) in hfs_bmap_free()
/linux-4.4.14/drivers/clocksource/
Dtimer-sp804.c89 if (IS_ERR(clk)) { in __sp804_clocksource_and_sched_clock_init()
196 if (IS_ERR(clk)) { in __sp804_clockevents_init()
239 if (IS_ERR(clk1)) in sp804_of_init()
245 if (IS_ERR(clk2)) { in sp804_of_init()
286 if (WARN_ON(IS_ERR(clk))) in integrator_cp_of_init()
/linux-4.4.14/drivers/usb/dwc3/
Ddwc3-exynos.c140 if (IS_ERR(exynos->clk)) { in dwc3_exynos_probe()
147 if (IS_ERR(exynos->susp_clk)) { in dwc3_exynos_probe()
155 if (IS_ERR(exynos->axius_clk)) { in dwc3_exynos_probe()
165 if (IS_ERR(exynos->vdd33)) { in dwc3_exynos_probe()
176 if (IS_ERR(exynos->vdd10)) { in dwc3_exynos_probe()
Ddwc3-qcom.c44 if (IS_ERR(qdwc->core_clk)) { in dwc3_qcom_probe()
50 if (IS_ERR(qdwc->iface_clk)) { in dwc3_qcom_probe()
56 if (IS_ERR(qdwc->sleep_clk)) { in dwc3_qcom_probe()
/linux-4.4.14/drivers/thermal/st/
Dst_thermal_memmap.c71 if (IS_ERR(sensor->int_thresh_hi) || IS_ERR(sensor->int_enable)) { in st_mmap_alloc_regfields()
136 if (IS_ERR(sensor->mmio_base)) { in st_mmap_regmap_init()
143 if (IS_ERR(sensor->regmap)) { in st_mmap_regmap_init()
Dst_thermal.c43 if (IS_ERR(sensor->dcorrect) || in st_thermal_alloc_regfields()
44 IS_ERR(sensor->overflow) || in st_thermal_alloc_regfields()
45 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields()
225 if (IS_ERR(sensor->clk)) { in st_thermal_register()
249 if (IS_ERR(sensor->thermal_dev)) { in st_thermal_register()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-of-at91.c78 if (IS_ERR(priv->mainck)) { in sdhci_at91_probe()
84 if (IS_ERR(priv->hclock)) { in sdhci_at91_probe()
90 if (IS_ERR(priv->gck)) { in sdhci_at91_probe()
96 if (IS_ERR(host)) in sdhci_at91_probe()
/linux-4.4.14/drivers/media/platform/s5p-g2d/
Dg2d.c111 if (IS_ERR(f)) in g2d_queue_setup()
129 if (IS_ERR(f)) in g2d_buf_prepare()
258 if (IS_ERR(ctx->fh.m2m_ctx)) { in g2d_open()
326 if (IS_ERR(frm)) in vidioc_g_fmt()
388 if (IS_ERR(frm)) in vidioc_s_fmt()
415 if (IS_ERR(f)) in vidioc_cropcap()
432 if (IS_ERR(f)) in vidioc_g_crop()
449 if (IS_ERR(f)) in vidioc_try_crop()
471 if (IS_ERR(f)) in vidioc_s_crop()
640 if (IS_ERR(dev->regs)) in g2d_probe()
[all …]
/linux-4.4.14/drivers/usb/gadget/
Dfunctions.c28 if (IS_ERR(fi)) in try_get_usb_function_instance()
44 if (!IS_ERR(fi)) in usb_get_function_instance()
61 if (IS_ERR(f)) in usb_get_function()
/linux-4.4.14/scripts/coccinelle/null/
Deno.cocci22 - IS_ERR(x)
32 * IS_ERR@p2(x)
40 cocci.print_secs("IS_ERR that should be NULL tests",p2)
/linux-4.4.14/certs/
Dsystem_keyring.c40 if (IS_ERR(system_trusted_keyring)) in system_trusted_keyring_init()
88 if (IS_ERR(key)) { in load_system_certificate_list()
127 if (IS_ERR(pkcs7)) in system_verify_data()
/linux-4.4.14/drivers/staging/clocking-wizard/
Dclk-xlnx-clock-wizard.c158 if (IS_ERR(clk_wzrd->base)) in clk_wzrd_probe()
171 if (IS_ERR(clk_wzrd->clk_in1)) { in clk_wzrd_probe()
178 if (IS_ERR(clk_wzrd->axi_clk)) { in clk_wzrd_probe()
217 if (IS_ERR(clk_wzrd->clks_internal[wzrd_clk_mul])) { in clk_wzrd_probe()
236 if (IS_ERR(clk_wzrd->clks_internal[wzrd_clk_mul_div])) { in clk_wzrd_probe()
258 if (IS_ERR(clk_wzrd->clkout[i])) { in clk_wzrd_probe()
/linux-4.4.14/fs/debugfs/
Dinode.c252 if (IS_ERR(parent)) in start_creating()
270 if (!IS_ERR(dentry) && d_really_is_positive(dentry)) { in start_creating()
275 if (IS_ERR(dentry)) { in start_creating()
335 if (IS_ERR(dentry)) in debugfs_create_file()
414 if (IS_ERR(dentry)) in debugfs_create_dir()
453 if (IS_ERR(dentry)) in debugfs_create_automount()
502 if (IS_ERR(dentry)) { in debugfs_create_symlink()
684 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
704 if (dentry && !IS_ERR(dentry)) in debugfs_rename()
/linux-4.4.14/drivers/infiniband/core/
Dagent.c103 if (IS_ERR(ah)) { in agent_send_response()
117 if (IS_ERR(send_buf)) { in agent_send_response()
170 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
181 if (IS_ERR(port_priv->agent[1])) { in ib_agent_port_open()
/linux-4.4.14/drivers/mtd/nand/
Ddenali_dt.c73 if (IS_ERR(denali->flash_reg)) in denali_dt_probe()
78 if (IS_ERR(denali->flash_mem)) in denali_dt_probe()
89 if (IS_ERR(dt->clk)) { in denali_dt_probe()
Dorion_nand.c98 if (IS_ERR(io_base)) in orion_nand_probe()
153 if (!IS_ERR(clk)) { in orion_nand_probe()
175 if (!IS_ERR(clk)) { in orion_nand_probe()
191 if (!IS_ERR(clk)) { in orion_nand_remove()
/linux-4.4.14/security/integrity/ima/
Dima_fs.c355 if (IS_ERR(ima_dir)) in ima_fs_init()
362 if (IS_ERR(binary_runtime_measurements)) in ima_fs_init()
369 if (IS_ERR(ascii_runtime_measurements)) in ima_fs_init()
376 if (IS_ERR(runtime_measurements_count)) in ima_fs_init()
382 if (IS_ERR(violations)) in ima_fs_init()
389 if (IS_ERR(ima_policy)) in ima_fs_init()
Dima_crypto.c75 if (IS_ERR(ima_shash_tfm)) { in ima_init_crypto()
94 if (IS_ERR(tfm)) { in ima_alloc_tfm()
181 if (!IS_ERR(tfm)) { in ima_alloc_atfm()
343 if (IS_ERR(tfm)) in ima_calc_file_ahash()
416 if (IS_ERR(tfm)) in ima_calc_file_shash()
511 if (IS_ERR(tfm)) in ima_calc_field_array_hash()
565 if (IS_ERR(tfm)) in ima_calc_boot_aggregate()
/linux-4.4.14/drivers/ata/
Dahci_tegra.c306 if (IS_ERR(hpriv)) in tegra_ahci_probe()
319 if (IS_ERR(tegra->sata_regs)) in tegra_ahci_probe()
323 if (IS_ERR(tegra->sata_rst)) { in tegra_ahci_probe()
329 if (IS_ERR(tegra->sata_oob_rst)) { in tegra_ahci_probe()
335 if (IS_ERR(tegra->sata_cold_rst)) { in tegra_ahci_probe()
341 if (IS_ERR(tegra->sata_clk)) { in tegra_ahci_probe()
Dahci_st.c112 if (IS_ERR(drv_data->pwr)) { in st_ahci_probe_resets()
118 if (IS_ERR(drv_data->sw_rst)) { in st_ahci_probe_resets()
124 if (IS_ERR(drv_data->pwr_rst)) { in st_ahci_probe_resets()
159 if (IS_ERR(hpriv)) in st_ahci_probe()
/linux-4.4.14/net/mac80211/
Dwep.c34 if (IS_ERR(local->wep_tx_tfm)) { in ieee80211_wep_init()
40 if (IS_ERR(local->wep_rx_tfm)) { in ieee80211_wep_init()
51 if (!IS_ERR(local->wep_tx_tfm)) in ieee80211_wep_free()
53 if (!IS_ERR(local->wep_rx_tfm)) in ieee80211_wep_free()
140 if (IS_ERR(tfm)) in ieee80211_wep_encrypt_data()
201 if (IS_ERR(tfm)) in ieee80211_wep_decrypt_data()
/linux-4.4.14/fs/exportfs/
Dexpfs.c132 if (IS_ERR(parent)) { in reconnect_one()
149 if (IS_ERR(tmp)) { in reconnect_one()
222 if (IS_ERR(parent)) in reconnect_path()
307 if (IS_ERR(file)) in get_name()
429 if (IS_ERR(result)) in exportfs_decode_fh()
485 if (IS_ERR(target_dir)) in exportfs_decode_fh()
510 if (!IS_ERR(nresult)) { in exportfs_decode_fh()
/linux-4.4.14/include/linux/
Derr.h33 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() function
58 if (IS_ERR(ptr)) in PTR_ERR_OR_ZERO()
/linux-4.4.14/arch/avr32/mach-at32ap/
Dpdc.c19 if (IS_ERR(pclk)) { in pdc_probe()
24 if (IS_ERR(hclk)) { in pdc_probe()
/linux-4.4.14/fs/logfs/
Ddir.c178 if (IS_ERR(page)) in logfs_get_dd_page()
236 if (IS_ERR(page)) { in logfs_unlink()
310 if (IS_ERR(page)) in logfs_readdir()
342 if (IS_ERR(page)) in logfs_lookup()
355 if (IS_ERR(inode)) in logfs_lookup()
476 if (IS_ERR(inode)) in logfs_mkdir()
491 if (IS_ERR(inode)) in logfs_create()
510 if (IS_ERR(inode)) in logfs_mknod()
528 if (IS_ERR(inode)) in logfs_symlink()
557 if (IS_ERR(page)) in logfs_get_dd()
[all …]
/linux-4.4.14/arch/ia64/kernel/
Dsys_ia64.c140 if (!IS_ERR((void *) addr)) in sys_mmap2()
152 if (!IS_ERR((void *) addr)) in sys_mmap()
162 if (!IS_ERR((void *) addr)) in ia64_mremap()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Ddevice.c88 if (!IS_ERR(device)) in hfi1_cdev_init()
150 if (IS_ERR(class)) { in dev_init()
159 if (IS_ERR(user_class)) { in dev_init()
/linux-4.4.14/drivers/power/
Drx51_battery.c227 if (IS_ERR(di->channel_temp)) { in rx51_battery_probe()
233 if (IS_ERR(di->channel_bsi)) { in rx51_battery_probe()
239 if (IS_ERR(di->channel_vbat)) { in rx51_battery_probe()
245 if (IS_ERR(di->bat)) { in rx51_battery_probe()
/linux-4.4.14/arch/mips/pci/
Dpci-lantiq.c104 if (IS_ERR(clk_pci)) { in ltq_pci_startup()
110 if (IS_ERR(clk_external)) { in ltq_pci_startup()
218 if (IS_ERR(ltq_pci_membase)) in ltq_pci_probe()
223 if (IS_ERR(ltq_pci_mapped_cfg)) in ltq_pci_probe()
/linux-4.4.14/drivers/net/ethernet/arc/
Demac_rockchip.c121 if (IS_ERR(priv->grf)) { in emac_rockchip_probe()
131 if (IS_ERR(priv->emac.clk)) { in emac_rockchip_probe()
138 if (IS_ERR(priv->refclk)) { in emac_rockchip_probe()
152 if (IS_ERR(priv->regulator)) { in emac_rockchip_probe()
/linux-4.4.14/drivers/reset/
Dcore.c224 if (!IS_ERR(rstc)) in reset_control_get()
238 if (IS_ERR(rstc)) in reset_control_put()
270 if (!IS_ERR(rstc)) { in devm_reset_control_get()
296 if (IS_ERR(rstc)) in device_reset()
/linux-4.4.14/drivers/remoteproc/
Dda8xx_remoteproc.c165 if (IS_ERR(dsp_clk)) { in reset_assert()
204 if (IS_ERR(bootreg)) in da8xx_rproc_probe()
209 if (IS_ERR(chipsig)) in da8xx_rproc_probe()
213 if (IS_ERR(dsp_clk)) { in da8xx_rproc_probe()
/linux-4.4.14/fs/cifs/
Dcifs_dfs_ref.c158 if (IS_ERR(*devname)) { in cifs_compose_mount_options()
255 if (IS_ERR(mountdata)) in cifs_dfs_do_refmount()
307 if (IS_ERR(tlink)) { in cifs_dfs_do_automount()
337 if (!IS_ERR(mnt)) in cifs_dfs_do_automount()
365 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()
/linux-4.4.14/drivers/tty/
Dtty_ldisc.c164 if (IS_ERR(ldops)) { in tty_ldisc_get()
167 if (IS_ERR(ldops)) in tty_ldisc_get()
218 if (IS_ERR(ldops)) in tty_ldiscs_seq_show()
491 WARN_ON(IS_ERR(old)); in tty_ldisc_restore()
498 if (IS_ERR(new_ldisc)) in tty_ldisc_restore()
527 if (IS_ERR(new_ldisc)) in tty_set_ldisc()
631 if (IS_ERR(ld)) in tty_ldisc_reinit()
803 if (IS_ERR(ld)) in tty_ldisc_init()
/linux-4.4.14/fs/hfs/
Dbtree.c78 if (IS_ERR(page)) in hfs_btree_open()
166 if (IS_ERR(node)) in hfs_btree_write()
195 if (IS_ERR(node)) in hfs_bmap_new_bmap()
254 if (IS_ERR(node)) in hfs_bmap_alloc()
298 if (IS_ERR(next_node)) in hfs_bmap_alloc()
323 if (IS_ERR(node)) in hfs_bmap_free()
339 if (IS_ERR(node)) in hfs_bmap_free()

12345678910>>...25