Home
last modified time | relevance | path

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

12345678910>>...34

/linux/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()
365 if (!IS_ERR_OR_NULL(f_phonet_cfg1)) in nokia_bind()
391 if (!IS_ERR_OR_NULL(f_obex1_cfg2)) in nokia_unbind()
[all …]
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()
/linux/arch/arm/mach-omap2/
H A Dvoltage.c54 if (IS_ERR_OR_NULL(voltdm)) { in voltdm_get_voltage()
76 if (IS_ERR_OR_NULL(voltdm)) { in voltdm_scale()
127 if (IS_ERR_OR_NULL(voltdm)) { in voltdm_reset()
157 if (IS_ERR_OR_NULL(voltdm)) { in omap_voltage_get_volttable()
185 if (IS_ERR_OR_NULL(voltdm)) { in omap_voltage_get_voltdata()
219 if (IS_ERR_OR_NULL(voltdm)) { in omap_voltage_register_pmic()
/linux/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()
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/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/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/net/wireless/intel/iwlwifi/mld/
H A Dmcc.c163 if (IS_ERR_OR_NULL(regd)) in iwl_mld_update_changed_regdomain()
184 if (!IS_ERR_OR_NULL(regd)) in iwl_mld_apply_last_mcc()
190 if (IS_ERR_OR_NULL(regd)) in iwl_mld_apply_last_mcc()
217 if (IS_ERR_OR_NULL(regd)) in iwl_mld_init_mcc()
223 if (IS_ERR_OR_NULL(regd)) in iwl_mld_init_mcc()
279 if (IS_ERR_OR_NULL(regd)) in iwl_mld_handle_update_mcc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
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()
149 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_destroy()
/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.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/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/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()
802 if (IS_ERR_OR_NULL(fwnode)) in fwnode_get_next_child_node()
830 if (IS_ERR_OR_NULL(fwnode)) in fwnode_get_next_available_child_node()
919 if (IS_ERR_OR_NULL(fwnode)) in fwnode_device_is_available()
1122 if (IS_ERR_OR_NULL(parent)) in fwnode_graph_get_next_endpoint()
/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/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/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/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/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/drivers/pci/endpoint/
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()
716 if (IS_ERR_OR_NULL(epc) || epf->is_vf) in pci_epc_add_epf()
773 if (IS_ERR_OR_NULL(epc) || !epf) in pci_epc_remove_epf()
804 if (IS_ERR_OR_NULL(epc)) in pci_epc_linkup()
830 if (IS_ERR_OR_NULL(epc)) in pci_epc_linkdown()
856 if (IS_ERR_OR_NULL(epc)) in pci_epc_init_notify()
902 if (IS_ERR_OR_NULL(epc)) in pci_epc_deinit_notify()
930 if (IS_ERR_OR_NULL(epc)) in pci_epc_bus_master_enable_notify()
/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/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/drivers/staging/media/ipu7/
H A Dipu7.c2114 if (IS_ERR_OR_NULL(fwnode)) in ipu7_isys_check_fwnode_graph()
2140 if (fwnode && !IS_ERR_OR_NULL(fwnode->secondary)) { in ipu7_isys_init()
2614 if (!IS_ERR_OR_NULL(isp->isys) && isp->isys->fw_sgt.nents) in ipu7_pci_probe()
2616 if (!IS_ERR_OR_NULL(isp->psys) && isp->psys->fw_sgt.nents) in ipu7_pci_probe()
2618 if (!IS_ERR_OR_NULL(isp->psys) && !IS_ERR_OR_NULL(isp->psys->mmu)) in ipu7_pci_probe()
2620 if (!IS_ERR_OR_NULL(isp->isys) && !IS_ERR_OR_NULL(isp->isys->mmu)) in ipu7_pci_probe()
2622 if (!IS_ERR_OR_NULL(isp->psys)) in ipu7_pci_probe()
2638 if (!IS_ERR_OR_NULL(isp->isys) && isp->isys->fw_sgt.nents) in ipu7_pci_remove()
2640 if (!IS_ERR_OR_NULL(isp->psys) && isp->psys->fw_sgt.nents) in ipu7_pci_remove()
2643 if (!IS_ERR_OR_NULL(isp->fw_code_region)) in ipu7_pci_remove()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_lgcy.c12 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_rule)) { in esw_acl_egress_lgcy_rules_destroy()
60 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_grp)) { in esw_acl_egress_lgcy_groups_destroy()
164 if (IS_ERR_OR_NULL(vport->egress.acl)) in esw_acl_egress_lgcy_cleanup()
/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()

12345678910>>...34