Home
last modified time | relevance | path

Searched refs:IS_ERR (Results 1 – 25 of 4868) sorted by relevance

12345678910>>...195

/Linux-v5.4/drivers/clk/at91/
Ddt-compat.c34 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
40 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_frac_setup()
57 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup()
63 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pad_setup()
80 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pmc_setup()
86 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pmc_setup()
134 if (IS_ERR(regmap)) in of_sama5d2_clk_generated_setup()
161 if (IS_ERR(hw)) in of_sama5d2_clk_generated_setup()
180 if (IS_ERR(regmap)) in of_sama5d4_clk_h32mx_setup()
186 if (IS_ERR(hw)) in of_sama5d4_clk_h32mx_setup()
[all …]
Dsama5d4.c140 if (IS_ERR(regmap)) in sama5d4_pmc_setup()
151 if (IS_ERR(hw)) in sama5d4_pmc_setup()
158 if (IS_ERR(hw)) in sama5d4_pmc_setup()
164 if (IS_ERR(hw)) in sama5d4_pmc_setup()
169 if (IS_ERR(hw)) in sama5d4_pmc_setup()
173 if (IS_ERR(hw)) in sama5d4_pmc_setup()
177 if (IS_ERR(hw)) in sama5d4_pmc_setup()
189 if (IS_ERR(hw)) in sama5d4_pmc_setup()
195 if (IS_ERR(hw)) in sama5d4_pmc_setup()
203 if (IS_ERR(hw)) in sama5d4_pmc_setup()
[all …]
Dsama5d2.c166 if (IS_ERR(regmap)) in sama5d2_pmc_setup()
178 if (IS_ERR(hw)) in sama5d2_pmc_setup()
185 if (IS_ERR(hw)) in sama5d2_pmc_setup()
191 if (IS_ERR(hw)) in sama5d2_pmc_setup()
198 if (IS_ERR(hw)) in sama5d2_pmc_setup()
202 if (IS_ERR(hw)) in sama5d2_pmc_setup()
207 if (IS_ERR(hw)) in sama5d2_pmc_setup()
212 if (IS_ERR(hw)) in sama5d2_pmc_setup()
217 if (IS_ERR(hw)) in sama5d2_pmc_setup()
221 if (IS_ERR(regmap_sfr)) in sama5d2_pmc_setup()
[all …]
Dat91sam9x5.c150 if (IS_ERR(regmap)) in at91sam9x5_pmc_setup()
160 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
167 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
173 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
180 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
184 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
188 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
200 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
208 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
212 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
[all …]
Dsam9x60.c184 if (IS_ERR(regmap)) in sam9x60_pmc_setup()
196 if (IS_ERR(hw)) in sam9x60_pmc_setup()
203 if (IS_ERR(hw)) in sam9x60_pmc_setup()
209 if (IS_ERR(hw)) in sam9x60_pmc_setup()
216 if (IS_ERR(hw)) in sam9x60_pmc_setup()
221 if (IS_ERR(hw)) in sam9x60_pmc_setup()
232 if (IS_ERR(hw)) in sam9x60_pmc_setup()
242 if (IS_ERR(hw)) in sam9x60_pmc_setup()
259 if (IS_ERR(hw)) in sam9x60_pmc_setup()
267 if (IS_ERR(hw)) in sam9x60_pmc_setup()
[all …]
Dat91sam9rl.c87 if (IS_ERR(regmap)) in at91sam9rl_pmc_setup()
97 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
105 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
109 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
121 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
139 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
147 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
158 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
/Linux-v5.4/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-v5.4/drivers/usb/gadget/legacy/
Dnokia.c157 if (!IS_ERR(fi_phonet)) { in nokia_bind_config()
159 if (IS_ERR(f_phonet)) in nokia_bind_config()
163 if (!IS_ERR(fi_obex1)) { in nokia_bind_config()
165 if (IS_ERR(f_obex1)) in nokia_bind_config()
169 if (!IS_ERR(fi_obex2)) { in nokia_bind_config()
171 if (IS_ERR(f_obex2)) in nokia_bind_config()
176 if (IS_ERR(f_acm)) { in nokia_bind_config()
182 if (IS_ERR(f_ecm)) { in nokia_bind_config()
188 if (IS_ERR(f_msg)) { in nokia_bind_config()
290 if (IS_ERR(fi_phonet)) in nokia_bind()
[all …]
/Linux-v5.4/scripts/coccinelle/tests/
Dodd_ptr_err.cocci2 /// PTR_ERR should access the value just tested by IS_ERR
4 //# IS_ERR that is wrong.
22 if (IS_ERR(x=e) || ...) {
33 if (IS_ERR(x) || ...) {
48 if (IS_ERR(x) || ...) {
50 when != IS_ERR(...)
70 if (IS_ERR@j0(x) || ...) {
72 when != IS_ERR(...)
89 * if (IS_ERR@j0(x) || ...) {
91 when != IS_ERR(...)
[all …]
/Linux-v5.4/drivers/bluetooth/
Dbtbcm.c36 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
97 if (IS_ERR(skb)) { in btbcm_set_bdaddr()
119 if (IS_ERR(skb)) { in btbcm_patchram()
154 if (IS_ERR(skb)) { in btbcm_patchram()
176 if (IS_ERR(skb)) { in btbcm_reset()
195 if (IS_ERR(skb)) { in btbcm_read_local_name()
216 if (IS_ERR(skb)) { in btbcm_read_local_version()
236 if (IS_ERR(skb)) { in btbcm_read_verbose_config()
256 if (IS_ERR(skb)) { in btbcm_read_controller_features()
276 if (IS_ERR(skb)) { in btbcm_read_usb_product()
[all …]
/Linux-v5.4/drivers/mfd/
Dtwl-core.c717 if (IS_ERR(child)) in add_children()
725 if (IS_ERR(child)) in add_children()
734 if (IS_ERR(child)) in add_children()
748 if (IS_ERR(child)) in add_children()
755 if (IS_ERR(child)) in add_children()
762 if (IS_ERR(child)) in add_children()
794 if (IS_ERR(child)) in add_children()
800 if (IS_ERR(child)) in add_children()
806 if (IS_ERR(child)) in add_children()
817 if (IS_ERR(child)) in add_children()
[all …]
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c90 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii()
104 if (IS_ERR(bsp_priv->clk_mac_speed)) { in px30_set_rmii_speed()
169 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rgmii()
187 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rmii()
200 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_rgmii_speed()
222 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_rmii_speed()
285 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_to_rgmii()
304 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_to_rmii()
321 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_rgmii_speed()
343 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_rmii_speed()
[all …]
/Linux-v5.4/security/keys/
Dkeyctl.c95 if (IS_ERR(description)) { in SYSCALL_DEFINE5()
125 if (IS_ERR(keyring_ref)) { in SYSCALL_DEFINE5()
135 if (!IS_ERR(key_ref)) { in SYSCALL_DEFINE5()
187 if (IS_ERR(description)) { in SYSCALL_DEFINE4()
197 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4()
209 if (IS_ERR(dest_ref)) { in SYSCALL_DEFINE4()
217 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
226 if (IS_ERR(key)) { in SYSCALL_DEFINE4()
267 if (IS_ERR(key_ref)) { in keyctl_get_keyring_ID()
298 if (IS_ERR(name)) { in keyctl_join_session_keyring()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_dmabuf.c20 if (IS_ERR(obj)) in igt_dmabuf_export()
25 if (IS_ERR(dmabuf)) { in igt_dmabuf_export()
44 if (IS_ERR(obj)) in igt_dmabuf_import_self()
48 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self()
56 if (IS_ERR(import)) { in igt_dmabuf_import_self()
89 if (IS_ERR(dmabuf)) in igt_dmabuf_import()
93 if (IS_ERR(obj)) { in igt_dmabuf_import()
122 if (IS_ERR(obj_map)) { in igt_dmabuf_import()
170 if (IS_ERR(dmabuf)) in igt_dmabuf_import_ownership()
184 if (IS_ERR(obj)) { in igt_dmabuf_import_ownership()
[all …]
/Linux-v5.4/drivers/clk/samsung/
Dclk-exynos-audss.c108 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
113 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
118 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
142 if (IS_ERR(reg_base)) in exynos_audss_clk_probe()
159 if (!IS_ERR(pll_ref)) in exynos_audss_clk_probe()
161 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
193 if (!IS_ERR(cdclk)) in exynos_audss_clk_probe()
195 if (!IS_ERR(sclk_audio)) in exynos_audss_clk_probe()
231 if (!IS_ERR(sclk_pcm_in)) in exynos_audss_clk_probe()
244 if (IS_ERR(clk_table[i])) { in exynos_audss_clk_probe()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h455 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send()
477 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
506 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
522 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_base_macaddr()
538 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
553 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
568 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
583 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
599 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
614 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
[all …]
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_i2c.c203 if (IS_ERR(hdmi->field_ddc_en)) in sun4i_hdmi_init_regmap_fields()
209 if (IS_ERR(hdmi->field_ddc_start)) in sun4i_hdmi_init_regmap_fields()
215 if (IS_ERR(hdmi->field_ddc_reset)) in sun4i_hdmi_init_regmap_fields()
221 if (IS_ERR(hdmi->field_ddc_addr_reg)) in sun4i_hdmi_init_regmap_fields()
227 if (IS_ERR(hdmi->field_ddc_slave_addr)) in sun4i_hdmi_init_regmap_fields()
233 if (IS_ERR(hdmi->field_ddc_int_mask)) in sun4i_hdmi_init_regmap_fields()
239 if (IS_ERR(hdmi->field_ddc_int_status)) in sun4i_hdmi_init_regmap_fields()
245 if (IS_ERR(hdmi->field_ddc_fifo_clear)) in sun4i_hdmi_init_regmap_fields()
251 if (IS_ERR(hdmi->field_ddc_fifo_rx_thres)) in sun4i_hdmi_init_regmap_fields()
257 if (IS_ERR(hdmi->field_ddc_fifo_tx_thres)) in sun4i_hdmi_init_regmap_fields()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dselftest_context.c77 if (IS_ERR(ce)) in __live_context_size()
86 if (IS_ERR(vaddr)) { in __live_context_size()
112 if (IS_ERR(rq)) { in __live_context_size()
123 if (IS_ERR(rq)) { in __live_context_size()
159 if (IS_ERR(fixme)) { in live_context_size()
234 if (IS_ERR(ce)) in __live_active_context()
241 if (IS_ERR(rq)) { in __live_active_context()
303 if (IS_ERR(file)) in live_active_context()
309 if (IS_ERR(fixme)) { in live_active_context()
340 if (IS_ERR(rq)) { in __remote_sync()
[all …]
/Linux-v5.4/arch/s390/hypfs/
Dhypfs_vm.c117 if (IS_ERR(rc)) \
136 if (IS_ERR(guest_dir)) in hypfs_vm_create_guest()
142 if (IS_ERR(cpus_dir)) in hypfs_vm_create_guest()
159 if (IS_ERR(mem_dir)) in hypfs_vm_create_guest()
168 if (IS_ERR(samples_dir)) in hypfs_vm_create_guest()
187 if (IS_ERR(data)) in hypfs_vm_create_files()
192 if (IS_ERR(dir)) { in hypfs_vm_create_files()
197 if (IS_ERR(file)) { in hypfs_vm_create_files()
204 if (IS_ERR(dir)) { in hypfs_vm_create_files()
209 if (IS_ERR(file)) { in hypfs_vm_create_files()
[all …]
Dhypfs_diag.c298 if (!IS_ERR(buf)) { in diag204_probe()
317 if (IS_ERR(buf)) { in diag204_probe()
353 if (IS_ERR(buf)) in diag204_store()
484 if (IS_ERR(rc)) in hypfs_create_cpu_files()
488 if (IS_ERR(rc)) in hypfs_create_cpu_files()
494 if (IS_ERR(rc)) in hypfs_create_cpu_files()
513 if (IS_ERR(lpar_dir)) in hypfs_create_lpar_files()
516 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
538 if (IS_ERR(cpu_dir)) in hypfs_create_phys_cpu_files()
542 if (IS_ERR(rc)) in hypfs_create_phys_cpu_files()
[all …]
/Linux-v5.4/drivers/pci/controller/
Dpcie-rockchip.c38 if (IS_ERR(rockchip->reg_base)) in rockchip_pcie_parse_dt()
51 if (IS_ERR(rockchip->apb_base)) in rockchip_pcie_parse_dt()
72 if (IS_ERR(rockchip->core_rst)) { in rockchip_pcie_parse_dt()
79 if (IS_ERR(rockchip->mgmt_rst)) { in rockchip_pcie_parse_dt()
87 if (IS_ERR(rockchip->mgmt_sticky_rst)) { in rockchip_pcie_parse_dt()
94 if (IS_ERR(rockchip->pipe_rst)) { in rockchip_pcie_parse_dt()
101 if (IS_ERR(rockchip->pm_rst)) { in rockchip_pcie_parse_dt()
108 if (IS_ERR(rockchip->pclk_rst)) { in rockchip_pcie_parse_dt()
115 if (IS_ERR(rockchip->aclk_rst)) { in rockchip_pcie_parse_dt()
123 if (IS_ERR(rockchip->ep_gpio)) { in rockchip_pcie_parse_dt()
[all …]
/Linux-v5.4/drivers/mtd/nand/raw/
Dgpio.c197 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_remove()
199 if (gpiomtd->nce && !IS_ERR(gpiomtd->nce)) in gpio_nand_remove()
225 if (IS_ERR(chip->legacy.IO_ADDR_R)) in gpio_nand_probe()
231 if (IS_ERR(gpiomtd->io_sync)) in gpio_nand_probe()
241 if (IS_ERR(gpiomtd->nce)) in gpio_nand_probe()
246 if (IS_ERR(gpiomtd->nwp)) { in gpio_nand_probe()
252 if (IS_ERR(gpiomtd->ale)) { in gpio_nand_probe()
258 if (IS_ERR(gpiomtd->cle)) { in gpio_nand_probe()
264 if (IS_ERR(gpiomtd->rdy)) { in gpio_nand_probe()
286 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()
[all …]
/Linux-v5.4/drivers/staging/greybus/
Darche-apb-ctrl.c83 if (!IS_ERR(apb->vcore)) { in coldboot_seq()
91 if (!IS_ERR(apb->vio)) { in coldboot_seq()
146 if (IS_ERR(apb->spi_en)) { in fw_flashing_seq()
208 if (!IS_ERR(apb->vcore) && regulator_is_enabled(apb->vcore) > 0) in poweroff_seq()
211 if (!IS_ERR(apb->vio) && regulator_is_enabled(apb->vio) > 0) in poweroff_seq()
324 if (IS_ERR(apb->resetn)) { in apb_ctrl_get_devtree_data()
331 if (IS_ERR(apb->boot_ret)) { in apb_ctrl_get_devtree_data()
339 if (IS_ERR(apb->pwroff)) { in apb_ctrl_get_devtree_data()
347 if (IS_ERR(apb->clk_en)) { in apb_ctrl_get_devtree_data()
354 if (IS_ERR(apb->pwrdn)) { in apb_ctrl_get_devtree_data()
[all …]
/Linux-v5.4/drivers/pci/controller/dwc/
Dpcie-qcom.c227 if (IS_ERR(res->iface_clk)) in qcom_pcie_get_resources_2_1_0()
231 if (IS_ERR(res->core_clk)) in qcom_pcie_get_resources_2_1_0()
235 if (IS_ERR(res->phy_clk)) in qcom_pcie_get_resources_2_1_0()
239 if (IS_ERR(res->pci_reset)) in qcom_pcie_get_resources_2_1_0()
243 if (IS_ERR(res->axi_reset)) in qcom_pcie_get_resources_2_1_0()
247 if (IS_ERR(res->ahb_reset)) in qcom_pcie_get_resources_2_1_0()
251 if (IS_ERR(res->por_reset)) in qcom_pcie_get_resources_2_1_0()
382 if (IS_ERR(res->vdda)) in qcom_pcie_get_resources_1_0_0()
386 if (IS_ERR(res->iface)) in qcom_pcie_get_resources_1_0_0()
390 if (IS_ERR(res->aux)) in qcom_pcie_get_resources_1_0_0()
[all …]
/Linux-v5.4/drivers/cpufreq/
Dmediatek-cpufreq.c226 if (IS_ERR(opp)) { in mtk_cpufreq_set_target()
318 if (IS_ERR(cpu_clk)) { in mtk_cpu_dvfs_info_init()
329 if (IS_ERR(inter_clk)) { in mtk_cpu_dvfs_info_init()
342 if (IS_ERR(proc_reg)) { in mtk_cpu_dvfs_info_init()
374 if (IS_ERR(opp)) { in mtk_cpu_dvfs_info_init()
384 info->sram_reg = IS_ERR(sram_reg) ? NULL : sram_reg; in mtk_cpu_dvfs_info_init()
392 info->need_voltage_tracking = !IS_ERR(sram_reg); in mtk_cpu_dvfs_info_init()
400 if (!IS_ERR(proc_reg)) in mtk_cpu_dvfs_info_init()
402 if (!IS_ERR(sram_reg)) in mtk_cpu_dvfs_info_init()
404 if (!IS_ERR(cpu_clk)) in mtk_cpu_dvfs_info_init()
[all …]

12345678910>>...195