| /openbmc/qemu/hw/arm/ |
| H A D | bcm2836.c | 27 BCM283XBaseClass *bc = BCM283X_BASE_GET_CLASS(obj); in bcm283x_base_init() local 30 for (n = 0; n < bc->core_count; n++) { in bcm283x_base_init() 32 bc->cpu_type); in bcm283x_base_init() 34 if (bc->core_count > 1) { in bcm283x_base_init() 36 qdev_prop_set_uint32(DEVICE(obj), "enabled-cpus", bc->core_count); in bcm283x_base_init() 39 if (bc->ctrl_base) { in bcm283x_base_init() 65 BCM283XBaseClass *bc = BCM283X_BASE_GET_CLASS(dev); in bcm283x_common_realize() local 80 sysbus_mmio_map_overlap(SYS_BUS_DEVICE(ps), 0, bc->peri_base, 1); in bcm283x_common_realize() 111 BCM283XBaseClass *bc = BCM283X_BASE_GET_CLASS(dev); in bcm2836_realize() local 124 sysbus_mmio_map(SYS_BUS_DEVICE(&s_base->control), 0, bc->ctrl_base); in bcm2836_realize() [all …]
|
| H A D | bcm2838_peripherals.c | 27 BCM2838PeripheralClass *bc = BCM2838_PERIPHERALS_GET_CLASS(obj); in bcm2838_peripherals_init() local 32 bc->peri_low_size); in bcm2838_peripherals_init() 202 BCM2838PeripheralClass *bc = BCM2838_PERIPHERALS_CLASS(oc); in bcm2838_peripherals_class_init() local 205 bc->peri_low_size = 0x2000000; in bcm2838_peripherals_class_init()
|
| /openbmc/qemu/ |
| H A D | event-loop-base.c | 55 EventLoopBaseClass *bc = EVENT_LOOP_BASE_GET_CLASS(obj); in event_loop_base_set_param() local 73 if (bc->update_params) { in event_loop_base_set_param() 74 bc->update_params(base, errp); in event_loop_base_set_param() 80 EventLoopBaseClass *bc = EVENT_LOOP_BASE_GET_CLASS(uc); in event_loop_base_complete() local 83 if (bc->init) { in event_loop_base_complete() 84 bc->init(base, errp); in event_loop_base_complete() 90 EventLoopBaseClass *bc = EVENT_LOOP_BASE_GET_CLASS(uc); in event_loop_base_can_be_deleted() local 93 if (bc->can_be_deleted) { in event_loop_base_can_be_deleted() 94 return bc->can_be_deleted(backend); in event_loop_base_can_be_deleted()
|
| /openbmc/qemu/audio/ |
| H A D | dsound_template.h | 176 DSCBCAPS bc; in dsound_init_in() local 182 DSBCAPS bc; in dsound_init_in() local 233 memset (&bc, 0, sizeof (bc)); in dsound_init_in() 234 bc.dwSize = sizeof (bc); in dsound_init_in() 236 hr = glue (IFACE, _GetCaps) (ds->FIELD, &bc); in dsound_init_in() 251 if (bc.dwBufferBytes % hw->info.bytes_per_frame) { in dsound_init_in() 254 bc.dwBufferBytes, hw->info.bytes_per_frame in dsound_init_in() 257 hw->size_emul = bc.dwBufferBytes; in dsound_init_in() 258 hw->samples = bc.dwBufferBytes / hw->info.bytes_per_frame; in dsound_init_in() 263 bc.dwBufferBytes, bd.dwBufferBytes); in dsound_init_in()
|
| /openbmc/qemu/hw/core/ |
| H A D | bus.c | 106 BusClass *bc; in qbus_init_internal() local 119 bc = BUS_GET_CLASS(bus); in qbus_init_internal() 120 bus_id = bc->automatic_ids++; in qbus_init_internal() 192 BusClass *bc = BUS_GET_CLASS(bus); in bus_set_realized() local 196 if (bc->realize) { in bus_set_realized() 197 bc->realize(bus, errp); in bus_set_realized() 208 if (bc->unrealize) { in bus_set_realized() 209 bc->unrealize(bus); in bus_set_realized() 237 BusClass *bc = BUS_CLASS(class); in bus_class_init() local 241 bc->get_fw_dev_path = default_bus_get_fw_dev_path; in bus_class_init()
|
| H A D | qdev-fw.c | 35 BusClass *bc = BUS_GET_CLASS(bus); in bus_get_fw_dev_path() local 37 if (bc->get_fw_dev_path) { in bus_get_fw_dev_path() 38 return bc->get_fw_dev_path(dev); in bus_get_fw_dev_path()
|
| /openbmc/openbmc/poky/meta/recipes-extended/bc/ |
| H A D | bc_1.08.1.bb | 2 HOMEPAGE = "http://www.gnu.org/software/bc/bc.html" 3 DESCRIPTION = "bc is an arbitrary precision numeric processing language. Syntax is similar to C, bu… 8 file://bc/bcdefs.h;endline=17;md5=4295c06df9e833519a342f7b5d43db06 \ 30 ALTERNATIVE:${PN} = "bc dc"
|
| /openbmc/qemu/backends/ |
| H A D | cryptodev.c | 129 CryptoDevBackendClass *bc = in cryptodev_backend_cleanup() local 132 if (bc->cleanup) { in cryptodev_backend_cleanup() 133 bc->cleanup(backend, errp); in cryptodev_backend_cleanup() 147 CryptoDevBackendClass *bc = in cryptodev_backend_create_session() local 150 if (bc->create_session) { in cryptodev_backend_create_session() 151 return bc->create_session(backend, sess_info, queue_index, cb, opaque); in cryptodev_backend_create_session() 163 CryptoDevBackendClass *bc = in cryptodev_backend_close_session() local 166 if (bc->close_session) { in cryptodev_backend_close_session() 167 return bc->close_session(backend, session_id, queue_index, cb, opaque); in cryptodev_backend_close_session() 176 CryptoDevBackendClass *bc = in cryptodev_backend_operation() local [all …]
|
| H A D | hostmem-ram.c | 42 HostMemoryBackendClass *bc = MEMORY_BACKEND_CLASS(oc); in ram_backend_class_init() local 44 bc->alloc = ram_backend_memory_alloc; in ram_backend_class_init()
|
| H A D | cryptodev-vhost-user.c | 398 CryptoDevBackendClass *bc = CRYPTODEV_BACKEND_CLASS(oc); in cryptodev_vhost_user_class_init() local 400 bc->init = cryptodev_vhost_user_init; in cryptodev_vhost_user_class_init() 401 bc->cleanup = cryptodev_vhost_user_cleanup; in cryptodev_vhost_user_class_init() 402 bc->create_session = cryptodev_vhost_user_create_session; in cryptodev_vhost_user_class_init() 403 bc->close_session = cryptodev_vhost_user_close_session; in cryptodev_vhost_user_class_init() 404 bc->do_op = NULL; in cryptodev_vhost_user_class_init()
|
| H A D | hostmem-epc.c | 55 HostMemoryBackendClass *bc = MEMORY_BACKEND_CLASS(oc); in sgx_epc_backend_class_init() local 57 bc->alloc = sgx_epc_backend_memory_alloc; in sgx_epc_backend_class_init()
|
| H A D | hostmem-shm.c | 75 HostMemoryBackendClass *bc = MEMORY_BACKEND_CLASS(oc); in shm_backend_class_init() local 77 bc->alloc = shm_backend_memory_alloc; in shm_backend_class_init()
|
| H A D | cryptodev-builtin.c | 613 CryptoDevBackendClass *bc = CRYPTODEV_BACKEND_CLASS(oc); in cryptodev_builtin_class_init() local 615 bc->init = cryptodev_builtin_init; in cryptodev_builtin_class_init() 616 bc->cleanup = cryptodev_builtin_cleanup; in cryptodev_builtin_class_init() 617 bc->create_session = cryptodev_builtin_create_session; in cryptodev_builtin_class_init() 618 bc->close_session = cryptodev_builtin_close_session; in cryptodev_builtin_class_init() 619 bc->do_op = cryptodev_builtin_operation; in cryptodev_builtin_class_init()
|
| H A D | cryptodev-lkcf.c | 624 CryptoDevBackendClass *bc = CRYPTODEV_BACKEND_CLASS(oc); in cryptodev_lkcf_class_init() local 626 bc->init = cryptodev_lkcf_init; in cryptodev_lkcf_class_init() 627 bc->cleanup = cryptodev_lkcf_cleanup; in cryptodev_lkcf_class_init() 628 bc->create_session = cryptodev_lkcf_create_session; in cryptodev_lkcf_class_init() 629 bc->close_session = cryptodev_lkcf_close_session; in cryptodev_lkcf_class_init() 630 bc->do_op = cryptodev_lkcf_operation; in cryptodev_lkcf_class_init()
|
| H A D | hostmem-memfd.c | 138 HostMemoryBackendClass *bc = MEMORY_BACKEND_CLASS(oc); in memfd_backend_class_init() local 140 bc->alloc = memfd_backend_memory_alloc; in memfd_backend_class_init()
|
| /openbmc/qemu/hw/nubus/ |
| H A D | nubus-bus.c | 167 BusClass *bc = BUS_CLASS(oc); in nubus_class_init() local 169 bc->realize = nubus_realize; in nubus_class_init() 170 bc->unrealize = nubus_unrealize; in nubus_class_init() 171 bc->check_address = nubus_check_address; in nubus_class_init() 172 bc->get_dev_path = nubus_get_dev_path; in nubus_class_init()
|
| /openbmc/openbmc/poky/scripts/contrib/ |
| H A D | test_build_time.sh | 115 timethreshold=`echo $timethreshold | sed s/m/*60/ | bc` 119 tolerance=`echo $tolerance | sed s/m/*60/ | bc` 122 tolerance=`echo "scale = 2; (($tolerance * $timethreshold) / 100)" | bc` 220 ret=`echo "scale = 2; $timeresult > $timethreshold - $tolerance" | bc`
|
| /openbmc/u-boot/drivers/bios_emulator/x86emu/ |
| H A D | prim_ops.c | 196 u32 bc; in calc_borrow_chain() local 198 bc = (res & (~d | s)) | (~d & s); in calc_borrow_chain() 199 CONDITIONAL_SET_FLAG(XOR2(bc >> (bits - 2)), F_OF); in calc_borrow_chain() 200 CONDITIONAL_SET_FLAG(bc & 0x8, F_AF); in calc_borrow_chain() 202 CONDITIONAL_SET_FLAG(bc & (1 << (bits - 1)), F_CF); in calc_borrow_chain() 1660 u32 bc; in sbb_byte() local 1669 bc = (res & (~d | s)) | (~d & s); in sbb_byte() 1670 CONDITIONAL_SET_FLAG(bc & 0x80, F_CF); in sbb_byte() 1671 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in sbb_byte() 1672 CONDITIONAL_SET_FLAG(bc & 0x8, F_AF); in sbb_byte() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | fsl_corenet2_serdes.c | 205 u32 pll_num, pll_status, bc, dc, fc, pll_cr_upd, pll_cr0, pll_cr1; in serdes_init() local 242 bc = (sfp_spfr0 >> BC1_SHIFT) & BC_MASK; in serdes_init() 248 bc = (sfp_spfr0 >> BC2_SHIFT) & BC_MASK; in serdes_init() 254 bc = (sfp_spfr0 >> BC1_SHIFT) & BC_MASK; in serdes_init() 267 pll_cr_upd = (((bc << CR1_BCAP_SHIFT) & BCAP_MASK) | in serdes_init() 297 if (bc_status != bc) in serdes_init()
|
| /openbmc/qemu/system/ |
| H A D | tpm.c | 55 const TPMBackendClass *bc = tpm_be_find_by_type(i); in tpm_display_backend_drivers() local 56 if (!bc) { in tpm_display_backend_drivers() 63 error_printf("%12s %s\n", TpmType_str(i), bc->desc); in tpm_display_backend_drivers()
|
| /openbmc/qemu/migration/ |
| H A D | postcopy-ram.c | 335 PostcopyBlocktimeContext *bc = mis->blocktime_ctx; in fill_destination_postcopy_migration_info() local 343 if (!bc) { in fill_destination_postcopy_migration_info() 352 (uint32_t)(bc->vcpu_blocktime_total[i] / SCALE_MS)); in fill_destination_postcopy_migration_info() 355 total = bc->vcpu_blocktime_total[i]; in fill_destination_postcopy_migration_info() 357 count = bc->vcpu_faults_count[i]; in fill_destination_postcopy_migration_info() 371 QAPI_LIST_PREPEND(latency_buckets, bc->latency_buckets[i]); in fill_destination_postcopy_migration_info() 374 latency_total += bc->non_vcpu_blocktime_total; in fill_destination_postcopy_migration_info() 375 faults += bc->non_vcpu_faults; in fill_destination_postcopy_migration_info() 378 info->postcopy_non_vcpu_latency = bc->non_vcpu_faults ? in fill_destination_postcopy_migration_info() 379 (bc->non_vcpu_blocktime_total / bc->non_vcpu_faults) : 0; in fill_destination_postcopy_migration_info() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-extended/bc/bc/ |
| H A D | run-ptest | 4 if bc -l $TEST </dev/null; then
|
| /openbmc/openbmc/poky/meta/recipes-bsp/u-boot/ |
| H A D | u-boot_2025.04.bb | 4 DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native"
|
| /openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/ |
| H A D | sromc.c | 31 srom->bc[srom_bank] = srom_bc_conf; in s5p_config_sromc()
|
| /openbmc/qemu/hw/i3c/ |
| H A D | core.c | 517 I3CBusClass *bc = I3C_BUS_GET_CLASS(bus); in i3c_target_send_ibi() local 519 return bc->ibi_handle(bus, addr, is_recv); in i3c_target_send_ibi() 525 I3CBusClass *bc = I3C_BUS_GET_CLASS(bus); in i3c_target_send_ibi_bytes() local 527 return bc->ibi_recv(bus, data); in i3c_target_send_ibi_bytes() 533 I3CBusClass *bc = I3C_BUS_GET_CLASS(bus); in i3c_target_ibi_finish() local 535 return bc->ibi_finish(bus); in i3c_target_ibi_finish()
|