Home
last modified time | relevance | path

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

12345678910>>...125

/linux/arch/m68k/amiga/
H A 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/drivers/clk/at91/
H A Ddt-compat.c42 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
48 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_frac_setup()
68 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup()
74 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pad_setup()
94 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pmc_setup()
100 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pmc_setup()
150 if (IS_ERR(regmap)) in of_sama5d2_clk_generated_setup()
178 if (IS_ERR(hw)) in of_sama5d2_clk_generated_setup()
200 if (IS_ERR(regmap)) in of_sama5d4_clk_h32mx_setup()
206 if (IS_ERR(hw)) in of_sama5d4_clk_h32mx_setup()
[all …]
H A Dsama5d4.c152 if (IS_ERR(regmap)) in sama5d4_pmc_setup()
163 if (IS_ERR(hw)) in sama5d4_pmc_setup()
170 if (IS_ERR(hw)) in sama5d4_pmc_setup()
176 if (IS_ERR(hw)) in sama5d4_pmc_setup()
181 if (IS_ERR(hw)) in sama5d4_pmc_setup()
185 if (IS_ERR(hw)) in sama5d4_pmc_setup()
191 if (IS_ERR(hw)) in sama5d4_pmc_setup()
204 if (IS_ERR(hw)) in sama5d4_pmc_setup()
212 if (IS_ERR(hw)) in sama5d4_pmc_setup()
218 if (IS_ERR(hw)) in sama5d4_pmc_setup()
[all …]
H A Dat91sam9x5.c157 if (IS_ERR(regmap)) in at91sam9x5_pmc_setup()
167 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
174 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
180 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
187 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
191 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
197 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
210 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
218 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
226 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
[all …]
H A Dsama5d2.c188 if (IS_ERR(regmap)) in sama5d2_pmc_setup()
200 if (IS_ERR(hw)) in sama5d2_pmc_setup()
207 if (IS_ERR(hw)) in sama5d2_pmc_setup()
213 if (IS_ERR(hw)) in sama5d2_pmc_setup()
220 if (IS_ERR(hw)) in sama5d2_pmc_setup()
224 if (IS_ERR(hw)) in sama5d2_pmc_setup()
231 if (IS_ERR(hw)) in sama5d2_pmc_setup()
236 if (IS_ERR(hw)) in sama5d2_pmc_setup()
243 if (IS_ERR(hw)) in sama5d2_pmc_setup()
249 if (IS_ERR(regmap_sfr)) in sama5d2_pmc_setup()
[all …]
H A Dat91sam9n12.c135 if (IS_ERR(regmap)) in at91sam9n12_pmc_setup()
145 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
152 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
158 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
165 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
169 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
176 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
190 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
199 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
205 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
[all …]
H A Dat91sam9g45.c115 if (IS_ERR(regmap)) in at91sam9g45_pmc_setup()
128 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
132 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
139 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
143 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
149 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
163 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
172 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
180 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
197 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
[all …]
H A Dat91rm9200.c100 if (IS_ERR(regmap)) in at91rm9200_pmc_setup()
113 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
117 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
125 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
133 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
147 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
155 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
161 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
177 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
187 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
[all …]
H A Dsama5d3.c137 if (IS_ERR(regmap)) in sama5d3_pmc_setup()
148 if (IS_ERR(hw)) in sama5d3_pmc_setup()
155 if (IS_ERR(hw)) in sama5d3_pmc_setup()
161 if (IS_ERR(hw)) in sama5d3_pmc_setup()
166 if (IS_ERR(hw)) in sama5d3_pmc_setup()
170 if (IS_ERR(hw)) in sama5d3_pmc_setup()
176 if (IS_ERR(hw)) in sama5d3_pmc_setup()
189 if (IS_ERR(hw)) in sama5d3_pmc_setup()
197 if (IS_ERR(hw)) in sama5d3_pmc_setup()
205 if (IS_ERR(hw)) in sama5d3_pmc_setup()
[all …]
H A Dsam9x60.c216 if (IS_ERR(regmap)) in sam9x60_pmc_setup()
228 if (IS_ERR(hw)) in sam9x60_pmc_setup()
232 if (IS_ERR(hw)) in sam9x60_pmc_setup()
239 if (IS_ERR(hw)) in sam9x60_pmc_setup()
254 if (IS_ERR(hw)) in sam9x60_pmc_setup()
265 if (IS_ERR(hw)) in sam9x60_pmc_setup()
274 if (IS_ERR(hw)) in sam9x60_pmc_setup()
283 if (IS_ERR(hw)) in sam9x60_pmc_setup()
294 if (IS_ERR(hw)) in sam9x60_pmc_setup()
301 if (IS_ERR(hw)) in sam9x60_pmc_setup()
[all …]
H A Dat91sam9rl.c89 if (IS_ERR(regmap)) in at91sam9rl_pmc_setup()
99 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
107 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
113 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
127 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
135 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
154 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
164 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
175 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
/linux/scripts/coccinelle/tests/
H A 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/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c25 if (IS_ERR(obj)) in igt_dmabuf_export()
30 if (IS_ERR(dmabuf)) { in igt_dmabuf_export()
49 if (IS_ERR(obj)) in igt_dmabuf_import_self()
53 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self()
61 if (IS_ERR(import)) { in igt_dmabuf_import_self()
108 if (IS_ERR(obj)) { in igt_dmabuf_import_same_driver_lmem()
116 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_same_driver_lmem()
128 if (!IS_ERR(import)) { in igt_dmabuf_import_same_driver_lmem()
162 if (IS_ERR(file)) in verify_access()
166 if (IS_ERR(ctx)) { in verify_access()
[all …]
H A Di915_gem_context.c56 if (IS_ERR(file)) in live_nop_switch()
67 if (IS_ERR(ctx[n])) { in live_nop_switch()
83 if (IS_ERR(this)) { in live_nop_switch()
121 if (IS_ERR(this)) { in live_nop_switch()
207 if (IS_ERR(rq)) { in __live_parallel_switch1()
255 if (IS_ERR(rq)) { in __live_parallel_switchN()
308 if (IS_ERR(file)) in live_parallel_switch()
312 if (IS_ERR(ctx)) { in live_parallel_switch()
341 if (IS_ERR(ctx)) { in live_parallel_switch()
351 if (IS_ERR(ce)) { in live_parallel_switch()
[all …]
/linux/drivers/clk/samsung/
H A Dclk-exynos-audss.c107 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
112 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
117 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
139 if (IS_ERR(reg_base)) in exynos_audss_clk_probe()
156 if (!IS_ERR(pll_ref)) in exynos_audss_clk_probe()
158 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
190 if (!IS_ERR(cdclk)) in exynos_audss_clk_probe()
192 if (!IS_ERR(sclk_audio)) in exynos_audss_clk_probe()
228 if (!IS_ERR(sclk_pcm_in)) in exynos_audss_clk_probe()
241 if (IS_ERR(clk_table[i])) { in exynos_audss_clk_probe()
[all …]
/linux/security/keys/
H A Dkeyctl.c97 if (IS_ERR(description)) { in SYSCALL_DEFINE5()
127 if (IS_ERR(keyring_ref)) { in SYSCALL_DEFINE5()
137 if (!IS_ERR(key_ref)) { in SYSCALL_DEFINE5()
186 if (IS_ERR(description)) { in SYSCALL_DEFINE4()
196 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4()
208 if (IS_ERR(dest_ref)) { in SYSCALL_DEFINE4()
216 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
225 if (IS_ERR(key)) { in SYSCALL_DEFINE4()
266 if (IS_ERR(key_ref)) { in keyctl_get_keyring_ID()
297 if (IS_ERR(nam in keyctl_join_session_keyring()
[all...]
/linux/drivers/hv/
H A Dhv_debugfs.c66 if (IS_ERR(buffer_file)) { in hv_debug_delay_files()
74 if (IS_ERR(message_file)) { in hv_debug_delay_files()
93 if (IS_ERR(test_state)) { in hv_debug_set_test_state()
116 if (!IS_ERR(hv_debug_root)) { in hv_debug_add_dev_dir()
118 if (IS_ERR(dev_root)) { in hv_debug_add_dev_dir()
127 if (IS_ERR(delay)) { in hv_debug_add_dev_dir()
143 if (!IS_ERR(hv_debug_root)) in hv_debug_rm_dev_dir()
173 if (IS_ERR(hv_debug_root)) { in hv_debug_init()
/linux/arch/s390/hypfs/
H A Dhypfs_vm_fs.c42 if (IS_ERR(guest_dir)) in hypfs_vm_create_guest()
48 if (IS_ERR(cpus_dir)) in hypfs_vm_create_guest()
65 if (IS_ERR(mem_dir)) in hypfs_vm_create_guest()
74 if (IS_ERR(samples_dir)) in hypfs_vm_create_guest()
93 if (IS_ERR(data)) in hypfs_vm_create_files()
98 if (IS_ERR(dir)) { in hypfs_vm_create_files()
108 if (IS_ERR(dir)) { in hypfs_vm_create_files()
118 if (IS_ERR(dir)) { in hypfs_vm_create_files()
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h477 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send()
499 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
528 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
544 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_base_macaddr()
560 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
575 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
590 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
605 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
621 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
636 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_execlists.c131 if (IS_ERR(ce)) { in live_sanitycheck()
137 if (IS_ERR(rq)) { in live_sanitycheck()
205 if (IS_ERR(tmp)) { in live_unlite_restore()
232 if (IS_ERR(rq[0])) { in live_unlite_restore()
247 if (IS_ERR(rq[1])) { in live_unlite_restore()
283 if (IS_ERR(rq[0])) { in live_unlite_restore()
367 if (IS_ERR(tmp)) { in live_unlite_ring()
387 if (IS_ERR(rq)) { in live_unlite_ring()
411 if (IS_ERR(tmp)) { in live_unlite_ring()
435 if (IS_ERR(rq)) { in live_unlite_ring()
[all …]
/linux/drivers/gpu/drm/sun4i/
H A 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/drivers/clk/aspeed/
H A Dclk-ast2600.c490 if (IS_ERR(map)) { in aspeed_g6_clk_probe()
519 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
530 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
537 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
545 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
551 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
560 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
568 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
574 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
580 if (IS_ERR(hw)) in aspeed_g6_clk_probe()
[all …]
/linux/drivers/staging/greybus/
H A 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_fw_data()
331 if (IS_ERR(apb->boot_ret)) { in apb_ctrl_get_fw_data()
339 if (IS_ERR(apb->pwroff)) { in apb_ctrl_get_fw_data()
347 if (IS_ERR(apb->clk_en)) { in apb_ctrl_get_fw_data()
354 if (IS_ERR(apb->pwrdn)) { in apb_ctrl_get_fw_data()
[all …]
/linux/drivers/base/regmap/
H A Dregmap-kunit.c236 if (IS_ERR(ret)) in gen_regmap()
302 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in basic_read_write()
303 if (IS_ERR(map)) in basic_read_write()
328 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in bulk_write()
329 if (IS_ERR(map)) in bulk_write()
361 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in bulk_read()
362 if (IS_ERR(map)) in bulk_read()
391 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in multi_write()
392 if (IS_ERR(map)) in multi_write()
430 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in multi_read()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c116 if (IS_ERR(obj)) { in iwl_acpi_get_dsm_integer()
338 if (IS_ERR(data)) in iwl_acpi_get_tas_table()
345 if (IS_ERR(wifi_pkg)) { in iwl_acpi_get_tas_table()
412 if (IS_ERR(data)) in iwl_acpi_get_mcc()
418 if (IS_ERR(wifi_pkg)) { in iwl_acpi_get_mcc()
453 if (IS_ERR(data)) in iwl_acpi_get_pwr_limit()
458 if (IS_ERR(wifi_pkg) || tbl_rev != 0 || in iwl_acpi_get_pwr_limit()
476 if (IS_ERR(data)) in iwl_acpi_get_eckv()
482 if (IS_ERR(wifi_pkg)) { in iwl_acpi_get_eckv()
536 if (IS_ERR(data)) in iwl_acpi_get_wrds_table()
[all …]

12345678910>>...125