Home
last modified time | relevance | path

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

12345678910>>...21

/linux/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()
748 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->resume_latency_req) in __dev_pm_qos_hide_latency_limit()
798 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_flags()
[all …]
/linux/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.c143 if (IS_ERR_OR_NULL(sw)) in typec_switch_put()
222 if (IS_ERR_OR_NULL(sw)) in typec_switch_set()
245 if (!IS_ERR_OR_NULL(sw_dev)) in typec_switch_unregister()
381 if (IS_ERR_OR_NULL(mux)) in typec_mux_put()
399 if (IS_ERR_OR_NULL(mux)) in typec_mux_set()
480 if (!IS_ERR_OR_NULL(mux_dev)) in typec_mux_unregister()
/linux/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()
343 if (!IS_ERR_OR_NULL(clk_data->hws[mc->id])) { in mtk_clk_register_composites()
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()
411 if (!IS_ERR_OR_NULL(clk_data->hws[mcd->id])) { in mtk_clk_register_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/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/drivers/net/wireless/ath/ath10k/
H A Dahb.c127 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()
313 if (IS_ERR_OR_NULL(ar_ahb->core_cold_rst) || in ath10k_ahb_halt_chip()
314 IS_ERR_OR_NULL(ar_ahb->radio_cold_rst) || in ath10k_ahb_halt_chip()
315 IS_ERR_OR_NULL(ar_ahb->radio_warm_rst) || in ath10k_ahb_halt_chip()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmcc.c188 if (IS_ERR_OR_NULL(regd)) in iwl_mld_update_changed_regdomain()
209 if (!IS_ERR_OR_NULL(regd)) in iwl_mld_apply_last_mcc()
215 if (IS_ERR_OR_NULL(regd)) in iwl_mld_apply_last_mcc()
242 if (IS_ERR_OR_NULL(regd)) in iwl_mld_init_mcc()
248 if (IS_ERR_OR_NULL(regd)) in iwl_mld_init_mcc()
304 if (IS_ERR_OR_NULL(regd)) in iwl_mld_handle_update_mcc()
/linux/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()
176 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_get()
198 if (!IS_ERR_OR_NULL(sw)) in fwnode_usb_role_switch_get()
213 if (!IS_ERR_OR_NULL(sw)) { in usb_role_switch_put()
424 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
/linux/drivers/base/
H A Dproperty.c68 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_present()
108 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_bool()
310 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_int_array()
465 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_string_array()
612 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_get_reference_args()
620 if (IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_get_reference_args()
822 if (IS_ERR_OR_NULL(parent)) in fwnode_get_next_child_node()
850 if (IS_ERR_OR_NULL(fwnode)) in fwnode_get_next_available_child_node()
939 if (IS_ERR_OR_NULL(fwnode)) in fwnode_device_is_available()
1143 if (IS_ERR_OR_NULL(parent)) in fwnode_graph_get_next_endpoint()
/linux/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/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/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/drivers/net/ethernet/mellanox/mlx5/core/lib/
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()
149 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_destroy()
/linux/drivers/pci/endpoint/
H A Dpci-epc-core.c36 if (IS_ERR_OR_NULL(epc)) in pci_epc_put()
119 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_function_is_valid()
797 if (IS_ERR_OR_NULL(epc) || epf->is_vf) in pci_epc_add_epf()
854 if (IS_ERR_OR_NULL(epc) || !epf) in pci_epc_remove_epf()
885 if (IS_ERR_OR_NULL(epc)) in pci_epc_linkup()
911 if (IS_ERR_OR_NULL(epc)) in pci_epc_linkdown()
937 if (IS_ERR_OR_NULL(epc)) in pci_epc_init_notify()
983 if (IS_ERR_OR_NULL(epc)) in pci_epc_deinit_notify()
1011 if (IS_ERR_OR_NULL(epc)) in pci_epc_bus_master_enable_notify()
/linux/sound/soc/codecs/
H A Dlpass-macro-common.c31 if (IS_ERR_OR_NULL(l_pds->macro_pd)) { in lpass_macro_pds_init()
41 if (IS_ERR_OR_NULL(l_pds->dcodec_pd)) { in lpass_macro_pds_init()
/linux/kernel/bpf/preload/
H A Dbpf_preload_kern.c17 if (!IS_ERR_OR_NULL(maps_link)) in free_links_and_skel()
19 if (!IS_ERR_OR_NULL(progs_link)) in free_links_and_skel()
/linux/fs/btrfs/tests/
H A Ddelayed-refs-tests.c202 if (IS_ERR_OR_NULL(head)) { in simple_test()
403 if (IS_ERR_OR_NULL(head)) { in merge_tests()
453 if (IS_ERR_OR_NULL(head)) { in merge_tests()
516 if (IS_ERR_OR_NULL(head)) { in merge_tests()
585 if (IS_ERR_OR_NULL(head)) { in merge_tests()
655 if (IS_ERR_OR_NULL(head)) { in merge_tests()
740 if (IS_ERR_OR_NULL(head)) { in merge_tests()
767 if (!IS_ERR_OR_NULL(head)) in merge_tests()
831 if (IS_ERR_OR_NULL(head)) { in select_delayed_refs_test()
918 if (IS_ERR_OR_NULL(head)) { in select_delayed_refs_test()
/linux/drivers/fpga/tests/
H A Dfpga-region-test.c171 KUNIT_ASSERT_FALSE(test, IS_ERR_OR_NULL(ctx->mgr)); in fpga_region_test_init()
178 KUNIT_ASSERT_FALSE(test, IS_ERR_OR_NULL(ctx->bridge)); in fpga_region_test_init()
193 KUNIT_ASSERT_FALSE(test, IS_ERR_OR_NULL(ctx->region)); in fpga_region_test_init()
/linux/include/linux/
H A Dfile.h97 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
166 if (unlikely(!IS_ERR_OR_NULL(fdf->__file))) in class_fd_prepare_destructor()
229 VFS_WARN_ON_ONCE(IS_ERR_OR_NULL(fdp->__file)); \
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c89 if (!IS_ERR_OR_NULL(vport->egress.allowed_vlan)) { in esw_acl_egress_vlan_destroy()
133 if (!IS_ERR_OR_NULL(vport->egress.vlan_grp)) { in esw_acl_egress_vlan_grp_destroy()
141 if (IS_ERR_OR_NULL(vport->egress.acl)) in esw_acl_egress_table_destroy()
/linux/drivers/usb/gadget/legacy/
H A Daudio.c368 if (!IS_ERR_OR_NULL(f_uac1)) in audio_unbind()
370 if (!IS_ERR_OR_NULL(fi_uac1)) in audio_unbind()
373 if (!IS_ERR_OR_NULL(f_uac2)) in audio_unbind()
375 if (!IS_ERR_OR_NULL(fi_uac2)) in audio_unbind()
H A 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/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c169 if (IS_ERR_OR_NULL(data)) in ti_thermal_expose_sensor()
198 if (!IS_ERR_OR_NULL(data) && data->ti_thermal) { in ti_thermal_remove_sensor()
264 if (!IS_ERR_OR_NULL(data)) { in ti_thermal_unregister_cpu_cooling()
/linux/drivers/phy/ti/
H A Dphy-omap-control.c29 if (IS_ERR_OR_NULL(dev)) { in omap_control_pcie_pcs()
64 if (IS_ERR_OR_NULL(dev)) { in omap_control_phy_power()
205 if (IS_ERR_OR_NULL(dev)) in omap_control_usb_set_mode()

12345678910>>...21