Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v4.19/drivers/usb/gadget/legacy/
Dnokia.c193 if (!IS_ERR_OR_NULL(f_phonet)) { in nokia_bind_config()
199 if (!IS_ERR_OR_NULL(f_obex1)) { in nokia_bind_config()
205 if (!IS_ERR_OR_NULL(f_obex2)) { in nokia_bind_config()
259 if (!IS_ERR_OR_NULL(f_obex2)) in nokia_bind_config()
261 if (!IS_ERR_OR_NULL(f_obex1)) in nokia_bind_config()
263 if (!IS_ERR_OR_NULL(f_phonet)) in nokia_bind_config()
362 if (!IS_ERR_OR_NULL(f_obex1_cfg1)) in nokia_bind()
364 if (!IS_ERR_OR_NULL(f_obex2_cfg1)) in nokia_bind()
366 if (!IS_ERR_OR_NULL(f_phonet_cfg1)) in nokia_bind()
392 if (!IS_ERR_OR_NULL(f_obex1_cfg2)) in nokia_unbind()
[all …]
Daudio.c333 if (!IS_ERR_OR_NULL(f_uac1)) in audio_unbind()
335 if (!IS_ERR_OR_NULL(fi_uac1)) in audio_unbind()
338 if (!IS_ERR_OR_NULL(f_uac2)) in audio_unbind()
340 if (!IS_ERR_OR_NULL(fi_uac2)) in audio_unbind()
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-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c210 if (IS_ERR_OR_NULL(nfp_dir)) in nfp_net_debugfs_vnic_add()
218 if (IS_ERR_OR_NULL(nn->debugfs_dir)) in nfp_net_debugfs_vnic_add()
223 if (IS_ERR_OR_NULL(queues)) in nfp_net_debugfs_vnic_add()
229 if (IS_ERR_OR_NULL(rx) || IS_ERR_OR_NULL(tx) || IS_ERR_OR_NULL(xdp)) in nfp_net_debugfs_vnic_add()
251 if (IS_ERR_OR_NULL(nfp_dir)) in nfp_net_debugfs_device_add()
255 if (IS_ERR_OR_NULL(dev_dir)) in nfp_net_debugfs_device_add()
/Linux-v4.19/drivers/pci/endpoint/
Dpci-epc-core.c145 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_raise_irq()
171 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msi()
204 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msi()
233 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msix()
263 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msix()
291 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_unmap_addr()
319 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_map_addr()
346 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_clear_bar()
375 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_bar()
412 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_write_header()
/Linux-v4.19/drivers/usb/typec/
Dmux.c53 if (!IS_ERR_OR_NULL(sw)) { in typec_switch_get()
71 if (!IS_ERR_OR_NULL(sw)) { in typec_switch_put()
144 if (!IS_ERR_OR_NULL(mux)) { in typec_mux_get()
162 if (!IS_ERR_OR_NULL(mux)) { in typec_mux_put()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dahb.c101 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk)) { in ath10k_ahb_clock_init()
108 if (IS_ERR_OR_NULL(ar_ahb->ref_clk)) { in ath10k_ahb_clock_init()
115 if (IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_init()
138 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk) || in ath10k_ahb_clock_enable()
139 IS_ERR_OR_NULL(ar_ahb->ref_clk) || in ath10k_ahb_clock_enable()
140 IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_enable()
253 if (IS_ERR_OR_NULL(ar_ahb->radio_cold_rst) || in ath10k_ahb_release_reset()
254 IS_ERR_OR_NULL(ar_ahb->radio_warm_rst) || in ath10k_ahb_release_reset()
255 IS_ERR_OR_NULL(ar_ahb->radio_srif_rst) || in ath10k_ahb_release_reset()
256 IS_ERR_OR_NULL(ar_ahb->cpu_init_rst)) { in ath10k_ahb_release_reset()
[all …]
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_debugfs.c122 if (IS_ERR_OR_NULL(flows_dentry)) { in usnic_debugfs_init()
149 if (IS_ERR_OR_NULL(flows_dentry)) in usnic_debugfs_flow_add()
159 if (IS_ERR_OR_NULL(qp_flow->dbgfs_dentry)) { in usnic_debugfs_flow_add()
168 if (!IS_ERR_OR_NULL(qp_flow->dbgfs_dentry)) in usnic_debugfs_flow_remove()
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()
/Linux-v4.19/drivers/mtd/ubi/
Ddebug.c239 if (IS_ERR_OR_NULL(dfs_rootdir)) { in ubi_debugfs_init()
545 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
552 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
559 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
566 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
573 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
580 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
587 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
594 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
601 if (IS_ERR_OR_NULL(dent)) in ubi_debugfs_init_dev()
[all …]
/Linux-v4.19/drivers/base/power/
Dqos.c64 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags()
369 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_update_request()
432 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_remove_request()
519 if (!IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_remove_notifier()
624 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_latency_limit()
651 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->resume_latency_req) in __dev_pm_qos_hide_latency_limit()
701 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_flags()
729 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->flags_req) in __dev_pm_qos_hide_flags()
767 if (IS_ERR_OR_NULL(dev->power.qos) || !dev->power.qos->flags_req) { in dev_pm_qos_update_flags()
795 ret = IS_ERR_OR_NULL(dev->power.qos) in dev_pm_qos_get_user_latency_tolerance()
[all …]
/Linux-v4.19/drivers/usb/common/
Droles.c45 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_set_role()
71 if (IS_ERR_OR_NULL(sw)) in usb_role_switch_get_role()
117 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_get()
132 if (!IS_ERR_OR_NULL(sw)) { in usb_role_switch_put()
293 if (!IS_ERR_OR_NULL(sw)) in usb_role_switch_unregister()
/Linux-v4.19/drivers/block/zram/
Dzcomp.c40 if (!IS_ERR_OR_NULL(zstrm->tfm)) in zcomp_strm_free()
62 if (IS_ERR_OR_NULL(zstrm->tfm) || !zstrm->buffer) { in zcomp_strm_alloc()
170 if (IS_ERR_OR_NULL(zstrm)) { in zcomp_cpu_up_prepare()
184 if (!IS_ERR_OR_NULL(zstrm)) in zcomp_cpu_dead()
/Linux-v4.19/drivers/media/usb/uvc/
Duvc_debugfs.c90 if (IS_ERR_OR_NULL(dent)) { in uvc_debugfs_init_stream()
100 if (IS_ERR_OR_NULL(dent)) { in uvc_debugfs_init_stream()
121 if (IS_ERR_OR_NULL(dir)) { in uvc_debugfs_init()
/Linux-v4.19/drivers/block/drbd/
Ddrbd_debugfs.c470 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_resource_add()
475 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_resource_add()
480 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_resource_add()
487 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_resource_add()
644 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_connection_add()
651 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_connection_add()
658 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_connection_add()
810 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_device_attr()
822 if (IS_ERR_OR_NULL(dentry)) in drbd_debugfs_device_attr()
830 if (IS_ERR_OR_NULL(dentry)) \ in drbd_debugfs_device_attr()
[all …]
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Ddebug.c26 if (IS_ERR_OR_NULL(bus->dbg_dir)) { in qtnf_debugfs_init()
44 if (IS_ERR_OR_NULL(entry)) in qtnf_debugfs_add_entry()
/Linux-v4.19/drivers/media/cec/
Dcec-core.c336 if (IS_ERR_OR_NULL(adap)) in cec_register_adapter()
376 if (IS_ERR_OR_NULL(adap->cec_dir)) { in cec_register_adapter()
382 if (IS_ERR_OR_NULL(adap->status_file)) { in cec_register_adapter()
393 if (IS_ERR_OR_NULL(adap->error_inj_file)) in cec_register_adapter()
403 if (IS_ERR_OR_NULL(adap)) in cec_unregister_adapter()
422 if (IS_ERR_OR_NULL(adap)) in cec_delete_adapter()
450 if (IS_ERR_OR_NULL(top_cec_dir)) { in cec_devnode_init()
/Linux-v4.19/drivers/clk/mediatek/
Dclk-mtk.c61 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[rc->id])) in mtk_clk_register_fixed_clks()
87 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[ff->id])) in mtk_clk_register_factors()
125 if (!IS_ERR_OR_NULL(clk_data->clks[gate->id])) in mtk_clk_register_gates()
244 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mc->id])) in mtk_clk_register_composites()
270 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mcd->id])) in mtk_clk_register_dividers()
/Linux-v4.19/drivers/gpio/
Dgpio-mockup.c201 if (IS_ERR_OR_NULL(chip->dbg_dir)) in gpio_mockup_debugfs_setup()
205 if (IS_ERR_OR_NULL(link)) in gpio_mockup_debugfs_setup()
223 if (IS_ERR_OR_NULL(evfile)) in gpio_mockup_debugfs_setup()
312 if (!IS_ERR_OR_NULL(gpio_mockup_dbg_dir)) in gpio_mockup_probe()
364 if (IS_ERR_OR_NULL(gpio_mockup_dbg_dir)) in gpio_mockup_init()
/Linux-v4.19/drivers/gpu/drm/xen/
Dxen_drm_front_gem.c88 if (IS_ERR_OR_NULL(xen_obj)) in gem_create()
122 if (IS_ERR_OR_NULL(xen_obj->pages)) { in gem_create()
141 if (IS_ERR_OR_NULL(xen_obj)) in xen_drm_front_gem_create()
199 if (IS_ERR_OR_NULL(xen_obj)) in xen_drm_front_gem_import_sg_table()
/Linux-v4.19/drivers/clk/sprd/
Dcommon.c48 if (IS_ERR_OR_NULL(regmap)) { in sprd_clk_regmap_init()
56 if (IS_ERR_OR_NULL(regmap)) { in sprd_clk_regmap_init()
/Linux-v4.19/drivers/rtc/
Dnvmem.c88 if (!IS_ERR_OR_NULL(rtc->nvmem)) in rtc_nvmem_register()
110 if (IS_ERR_OR_NULL(rtc->nvmem)) in rtc_nvmem_unregister()
/Linux-v4.19/security/loadpin/
Dloadpin.c118 if (!IS_ERR_OR_NULL(pinned_root) && mnt_sb == pinned_root) { in loadpin_sb_free_security()
163 if (IS_ERR_OR_NULL(pinned_root) || load_root != pinned_root) { in loadpin_read_file()
/Linux-v4.19/arch/arm/mach-imx/devices/
Dplatform-ipu-core.c75 if (IS_ERR_OR_NULL(imx_ipu_coredev)) in imx_alloc_mx3_camera()
122 if (IS_ERR_OR_NULL(imx_ipu_coredev)) in imx_add_mx3_sdc_fb()
/Linux-v4.19/drivers/power/supply/
Dpda_power.c323 if (!IS_ERR_OR_NULL(transceiver)) { in pda_power_probe()
379 if (!IS_ERR_OR_NULL(transceiver) && pdata->use_otg_notifier) { in pda_power_probe()
415 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_probe()
450 if (!IS_ERR_OR_NULL(transceiver)) in pda_power_remove()

12345678910>>...18