| /linux-6.15/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_dmabuf.c | 26 return PTR_ERR(obj); in igt_dmabuf_export() 33 return PTR_ERR(dmabuf); in igt_dmabuf_export() 50 return PTR_ERR(obj); in igt_dmabuf_import_self() 56 err = PTR_ERR(dmabuf); in igt_dmabuf_import_self() 64 err = PTR_ERR(import); in igt_dmabuf_import_self() 110 PTR_ERR(obj)); in igt_dmabuf_import_same_driver_lmem() 111 err = PTR_ERR(obj); in igt_dmabuf_import_same_driver_lmem() 167 err = PTR_ERR(ctx); in verify_access() 181 err = PTR_ERR(vma); in verify_access() 238 err = PTR_ERR(obj); in igt_dmabuf_import_same_driver() [all …]
|
| H A D | i915_gem_context.c | 57 return PTR_ERR(file); in live_nop_switch() 68 err = PTR_ERR(ctx[n]); in live_nop_switch() 84 err = PTR_ERR(this); in live_nop_switch() 313 err = PTR_ERR(ctx); in live_parallel_switch() 342 err = PTR_ERR(ctx); in live_parallel_switch() 352 err = PTR_ERR(ce); in live_parallel_switch() 453 return PTR_ERR(vma); in gpu_fill() 993 err = PTR_ERR(rq); in emit_rpcs_query() 1066 ret = PTR_ERR(rq); in __sseu_prepare() 1558 err = PTR_ERR(rq); in write_to_scratch() [all …]
|
| /linux-6.15/arch/m68k/amiga/ |
| H A D | platform.c | 147 return PTR_ERR(pdev); in amiga_init_devices() 156 return PTR_ERR(pdev); in amiga_init_devices() 165 return PTR_ERR(pdev); in amiga_init_devices() 172 return PTR_ERR(pdev); in amiga_init_devices() 180 return PTR_ERR(pdev); in amiga_init_devices() 188 return PTR_ERR(pdev); in amiga_init_devices() 199 return PTR_ERR(pdev); in amiga_init_devices() 212 return PTR_ERR(pdev); in amiga_init_devices() 219 return PTR_ERR(pdev); in amiga_init_devices() 226 return PTR_ERR(pdev); in amiga_init_devices() [all …]
|
| /linux-6.15/arch/s390/hypfs/ |
| H A D | hypfs_vm_fs.c | 25 return PTR_ERR(rc); \ 44 return PTR_ERR(guest_dir); in hypfs_vm_create_guest() 50 return PTR_ERR(cpus_dir); in hypfs_vm_create_guest() 67 return PTR_ERR(mem_dir); in hypfs_vm_create_guest() 76 return PTR_ERR(samples_dir); in hypfs_vm_create_guest() 95 return PTR_ERR(data); in hypfs_vm_create_files() 100 rc = PTR_ERR(dir); in hypfs_vm_create_files() 105 rc = PTR_ERR(file); in hypfs_vm_create_files() 112 rc = PTR_ERR(dir); in hypfs_vm_create_files() 117 rc = PTR_ERR(file); in hypfs_vm_create_files() [all …]
|
| H A D | hypfs_diag_fs.c | 213 return PTR_ERR(cpu_dir); in hypfs_create_cpu_files() 218 return PTR_ERR(rc); in hypfs_create_cpu_files() 222 return PTR_ERR(rc); in hypfs_create_cpu_files() 228 return PTR_ERR(rc); in hypfs_create_cpu_files() 273 return PTR_ERR(cpu_dir); in hypfs_create_phys_cpu_files() 277 return PTR_ERR(rc); in hypfs_create_phys_cpu_files() 313 return PTR_ERR(buffer); in hypfs_diag_create_files() 328 rc = PTR_ERR(part_hdr); in hypfs_diag_create_files() 336 rc = PTR_ERR(ptr); in hypfs_diag_create_files() 342 rc = PTR_ERR(hyp_dir); in hypfs_diag_create_files() [all …]
|
| /linux-6.15/drivers/misc/ |
| H A D | hisi_hikey_usb.c | 158 PTR_ERR(hisi_hikey_usb->otg_switch)); in hisi_hikey_usb_of_role_switch() 159 return PTR_ERR(hisi_hikey_usb->otg_switch); in hisi_hikey_usb_of_role_switch() 166 PTR_ERR(hisi_hikey_usb->typec_vbus)); in hisi_hikey_usb_of_role_switch() 167 return PTR_ERR(hisi_hikey_usb->typec_vbus); in hisi_hikey_usb_of_role_switch() 175 PTR_ERR(hisi_hikey_usb->reset)); in hisi_hikey_usb_of_role_switch() 176 return PTR_ERR(hisi_hikey_usb->reset); in hisi_hikey_usb_of_role_switch() 184 PTR_ERR(hisi_hikey_usb->dev_role_sw)); in hisi_hikey_usb_of_role_switch() 200 PTR_ERR(hisi_hikey_usb->hub_role_sw)); in hisi_hikey_usb_of_role_switch() 225 return PTR_ERR(hisi_hikey_usb->regulator); in hisi_hikey_usb_probe() 228 PTR_ERR(hisi_hikey_usb->regulator)); in hisi_hikey_usb_probe() [all …]
|
| /linux-6.15/scripts/coccinelle/tests/ |
| H A D | odd_ptr_err.cocci | 2 /// PTR_ERR should access the value just tested by IS_ERR 24 PTR_ERR@p(x) 36 PTR_ERR@p(\(e1 ? e2 : x\|e1 ? x : e2\)) 38 PTR_ERR@p(x) 52 PTR_ERR(x) 54 PTR_ERR@p( 74 PTR_ERR(x) 76 PTR_ERR@j1@p( 92 * PTR_ERR@j1@p( 105 msg = "inconsistent IS_ERR and PTR_ERR" [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | wmi-ops.h | 478 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx_send() 500 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx() 529 return PTR_ERR(skb); in ath10k_wmi_pdev_set_regdomain() 545 return PTR_ERR(skb); in ath10k_wmi_pdev_set_base_macaddr() 561 return PTR_ERR(skb); in ath10k_wmi_pdev_suspend_target() 576 return PTR_ERR(skb); in ath10k_wmi_pdev_resume_target() 591 return PTR_ERR(skb); in ath10k_wmi_pdev_set_param() 606 return PTR_ERR(skb); in ath10k_wmi_cmd_init() 622 return PTR_ERR(skb); in ath10k_wmi_start_scan() 637 return PTR_ERR(skb); in ath10k_wmi_stop_scan() [all …]
|
| /linux-6.15/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_hdmi_i2c.c | 204 return PTR_ERR(hdmi->field_ddc_en); in sun4i_hdmi_init_regmap_fields() 210 return PTR_ERR(hdmi->field_ddc_start); in sun4i_hdmi_init_regmap_fields() 216 return PTR_ERR(hdmi->field_ddc_reset); in sun4i_hdmi_init_regmap_fields() 222 return PTR_ERR(hdmi->field_ddc_addr_reg); in sun4i_hdmi_init_regmap_fields() 228 return PTR_ERR(hdmi->field_ddc_slave_addr); in sun4i_hdmi_init_regmap_fields() 234 return PTR_ERR(hdmi->field_ddc_int_mask); in sun4i_hdmi_init_regmap_fields() 240 return PTR_ERR(hdmi->field_ddc_int_status); in sun4i_hdmi_init_regmap_fields() 246 return PTR_ERR(hdmi->field_ddc_fifo_clear); in sun4i_hdmi_init_regmap_fields() 270 return PTR_ERR(hdmi->field_ddc_cmd); in sun4i_hdmi_init_regmap_fields() 276 return PTR_ERR(hdmi->field_ddc_sda_en); in sun4i_hdmi_init_regmap_fields() [all …]
|
| /linux-6.15/drivers/ata/ |
| H A D | ahci_mtk.c | 53 if (PTR_ERR(plat->axi_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets() 54 return PTR_ERR(plat->axi_rst); in mtk_ahci_platform_resets() 57 if (PTR_ERR(plat->sw_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets() 58 return PTR_ERR(plat->sw_rst); in mtk_ahci_platform_resets() 61 if (PTR_ERR(plat->reg_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets() 62 return PTR_ERR(plat->reg_rst); in mtk_ahci_platform_resets() 115 return PTR_ERR(plat->mode); in mtk_ahci_parse_property() 138 return PTR_ERR(hpriv); in mtk_ahci_probe()
|
| /linux-6.15/security/keys/ |
| H A D | keyctl.c | 142 ret = PTR_ERR(key_ref); in SYSCALL_DEFINE5() 217 ret = PTR_ERR(ktype); in SYSCALL_DEFINE4() 226 ret = PTR_ERR(key); in SYSCALL_DEFINE4() 267 ret = PTR_ERR(key_ref); in keyctl_get_keyring_ID() 298 ret = PTR_ERR(name); in keyctl_join_session_keyring() 353 ret = PTR_ERR(key_ref); in keyctl_update_key() 387 ret = PTR_ERR(key_ref); in keyctl_revoke_key() 430 ret = PTR_ERR(key_ref); in keyctl_invalidate_key() 528 ret = PTR_ERR(key_ref); in keyctl_keyring_link() 616 ret = PTR_ERR(to_ref); in keyctl_keyring_move() [all …]
|
| /linux-6.15/drivers/clk/ |
| H A D | clk-ast2600.c | 521 return PTR_ERR(hw); in aspeed_g6_clk_probe() 532 return PTR_ERR(hw); in aspeed_g6_clk_probe() 539 return PTR_ERR(hw); in aspeed_g6_clk_probe() 547 return PTR_ERR(hw); in aspeed_g6_clk_probe() 553 return PTR_ERR(hw); in aspeed_g6_clk_probe() 562 return PTR_ERR(hw); in aspeed_g6_clk_probe() 570 return PTR_ERR(hw); in aspeed_g6_clk_probe() 576 return PTR_ERR(hw); in aspeed_g6_clk_probe() 582 return PTR_ERR(hw); in aspeed_g6_clk_probe() 590 return PTR_ERR(hw); in aspeed_g6_clk_probe() [all …]
|
| /linux-6.15/drivers/hv/ |
| H A D | hv_debugfs.c | 68 return PTR_ERR(buffer_file); in hv_debug_delay_files() 76 return PTR_ERR(message_file); in hv_debug_delay_files() 95 return PTR_ERR(test_state); in hv_debug_set_test_state() 121 return PTR_ERR(dev_root); in hv_debug_add_dev_dir() 130 return PTR_ERR(delay); in hv_debug_add_dev_dir() 137 return PTR_ERR(hv_debug_root); in hv_debug_add_dev_dir() 175 return PTR_ERR(hv_debug_root); in hv_debug_init()
|
| /linux-6.15/drivers/phy/ |
| H A D | phy-pistachio-usb.c | 149 PTR_ERR(p_phy->cr_top)); in pistachio_usb_phy_probe() 150 return PTR_ERR(p_phy->cr_top); in pistachio_usb_phy_probe() 156 PTR_ERR(p_phy->phy_clk)); in pistachio_usb_phy_probe() 157 return PTR_ERR(p_phy->phy_clk); in pistachio_usb_phy_probe() 170 PTR_ERR(phy)); in pistachio_usb_phy_probe() 171 return PTR_ERR(phy); in pistachio_usb_phy_probe() 179 PTR_ERR(provider)); in pistachio_usb_phy_probe() 180 return PTR_ERR(provider); in pistachio_usb_phy_probe()
|
| /linux-6.15/drivers/acpi/ |
| H A D | acpi_configfs.c | 82 return PTR_ERR(h); in acpi_table_aml_read() 104 return PTR_ERR(h); in acpi_table_signature_show() 114 return PTR_ERR(h); in acpi_table_length_show() 124 return PTR_ERR(h); in acpi_table_revision_show() 134 return PTR_ERR(h); in acpi_table_oem_id_show() 144 return PTR_ERR(h); in acpi_table_oem_table_id_show() 154 return PTR_ERR(h); in acpi_table_oem_revision_show() 165 return PTR_ERR(h); in acpi_table_asl_compiler_id_show() 176 return PTR_ERR(h); in acpi_table_asl_compiler_revision_show() 270 return PTR_ERR(acpi_table_group); in acpi_configfs_init()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_execlists.c | 129 err = PTR_ERR(ce); in live_sanitycheck() 135 err = PTR_ERR(rq); in live_sanitycheck() 203 err = PTR_ERR(tmp); in live_unlite_restore() 385 err = PTR_ERR(rq); in live_unlite_ring() 433 err = PTR_ERR(rq); in live_unlite_ring() 504 err = PTR_ERR(ce); in live_pin_rewind() 537 err = PTR_ERR(rq); in live_pin_rewind() 605 err = PTR_ERR(ce); in live_hold_reset() 613 err = PTR_ERR(rq); in live_hold_reset() 826 return PTR_ERR(cs); in emit_semaphore_chain() [all …]
|
| /linux-6.15/drivers/net/ethernet/arc/ |
| H A D | emac_rockchip.c | 131 PTR_ERR(priv->grf)); in emac_rockchip_probe() 132 err = PTR_ERR(priv->grf); in emac_rockchip_probe() 142 PTR_ERR(priv->emac.clk)); in emac_rockchip_probe() 143 err = PTR_ERR(priv->emac.clk); in emac_rockchip_probe() 150 PTR_ERR(priv->refclk)); in emac_rockchip_probe() 151 err = PTR_ERR(priv->refclk); in emac_rockchip_probe() 164 if (PTR_ERR(priv->regulator) == -EPROBE_DEFER) { in emac_rockchip_probe() 206 PTR_ERR(priv->macclk)); in emac_rockchip_probe() 207 err = PTR_ERR(priv->macclk); in emac_rockchip_probe()
|
| /linux-6.15/drivers/bluetooth/ |
| H A D | btbcm.c | 155 err = PTR_ERR(skb); in btbcm_set_bdaddr() 173 err = PTR_ERR(skb); in btbcm_read_pcm_int_params() 201 err = PTR_ERR(skb); in btbcm_write_pcm_int_params() 223 err = PTR_ERR(skb); in btbcm_patchram() 258 err = PTR_ERR(skb); in btbcm_patchram() 301 PTR_ERR(skb)); in btbcm_read_local_name() 322 PTR_ERR(skb)); in btbcm_read_local_version() 342 PTR_ERR(skb)); in btbcm_read_verbose_config() 362 PTR_ERR(skb)); in btbcm_read_controller_features() 382 PTR_ERR(skb)); in btbcm_read_usb_product() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/selftests/ |
| H A D | intel_memory_region.c | 75 err = PTR_ERR(obj); in igt_mock_fill() 177 err = PTR_ERR(mem); in igt_mock_reserve() 216 err = PTR_ERR(obj); in igt_mock_reserve() 255 return PTR_ERR(obj); in igt_mock_contiguous() 268 return PTR_ERR(obj); in igt_mock_contiguous() 287 return PTR_ERR(obj); in igt_mock_contiguous() 336 err = PTR_ERR(obj); in igt_mock_contiguous() 393 err = PTR_ERR(obj); in igt_mock_splintered_region() 437 err = PTR_ERR(obj); in igt_mock_splintered_region() 489 err = PTR_ERR(obj); in igt_mock_max_segment() [all …]
|
| /linux-6.15/drivers/phy/socionext/ |
| H A D | phy-uniphier-usb3hs.c | 109 return PTR_ERR(cell); in uniphier_u3hsphy_get_nvparam() 113 return PTR_ERR(buf); in uniphier_u3hsphy_get_nvparam() 342 return PTR_ERR(priv->base); in uniphier_u3hsphy_probe() 347 return PTR_ERR(priv->clk); in uniphier_u3hsphy_probe() 351 return PTR_ERR(priv->clk_ext); in uniphier_u3hsphy_probe() 355 return PTR_ERR(priv->rst); in uniphier_u3hsphy_probe() 360 return PTR_ERR(priv->clk_parent_gio); in uniphier_u3hsphy_probe() 370 return PTR_ERR(priv->clk_parent); in uniphier_u3hsphy_probe() 374 return PTR_ERR(priv->rst_parent); in uniphier_u3hsphy_probe() 379 return PTR_ERR(priv->vbus); in uniphier_u3hsphy_probe() [all …]
|
| H A D | phy-uniphier-usb3ss.c | 234 return PTR_ERR(priv->base); in uniphier_u3ssphy_probe() 239 return PTR_ERR(priv->clk); in uniphier_u3ssphy_probe() 243 return PTR_ERR(priv->clk_ext); in uniphier_u3ssphy_probe() 247 return PTR_ERR(priv->rst); in uniphier_u3ssphy_probe() 251 return PTR_ERR(priv->clk_parent_gio); in uniphier_u3ssphy_probe() 256 return PTR_ERR(priv->rst_parent_gio); in uniphier_u3ssphy_probe() 261 return PTR_ERR(priv->clk_parent); in uniphier_u3ssphy_probe() 265 return PTR_ERR(priv->rst_parent); in uniphier_u3ssphy_probe() 269 if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) in uniphier_u3ssphy_probe() 270 return PTR_ERR(priv->vbus); in uniphier_u3ssphy_probe() [all …]
|
| /linux-6.15/drivers/usb/typec/mux/ |
| H A D | ps883x.c | 267 return dev_err_probe(dev, PTR_ERR(retimer->vdd_supply), in ps883x_get_vregs() 272 return dev_err_probe(dev, PTR_ERR(retimer->vdd33_supply), in ps883x_get_vregs() 282 return dev_err_probe(dev, PTR_ERR(retimer->vddat_supply), in ps883x_get_vregs() 287 return dev_err_probe(dev, PTR_ERR(retimer->vddar_supply), in ps883x_get_vregs() 292 return dev_err_probe(dev, PTR_ERR(retimer->vddio_supply), in ps883x_get_vregs() 323 return dev_err_probe(dev, PTR_ERR(retimer->regmap), in ps883x_retimer_probe() 332 return dev_err_probe(dev, PTR_ERR(retimer->xo_clk), in ps883x_retimer_probe() 337 return dev_err_probe(dev, PTR_ERR(retimer->reset_gpio), in ps883x_retimer_probe() 347 ret = dev_err_probe(dev, PTR_ERR(retimer->typec_mux), in ps883x_retimer_probe() 398 ret = PTR_ERR(retimer->sw); in ps883x_retimer_probe() [all …]
|
| /linux-6.15/drivers/phy/allwinner/ |
| H A D | phy-sun9i-usb.c | 130 return PTR_ERR(phy->clk); in sun9i_usb_phy_probe() 136 return PTR_ERR(phy->hsic_clk); in sun9i_usb_phy_probe() 142 return PTR_ERR(phy->reset); in sun9i_usb_phy_probe() 148 return PTR_ERR(phy->clk); in sun9i_usb_phy_probe() 154 return PTR_ERR(phy->reset); in sun9i_usb_phy_probe() 160 return PTR_ERR(phy->pmu); in sun9i_usb_phy_probe() 165 return PTR_ERR(phy->phy); in sun9i_usb_phy_probe()
|
| /linux-6.15/security/ipe/ |
| H A D | fs.c | 149 return PTR_ERR(copy); in new_policy() 153 rc = PTR_ERR(p); in new_policy() 200 rc = PTR_ERR(root); in ipe_init_securityfs() 207 rc = PTR_ERR(audit_node); in ipe_init_securityfs() 214 rc = PTR_ERR(enforce_node); in ipe_init_securityfs() 220 rc = PTR_ERR(policy_root); in ipe_init_securityfs() 233 rc = PTR_ERR(np); in ipe_init_securityfs()
|
| /linux-6.15/drivers/input/mouse/ |
| H A D | gpio_mouse.c | 90 return PTR_ERR(gmouse->up); in gpio_mouse_probe() 93 return PTR_ERR(gmouse->down); in gpio_mouse_probe() 96 return PTR_ERR(gmouse->left); in gpio_mouse_probe() 99 return PTR_ERR(gmouse->right); in gpio_mouse_probe() 103 return PTR_ERR(gmouse->bleft); in gpio_mouse_probe() 107 return PTR_ERR(gmouse->bmiddle); in gpio_mouse_probe() 111 return PTR_ERR(gmouse->bright); in gpio_mouse_probe()
|