/linux/drivers/usb/gadget/legacy/ |
H A D | nokia.c | 156 if (!IS_ERR(fi_phonet)) { in nokia_bind_config() 158 if (IS_ERR(f_phonet)) in nokia_bind_config() 162 if (!IS_ERR(fi_obex1)) { in nokia_bind_config() 164 if (IS_ERR(f_obex1)) in nokia_bind_config() 168 if (!IS_ERR(fi_obex2)) { in nokia_bind_config() 170 if (IS_ERR(f_obex2)) in nokia_bind_config() 175 if (IS_ERR(f_acm)) { in nokia_bind_config() 181 if (IS_ERR(f_ecm)) { in nokia_bind_config() 187 if (IS_ERR(f_msg)) { in nokia_bind_config() 289 if (IS_ERR(fi_phonet)) in nokia_bind() [all …]
|
/linux/drivers/clk/at91/ |
H A D | dt-compat.c | 41 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup() 47 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_frac_setup() 67 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup() 73 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pad_setup() 93 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pmc_setup() 99 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pmc_setup() 149 if (IS_ERR(regmap)) in of_sama5d2_clk_generated_setup() 177 if (IS_ERR(hw)) in of_sama5d2_clk_generated_setup() 199 if (IS_ERR(regmap)) in of_sama5d4_clk_h32mx_setup() 205 if (IS_ERR(hw)) in of_sama5d4_clk_h32mx_setup() [all …]
|
H A D | sama5d4.c | 152 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 D | sama5d2.c | 188 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 D | at91sam9x5.c | 157 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 D | at91sam9n12.c | 135 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 D | at91sam9g45.c | 115 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 D | at91rm9200.c | 100 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 D | sama5d3.c | 137 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 D | sam9x60.c | 214 if (IS_ERR(regmap)) in sam9x60_pmc_setup() 226 if (IS_ERR(hw)) in sam9x60_pmc_setup() 230 if (IS_ERR(hw)) in sam9x60_pmc_setup() 237 if (IS_ERR(hw)) in sam9x60_pmc_setup() 252 if (IS_ERR(hw)) in sam9x60_pmc_setup() 263 if (IS_ERR(hw)) in sam9x60_pmc_setup() 272 if (IS_ERR(hw)) in sam9x60_pmc_setup() 281 if (IS_ERR(hw)) in sam9x60_pmc_setup() 292 if (IS_ERR(hw)) in sam9x60_pmc_setup() 299 if (IS_ERR(hw)) in sam9x60_pmc_setup() [all …]
|
H A D | at91sam9rl.c | 89 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/arch/m68k/amiga/ |
H A D | platform.c | 146 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/scripts/coccinelle/tests/ |
H A D | odd_ptr_err.cocci | 2 /// 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/arch/s390/hypfs/ |
H A D | hypfs_vm_fs.c | 24 if (IS_ERR(rc)) \ 43 if (IS_ERR(guest_dir)) in hypfs_vm_create_guest() 49 if (IS_ERR(cpus_dir)) in hypfs_vm_create_guest() 66 if (IS_ERR(mem_dir)) in hypfs_vm_create_guest() 75 if (IS_ERR(samples_dir)) in hypfs_vm_create_guest() 94 if (IS_ERR(data)) in hypfs_vm_create_files() 99 if (IS_ERR(dir)) { in hypfs_vm_create_files() 104 if (IS_ERR(file)) { in hypfs_vm_create_files() 111 if (IS_ERR(dir)) { in hypfs_vm_create_files() 116 if (IS_ERR(file)) { in hypfs_vm_create_files() [all …]
|
H A D | hypfs_diag_fs.c | 214 if (IS_ERR(rc)) in hypfs_create_cpu_files() 218 if (IS_ERR(rc)) in hypfs_create_cpu_files() 224 if (IS_ERR(rc)) in hypfs_create_cpu_files() 243 if (IS_ERR(lpar_dir)) in hypfs_create_lpar_files() 246 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files() 269 if (IS_ERR(cpu_dir)) in hypfs_create_phys_cpu_files() 273 if (IS_ERR(rc)) in hypfs_create_phys_cpu_files() 287 if (IS_ERR(cpus_dir)) in hypfs_create_phys_files() 309 if (IS_ERR(buffer)) in hypfs_diag_create_files() 316 if (IS_ERR(systems_dir)) { in hypfs_diag_create_files() [all …]
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_dmabuf.c | 25 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 …]
|
/linux/security/keys/ |
H A D | keyctl.c | 97 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(name)) { in keyctl_join_session_keyring() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi-ops.h | 477 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 D | selftest_lrc.c | 87 if (IS_ERR(rq)) in emit_semaphore_signal() 91 if (IS_ERR(cs)) { in emit_semaphore_signal() 115 if (IS_ERR(rq)) in context_flush() 419 if (IS_ERR(ce)) in __live_lrc_state() 431 if (IS_ERR(rq)) { in __live_lrc_state() 437 if (IS_ERR(cs)) { in __live_lrc_state() 471 if (IS_ERR(cs)) { in __live_lrc_state() 516 if (IS_ERR(scratch)) in live_lrc_state() 539 if (IS_ERR(rq)) in gpr_make_dirty() 543 if (IS_ERR(cs)) { in gpr_make_dirty() [all …]
|
/linux/drivers/clk/samsung/ |
H A D | clk-exynos-audss.c | 107 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/drivers/base/regmap/ |
H A D | regmap-kunit.c | 208 if (IS_ERR(ret)) in gen_regmap() 243 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in basic_read_write() 244 if (IS_ERR(map)) in basic_read_write() 269 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in bulk_write() 270 if (IS_ERR(map)) in bulk_write() 302 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in bulk_read() 303 if (IS_ERR(map)) in bulk_read() 332 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in multi_write() 333 if (IS_ERR(map)) in multi_write() 371 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in multi_read() [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi_i2c.c | 203 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/hv/ |
H A D | hv_debugfs.c | 66 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/drivers/clk/ |
H A D | clk-ast2600.c | 491 if (IS_ERR(map)) { in aspeed_g6_clk_probe() 520 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 531 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 538 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 546 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 552 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 561 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 569 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 575 if (IS_ERR(hw)) in aspeed_g6_clk_probe() 581 if (IS_ERR(hw)) in aspeed_g6_clk_probe() [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | intel_memory_region.c | 74 if (IS_ERR(obj)) { in igt_mock_fill() 116 if (IS_ERR(obj)) in igt_object_create() 175 if (IS_ERR(mem)) { in igt_mock_reserve() 212 if (IS_ERR(obj)) { in igt_mock_reserve() 254 if (IS_ERR(obj)) in igt_mock_contiguous() 267 if (IS_ERR(obj)) in igt_mock_contiguous() 286 if (IS_ERR(obj)) in igt_mock_contiguous() 322 if (IS_ERR(obj)) { in igt_mock_contiguous() 335 if (IS_ERR(obj)) { in igt_mock_contiguous() 352 if (should_fail != IS_ERR(obj)) { in igt_mock_contiguous() [all …]
|