| /third_party/skia/third_party/externals/egl-registry/api/1.2/ |
| H A D | egl.h | 142 /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */ 162 /* Back buffer swap behaviors */ 166 /* CreatePbufferFromClientBuffer buffer types */ 227 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, 232 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 233 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
|
| /third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/ |
| H A D | native-lib.cpp | 127 const void* buffer = env->GetDirectBufferAddress(bufferObj); in Java_org_skia_skottie_SkottieAnimation_nCreateProxy() local 129 if (buffer == nullptr || bufferSize <= 0) { in Java_org_skia_skottie_SkottieAnimation_nCreateProxy() 139 sk_sp<SkData> data(SkData::MakeWithProc(buffer, bufferSize, release_global_jni_ref, in Java_org_skia_skottie_SkottieAnimation_nCreateProxy()
|
| /third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
| H A D | CopyCommandsValidationTests.cpp | 152 wgpu::Buffer buffer, in TestBothTBCopies() 160 TestB2TCopy(expectation, buffer, bufferOffset, bufferBytesPerRow, rowsPerImage, texture, in TestBothTBCopies() 162 TestT2BCopy(expectation, texture, level, origin, buffer, bufferOffset, bufferBytesPerRow, in TestBothTBCopies() 201 // Test copies between buffer and multiple array layers of an uncompressed texture 258 // buffer with dropped resources when the copy size is 0 was a use-after-free. 292 // Test B2B copies with incorrect buffer usage 368 // Test it is not allowed to do B2B copies within same buffer. 371 wgpu::Buffer buffer = in TEST_F() local 382 encoder.CopyBufferToBuffer(buffer, kSrcOffset, buffer, kDstOffse in TEST_F() 151 TestBothTBCopies(utils::Expectation expectation, wgpu::Buffer buffer, uint64_t bufferOffset, uint32_t bufferBytesPerRow, uint32_t rowsPerImage, wgpu::Texture texture, uint32_t level, wgpu::Origin3D origin, wgpu::Extent3D extent3D) TestBothTBCopies() argument 2108 wgpu::Buffer buffer = TEST_F() local 2136 wgpu::Buffer buffer = TEST_F() local 2177 wgpu::Buffer buffer = TEST_F() local 2210 wgpu::Buffer buffer = TEST_F() local 2255 wgpu::Buffer buffer = TEST_F() local [all...] |
| /third_party/python/Modules/ |
| H A D | posixmodule.c | 1178 os.fspath() as an fd or buffer. */ in path_converter() 1258 after removing support of non-bytes buffer objects. */ in path_converter() 1580 NULL, 0, /* in buffer */ in win32_get_reparse_tag() 3104 char *buffer = (char *)PyMem_RawMalloc(size); in os_ttyname_impl() local 3105 if (buffer == NULL) { in os_ttyname_impl() 3108 int ret = ttyname_r(fd, buffer, size); in os_ttyname_impl() 3110 PyMem_RawFree(buffer); in os_ttyname_impl() 3114 PyObject *res = PyUnicode_DecodeFSDefault(buffer); in os_ttyname_impl() 3115 PyMem_RawFree(buffer); in os_ttyname_impl() 3132 char buffer[L_ctermi in os_ctermid_impl() local 4501 wchar_t *buffer; os__path_splitroot_impl() local 4556 wchar_t *buffer = PyUnicode_AsWideCharString(path, &len); os__path_normpath_impl() local 8710 char buffer[MAXPATHLEN+1]; os_readlink_impl() local 9613 PyObject *buffer; os_read_impl() local 9776 PyObject *buffer; os_pread_impl() local 10424 os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset) os_pwrite_impl() argument 11994 char buffer[255]; os_confstr_impl() local 12918 PyObject *buffer = NULL; os_getxattr_impl() local 13095 char *buffer = NULL; os_listxattr_impl() local [all...] |
| /third_party/backends/backend/ |
| H A D | sharp.c | 777 read_data wait for the buffer to become ready. The simple 778 while-loops in these functions which check the buffer 844 /* this is a really tiny buffer..*/ in reader_process() 871 bc->buffer, in reader_process() 980 /* memset(bc->buffer + bc->used, 0, bc->nreq - bc->used); */ in reader_process() 997 /* wait until the next buffer is completely read via read_data */ in reader_process() 1030 bc->buffer, &bc->used, &bc->qid); in reader_process() 1068 DBG(1, "buffer full conditions: %i\n", full_count); in reader_process() 1105 memcpy(buf, &(bc->buffer[bc->start]), copysize); in read_data() 2289 if (s->buffer) in do_cancel() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
| H A D | vktDescriptorSetsIndexingTests.cpp | 102 VkExtent3D frameResolution; // target frame buffer resolution 147 ut::BufferHandleAllocSp buffer; member 234 void createVertexAttributeBuffer (ut::BufferHandleAllocSp& buffer, 289 // Creates one big stagging buffer cutted out on chunks that can accomodate an element of elementSize size 291 ut::BufferHandleAllocSp& buffer, 298 // Additionally creates stagging buffer for their data and PixelBufferAccess for particular images. 301 ut::BufferHandleAllocSp& buffer, 325 const ut::BufferHandleAllocSp& buffer, 430 bufferSize = ut::createBufferAndBind(buffer, context, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, dataSize); in init() 431 deMemcpy(buffer in init() 620 createVertexAttributeBuffer(ut::BufferHandleAllocSp& buffer, uint32_t availableDescriptorCount) const createVertexAttributeBuffer() argument 932 createBuffers(std::vector<VkDescriptorBufferInfo>& bufferInfos, ut::BufferHandleAllocSp& buffer, uint32_t elementCount, uint32_t elementSize, VkDeviceSize alignment, VkBufferUsageFlags bufferUsage) createBuffers() argument 957 createImages(std::vector<ut::ImageHandleAllocSp>& images, std::vector<VkDescriptorBufferInfo>& bufferInfos, ut::BufferHandleAllocSp& buffer, VkBufferUsageFlags bufferUsage, const VkExtent3D& imageExtent, VkFormat imageFormat, VkImageLayout imageLayout, uint32_t imageCount, bool withMipMaps) createImages() argument 1080 getPixelAccess(uint32_t imageIndex, const VkExtent3D& imageExtent, VkFormat imageFormat, const std::vector<VkDescriptorBufferInfo>& bufferInfos, const ut::BufferHandleAllocSp& buffer, uint32_t mipLevel) const getPixelAccess() argument 1646 Move<VkBuffer> buffer; commandReadFrameBuffer() local 3015 unsigned char* buffer = static_cast<unsigned char*>(variables.descriptorsBuffer->alloc->getHostPtr()); createAndPopulateDescriptors() local 3042 unsigned char* buffer = static_cast<unsigned char*>(variables.descriptorsBuffer->alloc->getHostPtr()); verifyVertexWriteResults() local 3101 unsigned char* buffer = static_cast<unsigned char*>(variables.descriptorsBuffer->alloc->getHostPtr()); createAndPopulateDescriptors() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
| H A D | vktDescriptorSetsIndexingTests.cpp | 126 VkExtent3D frameResolution; // target frame buffer resolution 180 ut::BufferHandleAllocSp buffer; member 260 void createVertexAttributeBuffer (ut::BufferHandleAllocSp& buffer, 317 // Creates one big stagging buffer cutted out on chunks that can accomodate an element of elementSize size 319 ut::BufferHandleAllocSp& buffer, 326 // Additionally creates stagging buffer for their data and PixelBufferAccess for particular images. 329 ut::BufferHandleAllocSp& buffer, 353 const ut::BufferHandleAllocSp& buffer, 454 bufferSize = ut::createBufferAndBind(buffer, context, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, dataSize); in init() 455 deMemcpy(buffer in init() 646 createVertexAttributeBuffer(ut::BufferHandleAllocSp& buffer, deUint32 availableDescriptorCount) const createVertexAttributeBuffer() argument 951 createBuffers(std::vector<VkDescriptorBufferInfo>& bufferInfos, ut::BufferHandleAllocSp& buffer, deUint32 elementCount, deUint32 elementSize, VkDeviceSize alignment, VkBufferUsageFlags bufferUsage) createBuffers() argument 976 createImages(std::vector<ut::ImageHandleAllocSp>& images, std::vector<VkDescriptorBufferInfo>& bufferInfos, ut::BufferHandleAllocSp& buffer, VkBufferUsageFlags bufferUsage, const VkExtent3D& imageExtent, VkFormat imageFormat, VkImageLayout imageLayout, deUint32 imageCount, bool withMipMaps) createImages() argument 1099 getPixelAccess(deUint32 imageIndex, const VkExtent3D& imageExtent, VkFormat imageFormat, const std::vector<VkDescriptorBufferInfo>& bufferInfos, const ut::BufferHandleAllocSp& buffer, deUint32 mipLevel) const getPixelAccess() argument 1556 Move<VkBuffer> buffer; commandReadFrameBuffer() local 2969 unsigned char* buffer = static_cast<unsigned char*>(variables.descriptorsBuffer->alloc->getHostPtr()); createAndPopulateDescriptors() local 2990 unsigned char* buffer = static_cast<unsigned char*>(variables.descriptorsBuffer->alloc->getHostPtr()); verifyVertexWriteResults() local 3039 unsigned char* buffer = static_cast<unsigned char*>(variables.descriptorsBuffer->alloc->getHostPtr()); createAndPopulateDescriptors() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/ |
| H A D | js_thread.cpp | 316 void JSThread::WriteToStackTraceFd(std::ostringstream &buffer) const in WriteToStackTraceFd() 321 buffer << std::endl; in WriteToStackTraceFd() 322 DPrintf(reinterpret_cast<fd_t>(stackTraceFd_), buffer.str()); in WriteToStackTraceFd() 323 buffer.str(""); in WriteToStackTraceFd() 408 std::ostringstream buffer; in IterateHandleWithCheck() local 410 isStopObjectLeakCheck, isStopPrimitiveLeakCheck, &buffer](DebugNode *node) { in IterateHandleWithCheck() 425 buffer << "Global maybe leak object address:" << std::hex << object << in IterateHandleWithCheck() 429 WriteToStackTraceFd(buffer); in IterateHandleWithCheck() 434 buffer << "Global maybe leak primitive:" << std::hex << value.GetRawData() << in IterateHandleWithCheck() 437 WriteToStackTraceFd(buffer); in IterateHandleWithCheck() [all...] |
| /base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
| H A D | dwarf_test.cpp | 81 MemoryArea(uintptr_t addr, std::vector<uint8_t> buffer) in MemoryArea() 84 this->data = buffer; in MemoryArea() 95 void SetBuffer(uintptr_t addr, std::vector<uint8_t> buffer); 111 for (const auto& buffer : buffers) { in Read() 112 if (addr >= buffer.addr && in Read() 113 addr + size <= buffer.addr + buffer.data.size()) { in Read() 114 size_t offset = addr - buffer.addr; in Read() 115 auto data = const_cast<uint8_t*>(buffer.data.data()); in Read() 127 void DfxMemoryTest::SetBuffer(uintptr_t addr, std::vector<uint8_t> buffer) in SetBuffer() argument [all...] |
| /foundation/multimedia/audio_framework/services/audio_service/test/example/ |
| H A D | audio_process_client_test.cpp | 217 int ret = memset_s(signalSoundBuffer.buffer, signalSoundBuffer.bufLength, 0, signalSoundBuffer.bufLength); in InitSignalBuffer() 223 int16_t *signalData = static_cast<int16_t *>(static_cast<void *>(signalSoundBuffer.buffer)); in InitSignalBuffer() 258 // copy mic data in the cache buffer in HandleWriteLoopData() 259 int ret = memcpy_s(static_cast<void *>(bufDesc.buffer), bufDesc.bufLength, in HandleWriteLoopData() 260 static_cast<void *>(g_cacheBuffer.buffer), g_cacheBuffer.bufLength); in HandleWriteLoopData() 374 size_t cnt = fwrite(bufDesc.buffer, 1, bufDesc.bufLength, g_micPcmFile); in CaptureToFile() 378 int ret = memcpy_s(static_cast<void *>(g_cacheBuffer.buffer), bufDesc.bufLength, in CaptureToFile() 379 static_cast<void *>(bufDesc.buffer), bufDesc.bufLength); in CaptureToFile() 390 int64_t bt = RecordBeepTime(bufDesc.buffer, bufDesc.bufLength, isFirstCapture); in CaptureToFile() 426 fread(bufDesc.buffer, in RenderFromFile() [all...] |
| /foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
| H A D | sendable_image_receiver_napi.cpp | 540 OHOS::sptr<OHOS::SurfaceBuffer> buffer;
in TestRequestBuffer() local 548 receiverSurface->RequestBuffer(buffer, releaseFence, requestConfig);
in TestRequestBuffer() 549 if (buffer == nullptr) {
in TestRequestBuffer() 550 IMAGE_ERR("Image receiver buffer is nullptr");
in TestRequestBuffer() 554 int32_t *p = reinterpret_cast<int32_t *>(buffer->GetVirAddr());
in TestRequestBuffer() 555 int32_t size = static_cast<int32_t>(buffer->GetSize() / 4);
in TestRequestBuffer() 561 receiverSurface->FlushBuffer(buffer, -1, flushConfig);
in TestRequestBuffer() 844 char *buffer = static_cast<char *>(malloc((bufLength + 1) * sizeof(char)));
845 if (buffer == nullptr) {
849 status = napi_get_value_string_utf8(env, value, buffer, bufLengt [all...] |
| /foundation/multimedia/image_framework/frameworks/kits/js/common/ |
| H A D | image_receiver_napi.cpp | 542 OHOS::sptr<OHOS::SurfaceBuffer> buffer; in TestRequestBuffer() local 550 receiverSurface->RequestBuffer(buffer, releaseFence, requestConfig); in TestRequestBuffer() 551 if (buffer == nullptr) { in TestRequestBuffer() 552 IMAGE_ERR("Image receiver buffer is nullptr"); in TestRequestBuffer() 556 int32_t *p = reinterpret_cast<int32_t *>(buffer->GetVirAddr()); in TestRequestBuffer() 557 int32_t size = static_cast<int32_t>(buffer->GetSize() / 4); in TestRequestBuffer() 563 receiverSurface->FlushBuffer(buffer, -1, flushConfig); in TestRequestBuffer() 846 char *buffer = static_cast<char *>(malloc((bufLength + 1) * sizeof(char))); in CheckOnParam0() local 847 if (buffer == nullptr) { in CheckOnParam0() 851 status = napi_get_value_string_utf8(env, value, buffer, bufLengt in CheckOnParam0() [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/mediatek/ |
| H A D | mtk-sha.c | 95 u8 *buffer; member 191 * Check if count <= 0 because the buffer is full or in mtk_sha_append_sg() 204 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg, in mtk_sha_append_sg() 256 *(ctx->buffer + ctx->bufcnt) = 0x80; in mtk_sha_fill_padding() 257 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen - 1); in mtk_sha_fill_padding() 258 memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); in mtk_sha_fill_padding() 266 *(ctx->buffer + ctx->bufcnt) = 0x80; in mtk_sha_fill_padding() 267 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen - 1); in mtk_sha_fill_padding() 268 memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); in mtk_sha_fill_padding() 408 ctx->buffer in mtk_sha_init() [all...] |
| /kernel/linux/linux-5.10/drivers/acpi/ |
| H A D | battery.c | 485 const struct acpi_buffer *buffer) in extract_battery_info() 490 result = extract_package(battery, buffer->pointer, in extract_battery_info() 494 result = extract_package(battery, buffer->pointer, in extract_battery_info() 498 result = extract_package(battery, buffer->pointer, in extract_battery_info() 535 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_battery_get_info() local 541 NULL, &buffer); in acpi_battery_get_info() 550 &buffer); in acpi_battery_get_info() 552 kfree(buffer.pointer); in acpi_battery_get_info() 567 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_battery_get_state() local 579 NULL, &buffer); in acpi_battery_get_state() 483 extract_battery_info(const int use_bix, struct acpi_battery *battery, const struct acpi_buffer *buffer) extract_battery_info() argument [all...] |
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
| H A D | processor.c | 784 } buffer = {}; in vcpu_get_msr() local 788 buffer.header.nmsrs = 1; in vcpu_get_msr() 789 buffer.entry.index = msr_index; in vcpu_get_msr() 790 r = ioctl(vcpu->fd, KVM_GET_MSRS, &buffer.header); in vcpu_get_msr() 794 return buffer.entry.data; in vcpu_get_msr() 819 } buffer = {}; in _vcpu_set_msr() local 823 memset(&buffer, 0, sizeof(buffer)); in _vcpu_set_msr() 824 buffer.header.nmsrs = 1; in _vcpu_set_msr() 825 buffer in _vcpu_set_msr() [all...] |
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| H A D | sur40.c | 256 u8 command, u16 index, void *buffer, u16 size) in sur40_command() 261 0x00, index, buffer, size, 1000); in sur40_command() 343 u8 *buffer; in sur40_init() local 345 buffer = kmalloc(24, GFP_KERNEL); in sur40_init() 346 if (!buffer) { in sur40_init() 352 result = sur40_command(dev, SUR40_GET_VERSION, 0x00, buffer, 12); in sur40_init() 356 result = sur40_command(dev, SUR40_GET_VERSION, 0x01, buffer, 12); in sur40_init() 360 result = sur40_command(dev, SUR40_GET_VERSION, 0x02, buffer, 12); in sur40_init() 364 result = sur40_command(dev, SUR40_SENSOR_CAPS, 0x00, buffer, 24); in sur40_init() 368 result = sur40_command(dev, SUR40_ACCEL_CAPS, 0x00, buffer, in sur40_init() 255 sur40_command(struct sur40_state *dev, u8 command, u16 index, void *buffer, u16 size) sur40_command() argument [all...] |
| /kernel/linux/linux-5.10/drivers/input/ |
| H A D | evdev.c | 44 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ 53 struct input_event buffer[]; member 74 /* requires the buffer lock to be held */ 117 ev = &client->buffer[i]; in __evdev_flush_queue() 128 client->buffer[head] = *ev; in __evdev_flush_queue() 155 client->buffer[client->head++] = ev; in __evdev_queue_syn_dropped() 217 client->buffer[client->head++] = *event; in __pass_event() 227 client->buffer[client->tail] = (struct input_event) { in __pass_event() 477 client = kvzalloc(struct_size(client, buffer, bufsize), GFP_KERNEL); in evdev_open() 502 static ssize_t evdev_write(struct file *file, const char __user *buffer, in evdev_write() argument 558 evdev_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) evdev_read() argument [all...] |
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| H A D | wbsd.c | 403 char *buffer; in wbsd_empty_fifo() local 412 buffer = wbsd_map_sg(host) + host->offset; in wbsd_empty_fifo() 432 buffer[idx++] = inb(host->base + WBSD_DFR); in wbsd_empty_fifo() 442 kunmap_atomic(buffer); in wbsd_empty_fifo() 449 buffer = wbsd_map_sg(host); in wbsd_empty_fifo() 454 kunmap_atomic(buffer); in wbsd_empty_fifo() 468 char *buffer; in wbsd_fill_fifo() local 473 * entire buffer has been transferred. in wbsd_fill_fifo() 478 buffer = wbsd_map_sg(host) + host->offset; in wbsd_fill_fifo() 498 outb(buffer[id in wbsd_fill_fifo() [all...] |
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| H A D | asus_atk0110.c | 171 * Return buffer format: 182 /* Input buffer used for GITM and SITM methods */ 538 tmp.buffer.pointer = (u8 *)&buf; in atk_gitm() 539 tmp.buffer.length = sizeof(buf); in atk_gitm() 555 if (obj->buffer.length < 8) { in atk_gitm() 557 obj->buffer.length); in atk_gitm() 575 tmp.buffer.pointer = (u8 *)buf; in atk_sitm() 576 tmp.buffer.length = sizeof(*buf); in atk_sitm() 592 if (obj->buffer.length < 8) { in atk_sitm() 594 obj->buffer in atk_sitm() [all...] |
| /kernel/linux/linux-5.10/drivers/iio/imu/ |
| H A D | adis16475.c | 14 #include <linux/iio/buffer.h> 916 static bool adis16475_validate_crc(const u8 *buffer, u16 crc, in adis16475_validate_crc() argument 925 crc -= buffer[i]; in adis16475_validate_crc() 982 __be16 *buffer; in adis16475_trigger_handler() local 996 buffer = adis->buffer; in adis16475_trigger_handler() 998 crc = be16_to_cpu(buffer[offset + 2]); in adis16475_trigger_handler() 999 valid = adis16475_validate_crc(adis->buffer, crc, st->burst32); in adis16475_trigger_handler() 1013 st->data[i++] = buffer[offset]; in adis16475_trigger_handler() 1022 st->data[i++] = buffer[bi in adis16475_trigger_handler() [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| H A D | sti_hdmi.c | 435 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in hdmi_avi_infoframe_config() local 452 ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in hdmi_avi_infoframe_config() 458 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_avi_infoframe_config() 477 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; in hdmi_audio_infoframe_config() local 484 ret = hdmi_audio_infoframe_pack(&audio->cea, buffer, in hdmi_audio_infoframe_config() 485 sizeof(buffer)); in hdmi_audio_infoframe_config() 490 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_audio_infoframe_config() 517 u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_VENDOR_INFOFRAME_MAX_SIZE]; in hdmi_vendor_infoframe_config() local 535 ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeo in hdmi_vendor_infoframe_config() [all...] |
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| H A D | wbsd.c | 403 char *buffer; in wbsd_empty_fifo() local 412 buffer = wbsd_map_sg(host) + host->offset; in wbsd_empty_fifo() 432 buffer[idx++] = inb(host->base + WBSD_DFR); in wbsd_empty_fifo() 442 kunmap_local(buffer); in wbsd_empty_fifo() 449 buffer = wbsd_map_sg(host); in wbsd_empty_fifo() 454 kunmap_local(buffer); in wbsd_empty_fifo() 468 char *buffer; in wbsd_fill_fifo() local 473 * entire buffer has been transferred. in wbsd_fill_fifo() 478 buffer = wbsd_map_sg(host) + host->offset; in wbsd_fill_fifo() 498 outb(buffer[id in wbsd_fill_fifo() [all...] |
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| H A D | asus_atk0110.c | 171 * Return buffer format: 182 /* Input buffer used for GITM and SITM methods */ 538 tmp.buffer.pointer = (u8 *)&buf; in atk_gitm() 539 tmp.buffer.length = sizeof(buf); in atk_gitm() 555 if (obj->buffer.length < 8) { in atk_gitm() 557 obj->buffer.length); in atk_gitm() 575 tmp.buffer.pointer = (u8 *)buf; in atk_sitm() 576 tmp.buffer.length = sizeof(*buf); in atk_sitm() 592 if (obj->buffer.length < 8) { in atk_sitm() 594 obj->buffer in atk_sitm() [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| H A D | sti_hdmi.c | 443 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in hdmi_avi_infoframe_config() local 460 ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in hdmi_avi_infoframe_config() 466 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_avi_infoframe_config() 485 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; in hdmi_audio_infoframe_config() local 492 ret = hdmi_audio_infoframe_pack(&audio->cea, buffer, in hdmi_audio_infoframe_config() 493 sizeof(buffer)); in hdmi_audio_infoframe_config() 498 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_audio_infoframe_config() 525 u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_VENDOR_INFOFRAME_MAX_SIZE]; in hdmi_vendor_infoframe_config() local 543 ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeo in hdmi_vendor_infoframe_config() [all...] |
| /kernel/linux/linux-6.6/drivers/iio/imu/ |
| H A D | adis16480.c | 24 #include <linux/iio/buffer.h> 1126 __be16 *buffer; in adis16480_trigger_handler() local 1162 buffer = adis->buffer; in adis16480_trigger_handler() 1164 u16 curr = be16_to_cpu(buffer[offset]); in adis16480_trigger_handler() 1165 u16 next = be16_to_cpu(buffer[offset + 1]); in adis16480_trigger_handler() 1178 crc = be16_to_cpu(buffer[offset + 16]) << 16 | be16_to_cpu(buffer[offset + 15]); in adis16480_trigger_handler() 1179 valid = adis16480_validate_crc((u16 *)&buffer[offset], 15, crc); in adis16480_trigger_handler() 1193 st->data[i++] = buffer[offse in adis16480_trigger_handler() [all...] |