/fuchsia/zircon/system/dev/ethernet/intel-ethernet/ |
H A D | ie.c | 55 uint64_t info = eth->rxd[n].info; local 57 if (!(info & IE_RXD_DONE)) { 62 zx_status_t r = IE_RXD_LEN(info); 74 eth->rxd[n].info = 0; 93 uint64_t info = eth->txd[n].info; local 94 if (!(info & IE_TXD_DONE)) { 103 eth->txd[n].info = 0; 136 eth->txd[n].info [all...] |
/fuchsia/zircon/system/dev/ethernet/ethernet/ |
H A D | ethernet.c | 55 ethmac_info_t info; member in struct:ethdev0 484 if (edev0->info.features & ETHMAC_FEATURE_DMA) { 626 if (edev->edev0->info.features & ETHMAC_FEATURE_DMA) { 797 eth_info_t* info = out_buf; local 798 memset(info, 0, sizeof(*info)); 799 memcpy(info->mac, edev->edev0->info.mac, ETH_MAC_SIZE); 800 if (edev->edev0->info.features & ETHMAC_FEATURE_WLAN) { 801 info 866 zircon_ethernet_Info info; local [all...] |
/fuchsia/zircon/system/core/userboot/ |
H A D | start.c | 69 zx_info_vmar_t info; local 71 &info, sizeof(info), NULL, NULL), 76 (((info.base + info.len) / 2) + PAGE_SIZE - 1) & -PAGE_SIZE; 78 0, reserve_size - info.base, 82 if (addr != info.base) 122 // incoming message buffer to make space for their info slots.
|
/fuchsia/zircon/system/dev/display/imx8m-display/ |
H A D | imx8m-display.c | 118 image_info_t* info; local 119 list_for_every_entry(&display->imported_images, info, image_info_t, node) { 120 if ((void*) info->paddr == image->handle) { 121 list_delete(&info->node); 128 if (info) { 129 zx_handle_close(info->pmt); 130 free(info);
|
/fuchsia/zircon/system/core/devmgr/ |
H A D | devmgr-devfs.cpp | 114 for (pinfo_t* info = proto_info; info->name; info++) { 115 if (info->id == id) { 116 return info->devnode; 124 for (pinfo_t* info = proto_info; info->name; info++) { 125 if (!(info->flags & PF_NOPUB)) { 126 info 668 fuchsia_io_NodeInfo info; local 739 fuchsia_io_FilesystemInfo info; local [all...] |
/fuchsia/zircon/kernel/syscalls/ |
H A D | ddk_pci.cpp | 312 * @param out_info Device info (BDF address, vendor id, etc...) 328 zx_pcie_device_info_t info; local 329 status = PciDeviceDispatcher::Create(index, &info, &dispatcher, &rights); 335 status = out_info.copy_to_user(info); 496 // Get bar info from the device via the dispatcher and make sure it makes sense 497 const pcie_bar_info_t* info = pci_device->GetBar(bar_num); local 498 if (info == nullptr || info->size == 0) { 505 bar.size = info->size; 506 bar.type = (info [all...] |
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-proxy.cpp | 119 const pdev_device_info_t& info = resp.device_info; local 122 {BIND_PLATFORM_DEV_VID, 0, info.vid}, 123 {BIND_PLATFORM_DEV_PID, 0, info.pid}, 124 {BIND_PLATFORM_DEV_DID, 0, info.did}, 129 args.name = info.name;
|
/fuchsia/zircon/system/dev/bus/virtio/backends/ |
H A D | pci.h | 14 PciBackend(pci_protocol_t pci, zx_pcie_device_info_t info); 33 PciLegacyBackend(pci_protocol_t pci, zx_pcie_device_info_t info) argument 34 : PciBackend(pci, info) {} 83 PciModernBackend(pci_protocol_t pci, zx_pcie_device_info_t info) argument 84 : PciBackend(pci, info) {}
|
/fuchsia/zircon/system/dev/gpu/aml-gpu/ |
H A D | aml-gpu.c | 217 pdev_device_info_t info; local 218 status = pdev_get_device_info(&gpu->pdev, &info); 224 switch (info.pid) { 232 GPU_ERROR("unsupported SOC PID %u\n", info.pid); 236 if (info.pid == PDEV_PID_AMLOGIC_S905D2) {
|
/fuchsia/zircon/system/dev/gpio/gpio-test/ |
H A D | gpio-test.c | 157 pdev_device_info_t info; local 158 if (pdev_get_device_info(&pdev, &info) != ZX_OK) { 162 gpio_test->gpio_count = info.gpio_count; 163 gpio_test->gpios = calloc(info.gpio_count, sizeof(*gpio_test->gpios)); 168 for (uint32_t i = 0; i < info.gpio_count; i++) {
|
/fuchsia/zircon/system/dev/input/focaltech/ |
H A D | ft3x27.cpp | 138 zx_status_t Ft3x27Device::HidBusQuery(uint32_t options, hid_info_t* info) { argument 139 if (!info) { 142 info->dev_num = 0; 143 info->dev_class = HID_DEV_CLASS_OTHER; 144 info->boot_device = false;
|
/fuchsia/zircon/system/dev/nand/aml-rawnand/ |
H A D | aml-rawnand.c | 255 struct aml_info_format* info; local 271 info = aml_info_ptr(raw_nand, i); 272 oob_buf[count++] = info->info_bytes & 0xff; 273 oob_buf[count++] = (info->info_bytes >> 8) & 0xff; 282 struct aml_info_format* info; local 292 info = aml_info_ptr(raw_nand, i); 293 info->info_bytes = oob_buf[count] | (oob_buf[count + 1] << 8); 305 struct aml_info_format* info; local 310 info = aml_info_ptr(raw_nand, i); 311 if (info 353 struct aml_info_format* info; local 1038 pdev_device_info_t info; local [all...] |
/fuchsia/zircon/system/uapp/minfs/ |
H A D | main.cpp | 102 block_info_t info; local 103 if (ioctl_block_get_info(fd, &info) != sizeof(info)) { 107 return info.block_size * info.block_count;
|
/fuchsia/zircon/system/ulib/fs-management/ |
H A D | launch.cpp | 110 zx_info_process_t info; local 111 status = proc.get_info(ZX_INFO_PROCESS, &info, sizeof(info), nullptr, nullptr); 113 fprintf(stderr, "spawn: Failed to get process info\n"); 117 if (!info.exited || info.return_code != 0) {
|
/fuchsia/zircon/system/dev/display/aml-canvas/ |
H A D | aml-canvas-proxy-client.c | 26 size_t offset, canvas_info_t* info, 38 memcpy((void*)&req.info, info, sizeof(canvas_info_t)); 25 aml_canvas_proxy_config(void* ctx, zx_handle_t vmo, size_t offset, canvas_info_t* info, uint8_t* canvas_idx) argument
|
/fuchsia/zircon/system/dev/nand/broker/test/ |
H A D | broker-test.cpp | 182 nand_info_t info; local 183 if (ioctl_nand_broker_get_info(get(), &info) < 0) { 187 parent_->SetInfo(info); 218 nand_info_t info; local 219 ASSERT_EQ(sizeof(info), ioctl_nand_broker_get_info(device.get(), &info)); 221 EXPECT_EQ(device.Info().page_size, info.page_size); 222 EXPECT_EQ(device.Info().oob_size, info.oob_size); 223 EXPECT_EQ(device.Info().pages_per_block, info.pages_per_block); 224 EXPECT_EQ(device.Info().num_blocks, info [all...] |
/fuchsia/zircon/system/uapp/display-test/ |
H A D | virtual-layer.cpp | 342 fuchsia_display_CursorInfo info = displays_[0]->cursor(); 345 dc_handle, info.width, info.height, info.pixel_format, get_fg_color(), bg_color, true); 366 config.image_config.height = info.height; 367 config.image_config.width = info.width; 368 config.image_config.pixel_format = info.pixel_format; 383 fuchsia_display_CursorInfo info = displays_[0]->cursor(); local 385 x_pos_ = interpolate(width_ + info.width, frame_num, kDestFrameBouncePeriod) - info [all...] |
/fuchsia/zircon/system/dev/bus/acpi/ |
H A D | debug.c | 91 // TODO: extract MTRR info from a16->Info 107 // TODO: extract MTRR info from a32->Info 326 ACPI_DEVICE_INFO* info = NULL; local 327 ACPI_STATUS status = AcpiGetObjectInfo(object, &info); 329 if (info) { 330 ACPI_FREE(info); 336 INDENT_PRINTF("%4s\n", (char*)&info->Name); 338 ACPI_FREE(info);
|
/fuchsia/zircon/system/dev/ethernet/ethertap/ |
H A D | ethertap.cpp | 113 zx_status_t TapDevice::EthmacQuery(uint32_t options, ethmac_info_t* info) { argument 114 memset(info, 0, sizeof(*info)); 115 info->features = features_; 116 info->mtu = mtu_; 117 memcpy(info->mac, mac_, 6); 203 ethertap_trace("error writing SetParam info to socket: %d\n", status);
|
/fuchsia/zircon/system/utest/crypto/ |
H A D | hkdf.cpp | 98 const char* info = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9"; local 105 EXPECT_OK(hkdf.Derive(info, sizeof(expected), &okm)); 125 const char* info = "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf" local 139 EXPECT_OK(hkdf.Derive(info, sizeof(expected), &okm)); 144 // Based on RFC 5869, Appendix A.3: Test with SHA-256 and zero-length salt/info 153 const char* info = ""; local 160 EXPECT_OK(hkdf.Derive(info, sizeof(expected), &okm));
|
/fuchsia/zircon/system/dev/block/sdhci/ |
H A D | sdhci.c | 104 // Controller info 105 sdmmc_host_info_t info; member in struct:sdhci_device 148 return (dev->info.caps & SDMMC_HOST_CAP_ADMA2) && 149 (dev->info.caps & SDMMC_HOST_CAP_64BIT) && 599 static zx_status_t sdhci_host_info(void* ctx, sdmmc_host_info_t* info) { argument 601 memcpy(info, &dev->info, sizeof(dev->info)); 617 if ((voltage == SDMMC_VOLTAGE_330) && !(dev->info.caps & SDMMC_HOST_CAP_VOLTAGE_330)) { 698 if ((bus_width == SDMMC_BUS_WIDTH_8) && !(dev->info [all...] |
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | input.h | 34 static zx_status_t virtio_input_query(void* ctx, uint32_t options, hid_info_t* info); 50 zx_status_t Query(uint32_t options, hid_info_t* info);
|
/fuchsia/zircon/system/dev/display/display/ |
H A D | image.h | 28 Image(Controller* controller, const image_t& info, zx::vmo vmo); 31 image_t& info() { return info_; } function in class:display::Image
|
/fuchsia/zircon/system/dev/i2c/aml-i2c/ |
H A D | aml-i2c.c | 372 pdev_device_info_t info; local 373 status = pdev_get_device_info(&i2c->pdev, &info); 379 if (info.mmio_count != info.irq_count) { 381 info.mmio_count, info.irq_count); 385 i2c->i2c_devs = calloc(info.mmio_count, sizeof(aml_i2c_dev_t)); 389 i2c->dev_count = info.mmio_count;
|
/fuchsia/zircon/system/ulib/crypto/ |
H A D | hkdf.cpp | 111 const uint8_t* info = reinterpret_cast<const uint8_t*>(label); local 115 if (HKDF_expand(out, out_len, md, prk_.get(), prk_.len(), info, info_len) < 0) {
|