Home
last modified time | relevance | path

Searched refs:PTR_ERR (Results 1 – 25 of 4738) sorted by relevance

12345678910>>...190

/linux-6.3-rc2/drivers/gpu/drm/i915/gem/selftests/
A Di915_gem_dmabuf.c25 return PTR_ERR(obj); in igt_dmabuf_export()
32 return PTR_ERR(dmabuf); in igt_dmabuf_export()
49 return PTR_ERR(obj); in igt_dmabuf_import_self()
55 err = PTR_ERR(dmabuf); in igt_dmabuf_import_self()
63 err = PTR_ERR(import); in igt_dmabuf_import_self()
109 PTR_ERR(obj)); in igt_dmabuf_import_same_driver_lmem()
110 err = PTR_ERR(obj); in igt_dmabuf_import_same_driver_lmem()
165 err = PTR_ERR(ctx); in verify_access()
179 err = PTR_ERR(vma); in verify_access()
235 err = PTR_ERR(obj); in igt_dmabuf_import_same_driver()
[all …]
A Di915_gem_context.c57 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()
311 err = PTR_ERR(ctx); in live_parallel_switch()
340 err = PTR_ERR(ctx); in live_parallel_switch()
445 return PTR_ERR(vma); in gpu_fill()
985 err = PTR_ERR(rq); in emit_rpcs_query()
1058 ret = PTR_ERR(rq); in __sseu_prepare()
1107 ret = PTR_ERR(buf); in __read_slice_count()
1550 err = PTR_ERR(rq); in write_to_scratch()
[all …]
/linux-6.3-rc2/drivers/pci/controller/
A Dpcie-rockchip.c39 return PTR_ERR(rockchip->reg_base); in rockchip_pcie_parse_dt()
51 return PTR_ERR(rockchip->apb_base); in rockchip_pcie_parse_dt()
74 return PTR_ERR(rockchip->core_rst); in rockchip_pcie_parse_dt()
81 return PTR_ERR(rockchip->mgmt_rst); in rockchip_pcie_parse_dt()
96 return PTR_ERR(rockchip->pipe_rst); in rockchip_pcie_parse_dt()
103 return PTR_ERR(rockchip->pm_rst); in rockchip_pcie_parse_dt()
110 return PTR_ERR(rockchip->pclk_rst); in rockchip_pcie_parse_dt()
312 if (PTR_ERR(phy) == -EPROBE_DEFER) in rockchip_pcie_get_phys()
313 return PTR_ERR(phy); in rockchip_pcie_get_phys()
328 i, PTR_ERR(phy)); in rockchip_pcie_get_phys()
[all …]
/linux-6.3-rc2/arch/m68k/amiga/
A Dplatform.c147 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.3-rc2/drivers/misc/
A Dhisi_hikey_usb.c159 PTR_ERR(hisi_hikey_usb->otg_switch)); in hisi_hikey_usb_of_role_switch()
160 return PTR_ERR(hisi_hikey_usb->otg_switch); in hisi_hikey_usb_of_role_switch()
167 PTR_ERR(hisi_hikey_usb->typec_vbus)); in hisi_hikey_usb_of_role_switch()
168 return PTR_ERR(hisi_hikey_usb->typec_vbus); in hisi_hikey_usb_of_role_switch()
176 PTR_ERR(hisi_hikey_usb->reset)); in hisi_hikey_usb_of_role_switch()
177 return PTR_ERR(hisi_hikey_usb->reset); in hisi_hikey_usb_of_role_switch()
185 PTR_ERR(hisi_hikey_usb->dev_role_sw)); in hisi_hikey_usb_of_role_switch()
201 PTR_ERR(hisi_hikey_usb->hub_role_sw)); in hisi_hikey_usb_of_role_switch()
226 return PTR_ERR(hisi_hikey_usb->regulator); in hisi_hikey_usb_probe()
229 PTR_ERR(hisi_hikey_usb->regulator)); in hisi_hikey_usb_probe()
[all …]
/linux-6.3-rc2/scripts/coccinelle/tests/
A Dodd_ptr_err.cocci2 /// 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.3-rc2/drivers/net/wireless/ath/ath10k/
A Dwmi-ops.h475 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx_send()
497 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx()
526 return PTR_ERR(skb); in ath10k_wmi_pdev_set_regdomain()
542 return PTR_ERR(skb); in ath10k_wmi_pdev_set_base_macaddr()
558 return PTR_ERR(skb); in ath10k_wmi_pdev_suspend_target()
573 return PTR_ERR(skb); in ath10k_wmi_pdev_resume_target()
588 return PTR_ERR(skb); in ath10k_wmi_pdev_set_param()
603 return PTR_ERR(skb); in ath10k_wmi_cmd_init()
619 return PTR_ERR(skb); in ath10k_wmi_start_scan()
634 return PTR_ERR(skb); in ath10k_wmi_stop_scan()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/sun4i/
A Dsun4i_hdmi_i2c.c204 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.3-rc2/drivers/clk/
A Dclk-ast2600.c483 return PTR_ERR(hw); in aspeed_g6_clk_probe()
494 return PTR_ERR(hw); in aspeed_g6_clk_probe()
501 return PTR_ERR(hw); in aspeed_g6_clk_probe()
509 return PTR_ERR(hw); in aspeed_g6_clk_probe()
515 return PTR_ERR(hw); in aspeed_g6_clk_probe()
524 return PTR_ERR(hw); in aspeed_g6_clk_probe()
532 return PTR_ERR(hw); in aspeed_g6_clk_probe()
538 return PTR_ERR(hw); in aspeed_g6_clk_probe()
544 return PTR_ERR(hw); in aspeed_g6_clk_probe()
552 return PTR_ERR(hw); in aspeed_g6_clk_probe()
[all …]
A Dclk-conf.c40 if (PTR_ERR(pclk) != -EPROBE_DEFER) in __set_clk_parents()
43 return PTR_ERR(pclk); in __set_clk_parents()
56 if (PTR_ERR(clk) != -EPROBE_DEFER) in __set_clk_parents()
59 rc = PTR_ERR(clk); in __set_clk_parents()
101 if (PTR_ERR(clk) != -EPROBE_DEFER) in __set_clk_rates()
104 return PTR_ERR(clk); in __set_clk_rates()
/linux-6.3-rc2/arch/s390/hypfs/
A Dhypfs_vm.c121 return PTR_ERR(rc); \
140 return PTR_ERR(guest_dir); in hypfs_vm_create_guest()
146 return PTR_ERR(cpus_dir); in hypfs_vm_create_guest()
163 return PTR_ERR(mem_dir); in hypfs_vm_create_guest()
191 return PTR_ERR(data); in hypfs_vm_create_files()
196 rc = PTR_ERR(dir); in hypfs_vm_create_files()
201 rc = PTR_ERR(file); in hypfs_vm_create_files()
208 rc = PTR_ERR(dir); in hypfs_vm_create_files()
213 rc = PTR_ERR(file); in hypfs_vm_create_files()
220 rc = PTR_ERR(dir); in hypfs_vm_create_files()
[all …]
/linux-6.3-rc2/drivers/ata/
A Dahci_mtk.c52 if (PTR_ERR(plat->axi_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets()
53 return PTR_ERR(plat->axi_rst); in mtk_ahci_platform_resets()
56 if (PTR_ERR(plat->sw_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets()
57 return PTR_ERR(plat->sw_rst); in mtk_ahci_platform_resets()
60 if (PTR_ERR(plat->reg_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets()
61 return PTR_ERR(plat->reg_rst); in mtk_ahci_platform_resets()
114 return PTR_ERR(plat->mode); in mtk_ahci_parse_property()
137 return PTR_ERR(hpriv); in mtk_ahci_probe()
/linux-6.3-rc2/security/keys/
A Dkeyctl.c142 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.3-rc2/drivers/hv/
A Dhv_debugfs.c68 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.3-rc2/drivers/phy/
A Dphy-pistachio-usb.c149 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.3-rc2/drivers/acpi/
A Dacpi_configfs.c82 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.3-rc2/drivers/gpu/drm/i915/gt/
A Dselftest_execlists.c129 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 …]
A Dselftest_lrc.c88 return PTR_ERR(rq); in emit_semaphore_signal()
93 return PTR_ERR(cs); in emit_semaphore_signal()
116 return PTR_ERR(rq); in context_flush()
432 err = PTR_ERR(rq); in __live_lrc_state()
438 err = PTR_ERR(cs); in __live_lrc_state()
472 err = PTR_ERR(cs); in __live_lrc_state()
638 err = PTR_ERR(rq); in __live_lrc_gpr()
670 err = PTR_ERR(cs); in __live_lrc_gpr()
752 err = PTR_ERR(cs); in create_timestamp()
1415 err = PTR_ERR(B); in __lrc_isolation()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/arc/
A Demac_rockchip.c131 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.3-rc2/drivers/bluetooth/
A Dbtbcm.c45 int err = PTR_ERR(skb); in btbcm_check_bdaddr()
108 err = PTR_ERR(skb); in btbcm_set_bdaddr()
126 err = PTR_ERR(skb); in btbcm_read_pcm_int_params()
154 err = PTR_ERR(skb); in btbcm_write_pcm_int_params()
176 err = PTR_ERR(skb); in btbcm_patchram()
211 err = PTR_ERR(skb); in btbcm_patchram()
254 PTR_ERR(skb)); in btbcm_read_local_name()
275 PTR_ERR(skb)); in btbcm_read_local_version()
295 PTR_ERR(skb)); in btbcm_read_verbose_config()
315 PTR_ERR(skb)); in btbcm_read_controller_features()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dintel_memory_region.c75 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.3-rc2/fs/ntfs/
A Dbitmap.c65 "%li), aborting.", PTR_ERR(page)); in __ntfs_bitmap_set_bits_in_run()
66 return PTR_ERR(page); in __ntfs_bitmap_set_bits_in_run()
158 return PTR_ERR(page); in __ntfs_bitmap_set_bits_in_run()
167 "%li), aborting.", PTR_ERR(page)); in __ntfs_bitmap_set_bits_in_run()
173 "Unmount and run chkdsk.", PTR_ERR(page), pos); in __ntfs_bitmap_set_bits_in_run()
176 return PTR_ERR(page); in __ntfs_bitmap_set_bits_in_run()
/linux-6.3-rc2/drivers/phy/socionext/
A Dphy-uniphier-usb3hs.c109 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 …]
A Dphy-uniphier-usb3ss.c234 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.3-rc2/drivers/input/mouse/
A Dgpio_mouse.c90 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()

Completed in 62 milliseconds

12345678910>>...190