Home
last modified time | relevance | path

Searched refs:sc_size (Results 1 – 25 of 120) sorted by relevance

12345

/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/i2c/
H A Dat24cxx.c79 int sc_size; member
182 sc->sc_size = (device_cfdata(self)->cf_flags << 7); in seeprom_attach()
184 sc->sc_size = ia->ia_size; in seeprom_attach()
186 if (sc->sc_size <= 0 && ia->ia_ncompat > 0) { in seeprom_attach()
189 sc->sc_size = seeprom_sizes[n].size; in seeprom_attach()
195 switch (sc->sc_size) { in seeprom_attach()
202 aprint_normal(": size %d\n", sc->sc_size); in seeprom_attach()
211 aprint_normal(": size %d\n", sc->sc_size); in seeprom_attach()
228 sc->sc_size = 2048; in seeprom_attach()
278 if (uio->uio_offset >= sc->sc_size) in seeprom_read()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/
H A Dohci_pci.c116 &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) { in ohci_pci_attach()
117 sc->sc.sc_size = 0; in ohci_pci_attach()
181 if (sc->sc.sc_size) { in ohci_pci_attach()
182 bus_space_unmap(sc->sc.iot, sc->sc.ioh, sc->sc.sc_size); in ohci_pci_attach()
183 sc->sc.sc_size = 0; in ohci_pci_attach()
202 if (sc->sc.sc_size) { in ohci_pci_detach()
212 if (sc->sc.sc_size) { in ohci_pci_detach()
213 bus_space_unmap(sc->sc.iot, sc->sc.ioh, sc->sc.sc_size); in ohci_pci_detach()
214 sc->sc.sc_size = 0; in ohci_pci_detach()
H A Dehci_pci.c138 &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) { in ehci_pci_attach()
139 sc->sc.sc_size = 0; in ehci_pci_attach()
260 if (sc->sc.sc_size) { in ehci_pci_attach()
262 bus_space_unmap(sc->sc.iot, sc->sc.ioh, sc->sc.sc_size); in ehci_pci_attach()
263 sc->sc.sc_size = 0; in ehci_pci_attach()
290 if (sc->sc.sc_size) { in ehci_pci_detach()
292 bus_space_unmap(sc->sc.iot, sc->sc.ioh, sc->sc.sc_size); in ehci_pci_detach()
293 sc->sc.sc_size = 0; in ehci_pci_detach()
H A Dmfi_pci.c184 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_size); in mfi_pci_detach()
222 &sc->sc_iot, &sc->sc_ioh, NULL, &sc->sc_size)) { in mfi_pci_attach()
238 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_size); in mfi_pci_attach()
254 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_size); in mfi_pci_attach()
283 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_size); in mfi_pci_attach()
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw/
H A Dd_surf.c43 static int sc_size; variable
81 s = (byte *) sc_base + sc_size; in D_CheckCacheGuard()
93 s = (byte *) sc_base + sc_size; in D_ClearCacheGuard()
103 sc_size = size - GUARDSIZE; in D_InitCaches()
109 sc_base->size = sc_size; in D_InitCaches()
132 sc_base->size = sc_size; in D_FlushCaches()
154 if (size > sc_size) in D_SCAlloc()
160 if (!sc_rover || (byte *) sc_rover - (byte *) sc_base > sc_size - size) { in D_SCAlloc()
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw32/
H A Dd_surf.c46 static int sc_size; variable
88 s = (byte *) sc_base + sc_size; in D_CheckCacheGuard()
101 s = (byte *) sc_base + sc_size; in D_ClearCacheGuard()
112 sc_size = size - GUARDSIZE; in sw32_D_InitCaches()
118 sc_base->size = sc_size; in sw32_D_InitCaches()
142 sc_base->size = sc_size; in sw32_D_FlushCaches()
165 if (size > sc_size) in D_SCAlloc()
171 if (!sw32_sc_rover || (byte *) sw32_sc_rover - (byte *) sc_base > sc_size - size) { in D_SCAlloc()
/dports/games/tenebrae/tenebrae_0/
H A Dd_surf.c29 int sc_size; variable
60 s = (byte *)sc_base + sc_size; in D_CheckCacheGuard()
71 s = (byte *)sc_base + sc_size; in D_ClearCacheGuard()
89 sc_size = size - GUARDSIZE; in D_InitCaches()
95 sc_base->size = sc_size; in D_InitCaches()
122 sc_base->size = sc_size; in D_FlushCaches()
143 if (size > sc_size) in D_SCAlloc()
149 if ( !sc_rover || (byte *)sc_rover - (byte *)sc_base > sc_size - size) in D_SCAlloc()
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/
H A Dd_surf.c35 int sc_size; variable
64 s = (byte *)sc_base + sc_size; in D_CheckCacheGuard()
75 s = (byte *)sc_base + sc_size; in D_ClearCacheGuard()
93 sc_size = size - GUARDSIZE; in D_InitCaches()
99 sc_base->size = sc_size; in D_InitCaches()
127 sc_base->size = sc_size; in D_FlushCaches()
149 if (size > sc_size) in D_SCAlloc()
155 if (!sc_rover || (byte *)sc_rover - (byte *)sc_base > sc_size - size) { in D_SCAlloc()
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/
H A Dd_surf.c29 static int sc_size; variable
60 s = (byte *)sc_base + sc_size; in D_CheckCacheGuard()
73 s = (byte *)sc_base + sc_size; in D_ClearCacheGuard()
90 sc_size = size - GUARDSIZE; in D_InitCaches()
96 sc_base->size = sc_size; in D_InitCaches()
123 sc_base->size = sc_size; in D_FlushCaches()
148 if (size > sc_size) in D_SCAlloc()
154 if ( !sc_rover || (byte *)sc_rover - (byte *)sc_base > sc_size - size) in D_SCAlloc()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/spirv-cross-internal/src/
H A Dwrapper.cpp286 *size = sc_size; in sc_internal_compiler_get_entry_points()
287 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_entry_points()
310 *size = sc_size; in sc_internal_compiler_get_active_buffer_ranges()
311 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_active_buffer_ranges()
335 auto const sc_size = sc_resources.size(); in fill_resource_array() local
337 if (sc_size == 0) in fill_resource_array()
344 resources->num = sc_size; in fill_resource_array()
346 for (uint32_t i = 0; i < sc_size; i++) in fill_resource_array()
381 auto const sc_size = sc_constants.size(); in sc_internal_compiler_get_specialization_constants()
385 *size = sc_size; in sc_internal_compiler_get_specialization_constants()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/spirv-cross-internal/src/
H A Dwrapper.cpp286 *size = sc_size; in sc_internal_compiler_get_entry_points()
287 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_entry_points()
310 *size = sc_size; in sc_internal_compiler_get_active_buffer_ranges()
311 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_active_buffer_ranges()
335 auto const sc_size = sc_resources.size(); in fill_resource_array() local
337 if (sc_size == 0) in fill_resource_array()
344 resources->num = sc_size; in fill_resource_array()
346 for (uint32_t i = 0; i < sc_size; i++) in fill_resource_array()
381 auto const sc_size = sc_constants.size(); in sc_internal_compiler_get_specialization_constants()
385 *size = sc_size; in sc_internal_compiler_get_specialization_constants()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/spirv-cross-internal/src/
H A Dwrapper.cpp255 *size = sc_size; in sc_internal_compiler_get_entry_points()
256 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_entry_points()
279 *size = sc_size; in sc_internal_compiler_get_active_buffer_ranges()
280 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_active_buffer_ranges()
304 auto const sc_size = sc_resources.size(); in fill_resource_array() local
306 if (sc_size == 0) in fill_resource_array()
313 resources->num = sc_size; in fill_resource_array()
315 for (uint32_t i = 0; i < sc_size; i++) in fill_resource_array()
350 auto const sc_size = sc_constants.size(); in sc_internal_compiler_get_specialization_constants()
354 *size = sc_size; in sc_internal_compiler_get_specialization_constants()
[all …]
/dports/graphics/rx/rx-0.4.0/cargo-crates/spirv_cross-0.16.0/src/
H A Dwrapper.cpp249 auto const sc_size = sc_entry_point_names_and_stages.size(); in sc_internal_compiler_get_entry_points()
251 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_entry_points()
258 *size = sc_size; in sc_internal_compiler_get_entry_points()
259 for (uint32_t i = 0; i < sc_size; i++) in sc_internal_compiler_get_entry_points()
284 auto const sc_size = sc_resources.size(); in fill_resource_array() local
286 if (sc_size == 0) in fill_resource_array()
293 resources->num = sc_size; in fill_resource_array()
295 for (uint32_t i = 0; i < sc_size; i++) in fill_resource_array()
330 auto const sc_size = sc_constants.size(); in sc_internal_compiler_get_specialization_constants()
334 *size = sc_size; in sc_internal_compiler_get_specialization_constants()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/altmem/
H A Daltmem.c48 size_t sc_size; member
111 sc->sc_size = sc->sc_memops->getsize(sc->sc_cookie); in altmem_attach()
113 format_bytes(pbuf, sizeof(pbuf), sc->sc_size); in altmem_attach()
128 return sc->sc_size >> DEV_BSHIFT; in altmemsize()
195 dkw->dkw_size = sc->sc_size >> DEV_BSHIFT; in altmemioctl()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/
H A Dmd.c94 #define sc_size sc_md.md_size macro
249 res = sc->sc_size >> DEV_BSHIFT; in mdsize()
442 if (off >= sc->sc_size) { in mdstrategy()
448 if (xfer > (sc->sc_size - off)) in mdstrategy()
449 xfer = (sc->sc_size - off); in mdstrategy()
613 sc->sc_size = (size_t)size; in md_ioctl_kalloc()
643 sc->sc_size = umd->md_size; in md_ioctl_server()
653 sc->sc_size = 0; in md_ioctl_server()
684 if (off >= sc->sc_size) { in md_server_loop()
691 if (xfer > (sc->sc_size - off)) in md_server_loop()
[all …]
/dports/games/q2pro/q2pro/ref_soft/
H A Dsw_surf.c57 int sc_size; variable
216 sc_size = size; in R_InitCaches()
222 sc_base->size = sc_size; in R_InitCaches()
248 sc_base->size = sc_size; in D_FlushCaches()
269 if (size > sc_size) in D_SCAlloc()
270 Com_Error (ERR_FATAL,"D_SCAlloc: %i > cache size of %i",size, sc_size); in D_SCAlloc()
275 if ( !sc_rover || (byte *)sc_rover - (byte *)sc_base > sc_size - size) in D_SCAlloc()
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filters/
H A Ddec_opensvc.c306 u32 i, count, idx, nalu_size, sc_size, nb_eos=0; in osvcdec_process() local
425 sc_size = 0; in osvcdec_process()
430 if (sc_size) { in osvcdec_process()
431 ptr += size+sc_size; in osvcdec_process()
432 assert(data_size >= size+sc_size); in osvcdec_process()
433 data_size -= size+sc_size; in osvcdec_process()
453 nalu_size = gf_media_nalu_next_start_code(ptr, data_size, &sc_size); in osvcdec_process()
456 sc_size=0; in osvcdec_process()
497 if (!sc_size || (data_size < nalu_size + sc_size)) break; in osvcdec_process()
498 data_size -= nalu_size + sc_size; in osvcdec_process()
[all …]
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filters/
H A Ddec_opensvc.c306 u32 i, count, idx, nalu_size, sc_size, nb_eos=0; in osvcdec_process() local
425 sc_size = 0; in osvcdec_process()
430 if (sc_size) { in osvcdec_process()
431 ptr += size+sc_size; in osvcdec_process()
432 assert(data_size >= size+sc_size); in osvcdec_process()
433 data_size -= size+sc_size; in osvcdec_process()
453 nalu_size = gf_media_nalu_next_start_code(ptr, data_size, &sc_size); in osvcdec_process()
456 sc_size=0; in osvcdec_process()
497 if (!sc_size || (data_size < nalu_size + sc_size)) break; in osvcdec_process()
498 data_size -= nalu_size + sc_size; in osvcdec_process()
[all …]
/dports/science/quantum-espresso/q-e-qe-6.7.0/PW/src/
H A Dintersite_V.f9021 USE parameters, ONLY : sc_size
67 …F (.NOT.ALLOCATED(sc_at)) ALLOCATE (sc_at(1:nat,-sc_size:sc_size,-sc_size:sc_size,-sc_size:sc_s…
88 DO nx = -sc_size, sc_size
89 DO ny = -sc_size, sc_size
90 DO nz = -sc_size, sc_size
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/cardbus/
H A Dohci_cardbus.c123 &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) { in ohci_cardbus_attach()
191 if (sc->sc.sc_size) { in ohci_cardbus_detach()
193 sc->sc.ioh, sc->sc.sc_size); in ohci_cardbus_detach()
194 sc->sc.sc_size = 0; in ohci_cardbus_detach()
H A Dadv_cardbus.c81 bus_size_t sc_size; member
161 &iot, &ioh, NULL, &csc->sc_size) == 0) { in adv_cardbus_attach()
170 PCI_MAPREG_TYPE_IO, 0, &iot, &ioh, NULL, &csc->sc_size) == 0) { in adv_cardbus_attach()
251 sc->sc_iot, sc->sc_ioh, csc->sc_size); in adv_cardbus_detach()
H A Duhci_cardbus.c112 &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) { in uhci_cardbus_attach()
194 if (sc->sc.sc_size) { in uhci_cardbus_detach()
196 sc->sc.ioh, sc->sc.sc_size); in uhci_cardbus_detach()
197 sc->sc.sc_size = 0; in uhci_cardbus_detach()
H A Dahc_cardbus.c84 bus_size_t sc_size; member
132 &bst, &bsh, NULL, &csc->sc_size) == 0) { in ahc_cardbus_attach()
136 PCI_MAPREG_TYPE_IO, 0, &bst, &bsh, NULL, &csc->sc_size) == 0) { in ahc_cardbus_attach()
268 ahc->tag, ahc->bsh, csc->sc_size); in ahc_cardbus_detach()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/dkwedge/
H A Ddk.c270 dg->dg_secperunit = sc->sc_size; in dk_set_geometry()
315 sc->sc_size = dkw->dkw_size; in dkwedge_add()
354 sc->sc_size == lsc->sc_size && in dkwedge_add()
471 sc->sc_size, sc->sc_offset, in dkwedge_add()
725 dkw.dkw_size = sc->sc_size; in dkwedge_list()
1468 dkw->dkw_size = sc->sc_size; in dkioctl()
1507 maxlen = ((off_t)sc->sc_size << shift); in dkdiscard()
1542 if (sc->sc_size > INT_MAX) in dksize()
1545 rv = (int) sc->sc_size; in dksize()
1588 size / DEV_BSIZE, sc->sc_size); in dkdump()
[all …]
/dports/games/quake2-source/quake2-r0.16.2/src/ref_soft/
H A Dr_surf.c57 int sc_size; variable
403 sc_size = size; in R_InitCaches()
409 sc_base->size = sc_size; in R_InitCaches()
434 sc_base->size = sc_size; in D_FlushCaches()
455 if (size > sc_size) in D_SCAlloc()
456 ri.Sys_Error (ERR_FATAL,"D_SCAlloc: %i > cache size of %i",size, sc_size); in D_SCAlloc()
461 if ( !sc_rover || (byte *)sc_rover - (byte *)sc_base > sc_size - size) in D_SCAlloc()

12345