Home
last modified time | relevance | path

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

12345678910>>...34

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dmux.c66 if (!IS_ERR_OR_NULL(sw)) in fwnode_typec_switch_get()
81 if (!IS_ERR_OR_NULL(sw)) { in typec_switch_put()
150 if (IS_ERR_OR_NULL(sw)) in typec_switch_set()
165 if (!IS_ERR_OR_NULL(sw)) in typec_switch_unregister()
265 if (!IS_ERR_OR_NULL(mux)) in fwnode_typec_mux_get()
280 if (!IS_ERR_OR_NULL(mux)) { in typec_mux_put()
289 if (IS_ERR_OR_NULL(mux)) in typec_mux_set()
362 if (!IS_ERR_OR_NULL(mux)) in typec_mux_unregister()
/OK3568_Linux_fs/kernel/drivers/pci/endpoint/
H A Dpci-epc-core.c150 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_features()
219 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_raise_irq()
244 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msi()
276 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msi()
304 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msix()
336 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msix()
362 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_unmap_addr()
389 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_map_addr()
414 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_clear_bar()
442 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_bar()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Ddebug.c230 if (IS_ERR_OR_NULL(dfs_rootdir)) { in ubi_debugfs_init()
418 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
425 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
432 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
439 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
446 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
453 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
460 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
467 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
474 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H 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()
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()
117 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_del()
149 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_destroy()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_bpf2bpf.c81 if (CHECK(IS_ERR_OR_NULL(obj), "obj_open", in test_fexit_bpf2bpf_common()
119 if (!IS_ERR_OR_NULL(link[i])) in test_fexit_bpf2bpf_common()
121 if (!IS_ERR_OR_NULL(obj)) in test_fexit_bpf2bpf_common()
256 if (CHECK(IS_ERR_OR_NULL(freplace_obj), "freplace_obj_open", in test_fmod_ret_freplace()
272 if (CHECK(IS_ERR_OR_NULL(fmod_obj), "fmod_obj_open", in test_fmod_ret_freplace()
323 if (CHECK(IS_ERR_OR_NULL(obj), "obj_open", in test_obj_load_failure_common()
334 if (!IS_ERR_OR_NULL(obj)) in test_obj_load_failure_common()
H A Dkfree_skb.c147 if (!IS_ERR_OR_NULL(link)) in test_kfree_skb()
149 if (!IS_ERR_OR_NULL(link_fentry)) in test_kfree_skb()
151 if (!IS_ERR_OR_NULL(link_fexit)) in test_kfree_skb()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_tiler_heap_debugfs.c121 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) in kbase_csf_tiler_heap_debugfs_init()
127 if (IS_ERR_OR_NULL(file)) { in kbase_csf_tiler_heap_debugfs_init()
137 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) in kbase_csf_tiler_heap_total_debugfs_init()
143 if (IS_ERR_OR_NULL(file)) { in kbase_csf_tiler_heap_total_debugfs_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ebc-dev/pmic/
H A Dtps65185.c263 if (!IS_ERR_OR_NULL(sess->pwr_up_pin)) in papyrus_hw_send_powerup()
331 if (!IS_ERR_OR_NULL(sess->pwr_en_pin)) { in papyrus_hw_init()
340 if (!IS_ERR_OR_NULL(sess->pwr_up_pin)) in papyrus_hw_init()
408 if (!IS_ERR_OR_NULL(sess->pwr_up_pin)) in papyrus_hw_power_req()
413 if (!IS_ERR_OR_NULL(sess->pwr_up_pin)) in papyrus_hw_power_req()
489 if (!IS_ERR_OR_NULL(s->pwr_en_pin)) in papyrus_pm_sleep()
500 if (!IS_ERR_OR_NULL(s->pwr_en_pin)) { in papyrus_pm_resume()
542 if (IS_ERR_OR_NULL(sess->pwr_en_pin)) { in papyrus_probe()
547 if (IS_ERR_OR_NULL(sess->wake_up_pin)) { in papyrus_probe()
553 if (IS_ERR_OR_NULL(sess->vcom_ctl_pin)) { in papyrus_probe()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/roles/
H 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()
356 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_suite.c579 if (IS_ERR_OR_NULL(test_func->dir)) { in create_fixture_variant()
588 if (IS_ERR_OR_NULL(tmp)) { in create_fixture_variant()
599 if (IS_ERR_OR_NULL(tmp)) { in create_fixture_variant()
659 if (IS_ERR_OR_NULL(test_func->dir)) { in kutf_add_test_with_filters_and_data()
666 if (IS_ERR_OR_NULL(tmp)) { in kutf_add_test_with_filters_and_data()
679 if (IS_ERR_OR_NULL(tmp)) { in kutf_add_test_with_filters_and_data()
691 if (IS_ERR_OR_NULL(tmp)) { in kutf_add_test_with_filters_and_data()
798 if (IS_ERR_OR_NULL(suite->dir)) { in kutf_create_suite_with_filters_and_data()
805 if (IS_ERR_OR_NULL(tmp)) { in kutf_create_suite_with_filters_and_data()
906 if (IS_ERR_OR_NULL(app->dir)) { in kutf_create_application()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/
H 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()
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()
/OK3568_Linux_fs/kernel/drivers/base/arm/memory_group_manager/
H A Dmemory_group_manager.c159 if (IS_ERR_OR_NULL(mgm_data->mgm_debugfs_root)) { in mgm_initialize_debugfs()
172 if (IS_ERR_OR_NULL(g)) { in mgm_initialize_debugfs()
179 if (IS_ERR_OR_NULL(e)) { in mgm_initialize_debugfs()
186 if (IS_ERR_OR_NULL(e)) { in mgm_initialize_debugfs()
194 if (IS_ERR_OR_NULL(e)) { in mgm_initialize_debugfs()
202 if (IS_ERR_OR_NULL(e)) { in mgm_initialize_debugfs()
/OK3568_Linux_fs/kernel/drivers/clk/mediatek/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/spi/
H A Drk1608_dphy.c133 if (!IS_ERR_OR_NULL(pdata->link_sensor_client)) { in rk1608_get_link_sensor_timing()
137 if (IS_ERR_OR_NULL(link_sensor)) { in rk1608_get_link_sensor_timing()
271 if (!IS_ERR_OR_NULL(pdata->link_sensor_client)) { in rk1608_get_fmt()
273 if (IS_ERR_OR_NULL(link_sensor)) { in rk1608_get_fmt()
376 if (!IS_ERR_OR_NULL(pdata->link_sensor_client)) { in rk1608_g_frame_interval()
378 if (IS_ERR_OR_NULL(link_sensor)) { in rk1608_g_frame_interval()
461 if (!IS_ERR_OR_NULL(pdata->link_sensor_client)) { in rk1608_ioctl()
463 if (IS_ERR_OR_NULL(link_sensor)) { in rk1608_ioctl()
603 if (!IS_ERR_OR_NULL(pdata->link_sensor_client)) { in rk1608_get_selection()
605 if (IS_ERR_OR_NULL(link_sensor)) { in rk1608_get_selection()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H 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()
/OK3568_Linux_fs/kernel/drivers/base/
H A 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()
776 if (fwnode && !IS_ERR_OR_NULL(fwnode->secondary)) in device_get_next_child_node()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dqos.c471 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
476 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
537 if (IS_ERR_OR_NULL(qos) || !req) in freq_qos_add_request()
627 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_add_notifier()
660 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_remove_notifier()
/OK3568_Linux_fs/kernel/drivers/soc/qcom/
H A Dllcc-qcom.c177 if (!IS_ERR_OR_NULL(desc)) in llcc_slice_putd()
231 if (IS_ERR_OR_NULL(desc)) in llcc_slice_activate()
271 if (IS_ERR_OR_NULL(desc)) in llcc_slice_deactivate()
301 if (IS_ERR_OR_NULL(desc)) in llcc_get_slice_id()
314 if (IS_ERR_OR_NULL(desc)) in llcc_get_slice_size()

12345678910>>...34