HomeSort by: relevance | last modified time | path
    Searched defs:vb (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/arch/arm/broadcom/
bcm2835_com_acpi.c 150 struct vcmbox_clockrate_request vb; local in function:bcmcom_acpi_get_clockrate
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;
  /src/sys/arch/evbarm/rpi/
vcprop_subr.c 640 } vb; local in function:rpi_vchiq_init
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; local in function:rpi_notify_xhci_reset
    [all...]
rpi_vcmbox.c 155 struct vcmbox_temp_request vb; local in function:vcmbox_read_temp
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 in function:vcmbox_read_clockrate
201 struct vcmbox_clockrate_request vb; local in function:vcmbox_write_clockrate
    [all...]
  /src/sys/dev/wscons/
wsbell.c 411 struct vbell_args *vb = &sc->sc_bell_args; local in function:bell_thread
424 tone.frequency = vb->pitch;
429 tone.duration = vb->period / 10;
430 vol = vb->volume;
  /src/sys/dev/raidframe/
rf_psstatus.c 292 RF_CallbackValueDesc_t *vb; local in function:RealPrintPSStatusTable
301 for (vb = p->blockWaitList; vb; vb = vb->next)
303 for (vb = p->bufWaitList; vb; vb = vb->next)
  /src/sys/arch/macppc/dev/
battery.c 156 int len, vmax, pcharge, vb; local in function:battery_update
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 in function:pm_battery_info_legacy
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/sys/dev/pci/
vga_pci.c 340 struct vga_bar *vb; local in function:vga_pci_mmap
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/arch/arm/arm32/
kobj_machdep.c 297 uintptr_t va = (uintptr_t)ma->addr, vb = (uintptr_t)mb->addr; local in function:be8_ksym_comp
299 if (va == vb)
301 if (va < vb)
  /src/sys/arch/sparc64/dev/
tadpmu.c 292 uint8_t events, gs, vb; local in function:tadpmu_events
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/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 in function:via_dispatch_cmdbuffer
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 in function:via_align_cmd
583 uint32_t *vb; local in function:via_pad_cache
593 uint32_t *vb = via_get_dma(dev_priv); local in function:via_dummy_bitblt
    [all...]
  /src/sys/external/bsd/drm/dist/shared-core/
r600_blit.c 1719 u32 *vb; local in function:r600_blit_copy
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 in function:r600_blit_swap
    [all...]
  /src/sys/dev/
video.c 1556 struct video_buffer *vb; local in function:video_queue_buf
1580 vb = vs->vs_buf[userbuf->index];
1581 driverbuf = vb->vb_buf;
1588 video_stream_enqueue(vs, vb);
1606 struct video_buffer *vb; local in function:video_dequeue_buf
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 in function:videoread
2532 struct video_buffer *vb; local in function:video_buffer_alloc
2648 struct video_buffer *vb; local in function:video_stream_dequeue
2676 struct video_buffer *vb; local in function:video_stream_write
2731 struct video_buffer *vb; local in function:video_stream_sample_done
    [all...]

Completed in 25 milliseconds