Home
last modified time | relevance | path

Searched refs:pvr (Results 1 – 11 of 11) sorted by relevance

/freebsd/usr.sbin/virtual_oss/virtual_oss/
H A Dring.c39 vring_alloc(struct virtual_ring *pvr, size_t size) in vring_alloc() argument
42 if (pvr->buf_start != NULL) in vring_alloc()
44 pvr->buf_start = malloc(size); in vring_alloc()
45 if (pvr->buf_start == NULL) in vring_alloc()
47 pvr->pos_read = 0; in vring_alloc()
48 pvr->total_size = size; in vring_alloc()
49 pvr->len_write = 0; in vring_alloc()
54 vring_free(struct virtual_ring *pvr) in vring_free() argument
57 if (pvr->buf_start != NULL) { in vring_free()
58 free(pvr->buf_start); in vring_free()
[all …]
H A Dmain.c227 vresample_free(vresample_t *pvr) in vresample_free() argument
229 if (pvr->state != NULL) in vresample_free()
230 src_delete(pvr->state); in vresample_free()
231 free(pvr->data_in); in vresample_free()
232 free(pvr->data_out); in vresample_free()
233 memset(pvr, 0, sizeof(*pvr)); in vresample_free()
237 vresample_setup(vclient_t *pvc, vresample_t *pvr, int samples) in vresample_setup() argument
241 if (pvr->state != NULL) in vresample_setup()
243 pvr->state = src_new(voss_libsamplerate_quality, pvc->channels, &code); in vresample_setup()
244 if (pvr->state == NULL) in vresample_setup()
[all …]
H A Dvirtual_oss.c86 vclient_read_linear(struct virtual_client *pvc, struct virtual_ring *pvr, in vclient_read_linear() argument
93 size_t read = vring_read_linear(pvr, (uint8_t *)dst, 8 * total) / 8; in vclient_read_linear()
118 vclient_write_linear(struct virtual_client *pvc, struct virtual_ring *pvr, in vclient_write_linear() argument
127 size_t written = vring_write_linear(pvr, (uint8_t *)src, total * 8) / 8; in vclient_write_linear()
/freebsd/sys/powerpc/powerpc/
H A Dcpu.c292 u_int pvr; in cpu_feature_setup() local
296 pvr = mfpvr(); in cpu_feature_setup()
297 vers = pvr >> 16; in cpu_feature_setup()
313 u_int maj, min, pvr; in cpu_setup() local
316 pvr = mfpvr(); in cpu_setup()
317 vers = pvr >> 16; in cpu_setup()
318 rev = pvr; in cpu_setup()
321 min = (pvr >> 0) & 0xff; in cpu_setup()
328 maj = (pvr >> 4) & 0xf; in cpu_setup()
329 min = (pvr >> 0) & 0xf; in cpu_setup()
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Dmpc85xx.c320 uint16_t pvr = mfpvr() >> 16; in mpc85xx_is_qoriq() local
323 if (pvr == FSL_E500mc || pvr == FSL_E5500 || pvr == FSL_E6500) in mpc85xx_is_qoriq()
H A Dplatform_mpc85xx.c131 u_int pvr = (mfpvr() >> 16) & 0xFFFF; in mpc85xx_probe() local
133 switch (pvr) { in mpc85xx_probe()
/freebsd/stand/powerpc/ofw/
H A Dcas.c113 struct pvr { struct
131 struct pvr pvr_list[13]; argument
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_cmd_if.m64 uint32_t *pvr, uint32_t *svr)
69 device_get_parent(dev), child, cmd, pvr, svr));
933 uint32_t *pvr;
H A Ddpaa2_rc.c661 uint32_t *pvr, uint32_t *svr) in dpaa2_rc_mng_get_soc_version() argument
666 if (portal == NULL || cmd == NULL || pvr == NULL || svr == NULL) in dpaa2_rc_mng_get_soc_version()
671 *pvr = cmd->params[0] >> 32; in dpaa2_rc_mng_get_soc_version()
/freebsd/sys/powerpc/aim/
H A Dmmu_oea64.c724 uint16_t pvr = mfpvr() >> 16; in moea64_probe_large_page() local
726 switch (pvr) { in moea64_probe_large_page()
/freebsd/contrib/file/magic/Magdir/
H A Dimages3260 0 name sega-pvr-image-header
3292 >>0 use sega-pvr-image-header
3300 >>>0x10 use sega-pvr-image-header