| /src/sys/arch/evbarm/rpi/ |
| rpi_vcmbox.c | 155 struct vcmbox_temp_request vb; local 159 VCMBOX_INIT_REQUEST(vb); 160 VCMBOX_INIT_TAG(vb.vbt_temp, tag); 161 vb.vbt_temp.id = htole32(id); 162 error = bcmmbox_request(BCMMBOX_CHANARM2VC, &vb, sizeof(vb), &res); 165 if (!vcprop_buffer_success_p(&vb.vb_hdr) || 166 !vcprop_tag_success_p(&vb.vbt_temp.tag)) { 169 *val = le32toh(vb.vbt_temp.value); 178 struct vcmbox_clockrate_request vb; local 201 struct vcmbox_clockrate_request vb; local [all...] |
| vcprop_subr.c | 640 } vb; 644 VCPROP_INIT_REQUEST(vb); 645 VCPROP_INIT_TAG(vb.vbt_vchiq, tag); 646 vb.vbt_vchiq.base = *channelbasep; 648 error = bcmmbox_request(BCMMBOX_CHANARM2VC, &vb, sizeof(vb), &res); 652 if (!vcprop_buffer_success_p(&vb.vb_hdr) || 653 !vcprop_tag_success_p(&vb.vbt_vchiq.tag)) { 656 *channelbasep = vb.vbt_vchiq.base; 670 } vb; [all...] |
| /src/sys/arch/arm/broadcom/ |
| bcm2835_com_acpi.c | 150 struct vcmbox_clockrate_request vb; local 154 VCPROP_INIT_REQUEST(vb); 155 VCPROP_INIT_TAG(vb.vbt_clockrate, VCPROPTAG_GET_CLOCKRATE); 156 vb.vbt_clockrate.id = htole32(VCPROP_CLK_CORE); 157 error = bcmmbox_request(BCMMBOX_CHANARM2VC, &vb, sizeof(vb), &res); 162 if (!vcprop_buffer_success_p(&vb.vb_hdr) || 163 !vcprop_tag_success_p(&vb.vbt_clockrate.tag)) { 167 return le32toh(vb.vbt_clockrate.rate) * 2;
|
| bcm283x_platform.c | 395 } vb __cacheline_aligned = { 397 .vpb_len = htole32(sizeof(vb)), 403 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_fwrev)), 410 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_boardmodel)), 417 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_boardrev)), 424 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_macaddr)), 431 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_memory)), 438 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_serial)), 445 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_dmachan)), 452 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_cmdline)) [all...] |
| /src/sys/external/bsd/drm/dist/shared-core/ |
| r600_blit.c | 1719 u32 *vb; local 1721 vb = (u32 *) ((char *)dev->agp_buffer_map->handle + 1762 vb = (u32 *) ((char *)dev->agp_buffer_map->handle + 1766 vb[0] = i2f(dst_x); 1767 vb[1] = 0; 1768 vb[2] = i2f(src_x); 1769 vb[3] = 0; 1771 vb[4] = i2f(dst_x); 1772 vb[5] = i2f(h); 1773 vb[6] = i2f(src_x) 1921 u32 *vb; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/via/ |
| via_dma.c | 69 *((uint32_t *)(vb)) = ((nReg) >> 2) | HALCYON_HEADER1; \ 70 *((uint32_t *)(vb) + 1) = (nData); \ 71 vb = ((uint32_t *)vb) + 2; \ 78 *vb++ = (w1); \ 79 *vb++ = (w2); \ 275 uint32_t *vb; local 303 vb = via_check_dma(dev_priv, (cmd->size < 0x100) ? 0x102 : cmd->size); 304 if (vb == NULL) 307 memcpy(vb, dev_priv->pci_buf, cmd->size) 498 uint32_t *vb; local 583 uint32_t *vb; local 593 uint32_t *vb = via_get_dma(dev_priv); local [all...] |
| /src/sys/dev/pci/ |
| vga_pci.c | 340 struct vga_bar *vb; local 344 vb = &psc->sc_bars[bar]; 345 if (vb->vb_size == 0) 347 if (offset >= vb->vb_base && 348 offset < (vb->vb_base + vb->vb_size)) { 350 return (bus_space_mmap(vc->hdl.vh_memt, vb->vb_base, 351 (offset - vb->vb_base), prot, vb->vb_flags));
|
| /src/sys/dev/raidframe/ |
| rf_psstatus.c | 292 RF_CallbackValueDesc_t *vb; local 301 for (vb = p->blockWaitList; vb; vb = vb->next) 303 for (vb = p->bufWaitList; vb; vb = vb->next)
|
| /src/sys/arch/sun3/dev/ |
| if_ie_sebuf.c | 226 wmemset(void *vb, int val, size_t l) 228 uint8_t *b = vb; 233 return vb; 250 return vb;
|
| if_ie_vme.c | 230 wmemset(void *vb, int val, size_t l) 232 uint8_t *b = vb; 237 return vb; 254 return vb;
|
| /src/sys/external/bsd/drm2/include/linux/ |
| interval_tree.h | 52 interval_tree_compare_nodes(void *cookie, const void *va, const void *vb) 55 const struct interval_tree_node *nb = vb;
|
| /src/sys/dev/ |
| video.c | 1556 struct video_buffer *vb; local 1580 vb = vs->vs_buf[userbuf->index]; 1581 driverbuf = vb->vb_buf; 1588 video_stream_enqueue(vs, vb); 1606 struct video_buffer *vb; local 1628 vb = video_stream_dequeue(vs); 1629 if (vb == NULL) { 1635 while ((vb = video_stream_dequeue(vs)) == NULL) { 1649 memcpy(buf, vb->vb_buf, sizeof(*buf)); 1806 struct video_buffer *vb; local 2532 struct video_buffer *vb; local 2648 struct video_buffer *vb; local 2676 struct video_buffer *vb; local 2731 struct video_buffer *vb; local [all...] |
| /src/lib/libintl/ |
| gettext_iconv.c | 90 cache_cmp(const void *va, const void *vb) 93 const struct cache *b = vb;
|
| /src/sys/external/bsd/drm2/drm/ |
| drm_vma_manager.c | 42 drm_vma_node_compare(void *cookie __unused, const void *va, const void *vb) 45 const struct drm_vma_offset_node *const nb = vb; 75 drm_vma_file_compare(void *cookie __unused, const void *va, const void *vb) 78 const struct drm_vma_offset_file *const fb = vb;
|
| /src/sys/arch/macppc/dev/ |
| battery.c | 156 int len, vmax, pcharge, vb; local 194 vb = (buf[2] << 8) | buf[3]; 195 sc->sc_voltage = (vb * 265 + 72665) / 10; 199 vb += ((sc->sc_current - 200) * 15) / 100; 203 sc->sc_charge = (100 * vb) / vmax;
|
| pm_direct.c | 988 long pcharge=0, charge, vb, vmax, chargemax; local 1010 vb = (p.data[1] << 8) | p.data[2]; 1011 voltage = (vb * 256 + 72665) / 10; 1015 vb += ((amperage - 200) * 15)/100; 1017 vb = (vb * 97) / 100; 1020 charge = (100 * vb) / vmax;
|
| /src/tests/lib/libc/stdlib/ |
| h_sort.c | 64 cmp(const void *va, const void *vb, void *cookie) 68 const size_t *b = vb;
|
| /src/usr.bin/xlint/lint2/ |
| hash.c | 133 hte_by_name(const void *va, const void *vb) 136 const hte_t *b = *((const hte_t *const *)vb);
|
| /src/games/hack/ |
| hack.do_name.c | 274 xmonnam(struct monst *mtmp, int vb) 277 if (mtmp->mnamelth && !vb) { 305 if (vb && mtmp->mnamelth) {
|
| /src/sys/arch/sparc64/dev/ |
| tadpmu.c | 292 uint8_t events, gs, vb; local 300 vb = tadpmu_recv(); 307 events, gs, vb); 340 if (vb < TADPMU_BATT_DIS_CAP_CRIT) 342 else if (vb < TADPMU_BATT_DIS_CAP_WARN)
|
| /src/sys/arch/arm/arm32/ |
| kobj_machdep.c | 297 uintptr_t va = (uintptr_t)ma->addr, vb = (uintptr_t)mb->addr; local 299 if (va == vb) 301 if (va < vb)
|
| /src/sys/dev/wscons/ |
| wsbell.c | 411 struct vbell_args *vb = &sc->sc_bell_args; local 424 tone.frequency = vb->pitch; 429 tone.duration = vb->period / 10; 430 vol = vb->volume;
|
| /src/games/atc/ |
| log.c | 73 compar(const void *va, const void *vb) 78 b = (const SCORE *)vb;
|
| /src/sys/external/bsd/drm2/i2c/ |
| drm_encoder_slave.c | 53 compare_i2c_encoders(void *cookie __unused, const void *va, const void *vb) 56 const struct drm_i2c_encoder_driver *const db = vb;
|
| /src/sys/external/bsd/drm2/linux/ |
| linux_xa.c | 53 compare_nodes(void *cookie, const void *va, const void *vb) 55 const struct node *a = va, *b = vb;
|