/linux/drivers/usb/gadget/legacy/ |
H A D | nokia.c | 192 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 …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 106 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 D | hv_vhca.c | 63 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 D | geneve.c | 67 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/drivers/clk/mediatek/ |
H A D | clk-mtk.c | 98 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 D | clk-cpumux.c | 123 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/fs/bcachefs/ |
H A D | bkey_types.h | 132 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/drivers/usb/typec/ |
H A D | retimer.c | 52 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 D | mux.c | 131 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 D | mtk-img-ipi.h | 126 (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/usb/roles/ |
H A D | class.c | 79 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() 418 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
|
/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_qp_grp.c | 229 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/net/bluetooth/ |
H A D | aosp.c | 57 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/diag/ |
H A D | rsc_dump.c | 133 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/drivers/soc/ti/ |
H A D | pruss.h | 62 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 D | pci-epf-core.c | 87 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()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-funnel.c | 284 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 D | coresight-replicator.c | 296 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()
|
/linux/include/linux/ |
H A D | fwnode.h | 180 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op) 184 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO)) 210 if (IS_ERR_OR_NULL(fwnode)) in fwnode_dev_initialized()
|
/linux/kernel/power/ |
H A D | qos.c | 478 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value() 483 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value() 544 if (IS_ERR_OR_NULL(qos) || !req || freq_qos_value_invalid(value)) in freq_qos_add_request() 631 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_add_notifier() 664 if (IS_ERR_OR_NULL(qos) || !notifier) in freq_qos_remove_notifier()
|
/linux/kernel/bpf/preload/ |
H A D | bpf_preload_kern.c | 17 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/sound/soc/codecs/ |
H A D | lpass-macro-common.c | 30 if (IS_ERR_OR_NULL(l_pds->macro_pd)) { in lpass_macro_pds_init() 40 if (IS_ERR_OR_NULL(l_pds->dcodec_pd)) { in lpass_macro_pds_init()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
H A D | helper.c | 89 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()
|
H A D | egress_lgcy.c | 12 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 D | fpga-region-test.c | 171 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()
|