Home
last modified time | relevance | path

Searched refs:BUG_ON (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_private.h28 do {if (!(loopvar--)) BUG_ON(NULL == "DBG_POLL_CHECK"); } while (0)
61 BUG_ON(width > (sizeof(t) * 8)); \
66 BUG_ON(width > (sizeof(t) * 8)); \
72 BUG_ON(width > (sizeof(t) * 8)); \
78 BUG_ON(width > (sizeof(t) * 8)); \
148 BUG_ON((unsigned long)ptr & 63); in dcbz()
H A Dqbman_portal.c120 BUG_ON(p->mc.check != swp_mc_can_start); in qbman_swp_mc_start()
135 BUG_ON(p->mc.check != swp_mc_can_submit); in qbman_swp_mc_submit()
142 BUG_ON((*v & cmd_verb) != *v); in qbman_swp_mc_submit()
155 BUG_ON(p->mc.check != swp_mc_can_poll); in qbman_swp_mc_result()
304 BUG_ON(!numframes || (numframes > 16)); in qbman_pull_desc_set_numframes()
552 BUG_ON(!num_buffers || (num_buffers > 7)); in qbman_swp_release()
583 BUG_ON(!num_buffers || (num_buffers > 7)); in qbman_swp_acquire()
602 BUG_ON(verb != QBMAN_MC_ACQUIRE); in qbman_swp_acquire()
610 BUG_ON(num > num_buffers); in qbman_swp_acquire()
H A Dqbman_sys.h157 BUG_ON(offset & 63); in qbman_cena_write_start()
271 BUG_ON(reg); in qbman_swp_sys_init()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c277 BUG_ON(prepare_ring(ctrl, ctrl->cmd_ring, EP_STATE_RUNNING)); in xhci_queue_command()
455 BUG_ON(GET_COMP_CODE( in xhci_wait_for_event()
495 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in abort_td()
496 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in abort_td()
497 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len in abort_td()
502 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
510 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
524 BUG_ON(udev->act_len != length); in record_transfer_result()
724 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_bulk_tx()
725 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in xhci_bulk_tx()
[all …]
H A Dxhci-mem.c36 BUG_ON((void *)addr == NULL || len == 0); in xhci_flush_cache()
51 BUG_ON((void *)addr == NULL || len == 0); in xhci_inval_cache()
83 BUG_ON(!ring); in xhci_ring_free()
195 BUG_ON(!ptr); in xhci_malloc()
278 BUG_ON(!seg); in xhci_segment_alloc()
308 BUG_ON(!ring); in xhci_ring_alloc()
314 BUG_ON(!ring->first_seg); in xhci_ring_alloc()
323 BUG_ON(!next); in xhci_ring_alloc()
381 BUG_ON(i == 16); in xhci_scratchpad_alloc()
422 BUG_ON(!ctx); in xhci_alloc_container_ctx()
[all …]
H A Dxhci.c463 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in xhci_configure_endpoints()
649 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) != slot_id); in xhci_address_device()
724 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->event_cmd.status)) in _xhci_alloc_device()
1420 BUG_ON(!virt_dev); in xhci_update_hub_device()
/openbmc/u-boot/drivers/net/
H A Dep93xx_eth.c378 BUG_ON(packet == NULL); in ep93xx_eth_send_packet()
565 BUG_ON(bus->name == NULL); in ep93xx_miiphy_read()
566 BUG_ON(addr > MII_ADDRESS_MAX); in ep93xx_miiphy_read()
567 BUG_ON(reg > MII_REGISTER_MAX); in ep93xx_miiphy_read()
618 BUG_ON(bus->name == NULL); in ep93xx_miiphy_write()
619 BUG_ON(addr > MII_ADDRESS_MAX); in ep93xx_miiphy_write()
620 BUG_ON(reg > MII_REGISTER_MAX); in ep93xx_miiphy_write()
/openbmc/u-boot/arch/arm/mach-tegra/
H A Divc.c91 BUG_ON(frame >= ivc->nframes); in tegra_ivc_frame_addr()
487 BUG_ON(offsetof(struct tegra_ivc_channel_header, w_count) & in check_ivc_params()
489 BUG_ON(offsetof(struct tegra_ivc_channel_header, r_count) & in check_ivc_params()
491 BUG_ON(sizeof(struct tegra_ivc_channel_header) & in check_ivc_params()
/openbmc/u-boot/include/linux/
H A Dbug.h14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) macro
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c489 BUG_ON(bd->options & NAND_BBT_NO_OOB); in create_bbt()
1034 BUG_ON((this->bbt_options & NAND_BBT_NO_OOB) && in verify_bbt_descr()
1036 BUG_ON(!bits); in verify_bbt_descr()
1042 BUG_ON(!(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()
1043 BUG_ON(!(this->bbt_options & NAND_BBT_NO_OOB)); in verify_bbt_descr()
1044 BUG_ON(bd->offs); in verify_bbt_descr()
1046 BUG_ON(bd->veroffs != bd->len); in verify_bbt_descr()
1047 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); in verify_bbt_descr()
1058 BUG_ON(table_size > (1 << this->bbt_erase_shift)); in verify_bbt_descr()
/openbmc/u-boot/drivers/core/
H A Ddevres.c83 BUG_ON(!list_empty(&dr->entry)); in devres_free()
93 BUG_ON(!list_empty(&dr->entry)); in devres_add()
/openbmc/u-boot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device.c139 BUG_ON(!is_power_of_2(*info->boot_device_count)); in UNIPHIER_DEFINE_SOCDATA_FUNC()
/openbmc/u-boot/drivers/ddr/fsl/
H A Dddr4_dimm_params.c300 BUG_ON(spd->caslat_b4 != 0); in ddr_compute_dimm_parameters()
/openbmc/u-boot/drivers/gpio/
H A Dadi_gpio2.c143 BUG_ON(ident >= MAX_RESOURCES); in peripheral_request()
/openbmc/u-boot/net/
H A Deth_legacy.c55 BUG_ON(devname == NULL); in eth_get_dev_by_name()
/openbmc/qemu/hw/9pfs/
H A D9p.h165 #define BUG_ON(cond) assert(!(cond)) macro
/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c459 BUG_ON(i >= concat->num_subdev); in concat_erase()
477 BUG_ON(err == -EINVAL); in concat_erase()
H A Dmtdcore.c433 BUG_ON(mtd->writesize == 0); in add_mtd_device()
865 BUG_ON(mtd->usecount < 0); in __put_mtd_device()
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs/
H A D0001-btree-Avoid-conflicts-with-libc-namespace-about-setk.patch37 BUG_ON(i < 0);
/openbmc/qemu/qobject/
H A Djson-parser.c41 #define BUG_ON(cond) assert(!(cond)) macro
/openbmc/u-boot/arch/mips/include/asm/
H A Dio.h69 BUG_ON(base); in set_io_port_base()
/openbmc/u-boot/doc/
H A DREADME.log242 Figure out what to do with BUG(), BUG_ON() and warn_non_spl()
/openbmc/u-boot/drivers/usb/gadget/
H A Dcomposite.c946 BUG_ON(cdev->config); in composite_unbind()
H A Dat91_udc.c411 BUG_ON(!list_empty(&req->queue)); in at91_ep_free_request()
/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c656 BUG_ON(count > 7); in ldpaa_dpbp_drain_cnt()

12