Home
last modified time | relevance | path

Searched refs:IS_ERR_OR_NULL (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/Linux-v5.4/drivers/usb/gadget/legacy/
Dnokia.c193 if (!IS_ERR_OR_NULL(f_phonet)) { in nokia_bind_config()
199 if (!IS_ERR_OR_NULL(f_obex1)) { in nokia_bind_config()
205 if (!IS_ERR_OR_NULL(f_obex2)) { in nokia_bind_config()
259 if (!IS_ERR_OR_NULL(f_obex2)) in nokia_bind_config()
261 if (!IS_ERR_OR_NULL(f_obex1)) in nokia_bind_config()
263 if (!IS_ERR_OR_NULL(f_phonet)) in nokia_bind_config()
362 if (!IS_ERR_OR_NULL(f_obex1_cfg1)) in nokia_bind()
364 if (!IS_ERR_OR_NULL(f_obex2_cfg1)) in nokia_bind()
366 if (!IS_ERR_OR_NULL(f_phonet_cfg1)) in nokia_bind()
392 if (!IS_ERR_OR_NULL(f_obex1_cfg2)) in nokia_unbind()
[all …]
Daudio.c333 if (!IS_ERR_OR_NULL(f_uac1)) in audio_unbind()
335 if (!IS_ERR_OR_NULL(fi_uac1)) in audio_unbind()
338 if (!IS_ERR_OR_NULL(f_uac2)) in audio_unbind()
340 if (!IS_ERR_OR_NULL(fi_uac2)) in audio_unbind()
Dtcm_usb_gadget.c66 if (!IS_ERR_OR_NULL(f_tcm)) in guas_unbind()
165 if (!IS_ERR_OR_NULL(fi_tcm)) in usb_target_gadget_exit()
/Linux-v5.4/drivers/pci/endpoint/
Dpci-epc-core.c125 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_features()
198 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_raise_irq()
224 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msi()
257 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msi()
286 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msix()
316 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msix()
344 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_unmap_addr()
372 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_map_addr()
399 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_clear_bar()
428 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_bar()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c129 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_unregister_device()
155 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_register_component()
172 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_unregister_component()
189 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_send_event()
220 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_is_paired()
232 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_get_peer_data()
Dhv_vhca.c63 if (IS_ERR_OR_NULL(hv_vhca)) in mlx5_hv_vhca_destroy()
206 if (IS_ERR_OR_NULL(hv_vhca)) in mlx5_hv_vhca_init()
207 return IS_ERR_OR_NULL(hv_vhca); in mlx5_hv_vhca_init()
215 if (IS_ERR_OR_NULL(agent)) { in mlx5_hv_vhca_init()
217 return IS_ERR_OR_NULL(agent); in mlx5_hv_vhca_init()
230 if (IS_ERR_OR_NULL(hv_vhca)) in mlx5_hv_vhca_cleanup()
263 if (IS_ERR_OR_NULL(hv_vhca)) in mlx5_hv_vhca_agent_create()
Dgeneve.c67 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_add()
117 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_del()
149 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_destroy()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dahb.c90 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk)) { in ath10k_ahb_clock_init()
97 if (IS_ERR_OR_NULL(ar_ahb->ref_clk)) { in ath10k_ahb_clock_init()
104 if (IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_init()
127 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk) || in ath10k_ahb_clock_enable()
128 IS_ERR_OR_NULL(ar_ahb->ref_clk) || in ath10k_ahb_clock_enable()
129 IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_enable()
242 if (IS_ERR_OR_NULL(ar_ahb->radio_cold_rst) || in ath10k_ahb_release_reset()
243 IS_ERR_OR_NULL(ar_ahb->radio_warm_rst) || in ath10k_ahb_release_reset()
244 IS_ERR_OR_NULL(ar_ahb->radio_srif_rst) || in ath10k_ahb_release_reset()
245 IS_ERR_OR_NULL(ar_ahb->cpu_init_rst)) { in ath10k_ahb_release_reset()
[all …]
/Linux-v5.4/drivers/base/power/
Dqos.c60 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags()
119 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_RESUME_LATENCY_NO_CONSTRAINT in dev_pm_qos_read_value()
377 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_update_request()
440 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_remove_request()
541 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_remove_notifier()
659 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_latency_limit()
686 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->resume_latency_req) in __dev_pm_qos_hide_latency_limit()
736 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_flags()
764 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->flags_req) in __dev_pm_qos_hide_flags()
802 if (IS_ERR_OR_NULL(dev->power.qos) || !dev->power.qos->flags_req) { in dev_pm_qos_update_flags()
[all …]
/Linux-v5.4/drivers/mtd/ubi/
Ddebug.c226 if (IS_ERR_OR_NULL(dfs_rootdir)) { in ubi_debugfs_init()
532 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
539 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
546 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
553 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
560 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
567 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
574 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
581 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
588 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
[all …]
/Linux-v5.4/drivers/usb/roles/
Dclass.c46 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_set_role()
72 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_get_role()
134 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_get()
156 if (!IS_ERR_OR_NULL(sw)) in fwnode_usb_role_switch_get()
171 if (!IS_ERR_OR_NULL(sw)) { in usb_role_switch_put()
333 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
/Linux-v5.4/drivers/usb/typec/
Dmux.c76 if (!IS_ERR_OR_NULL(sw)) in typec_switch_get()
91 if (!IS_ERR_OR_NULL(sw)) { in typec_switch_put()
161 if (!IS_ERR_OR_NULL(sw)) in typec_switch_unregister()
266 if (!IS_ERR_OR_NULL(mux)) in typec_mux_get()
281 if (!IS_ERR_OR_NULL(mux)) { in typec_mux_put()
350 if (!IS_ERR_OR_NULL(mux)) in typec_mux_unregister()
/Linux-v5.4/drivers/block/zram/
Dzcomp.c37 if (!IS_ERR_OR_NULL(zstrm->tfm)) in zcomp_strm_free()
59 if (IS_ERR_OR_NULL(zstrm->tfm) || !zstrm->buffer) { in zcomp_strm_alloc()
167 if (IS_ERR_OR_NULL(zstrm)) { in zcomp_cpu_up_prepare()
181 if (!IS_ERR_OR_NULL(zstrm)) in zcomp_cpu_dead()
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_debugfs.c86 if (IS_ERR_OR_NULL(dent)) { in uvc_debugfs_init_stream()
96 if (IS_ERR_OR_NULL(dent)) { in uvc_debugfs_init_stream()
114 if (IS_ERR_OR_NULL(dir)) { in uvc_debugfs_init()
/Linux-v5.4/drivers/media/cec/
Dcec-core.c347 if (IS_ERR_OR_NULL(adap)) in cec_register_adapter()
387 if (IS_ERR_OR_NULL(adap->cec_dir)) { in cec_register_adapter()
393 if (IS_ERR_OR_NULL(adap->status_file)) { in cec_register_adapter()
404 if (IS_ERR_OR_NULL(adap->error_inj_file)) in cec_register_adapter()
414 if (IS_ERR_OR_NULL(adap)) in cec_unregister_adapter()
433 if (IS_ERR_OR_NULL(adap)) in cec_delete_adapter()
461 if (IS_ERR_OR_NULL(top_cec_dir)) { in cec_devnode_init()
/Linux-v5.4/drivers/clk/mediatek/
Dclk-mtk.c54 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[rc->id])) in mtk_clk_register_fixed_clks()
80 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[ff->id])) in mtk_clk_register_factors()
119 if (!IS_ERR_OR_NULL(clk_data->clks[gate->id])) in mtk_clk_register_gates_with_dev()
246 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mc->id])) in mtk_clk_register_composites()
272 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mcd->id])) in mtk_clk_register_dividers()
/Linux-v5.4/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c230 if (IS_ERR_OR_NULL(flow)) { in create_roce_custom_flow()
283 if (IS_ERR_OR_NULL(sock)) in create_udp_flow()
303 if (IS_ERR_OR_NULL(flow)) { in create_udp_flow()
355 if (!IS_ERR_OR_NULL(qp_flow)) { in create_and_add_flow()
430 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_modify()
445 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_modify()
558 if (IS_ERR_OR_NULL(res_chunk_list[i])) { in alloc_res_chunk_list()
696 if (IS_ERR_OR_NULL(qp_grp->res_chunk_list)) { in usnic_ib_qp_grp_create()
713 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_create()
/Linux-v5.4/drivers/net/netdevsim/
Dsdev.c37 if (IS_ERR_OR_NULL(sdev->ddir)) { in nsim_sdev_get()
61 if (IS_ERR_OR_NULL(nsim_sdev_ddir)) in nsim_sdev_init()
/Linux-v5.4/drivers/gpu/drm/xen/
Dxen_drm_front_gem.c86 if (IS_ERR_OR_NULL(xen_obj)) in gem_create()
120 if (IS_ERR_OR_NULL(xen_obj->pages)) { in gem_create()
139 if (IS_ERR_OR_NULL(xen_obj)) in xen_drm_front_gem_create()
197 if (IS_ERR_OR_NULL(xen_obj)) in xen_drm_front_gem_import_sg_table()
/Linux-v5.4/drivers/soc/qcom/
Dllcc-slice.c101 if (!IS_ERR_OR_NULL(desc)) in llcc_slice_putd()
155 if (IS_ERR_OR_NULL(desc)) in llcc_slice_activate()
195 if (IS_ERR_OR_NULL(desc)) in llcc_slice_deactivate()
225 if (IS_ERR_OR_NULL(desc)) in llcc_get_slice_id()
238 if (IS_ERR_OR_NULL(desc)) in llcc_get_slice_size()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhv_vhca_stats.c138 if (IS_ERR_OR_NULL(agent)) { in mlx5e_hv_vhca_stats_create()
145 return IS_ERR_OR_NULL(agent); in mlx5e_hv_vhca_stats_create()
156 if (IS_ERR_OR_NULL(priv->stats_agent.agent)) in mlx5e_hv_vhca_stats_destroy()
/Linux-v5.4/kernel/power/
Dqos.c150 if (IS_ERR_OR_NULL(qos)) { in pm_qos_debug_show()
155 if (IS_ERR_OR_NULL(c)) { in pm_qos_debug_show()
695 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
700 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
759 if (IS_ERR_OR_NULL(qos) || !req) in freq_qos_add_request()
846 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_add_notifier()
879 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_remove_notifier()
/Linux-v5.4/drivers/base/
Dproperty.c52 if (ret == false && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_present()
53 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_present()
238 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_int_array()
239 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_int_array()
377 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_string_array()
378 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_string_array()
/Linux-v5.4/arch/arm/mach-imx/devices/
Dplatform-ipu-core.c72 if (IS_ERR_OR_NULL(imx_ipu_coredev)) in imx_alloc_mx3_camera()
119 if (IS_ERR_OR_NULL(imx_ipu_coredev)) in imx_add_mx3_sdc_fb()
/Linux-v5.4/drivers/fpga/
Dzynqmp-fpga.c50 if (IS_ERR_OR_NULL(eemi_ops) || !eemi_ops->fpga_load) in zynqmp_fpga_ops_write()
84 if (IS_ERR_OR_NULL(eemi_ops) || !eemi_ops->fpga_get_status) in zynqmp_fpga_ops_state()

12345678910>>...21