Home
last modified time | relevance | path

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

12345678910>>...25

/linux/drivers/usb/gadget/legacy/
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 …]
A Daudio.c335 if (!IS_ERR_OR_NULL(f_uac1)) in audio_unbind()
337 if (!IS_ERR_OR_NULL(fi_uac1)) in audio_unbind()
340 if (!IS_ERR_OR_NULL(f_uac2)) in audio_unbind()
342 if (!IS_ERR_OR_NULL(fi_uac2)) in audio_unbind()
/linux/drivers/usb/typec/
A Dmux.c70 if (!IS_ERR_OR_NULL(sw)) in fwnode_typec_switch_get()
85 if (!IS_ERR_OR_NULL(sw)) { in typec_switch_put()
151 if (IS_ERR_OR_NULL(sw)) in typec_switch_set()
166 if (!IS_ERR_OR_NULL(sw)) in typec_switch_unregister()
269 if (!IS_ERR_OR_NULL(mux)) in fwnode_typec_mux_get()
284 if (!IS_ERR_OR_NULL(mux)) { in typec_mux_put()
293 if (IS_ERR_OR_NULL(mux)) in typec_mux_set()
363 if (!IS_ERR_OR_NULL(mux)) in typec_mux_unregister()
/linux/drivers/pci/endpoint/
A Dpci-epc-core.c152 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_features()
225 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_raise_irq()
269 if (IS_ERR_OR_NULL(epc)) in pci_epc_map_msi_irq()
300 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msi()
336 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msi()
368 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msix()
404 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msix()
435 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_unmap_addr()
466 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_map_addr()
568 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_write_header()
[all …]
A Dpci-epf-core.c119 if (!IS_ERR_OR_NULL(epc)) { in pci_epf_bind()
136 if (!IS_ERR_OR_NULL(epc)) { in pci_epf_bind()
191 if (IS_ERR_OR_NULL(epf_pf) || IS_ERR_OR_NULL(epf_vf)) in pci_epf_add_vepf()
232 if (IS_ERR_OR_NULL(epf_pf) || IS_ERR_OR_NULL(epf_vf)) in pci_epf_remove_vepf()
/linux/drivers/base/power/
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()
418 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_update_request()
485 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_remove_request()
594 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_remove_notifier()
720 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_latency_limit()
797 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_flags()
891 ret = IS_ERR_OR_NULL(dev->power.qos) in dev_pm_qos_get_user_latency_tolerance()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
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/drivers/net/ethernet/mellanox/mlx5/core/lib/
A 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()
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()
A 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/drivers/usb/roles/
A Dclass.c46 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_set_role()
74 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_get_role()
132 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_get()
154 if (!IS_ERR_OR_NULL(sw)) in fwnode_usb_role_switch_get()
169 if (!IS_ERR_OR_NULL(sw)) { in usb_role_switch_put()
365 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
/linux/drivers/base/
A Dproperty.c51 if (ret == false && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_present()
52 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_present()
237 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_int_array()
238 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_int_array()
376 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_string_array()
377 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_string_array()
770 if (fwnode && !IS_ERR_OR_NULL(fwnode->secondary)) in device_get_next_child_node()
988 if (IS_ERR_OR_NULL(ep) && in fwnode_graph_get_next_endpoint()
989 !IS_ERR_OR_NULL(parent) && !IS_ERR_OR_NULL(parent->secondary)) in fwnode_graph_get_next_endpoint()
/linux/drivers/infiniband/hw/usnic/
A 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()
691 if (IS_ERR_OR_NULL(qp_grp->res_chunk_list)) in usnic_ib_qp_grp_create()
707 if (IS_ERR_OR_NULL(qp_flow)) { in usnic_ib_qp_grp_create()
/linux/drivers/clk/mediatek/
A Dclk-mtk.c66 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[rc->id])) in mtk_clk_register_fixed_clks()
93 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[ff->id])) in mtk_clk_register_factors()
133 if (!IS_ERR_OR_NULL(clk_data->clks[gate->id])) in mtk_clk_register_gates_with_dev()
261 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mc->id])) in mtk_clk_register_composites()
288 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mcd->id])) in mtk_clk_register_dividers()
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Drsc_dump.c115 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_cmd_create()
150 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_next()
248 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_destroy()
258 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_init()
287 if (IS_ERR_OR_NULL(dev->rsc_dump)) in mlx5_rsc_dump_cleanup()
/linux/drivers/power/supply/
A Dpda_power.c320 if (!IS_ERR_OR_NULL(transceiver)) { in pda_power_probe()
376 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) { in pda_power_probe()
412 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_probe()
433 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) in pda_power_remove()
451 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_remove()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A 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/kernel/power/
A Dqos.c468 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
473 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
534 if (IS_ERR_OR_NULL(qos) || !req) in freq_qos_add_request()
621 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_add_notifier()
654 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_remove_notifier()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
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()
159 if (IS_ERR_OR_NULL(vport->egress.acl)) in esw_acl_egress_lgcy_cleanup()
A Dhelper.c88 if (!IS_ERR_OR_NULL(vport->egress.allowed_vlan)) { in esw_acl_egress_vlan_destroy()
132 if (!IS_ERR_OR_NULL(vport->egress.vlan_grp)) { in esw_acl_egress_vlan_grp_destroy()
140 if (IS_ERR_OR_NULL(vport->egress.acl)) in esw_acl_egress_table_destroy()
A Dingress_lgcy.c100 if (!IS_ERR_OR_NULL(vport->ingress.legacy.allow_spoofchk_only_grp)) { in esw_acl_ingress_lgcy_groups_create()
105 if (!IS_ERR_OR_NULL(vport->ingress.legacy.allow_untagged_only_grp)) { in esw_acl_ingress_lgcy_groups_create()
110 if (!IS_ERR_OR_NULL(vport->ingress.legacy.allow_untagged_spoofchk_grp)) { in esw_acl_ingress_lgcy_groups_create()
268 if (IS_ERR_OR_NULL(vport->ingress.acl)) in esw_acl_ingress_lgcy_cleanup()
/linux/arch/arm/mach-omap1/
A Dclock.c615 if (IS_ERR_OR_NULL(clk)) in clk_enable()
630 if (IS_ERR_OR_NULL(clk)) in clk_disable()
653 if (IS_ERR_OR_NULL(clk)) in clk_get_rate()
673 if (IS_ERR_OR_NULL(clk)) in clk_round_rate()
689 if (IS_ERR_OR_NULL(clk)) in clk_set_rate()
794 if (IS_ERR_OR_NULL(clk)) in clk_register()
820 if (IS_ERR_OR_NULL(clk)) in clk_unregister()
/linux/drivers/thermal/ti-soc-thermal/
A Dti-thermal-common.c173 if (IS_ERR_OR_NULL(data)) in ti_thermal_expose_sensor()
201 if (!IS_ERR_OR_NULL(data) && data->ti_thermal) { in ti_thermal_remove_sensor()
267 if (!IS_ERR_OR_NULL(data)) { in ti_thermal_unregister_cpu_cooling()
/linux/drivers/i2c/
A Di2c-core-slave.c21 if (WARN(IS_ERR_OR_NULL(client) || !slave_cb, "insufficient data\n")) in i2c_slave_register()
61 if (IS_ERR_OR_NULL(client)) in i2c_slave_unregister()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_rm.c111 if (IS_ERR_OR_NULL(hw)) { in dpu_rm_init()
140 if (IS_ERR_OR_NULL(hw)) { in dpu_rm_init()
158 if (IS_ERR_OR_NULL(hw)) { in dpu_rm_init()
182 if (IS_ERR_OR_NULL(hw)) { in dpu_rm_init()
199 if (IS_ERR_OR_NULL(hw)) { in dpu_rm_init()
216 if (IS_ERR_OR_NULL(hw)) { in dpu_rm_init()

Completed in 51 milliseconds

12345678910>>...25