Home
last modified time | relevance | path

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

12345678910>>...33

/linux-6.15/drivers/usb/gadget/legacy/
H A Dnokia.c192 if (!IS_ERR_OR_NULL(f_phonet)) { in nokia_bind_config()
198 if (!IS_ERR_OR_NULL(f_obex1)) { in nokia_bind_config()
204 if (!IS_ERR_OR_NULL(f_obex2)) { in nokia_bind_config()
258 if (!IS_ERR_OR_NULL(f_obex2)) in nokia_bind_config()
260 if (!IS_ERR_OR_NULL(f_obex1)) in nokia_bind_config()
262 if (!IS_ERR_OR_NULL(f_phonet)) in nokia_bind_config()
361 if (!IS_ERR_OR_NULL(f_obex1_cfg1)) in nokia_bind()
363 if (!IS_ERR_OR_NULL(f_obex2_cfg1)) in nokia_bind()
391 if (!IS_ERR_OR_NULL(f_obex1_cfg2)) in nokia_unbind()
393 if (!IS_ERR_OR_NULL(f_obex2_cfg2)) in nokia_unbind()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c106 if (!IS_ERR_OR_NULL(devc)) in mlx5_devcom_unregister_device()
222 if (IS_ERR_OR_NULL(devc)) in mlx5_devcom_register_component()
255 if (!IS_ERR_OR_NULL(devcom)) in mlx5_devcom_unregister_component()
275 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_send_event()
317 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_comp_is_ready()
327 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_for_each_peer_begin()
400 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_comp_lock()
407 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_comp_unlock()
414 if (IS_ERR_OR_NULL(devcom)) in mlx5_devcom_comp_trylock()
H A 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()
H A Dgeneve.c67 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_add()
118 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_del()
150 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_destroy()
/linux-6.15/drivers/net/wireless/ath/ath10k/
H A 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()
245 IS_ERR_OR_NULL(ar_ahb->cpu_init_rst)) { in ath10k_ahb_release_reset()
313 if (IS_ERR_OR_NULL(ar_ahb->core_cold_rst) || in ath10k_ahb_halt_chip()
[all …]
/linux-6.15/drivers/clk/mediatek/
H A Dclk-mtk.c98 if (!IS_ERR_OR_NULL(clk_data->hws[rc->id])) { in mtk_clk_register_fixed_clks()
121 if (IS_ERR_OR_NULL(clk_data->hws[rc->id])) in mtk_clk_register_fixed_clks()
143 if (IS_ERR_OR_NULL(clk_data->hws[rc->id])) in mtk_clk_unregister_fixed_clks()
164 if (!IS_ERR_OR_NULL(clk_data->hws[ff->id])) { in mtk_clk_register_factors()
187 if (IS_ERR_OR_NULL(clk_data->hws[ff->id])) in mtk_clk_register_factors()
209 if (IS_ERR_OR_NULL(clk_data->hws[ff->id])) in mtk_clk_unregister_factors()
366 if (IS_ERR_OR_NULL(clk_data->hws[mcs->id])) in mtk_clk_register_composites()
388 if (IS_ERR_OR_NULL(clk_data->hws[mc->id])) in mtk_clk_unregister_composites()
436 if (IS_ERR_OR_NULL(clk_data->hws[mcd->id])) in mtk_clk_register_dividers()
458 if (IS_ERR_OR_NULL(clk_data->hws[mcd->id])) in mtk_clk_unregister_dividers()
[all …]
H A Dclk-cpumux.c123 if (!IS_ERR_OR_NULL(clk_data->hws[mux->id])) { in mtk_clk_register_cpumuxes()
145 if (IS_ERR_OR_NULL(clk_data->hws[mux->id])) in mtk_clk_register_cpumuxes()
164 if (IS_ERR_OR_NULL(clk_data->hws[mux->id])) in mtk_clk_unregister_cpumuxes()
/linux-6.15/drivers/base/power/
H A Dqos.c60 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags()
120 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_RESUME_LATENCY_NO_CONSTRAINT in dev_pm_qos_read_value()
124 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_MIN_FREQUENCY_DEFAULT_VALUE in dev_pm_qos_read_value()
128 ret = IS_ERR_OR_NULL(qos) ? PM_QOS_MAX_FREQUENCY_DEFAULT_VALUE in dev_pm_qos_read_value()
419 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_update_request()
486 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_remove_request()
595 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_remove_notifier()
721 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_latency_limit()
798 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_flags()
892 ret = IS_ERR_OR_NULL(dev->power.qos) in dev_pm_qos_get_user_latency_tolerance()
[all …]
/linux-6.15/drivers/usb/typec/
H A Dretimer.c52 if (!IS_ERR_OR_NULL(retimer)) in fwnode_typec_retimer_get()
67 if (!IS_ERR_OR_NULL(retimer)) { in typec_retimer_put()
76 if (IS_ERR_OR_NULL(retimer)) in typec_retimer_set()
147 if (!IS_ERR_OR_NULL(retimer)) in typec_retimer_unregister()
H A Dmux.c131 if (IS_ERR_OR_NULL(sw)) in typec_switch_put()
210 if (IS_ERR_OR_NULL(sw)) in typec_switch_set()
233 if (!IS_ERR_OR_NULL(sw_dev)) in typec_switch_unregister()
356 if (IS_ERR_OR_NULL(mux)) in typec_mux_put()
374 if (IS_ERR_OR_NULL(mux)) in typec_mux_set()
455 if (!IS_ERR_OR_NULL(mux_dev)) in typec_mux_unregister()
/linux-6.15/fs/bcachefs/
H A Dbkey_types.h132 EBUG_ON(!IS_ERR_OR_NULL(k) && k->k.type != KEY_TYPE_##name); \
139 EBUG_ON(!IS_ERR_OR_NULL(k) && k->k.type != KEY_TYPE_##name); \
145 EBUG_ON(!IS_ERR_OR_NULL(k.k) && k.k->type != KEY_TYPE_##name); \
154 EBUG_ON(!IS_ERR_OR_NULL(k.k) && k.k->type != KEY_TYPE_##name); \
180 EBUG_ON(!IS_ERR_OR_NULL(k) && k->k.type != KEY_TYPE_##name); \
190 EBUG_ON(!IS_ERR_OR_NULL(k) && k->k.type != KEY_TYPE_##name); \
/linux-6.15/drivers/media/platform/mediatek/mdp3/
H A Dmtk-img-ipi.h126 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_OFST(plat, cfg, ofst))
130 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_ADDR(plat, cfg, mem))
134 (IS_ERR_OR_NULL(cfg) ? 0 : _CFG_GET(plat, cfg, mem))
138 (IS_ERR_OR_NULL(comp) ? 0 : _CFG_COMP(plat, comp, mem))
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmcc.c207 if (IS_ERR_OR_NULL(regd)) in iwl_mld_update_changed_regdomain()
228 if (!IS_ERR_OR_NULL(regd)) in iwl_mld_apply_last_mcc()
234 if (IS_ERR_OR_NULL(regd)) in iwl_mld_apply_last_mcc()
261 if (IS_ERR_OR_NULL(regd)) in iwl_mld_init_mcc()
267 if (IS_ERR_OR_NULL(regd)) in iwl_mld_init_mcc()
323 if (IS_ERR_OR_NULL(regd)) in iwl_mld_handle_update_mcc()
/linux-6.15/drivers/usb/roles/
H A Dclass.c79 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_set_role()
110 if (IS_ERR_OR_NULL(sw) || !sw->registered) in usb_role_switch_get_role()
171 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_get()
193 if (!IS_ERR_OR_NULL(sw)) in fwnode_usb_role_switch_get()
208 if (!IS_ERR_OR_NULL(sw)) { in usb_role_switch_put()
419 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
/linux-6.15/drivers/base/
H A Dproperty.c62 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_present()
100 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_bool()
302 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_int_array()
457 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_string_array()
605 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_get_reference_args()
613 if (IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_get_reference_args()
819 if (IS_ERR_OR_NULL(fwnode)) in fwnode_get_next_available_child_node()
847 if (IS_ERR_OR_NULL(fwnode)) in device_get_next_child_node()
920 if (IS_ERR_OR_NULL(fwnode)) in fwnode_device_is_available()
1096 if (IS_ERR_OR_NULL(parent)) in fwnode_graph_get_next_endpoint()
/linux-6.15/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c229 if (IS_ERR_OR_NULL(flow)) { in create_roce_custom_flow()
282 if (IS_ERR_OR_NULL(sock)) in create_udp_flow()
302 if (IS_ERR_OR_NULL(flow)) { in create_udp_flow()
354 if (!IS_ERR_OR_NULL(qp_flow)) { in create_and_add_flow()
429 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_modify()
444 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_modify()
557 if (IS_ERR_OR_NULL(res_chunk_list[i])) { in alloc_res_chunk_list()
690 if (IS_ERR_OR_NULL(qp_grp->res_chunk_list)) in usnic_ib_qp_grp_create()
706 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_create()
/linux-6.15/drivers/soc/ti/
H A Dpruss.h62 if (IS_ERR_OR_NULL(pruss)) in pruss_cfg_read()
82 if (IS_ERR_OR_NULL(pruss)) in pruss_cfg_update()
/linux-6.15/net/bluetooth/
H A Daosp.c57 if (IS_ERR_OR_NULL(skb)) { in aosp_do_open()
158 if (IS_ERR_OR_NULL(skb)) { in enable_quality_report()
180 if (IS_ERR_OR_NULL(skb)) { in disable_quality_report()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Drsc_dump.c133 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_cmd_create()
168 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_next()
267 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_destroy()
277 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_init()
306 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_cleanup()
/linux-6.15/drivers/pci/endpoint/
H A Dpci-epf-core.c87 if (!IS_ERR_OR_NULL(epc)) { in pci_epf_bind()
104 if (!IS_ERR_OR_NULL(epc)) { in pci_epf_bind()
159 if (IS_ERR_OR_NULL(epf_pf) || IS_ERR_OR_NULL(epf_vf)) in pci_epf_add_vepf()
200 if (IS_ERR_OR_NULL(epf_pf) || IS_ERR_OR_NULL(epf_vf)) in pci_epf_remove_vepf()
H A Dpci-epc-core.c36 if (IS_ERR_OR_NULL(epc)) in pci_epc_put()
118 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_function_is_valid()
714 if (IS_ERR_OR_NULL(epc) || epf->is_vf) in pci_epc_add_epf()
771 if (IS_ERR_OR_NULL(epc) || !epf) in pci_epc_remove_epf()
802 if (IS_ERR_OR_NULL(epc)) in pci_epc_linkup()
828 if (IS_ERR_OR_NULL(epc)) in pci_epc_linkdown()
854 if (IS_ERR_OR_NULL(epc)) in pci_epc_init_notify()
900 if (IS_ERR_OR_NULL(epc)) in pci_epc_deinit_notify()
928 if (IS_ERR_OR_NULL(epc)) in pci_epc_bus_master_enable_notify()
/linux-6.15/include/linux/
H A Dfwnode.h188 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op)
192 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO))
218 if (IS_ERR_OR_NULL(fwnode)) in fwnode_dev_initialized()
/linux-6.15/drivers/hwtracing/coresight/
H A Dcoresight-replicator.c296 if (ret && !IS_ERR_OR_NULL(drvdata->atclk)) in replicator_probe()
298 if (ret && !IS_ERR_OR_NULL(drvdata->pclk)) in replicator_probe()
337 if (!IS_ERR_OR_NULL(drvdata->pclk)) in replicator_platform_remove()
349 if (drvdata && !IS_ERR_OR_NULL(drvdata->pclk)) in replicator_runtime_suspend()
361 if (drvdata && !IS_ERR_OR_NULL(drvdata->pclk)) in replicator_runtime_resume()
H A Dcoresight-funnel.c284 if (ret && !IS_ERR_OR_NULL(drvdata->atclk)) in funnel_probe()
286 if (ret && !IS_ERR_OR_NULL(drvdata->pclk)) in funnel_probe()
308 if (drvdata && !IS_ERR_OR_NULL(drvdata->pclk)) in funnel_runtime_suspend()
321 if (drvdata && !IS_ERR_OR_NULL(drvdata->pclk)) in funnel_runtime_resume()
357 if (!IS_ERR_OR_NULL(drvdata->pclk)) in funnel_platform_remove()
H A Dcoresight-ctcu-core.c237 if (!IS_ERR_OR_NULL(drvdata->apb_clk)) in ctcu_probe()
278 if (!IS_ERR_OR_NULL(drvdata->apb_clk)) in ctcu_platform_remove()
287 if (drvdata && !IS_ERR_OR_NULL(drvdata->apb_clk)) in ctcu_runtime_suspend()
297 if (drvdata && !IS_ERR_OR_NULL(drvdata->apb_clk)) in ctcu_runtime_resume()

12345678910>>...33