/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 | 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 | 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 | 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 | 207 if (IS_ERR(regmap)) in sam9x60_pmc_setup() 219 if (IS_ERR(hw)) in sam9x60_pmc_setup() 223 if (IS_ERR(hw)) in sam9x60_pmc_setup() 230 if (IS_ERR(hw)) in sam9x60_pmc_setup() 245 if (IS_ERR(hw)) in sam9x60_pmc_setup() 256 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() 285 if (IS_ERR(hw)) in sam9x60_pmc_setup() 292 if (IS_ERR(hw)) in sam9x60_pmc_setup() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_dmabuf.c | 24 if (IS_ERR(obj)) in igt_dmabuf_export() 29 if (IS_ERR(dmabuf)) { in igt_dmabuf_export() 48 if (IS_ERR(obj)) in igt_dmabuf_import_self() 52 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self() 60 if (IS_ERR(import)) { in igt_dmabuf_import_self() 107 if (IS_ERR(obj)) { in igt_dmabuf_import_same_driver_lmem() 115 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_same_driver_lmem() 127 if (!IS_ERR(import)) { in igt_dmabuf_import_same_driver_lmem() 160 if (IS_ERR(file)) in verify_access() 164 if (IS_ERR(ctx)) { in verify_access() [all …]
|
/openbmc/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 …]
|
H A D | selftest_execlists.c | 128 if (IS_ERR(ce)) { in live_sanitycheck() 134 if (IS_ERR(rq)) { in live_sanitycheck() 202 if (IS_ERR(tmp)) { in live_unlite_restore() 229 if (IS_ERR(rq[0])) { in live_unlite_restore() 244 if (IS_ERR(rq[1])) { in live_unlite_restore() 280 if (IS_ERR(rq[0])) { in live_unlite_restore() 364 if (IS_ERR(tmp)) { in live_unlite_ring() 384 if (IS_ERR(rq)) { in live_unlite_ring() 408 if (IS_ERR(tmp)) { in live_unlite_ring() 432 if (IS_ERR(rq)) { in live_unlite_ring() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi-ops.h | 474 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send() 496 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx() 525 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain() 541 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_base_macaddr() 557 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target() 572 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target() 587 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param() 602 if (IS_ERR(skb)) in ath10k_wmi_cmd_init() 618 if (IS_ERR(skb)) in ath10k_wmi_start_scan() 633 if (IS_ERR(skb)) in ath10k_wmi_stop_scan() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 107 if (IS_ERR(ret)) { in gen_regmap() 132 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in basic_read_write() 133 if (IS_ERR(map)) in basic_read_write() 162 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in bulk_write() 163 if (IS_ERR(map)) in bulk_write() 199 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in bulk_read() 200 if (IS_ERR(map)) in bulk_read() 234 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in write_readonly() 235 if (IS_ERR(map)) in write_readonly() 268 KUNIT_ASSERT_FALSE(test, IS_ERR(map)); in read_writeonly() [all …]
|
/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btbcm.c | 83 if (IS_ERR(skb)) { in btbcm_check_bdaddr() 153 if (IS_ERR(skb)) { in btbcm_set_bdaddr() 171 if (IS_ERR(skb)) { in btbcm_read_pcm_int_params() 199 if (IS_ERR(skb)) { in btbcm_write_pcm_int_params() 221 if (IS_ERR(skb)) { in btbcm_patchram() 256 if (IS_ERR(skb)) { in btbcm_patchram() 278 if (IS_ERR(skb)) { in btbcm_reset() 298 if (IS_ERR(skb)) { in btbcm_read_local_name() 319 if (IS_ERR(skb)) { in btbcm_read_local_version() 339 if (IS_ERR(skb)) { in btbcm_read_verbose_config() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rockchip.c | 40 if (IS_ERR(rockchip->reg_base)) in rockchip_pcie_parse_dt() 52 if (IS_ERR(rockchip->apb_base)) in rockchip_pcie_parse_dt() 73 if (IS_ERR(rockchip->core_rst)) { in rockchip_pcie_parse_dt() 80 if (IS_ERR(rockchip->mgmt_rst)) { in rockchip_pcie_parse_dt() 88 if (IS_ERR(rockchip->mgmt_sticky_rst)) { in rockchip_pcie_parse_dt() 95 if (IS_ERR(rockchip->pipe_rst)) { in rockchip_pcie_parse_dt() 102 if (IS_ERR(rockchip->pm_rst)) { in rockchip_pcie_parse_dt() 109 if (IS_ERR(rockchip->pclk_rst)) { in rockchip_pcie_parse_dt() 116 if (IS_ERR(rockchip->aclk_rst)) { in rockchip_pcie_parse_dt() 125 if (IS_ERR(rockchip->ep_gpio)) in rockchip_pcie_parse_dt() [all …]
|